Pull request #361 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/device-modbus-go Obtained Jenkinsfile from c629de7c8079fac358025f93bf429ac6524aaad4+b3a201471f88f806ab320431fdd3bd4e90f5c29c (eed7a81409d4edf8870e9562f5b2bd797799919f) 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-ssh8521600123119746608.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 2e0fbb9e3182d57c6b22477550a42c2d133d03c8 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-ssh12280820715202213870.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 2e0fbb9e3182d57c6b22477550a42c2d133d03c8 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-361/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-361/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17336444144891624279.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-361/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12131767617254275266.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 2e0fbb9e3182d57c6b22477550a42c2d133d03c8 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 2e0fbb9e3182d57c6b22477550a42c2d133d03c8 # timeout=10 Commit message: "Merge pull request #405 from ernestojeda/fix-go-1.18-errors" > 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-ssh17553071354342756175.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-361/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-361/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh4808426065199351113.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 2e0fbb9e3182d57c6b22477550a42c2d133d03c8 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-modbus-go, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-modbus-go-settings PROJECT: device-modbus-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-modbus DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-19764’ Running on prd-ubuntu20.04-docker-8c-8g-19767 in /w/workspace/xfoundry_device-modbus-go_PR-361 [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-361 # 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 b3a201471f88f806ab320431fdd3bd4e90f5c29c into PR head commit c629de7c8079fac358025f93bf429ac6524aaad4 Merge succeeded, producing c629de7c8079fac358025f93bf429ac6524aaad4 Checking out Revision c629de7c8079fac358025f93bf429ac6524aaad4 (PR-361) > 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/361/head:refs/remotes/origin/PR-361 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c629de7c8079fac358025f93bf429ac6524aaad4 # 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 b3a201471f88f806ab320431fdd3bd4e90f5c29c # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c629de7c8079fac358025f93bf429ac6524aaad4 # timeout=10 Commit message: "build: Upgrade to Go 1.18 and optimize attribution script" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 2e0fbb9e3182d57c6b22477550a42c2d133d03c8 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-07-12T21:27:06.430Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-07-12T21:27:06.601Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-07-12T21:27:06.692Z] ========================================================= [2022-07-12T21:27:06.692Z] EdgeX Global Pipelines Version Info [2022-07-12T21:27:06.692Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-07-12T21:27:07.488Z] ------------------- [2022-07-12T21:27:07.488Z] stable info: [2022-07-12T21:27:07.488Z] ------------------- [2022-07-12T21:27:07.488Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-07-12T21:27:07.488Z] Commit SHA: 2e0fbb9e3182d57c6b22477550a42c2d133d03c8 [2022-07-12T21:27:07.488Z] Message: update stable to v1.0.237 [2022-07-12T21:27:08.062Z] ------------------- [2022-07-12T21:27:08.063Z] experimental info: [2022-07-12T21:27:08.063Z] ------------------- [2022-07-12T21:27:08.063Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-07-12T21:27:08.063Z] Commit SHA: 2e0fbb9e3182d57c6b22477550a42c2d133d03c8 [2022-07-12T21:27:08.063Z] Message: update experimental to v1.0.237 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-07-12T21:27:08.445Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo [2022-07-12T21:27:08.481Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo [2022-07-12T21:27:08.517Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-07-12T21:27:08.554Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-07-12T21:27:08.590Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-07-12T21:27:08.626Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-07-12T21:27:08.661Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-07-12T21:27:08.700Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-07-12T21:27:08.739Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-07-12T21:27:08.774Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-07-12T21:27:08.812Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-07-12T21:27:08.851Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo [2022-07-12T21:27:08.886Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-07-12T21:27:08.922Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-07-12T21:27:08.956Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-07-12T21:27:08.991Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-07-12T21:27:09.030Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-07-12T21:27:09.067Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-07-12T21:27:09.103Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-07-12T21:27:09.138Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-07-12T21:27:09.173Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-07-12T21:27:09.207Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-07-12T21:27:09.242Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-07-12T21:27:09.280Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-07-12T21:27:09.315Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-07-12T21:27:09.353Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-07-12T21:27:09.389Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-07-12T21:27:09.430Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-361 [Pipeline] echo [2022-07-12T21:27:09.467Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-361 [Pipeline] echo [2022-07-12T21:27:09.506Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-361 [Pipeline] echo [2022-07-12T21:27:09.540Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c629de7c8079fac358025f93bf429ac6524aaad4 [Pipeline] echo [2022-07-12T21:27:09.587Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c629de7 [Pipeline] echo [2022-07-12T21:27:09.628Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-12T21:27:09.733Z] provisioning config files... [2022-07-12T21:27:09.748Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-361@tmp/config3525829498771743378tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-12T21:27:10.100Z] ---> docker-login.sh [2022-07-12T21:27:10.100Z] nexus3.edgexfoundry.org:10001 [2022-07-12T21:27:10.361Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-12T21:27:10.622Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-12T21:27:10.622Z] Configure a credential helper to remove this warning. See [2022-07-12T21:27:10.622Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-12T21:27:10.622Z] [2022-07-12T21:27:10.622Z] Login Succeeded [2022-07-12T21:27:10.622Z] nexus3.edgexfoundry.org:10002 [2022-07-12T21:27:10.622Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-12T21:27:10.885Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-12T21:27:10.885Z] Configure a credential helper to remove this warning. See [2022-07-12T21:27:10.885Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-12T21:27:10.885Z] [2022-07-12T21:27:10.885Z] Login Succeeded [2022-07-12T21:27:10.885Z] nexus3.edgexfoundry.org:10003 [2022-07-12T21:27:10.885Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-12T21:27:10.885Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-12T21:27:10.885Z] Configure a credential helper to remove this warning. See [2022-07-12T21:27:10.885Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-12T21:27:10.885Z] [2022-07-12T21:27:10.885Z] Login Succeeded [2022-07-12T21:27:10.885Z] nexus3.edgexfoundry.org:10004 [2022-07-12T21:27:11.148Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-12T21:27:11.148Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-12T21:27:11.148Z] Configure a credential helper to remove this warning. See [2022-07-12T21:27:11.148Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-12T21:27:11.148Z] [2022-07-12T21:27:11.148Z] Login Succeeded [2022-07-12T21:27:11.148Z] docker.io [2022-07-12T21:27:11.148Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-12T21:27:11.722Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-12T21:27:11.722Z] Configure a credential helper to remove this warning. See [2022-07-12T21:27:11.722Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-12T21:27:11.722Z] [2022-07-12T21:27:11.722Z] Login Succeeded [2022-07-12T21:27:11.722Z] ---> docker-login.sh ends [Pipeline] } [2022-07-12T21:27:11.751Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-07-12T21:27:12.362Z] + git rev-list -1 --merges c629de7c8079fac358025f93bf429ac6524aaad4~1..c629de7c8079fac358025f93bf429ac6524aaad4 [Pipeline] echo [2022-07-12T21:27:12.416Z] -----------> git rev-list -1 --merges c629de7c8079fac358025f93bf429ac6524aaad4~1..c629de7c8079fac358025f93bf429ac6524aaad4 c629de7c8079fac358025f93bf429ac6524aaad4 [false] [Pipeline] sh [2022-07-12T21:27:12.732Z] + git log --format=format:%s -1 c629de7c8079fac358025f93bf429ac6524aaad4 [Pipeline] echo [2022-07-12T21:27:12.775Z] ========================================================= [2022-07-12T21:27:12.775Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-07-12T21:27:12.775Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-07-12T21:27:13.217Z] + git log --format=format:%s -1 c629de7c8079fac358025f93bf429ac6524aaad4 [Pipeline] echo [2022-07-12T21:27:13.248Z] [semverPrep] GIT_COMMIT: c629de7c8079fac358025f93bf429ac6524aaad4, Commit Message: build: Upgrade to Go 1.18 and optimize attribution script [Pipeline] echo [2022-07-12T21:27:13.278Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-07-12T21:27:13.649Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-07-12T21:27:13.649Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-07-12T21:27:13.649Z] + [ -e /tmp/ssh_known_hosts ] [2022-07-12T21:27:13.649Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-07-12T21:27:13.649Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-07-12T21:27:13.649Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-07-12T21:27:13.649Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T21:27:14.085Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-12T21:27:14.085Z] [2022-07-12T21:27:14.085Z] 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-12T21:27:14.460Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-12T21:27:14.460Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-07-12T21:27:14.460Z] b85a868b505f: Pulling fs layer [2022-07-12T21:27:14.460Z] e2be974225ed: Pulling fs layer [2022-07-12T21:27:14.460Z] 339a4e72a1f5: Pulling fs layer [2022-07-12T21:27:14.460Z] 988bab9f4d93: Pulling fs layer [2022-07-12T21:27:14.460Z] 1469e6f7b9e6: Pulling fs layer [2022-07-12T21:27:14.460Z] eaf3925da568: Pulling fs layer [2022-07-12T21:27:14.460Z] bab4dde63d76: Pulling fs layer [2022-07-12T21:27:14.460Z] bde34c3a00c8: Pulling fs layer [2022-07-12T21:27:14.460Z] b352a97aabf1: Pulling fs layer [2022-07-12T21:27:14.460Z] 4872d77fe225: Pulling fs layer [2022-07-12T21:27:14.460Z] 5851b861e8e6: Pulling fs layer [2022-07-12T21:27:14.460Z] bab4dde63d76: Waiting [2022-07-12T21:27:14.460Z] bde34c3a00c8: Waiting [2022-07-12T21:27:14.460Z] 5851b861e8e6: Waiting [2022-07-12T21:27:14.460Z] b352a97aabf1: Waiting [2022-07-12T21:27:14.460Z] 1469e6f7b9e6: Waiting [2022-07-12T21:27:14.460Z] eaf3925da568: Waiting [2022-07-12T21:27:14.460Z] e2be974225ed: Download complete [2022-07-12T21:27:14.718Z] 1469e6f7b9e6: Verifying Checksum [2022-07-12T21:27:14.718Z] 1469e6f7b9e6: Download complete [2022-07-12T21:27:14.718Z] 339a4e72a1f5: Verifying Checksum [2022-07-12T21:27:14.718Z] 339a4e72a1f5: Download complete [2022-07-12T21:27:14.718Z] eaf3925da568: Verifying Checksum [2022-07-12T21:27:14.718Z] eaf3925da568: Download complete [2022-07-12T21:27:14.718Z] bde34c3a00c8: Verifying Checksum [2022-07-12T21:27:14.718Z] bde34c3a00c8: Download complete [2022-07-12T21:27:14.718Z] b352a97aabf1: Verifying Checksum [2022-07-12T21:27:14.718Z] b352a97aabf1: Download complete [2022-07-12T21:27:14.718Z] 4872d77fe225: Verifying Checksum [2022-07-12T21:27:14.718Z] 4872d77fe225: Download complete [2022-07-12T21:27:14.718Z] 5851b861e8e6: Verifying Checksum [2022-07-12T21:27:14.718Z] 5851b861e8e6: Download complete [2022-07-12T21:27:14.718Z] b85a868b505f: Verifying Checksum [2022-07-12T21:27:14.718Z] b85a868b505f: Download complete [2022-07-12T21:27:14.978Z] bab4dde63d76: Verifying Checksum [2022-07-12T21:27:14.978Z] bab4dde63d76: Download complete [2022-07-12T21:27:15.915Z] b85a868b505f: Pull complete [2022-07-12T21:27:16.176Z] e2be974225ed: Pull complete [2022-07-12T21:27:16.747Z] 339a4e72a1f5: Pull complete [2022-07-12T21:27:16.747Z] 988bab9f4d93: Pull complete [2022-07-12T21:27:17.009Z] 1469e6f7b9e6: Pull complete [2022-07-12T21:27:17.009Z] eaf3925da568: Pull complete [2022-07-12T21:27:18.920Z] bab4dde63d76: Pull complete [2022-07-12T21:27:18.920Z] bde34c3a00c8: Pull complete [2022-07-12T21:27:18.920Z] b352a97aabf1: Pull complete [2022-07-12T21:27:19.182Z] 4872d77fe225: Pull complete [2022-07-12T21:27:19.182Z] 5851b861e8e6: Pull complete [2022-07-12T21:27:19.182Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-07-12T21:27:19.182Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-12T21:27:19.182Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-12T21:27:19.410Z] prd-ubuntu20.04-docker-8c-8g-19767 does not seem to be running inside a container [2022-07-12T21:27:19.453Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-361 -v /w/workspace/xfoundry_device-modbus-go_PR-361:/w/workspace/xfoundry_device-modbus-go_PR-361:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-361@tmp:/w/workspace/xfoundry_device-modbus-go_PR-361@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-devops/py-git-semver:0.1.4 cat [2022-07-12T21:27:20.975Z] $ docker top de1c9ce1f0e067dc49818cb668528a0b781fd784fccbc54578619dfc993ddea1 -eo pid,comm [2022-07-12T21:27:21.044Z] 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-12T21:27:21.044Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-07-12T21:27:21.166Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-07-12T21:27:21.166Z] [ssh-agent] Looking for ssh-agent implementation... [2022-07-12T21:27:21.297Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-07-12T21:27:21.304Z] $ docker exec de1c9ce1f0e067dc49818cb668528a0b781fd784fccbc54578619dfc993ddea1 ssh-agent [2022-07-12T21:27:21.429Z] SSH_AUTH_SOCK=/tmp/ssh-5cKs3N6TdDOB/agent.32 [2022-07-12T21:27:21.429Z] SSH_AGENT_PID=38 [2022-07-12T21:27:21.435Z] Running ssh-add (command line suppressed) [2022-07-12T21:27:21.558Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-361@tmp/private_key_5857796249138166928.key (/w/workspace/xfoundry_device-modbus-go_PR-361@tmp/private_key_5857796249138166928.key) [2022-07-12T21:27:21.569Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-07-12T21:27:21.901Z] + git tag --points-at HEAD [Pipeline] } [2022-07-12T21:27:21.931Z] $ docker exec --env ******** --env ******** de1c9ce1f0e067dc49818cb668528a0b781fd784fccbc54578619dfc993ddea1 ssh-agent -k [2022-07-12T21:27:22.046Z] unset SSH_AUTH_SOCK; [2022-07-12T21:27:22.046Z] unset SSH_AGENT_PID; [2022-07-12T21:27:22.046Z] echo Agent pid 38 killed; [2022-07-12T21:27:22.054Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-07-12T21:27:22.148Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-07-12T21:27:22.148Z] [ssh-agent] Looking for ssh-agent implementation... [2022-07-12T21:27:22.270Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-07-12T21:27:22.278Z] $ docker exec de1c9ce1f0e067dc49818cb668528a0b781fd784fccbc54578619dfc993ddea1 ssh-agent [2022-07-12T21:27:22.409Z] SSH_AUTH_SOCK=/tmp/ssh-aOgp3XkzUvyw/agent.70 [2022-07-12T21:27:22.410Z] SSH_AGENT_PID=76 [2022-07-12T21:27:22.416Z] Running ssh-add (command line suppressed) [2022-07-12T21:27:22.547Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-361@tmp/private_key_1590265524582006935.key (/w/workspace/xfoundry_device-modbus-go_PR-361@tmp/private_key_1590265524582006935.key) [2022-07-12T21:27:22.562Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-07-12T21:27:22.904Z] + git semver init [2022-07-12T21:27:23.166Z] 2022-07-12 21:27:23,131 [run_init] DEBUG init version:0.0.0 force:False [2022-07-12T21:27:23.166Z] 2022-07-12 21:27:23,132 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-modbus-go_PR-361/.semver [2022-07-12T21:27:23.166Z] 2022-07-12 21:27:23,133 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/xfoundry_device-modbus-go_PR-361/.semver [2022-07-12T21:27:23.166Z] 2022-07-12 21:27:23,133 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/xfoundry_device-modbus-go_PR-361/.semver'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-361, universal_newlines=False, shell=None, istream=None) [2022-07-12T21:27:24.115Z] 2022-07-12 21:27:23,913 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-modbus-go_PR-361/.git/info/exclude [2022-07-12T21:27:24.115Z] 2022-07-12 21:27:23,914 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-modbus-go_PR-361/.semver/PR-361 with force:False [2022-07-12T21:27:24.115Z] 2022-07-12 21:27:23,914 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-modbus-go_PR-361/.semver/PR-361 [2022-07-12T21:27:24.115Z] 2022-07-12 21:27:23,918 [execute] INFO git cat-file --batch-check [2022-07-12T21:27:24.115Z] 2022-07-12 21:27:23,919 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-361/.semver, universal_newlines=False, shell=None, istream=) [2022-07-12T21:27:24.115Z] 2022-07-12 21:27:23,926 [execute] INFO git cat-file --batch [2022-07-12T21:27:24.115Z] 2022-07-12 21:27:23,926 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-361/.semver, universal_newlines=False, shell=None, istream=) [2022-07-12T21:27:24.115Z] 2022-07-12 21:27:23,933 [read_version] DEBUG read version from /w/workspace/xfoundry_device-modbus-go_PR-361/.semver/PR-361 [2022-07-12T21:27:24.115Z] 0.0.0 [Pipeline] } [2022-07-12T21:27:24.146Z] $ docker exec --env ******** --env ******** de1c9ce1f0e067dc49818cb668528a0b781fd784fccbc54578619dfc993ddea1 ssh-agent -k [2022-07-12T21:27:24.269Z] unset SSH_AUTH_SOCK; [2022-07-12T21:27:24.270Z] unset SSH_AGENT_PID; [2022-07-12T21:27:24.270Z] echo Agent pid 76 killed; [2022-07-12T21:27:24.278Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-07-12T21:27:24.720Z] + git semver [Pipeline] } [2022-07-12T21:27:25.012Z] $ docker stop --time=1 de1c9ce1f0e067dc49818cb668528a0b781fd784fccbc54578619dfc993ddea1 [2022-07-12T21:27:26.354Z] $ docker rm -f de1c9ce1f0e067dc49818cb668528a0b781fd784fccbc54578619dfc993ddea1 [Pipeline] // withDockerContainer [Pipeline] sh [2022-07-12T21:27:26.778Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-07-12T21:27:27.095Z] Stashed 1 file(s) [Pipeline] echo [2022-07-12T21:27:27.111Z] [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-12T21:27:27.660Z] provisioning config files... [2022-07-12T21:27:27.671Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-361@tmp/config3593831186651765439tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-12T21:27:28.030Z] ---> docker-login.sh [2022-07-12T21:27:28.030Z] nexus3.edgexfoundry.org:10001 [2022-07-12T21:27:28.030Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-12T21:27:28.030Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-12T21:27:28.030Z] Configure a credential helper to remove this warning. See [2022-07-12T21:27:28.030Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-12T21:27:28.030Z] [2022-07-12T21:27:28.030Z] Login Succeeded [2022-07-12T21:27:28.030Z] nexus3.edgexfoundry.org:10002 [2022-07-12T21:27:28.030Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-12T21:27:28.291Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-12T21:27:28.291Z] Configure a credential helper to remove this warning. See [2022-07-12T21:27:28.291Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-12T21:27:28.291Z] [2022-07-12T21:27:28.291Z] Login Succeeded [2022-07-12T21:27:28.291Z] nexus3.edgexfoundry.org:10003 [2022-07-12T21:27:28.291Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-12T21:27:28.291Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-12T21:27:28.291Z] Configure a credential helper to remove this warning. See [2022-07-12T21:27:28.291Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-12T21:27:28.291Z] [2022-07-12T21:27:28.291Z] Login Succeeded [2022-07-12T21:27:28.291Z] nexus3.edgexfoundry.org:10004 [2022-07-12T21:27:28.291Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-12T21:27:28.553Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-12T21:27:28.553Z] Configure a credential helper to remove this warning. See [2022-07-12T21:27:28.553Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-12T21:27:28.553Z] [2022-07-12T21:27:28.553Z] Login Succeeded [2022-07-12T21:27:28.553Z] docker.io [2022-07-12T21:27:28.553Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-12T21:27:28.813Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-12T21:27:28.813Z] Configure a credential helper to remove this warning. See [2022-07-12T21:27:28.813Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-12T21:27:28.813Z] [2022-07-12T21:27:28.813Z] Login Succeeded [2022-07-12T21:27:28.813Z] ---> docker-login.sh ends [Pipeline] } [2022-07-12T21:27:28.847Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-07-12T21:27:29.031Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-12T21:27:29.069Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-12T21:27:29.101Z] ========================================================= [2022-07-12T21:27:29.101Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-07-12T21:27:29.101Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T21:27:29.569Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-07-12T21:27:29.569Z] Sending build context to Docker daemon 6.09MB [2022-07-12T21:27:29.569Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2022-07-12T21:27:29.569Z] Step 2/10 : FROM ${BASE} AS builder [2022-07-12T21:27:29.569Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-07-12T21:27:29.569Z] 2408cc74d12b: Pulling fs layer [2022-07-12T21:27:29.569Z] ea60b727a1ce: Pulling fs layer [2022-07-12T21:27:29.569Z] 30c4a7721957: Pulling fs layer [2022-07-12T21:27:29.569Z] 370296b7ddb6: Pulling fs layer [2022-07-12T21:27:29.569Z] 7c6cee850709: Pulling fs layer [2022-07-12T21:27:29.569Z] 39a5fcdaea64: Pulling fs layer [2022-07-12T21:27:29.569Z] d94ebbe4e438: Pulling fs layer [2022-07-12T21:27:29.569Z] bcfd1f05c69d: Pulling fs layer [2022-07-12T21:27:29.570Z] 59ccb84bbe0f: Pulling fs layer [2022-07-12T21:27:29.570Z] 370296b7ddb6: Waiting [2022-07-12T21:27:29.570Z] 7c6cee850709: Waiting [2022-07-12T21:27:29.570Z] 39a5fcdaea64: Waiting [2022-07-12T21:27:29.570Z] d94ebbe4e438: Waiting [2022-07-12T21:27:29.570Z] 59ccb84bbe0f: Waiting [2022-07-12T21:27:29.570Z] bcfd1f05c69d: Waiting [2022-07-12T21:27:29.570Z] 30c4a7721957: Verifying Checksum [2022-07-12T21:27:29.570Z] 30c4a7721957: Download complete [2022-07-12T21:27:29.837Z] 7c6cee850709: Download complete [2022-07-12T21:27:29.837Z] 39a5fcdaea64: Verifying Checksum [2022-07-12T21:27:29.837Z] 39a5fcdaea64: Download complete [2022-07-12T21:27:29.837Z] 2408cc74d12b: Verifying Checksum [2022-07-12T21:27:29.837Z] 2408cc74d12b: Download complete [2022-07-12T21:27:29.837Z] d94ebbe4e438: Verifying Checksum [2022-07-12T21:27:29.837Z] d94ebbe4e438: Download complete [2022-07-12T21:27:29.837Z] 2408cc74d12b: Pull complete [2022-07-12T21:27:30.110Z] ea60b727a1ce: Pull complete [2022-07-12T21:27:30.110Z] 30c4a7721957: Pull complete [2022-07-12T21:27:30.374Z] 59ccb84bbe0f: Verifying Checksum [2022-07-12T21:27:30.374Z] 59ccb84bbe0f: Download complete [2022-07-12T21:27:30.374Z] bcfd1f05c69d: Verifying Checksum [2022-07-12T21:27:30.374Z] bcfd1f05c69d: Download complete [2022-07-12T21:27:30.635Z] 370296b7ddb6: Verifying Checksum [2022-07-12T21:27:30.635Z] 370296b7ddb6: Download complete [2022-07-12T21:27:34.827Z] 370296b7ddb6: Pull complete [2022-07-12T21:27:34.827Z] 7c6cee850709: Pull complete [2022-07-12T21:27:35.087Z] 39a5fcdaea64: Pull complete [2022-07-12T21:27:35.087Z] d94ebbe4e438: Pull complete [2022-07-12T21:27:37.628Z] bcfd1f05c69d: Pull complete [2022-07-12T21:27:38.204Z] 59ccb84bbe0f: Pull complete [2022-07-12T21:27:38.204Z] Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 [2022-07-12T21:27:38.204Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-07-12T21:27:38.204Z] ---> a4fb48ad2a94 [2022-07-12T21:27:38.204Z] Step 3/10 : ARG MAKE='make build' [2022-07-12T21:27:40.119Z] ---> Running in 2b97e4651d73 [2022-07-12T21:27:40.119Z] Removing intermediate container 2b97e4651d73 [2022-07-12T21:27:40.119Z] ---> b5739635f0f1 [2022-07-12T21:27:40.119Z] Step 4/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-12T21:27:40.119Z] ---> Running in eb061b920a2a [2022-07-12T21:27:40.689Z] Removing intermediate container eb061b920a2a [2022-07-12T21:27:40.689Z] ---> cb44290ef01f [2022-07-12T21:27:40.689Z] Step 5/10 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-07-12T21:27:40.689Z] ---> Running in 933fc8745ec7 [2022-07-12T21:27:40.949Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-07-12T21:27:41.890Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-07-12T21:27:42.463Z] (1/8) Installing openssh-keygen (9.0_p1-r1) [2022-07-12T21:27:42.463Z] (2/8) Installing libedit (20210910.3.1-r0) [2022-07-12T21:27:42.463Z] (3/8) Installing openssh-client-common (9.0_p1-r1) [2022-07-12T21:27:42.490Z] Still waiting to schedule task [2022-07-12T21:27:42.490Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-19766’ [2022-07-12T21:27:42.727Z] (4/8) Installing openssh-client-default (9.0_p1-r1) [2022-07-12T21:27:42.727Z] (5/8) Installing openssh-sftp-server (9.0_p1-r1) [2022-07-12T21:27:42.988Z] (6/8) Installing openssh-server-common (9.0_p1-r1) [2022-07-12T21:27:42.988Z] (7/8) Installing openssh-server (9.0_p1-r1) [2022-07-12T21:27:42.988Z] (8/8) Installing openssh (9.0_p1-r1) [2022-07-12T21:27:43.254Z] Executing busybox-1.35.0-r13.trigger [2022-07-12T21:27:43.254Z] OK: 217 MiB in 59 packages [2022-07-12T21:27:43.517Z] Removing intermediate container 933fc8745ec7 [2022-07-12T21:27:43.517Z] ---> 5332d5519b51 [2022-07-12T21:27:43.517Z] Step 6/10 : WORKDIR /device-modbus-go [2022-07-12T21:27:43.517Z] ---> Running in 2c9490c58313 [2022-07-12T21:27:43.780Z] Removing intermediate container 2c9490c58313 [2022-07-12T21:27:43.780Z] ---> 98b24bd6f684 [2022-07-12T21:27:43.780Z] Step 7/10 : COPY go.mod vendor* ./ [2022-07-12T21:27:43.780Z] ---> 51b79313b795 [2022-07-12T21:27:43.780Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-12T21:27:44.041Z] ---> Running in 9102f5b60082 [2022-07-12T21:28:02.217Z] Removing intermediate container 9102f5b60082 [2022-07-12T21:28:02.217Z] ---> e00a860d1b74 [2022-07-12T21:28:02.217Z] Step 9/10 : COPY . . [2022-07-12T21:28:02.217Z] ---> b3fa0406639a [2022-07-12T21:28:02.217Z] Step 10/10 : RUN ${MAKE} [2022-07-12T21:28:02.217Z] ---> Running in 93ce4da64b5d [2022-07-12T21:28:02.217Z] noop [2022-07-12T21:28:03.162Z] Removing intermediate container 93ce4da64b5d [2022-07-12T21:28:03.162Z] ---> 1455acedc036 [2022-07-12T21:28:03.162Z] Successfully built 1455acedc036 [2022-07-12T21:28:03.162Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T21:28:03.609Z] + docker inspect -f . ci-base-image-x86_64 [2022-07-12T21:28:03.609Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-12T21:28:03.765Z] prd-ubuntu20.04-docker-8c-8g-19767 does not seem to be running inside a container [2022-07-12T21:28:03.802Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-361 -v /w/workspace/xfoundry_device-modbus-go_PR-361:/w/workspace/xfoundry_device-modbus-go_PR-361:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-361@tmp:/w/workspace/xfoundry_device-modbus-go_PR-361@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-07-12T21:28:04.718Z] $ docker top d8eaac5b54f48416984fbc1ba47a492c75b55745e0cd2611c7c4c81ae0d19ba1 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-12T21:28:05.128Z] + go version [2022-07-12T21:28:05.128Z] go version go1.18.3 linux/amd64 [Pipeline] } [2022-07-12T21:28:05.163Z] $ docker stop --time=1 d8eaac5b54f48416984fbc1ba47a492c75b55745e0cd2611c7c4c81ae0d19ba1 [2022-07-12T21:28:07.008Z] $ docker rm -f d8eaac5b54f48416984fbc1ba47a492c75b55745e0cd2611c7c4c81ae0d19ba1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T21:28:07.816Z] + docker inspect -f . ci-base-image-x86_64 [2022-07-12T21:28:07.816Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-12T21:28:07.984Z] prd-ubuntu20.04-docker-8c-8g-19767 does not seem to be running inside a container [2022-07-12T21:28:08.022Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/xfoundry_device-modbus-go_PR-361 -v /w/workspace/xfoundry_device-modbus-go_PR-361:/w/workspace/xfoundry_device-modbus-go_PR-361:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-361@tmp:/w/workspace/xfoundry_device-modbus-go_PR-361@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-07-12T21:28:08.419Z] $ docker top 9986374bfb739c694ce3bdcf9dc738311540725735b3a88612866e7d77b34578 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-12T21:28:08.836Z] + git config --global --add safe.directory /w/workspace/xfoundry_device-modbus-go_PR-361 [Pipeline] fileExists [Pipeline] sh [2022-07-12T21:28:09.187Z] + make test [2022-07-12T21:28:09.187Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-07-12T21:28:09.756Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2022-07-12T21:28:19.751Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2022-07-12T21:28:19.751Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.009s coverage: 46.4% of statements [2022-07-12T21:28:26.322Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2022-07-12T21:28:26.322Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-07-12T21:28:29.617Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-07-12T21:28:29.617Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-07-12T21:28:29.617Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-07-12T21:28:29.656Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-07-12T21:28:29.689Z] $ docker stop --time=1 9986374bfb739c694ce3bdcf9dc738311540725735b3a88612866e7d77b34578 [2022-07-12T21:28:31.502Z] $ docker rm -f 9986374bfb739c694ce3bdcf9dc738311540725735b3a88612866e7d77b34578 [Pipeline] // withDockerContainer [Pipeline] sh [2022-07-12T21:28:32.007Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-07-12T21:28:32.076Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-07-12T21:28:32.676Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-07-12T21:28:32.988Z] + ls -al . [2022-07-12T21:28:32.988Z] total 184 [2022-07-12T21:28:32.988Z] drwxrwxr-x 10 jenkins jenkins 4096 Jul 12 21:28 . [2022-07-12T21:28:32.988Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 12 21:27 .. [2022-07-12T21:28:32.988Z] -rw-rw-r-- 1 jenkins jenkins 140 Jul 12 21:27 .dockerignore [2022-07-12T21:28:32.988Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 12 21:28 .git [2022-07-12T21:28:32.988Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 12 21:27 .github [2022-07-12T21:28:32.988Z] -rw-rw-r-- 1 jenkins jenkins 331 Jul 12 21:27 .gitignore [2022-07-12T21:28:32.988Z] -rw-rw-r-- 1 jenkins jenkins 41 Jul 12 21:27 .golangci.yml [2022-07-12T21:28:32.988Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 12 21:27 .semver [2022-07-12T21:28:32.988Z] -rw-rw-r-- 1 jenkins jenkins 9636 Jul 12 21:27 Attribution.txt [2022-07-12T21:28:32.988Z] -rw-rw-r-- 1 jenkins jenkins 10001 Jul 12 21:27 CHANGELOG.md [2022-07-12T21:28:32.988Z] -rw-rw-r-- 1 jenkins jenkins 1550 Jul 12 21:27 Dockerfile [2022-07-12T21:28:32.988Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 12 21:27 GOVERNANCE.md [2022-07-12T21:28:32.988Z] -rw-rw-r-- 1 jenkins jenkins 680 Jul 12 21:27 Jenkinsfile [2022-07-12T21:28:32.988Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jul 12 21:27 LICENSE [2022-07-12T21:28:32.988Z] -rw-rw-r-- 1 jenkins jenkins 1892 Jul 12 21:27 Makefile [2022-07-12T21:28:32.988Z] -rw-rw-r-- 1 jenkins jenkins 622 Jul 12 21:27 OWNERS.md [2022-07-12T21:28:32.988Z] -rw-rw-r-- 1 jenkins jenkins 3397 Jul 12 21:27 README.md [2022-07-12T21:28:32.988Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 12 21:27 VERSION [2022-07-12T21:28:32.988Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 12 21:27 bin [2022-07-12T21:28:32.988Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 12 21:27 cmd [2022-07-12T21:28:32.988Z] -rw-r--r-- 1 jenkins jenkins 24065 Jul 12 21:28 coverage.out [2022-07-12T21:28:32.989Z] -rw-rw-r-- 1 jenkins jenkins 3404 Jul 12 21:27 go.mod [2022-07-12T21:28:32.989Z] -rw-rw-r-- 1 jenkins jenkins 35446 Jul 12 21:27 go.sum [2022-07-12T21:28:32.989Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 12 21:27 internal [2022-07-12T21:28:32.989Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 12 21:27 simulator [2022-07-12T21:28:32.989Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 12 21:27 snap [2022-07-12T21:28:32.989Z] -rw-rw-r-- 1 jenkins jenkins 229 Jul 12 21:27 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T21:28:33.388Z] + 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=c629de7c8079fac358025f93bf429ac6524aaad4 --label arch=amd64 --label version=0.0.0 . [2022-07-12T21:28:33.388Z] Sending build context to Docker daemon 6.115MB [2022-07-12T21:28:33.388Z] Step 1/23 : ARG BASE=golang:1.18-alpine3.16 [2022-07-12T21:28:33.388Z] Step 2/23 : FROM ${BASE} AS builder [2022-07-12T21:28:33.388Z] ---> 1455acedc036 [2022-07-12T21:28:33.388Z] Step 3/23 : ARG MAKE='make build' [2022-07-12T21:28:33.388Z] ---> Running in da4f8bad4246 [2022-07-12T21:28:33.649Z] Removing intermediate container da4f8bad4246 [2022-07-12T21:28:33.649Z] ---> 58d542c8989c [2022-07-12T21:28:33.649Z] Step 4/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-12T21:28:33.649Z] ---> Running in 989157b61b5a [2022-07-12T21:28:34.220Z] Removing intermediate container 989157b61b5a [2022-07-12T21:28:34.220Z] ---> a9f9c5dedfed [2022-07-12T21:28:34.220Z] Step 5/23 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-07-12T21:28:34.220Z] ---> Running in 9edd281444f5 [2022-07-12T21:28:34.480Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-07-12T21:28:35.422Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-07-12T21:28:35.685Z] OK: 217 MiB in 59 packages [2022-07-12T21:28:35.947Z] Removing intermediate container 9edd281444f5 [2022-07-12T21:28:35.947Z] ---> 1d079ddaceb5 [2022-07-12T21:28:35.947Z] Step 6/23 : WORKDIR /device-modbus-go [2022-07-12T21:28:35.947Z] ---> Running in 106bd09513be [2022-07-12T21:28:36.208Z] Removing intermediate container 106bd09513be [2022-07-12T21:28:36.208Z] ---> 0401b05ab90c [2022-07-12T21:28:36.208Z] Step 7/23 : COPY go.mod vendor* ./ [2022-07-12T21:28:36.208Z] ---> 149fe4d6d066 [2022-07-12T21:28:36.208Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-12T21:28:36.208Z] ---> Running in 0d8848111a78 [2022-07-12T21:28:37.150Z] Removing intermediate container 0d8848111a78 [2022-07-12T21:28:37.150Z] ---> 5b686852ae24 [2022-07-12T21:28:37.150Z] Step 9/23 : COPY . . [2022-07-12T21:28:37.150Z] ---> 5a0b914fd599 [2022-07-12T21:28:37.150Z] Step 10/23 : RUN ${MAKE} [2022-07-12T21:28:37.150Z] ---> Running in 1d2645e99436 [2022-07-12T21:28:37.721Z] 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-12T21:28:59.699Z] Removing intermediate container 1d2645e99436 [2022-07-12T21:28:59.700Z] ---> 4d4143f01b51 [2022-07-12T21:28:59.700Z] Step 11/23 : FROM alpine:3.14 [2022-07-12T21:28:59.700Z] 3.14: Pulling from library/alpine [2022-07-12T21:28:59.700Z] 8663204ce13b: Pulling fs layer [2022-07-12T21:28:59.700Z] 8663204ce13b: Verifying Checksum [2022-07-12T21:28:59.700Z] 8663204ce13b: Download complete [2022-07-12T21:28:59.700Z] 8663204ce13b: Pull complete [2022-07-12T21:28:59.700Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-07-12T21:28:59.700Z] Status: Downloaded newer image for alpine:3.14 [2022-07-12T21:28:59.700Z] ---> e04c818066af [2022-07-12T21:28:59.700Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2022-07-12T21:28:59.700Z] ---> Running in fa9442426f8d [2022-07-12T21:28:59.700Z] Removing intermediate container fa9442426f8d [2022-07-12T21:28:59.700Z] ---> fd19c3844310 [2022-07-12T21:28:59.700Z] Step 13/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-12T21:28:59.700Z] ---> Running in cc08dae0eba7 [2022-07-12T21:28:59.700Z] Removing intermediate container cc08dae0eba7 [2022-07-12T21:28:59.700Z] ---> be291b75e0b6 [2022-07-12T21:28:59.700Z] Step 14/23 : RUN apk add --update --no-cache zeromq dumb-init [2022-07-12T21:28:59.700Z] ---> Running in a9df93c4b43e [2022-07-12T21:28:59.700Z] fetch https://dl-4.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-07-12T21:29:00.271Z] fetch https://dl-4.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-07-12T21:29:00.271Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-07-12T21:29:00.532Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-07-12T21:29:00.532Z] (3/6) Installing libsodium (1.0.18-r0) [2022-07-12T21:29:00.793Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-07-12T21:29:00.793Z] (5/6) Installing libzmq (4.3.4-r0) [2022-07-12T21:29:00.793Z] (6/6) Installing zeromq (4.3.4-r0) [2022-07-12T21:29:01.052Z] Executing busybox-1.33.1-r7.trigger [2022-07-12T21:29:01.052Z] OK: 8 MiB in 20 packages [2022-07-12T21:29:01.314Z] Removing intermediate container a9df93c4b43e [2022-07-12T21:29:01.314Z] ---> f6773d99f555 [2022-07-12T21:29:01.314Z] Step 15/23 : COPY --from=builder /device-modbus-go/cmd / [2022-07-12T21:29:01.886Z] ---> 3ea9fb45f1aa [2022-07-12T21:29:01.886Z] Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / [2022-07-12T21:29:02.147Z] ---> 8eaadd7fddc9 [2022-07-12T21:29:02.147Z] Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / [2022-07-12T21:29:02.147Z] ---> 5cc50fc32208 [2022-07-12T21:29:02.147Z] Step 18/23 : EXPOSE 59901 [2022-07-12T21:29:02.147Z] ---> Running in 188bf2a9edfe [2022-07-12T21:29:02.406Z] Removing intermediate container 188bf2a9edfe [2022-07-12T21:29:02.406Z] ---> 53e69b3940d3 [2022-07-12T21:29:02.406Z] Step 19/23 : ENTRYPOINT ["/device-modbus"] [2022-07-12T21:29:02.406Z] ---> Running in b4aeb38f6299 [2022-07-12T21:29:02.406Z] Removing intermediate container b4aeb38f6299 [2022-07-12T21:29:02.406Z] ---> d75469d059f5 [2022-07-12T21:29:02.406Z] Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-07-12T21:29:02.406Z] ---> Running in cb836fe4326b [2022-07-12T21:29:02.675Z] Removing intermediate container cb836fe4326b [2022-07-12T21:29:02.675Z] ---> ec29b404f348 [2022-07-12T21:29:02.675Z] Step 21/23 : LABEL arch=amd64 [2022-07-12T21:29:02.675Z] ---> Running in b83a10990322 [2022-07-12T21:29:02.675Z] Removing intermediate container b83a10990322 [2022-07-12T21:29:02.675Z] ---> bdb4b1d8e238 [2022-07-12T21:29:02.675Z] Step 22/23 : LABEL git_sha=c629de7c8079fac358025f93bf429ac6524aaad4 [2022-07-12T21:29:02.675Z] ---> Running in bd6c3574fbe0 [2022-07-12T21:29:02.935Z] Removing intermediate container bd6c3574fbe0 [2022-07-12T21:29:02.935Z] ---> ad8691104398 [2022-07-12T21:29:02.935Z] Step 23/23 : LABEL version=0.0.0 [2022-07-12T21:29:02.935Z] ---> Running in 18ae984ee0c8 [2022-07-12T21:29:02.935Z] Removing intermediate container 18ae984ee0c8 [2022-07-12T21:29:02.935Z] ---> d8391b05fe1f [2022-07-12T21:29:02.935Z] [Warning] One or more build-args [ARCH] were not consumed [2022-07-12T21:29:02.935Z] Successfully built d8391b05fe1f [2022-07-12T21:29:02.935Z] 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-12T21:29:03.810Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-12T21:29:03.810Z] [2022-07-12T21:29:03.810Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T21:29:04.194Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-12T21:29:04.195Z] latest: Pulling from edgex-lftools-log-publisher [2022-07-12T21:29:04.195Z] 5eb5b503b376: Pulling fs layer [2022-07-12T21:29:04.195Z] 5c69ac0246d0: Pulling fs layer [2022-07-12T21:29:04.195Z] ec43610c2a17: Pulling fs layer [2022-07-12T21:29:04.195Z] 3a2ae6a8a46f: Pulling fs layer [2022-07-12T21:29:04.195Z] 33b1e0a273af: Pulling fs layer [2022-07-12T21:29:04.195Z] 5d3b04190fa2: Pulling fs layer [2022-07-12T21:29:04.195Z] 2f39f015ded8: Pulling fs layer [2022-07-12T21:29:04.195Z] 5d3b04190fa2: Waiting [2022-07-12T21:29:04.195Z] 2f39f015ded8: Waiting [2022-07-12T21:29:04.195Z] 33b1e0a273af: Waiting [2022-07-12T21:29:04.195Z] 5c69ac0246d0: Verifying Checksum [2022-07-12T21:29:04.195Z] 5c69ac0246d0: Download complete [2022-07-12T21:29:04.195Z] 3a2ae6a8a46f: Verifying Checksum [2022-07-12T21:29:04.195Z] 3a2ae6a8a46f: Download complete [2022-07-12T21:29:04.195Z] 33b1e0a273af: Verifying Checksum [2022-07-12T21:29:04.195Z] 33b1e0a273af: Download complete [2022-07-12T21:29:04.195Z] 5d3b04190fa2: Verifying Checksum [2022-07-12T21:29:04.195Z] 5d3b04190fa2: Download complete [2022-07-12T21:29:04.195Z] ec43610c2a17: Verifying Checksum [2022-07-12T21:29:04.195Z] ec43610c2a17: Download complete [2022-07-12T21:29:04.455Z] 5eb5b503b376: Verifying Checksum [2022-07-12T21:29:04.455Z] 5eb5b503b376: Download complete [2022-07-12T21:29:05.023Z] 2f39f015ded8: Download complete [2022-07-12T21:29:05.595Z] 5eb5b503b376: Pull complete [2022-07-12T21:29:05.595Z] 5c69ac0246d0: Pull complete [2022-07-12T21:29:06.163Z] ec43610c2a17: Pull complete [2022-07-12T21:29:06.163Z] 3a2ae6a8a46f: Pull complete [2022-07-12T21:29:06.424Z] 33b1e0a273af: Pull complete [2022-07-12T21:29:06.424Z] 5d3b04190fa2: Pull complete [2022-07-12T21:29:11.696Z] 2f39f015ded8: Pull complete [2022-07-12T21:29:11.696Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-07-12T21:29:11.696Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-12T21:29:11.696Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-12T21:29:11.928Z] prd-ubuntu20.04-docker-8c-8g-19767 does not seem to be running inside a container [2022-07-12T21:29:11.969Z] $ 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-361 -v /w/workspace/xfoundry_device-modbus-go_PR-361:/w/workspace/xfoundry_device-modbus-go_PR-361:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-361@tmp:/w/workspace/xfoundry_device-modbus-go_PR-361@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-07-12T21:29:13.700Z] $ docker top e8488e5b30b31303057557424bbf133b39c348571b7c088c582ffad1c5dd5aca -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-12T21:29:14.168Z] ---> job-cost.sh [2022-07-12T21:29:14.168Z] lf-activate-venv: SKIPPING [2022-07-12T21:29:14.168Z] INFO: No Stack... [2022-07-12T21:29:14.743Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-07-12T21:29:15.005Z] INFO: Archiving Costs [Pipeline] sh [2022-07-12T21:29:15.329Z] + cat /w/workspace/xfoundry_device-modbus-go_PR-361/archives/cost.csv [2022-07-12T21:29:15.329Z] + cut -d, -f6 [Pipeline] lock [2022-07-12T21:29:15.387Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-361-1-stack-cost] [2022-07-12T21:29:15.391Z] Resource [jenkins-edgexfoundry-device-modbus-go-PR-361-1-stack-cost] did not exist. Created. [2022-07-12T21:29:15.391Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-361-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-07-12T21:29:15.836Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-07-12T21:29:15.899Z] Stashed 1 file(s) [Pipeline] } [2022-07-12T21:29:15.926Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-361-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-07-12T21:29:16.009Z] $ docker stop --time=1 e8488e5b30b31303057557424bbf133b39c348571b7c088c582ffad1c5dd5aca [2022-07-12T21:29:17.198Z] $ docker rm -f e8488e5b30b31303057557424bbf133b39c348571b7c088c582ffad1c5dd5aca [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-07-12T21:30:00.046Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-19768 in /w/workspace/xfoundry_device-modbus-go_PR-361 [Pipeline] { [Pipeline] ws [2022-07-12T21:30:00.087Z] Running in /w/workspace/device-modbus-go/1 [Pipeline] { [Pipeline] checkout [2022-07-12T21:30:00.152Z] Selected Git installation does not exist. Using Default [2022-07-12T21:30:00.152Z] The recommended git tool is: NONE [2022-07-12T21:30:06.231Z] using credential edgex-jenkins-ssh [2022-07-12T21:30:06.250Z] Cloning the remote Git repository [2022-07-12T21:30:06.307Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2022-07-12T21:30:06.382Z] > git init /w/workspace/device-modbus-go/1 # timeout=10 [2022-07-12T21:30:06.462Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2022-07-12T21:30:06.463Z] > git --version # timeout=10 [2022-07-12T21:30:06.482Z] > git --version # 'git version 2.25.1' [2022-07-12T21:30:06.484Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-07-12T21:30:06.555Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-07-12T21:30:07.596Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2022-07-12T21:30:07.617Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-07-12T21:30:07.642Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2022-07-12T21:30:07.679Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2022-07-12T21:30:07.680Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-07-12T21:30:07.693Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/361/head:refs/remotes/origin/PR-361 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-07-12T21:30:08.230Z] Merging remotes/origin/main commit b3a201471f88f806ab320431fdd3bd4e90f5c29c into PR head commit c629de7c8079fac358025f93bf429ac6524aaad4 [2022-07-12T21:30:08.483Z] Merge succeeded, producing c629de7c8079fac358025f93bf429ac6524aaad4 [2022-07-12T21:30:08.484Z] Checking out Revision c629de7c8079fac358025f93bf429ac6524aaad4 (PR-361) [2022-07-12T21:30:08.245Z] > git config core.sparsecheckout # timeout=10 [2022-07-12T21:30:08.288Z] > git checkout -f c629de7c8079fac358025f93bf429ac6524aaad4 # timeout=10 [2022-07-12T21:30:08.378Z] > git remote # timeout=10 [2022-07-12T21:30:08.403Z] > git config --get remote.origin.url # timeout=10 [2022-07-12T21:30:08.426Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-07-12T21:30:08.437Z] > git merge b3a201471f88f806ab320431fdd3bd4e90f5c29c # timeout=10 [2022-07-12T21:30:08.462Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-07-12T21:30:08.487Z] > git config core.sparsecheckout # timeout=10 [2022-07-12T21:30:08.499Z] > git checkout -f c629de7c8079fac358025f93bf429ac6524aaad4 # timeout=10 [2022-07-12T21:30:12.579Z] Commit message: "build: Upgrade to Go 1.18 and optimize attribution script" [2022-07-12T21:30:12.632Z] > git --version # timeout=10 [2022-07-12T21:30:12.642Z] > git --version # 'git version 2.25.1' [2022-07-12T21:30:12.658Z] fatal: bad object 2e0fbb9e3182d57c6b22477550a42c2d133d03c8 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-07-12T21:30:13.682Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-07-12T21:30:13.682Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-07-12T21:30:13.682Z] Dload Upload Total Spent Left Speed [2022-07-12T21:30:13.682Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12276 100 12276 0 0 81298 0 --:--:-- --:--:-- --:--:-- 81840 [Pipeline] sh [2022-07-12T21:30:14.398Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-07-12T21:30:14.744Z] + + sudosudo jq tee . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.new /etc/docker/daemon.json [2022-07-12T21:30:14.744Z] [2022-07-12T21:30:14.744Z] { [2022-07-12T21:30:14.744Z] "registry-mirrors": [ [2022-07-12T21:30:14.744Z] "https://nexus3.edgexfoundry.org:10001" [2022-07-12T21:30:14.744Z] ], [2022-07-12T21:30:14.744Z] "bip": "10.250.0.254/24", [2022-07-12T21:30:14.744Z] "hosts": [ [2022-07-12T21:30:14.744Z] "tcp://0.0.0.0:5555", [2022-07-12T21:30:14.744Z] "unix:///var/run/docker.sock" [2022-07-12T21:30:14.744Z] ], [2022-07-12T21:30:14.744Z] "mtu": 1458, [2022-07-12T21:30:14.744Z] "selinux-enabled": true, [2022-07-12T21:30:14.744Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-07-12T21:30:14.744Z] } [Pipeline] sh [2022-07-12T21:30:15.096Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-07-12T21:30:15.462Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-12T21:30:34.011Z] provisioning config files... [2022-07-12T21:30:34.035Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/1@tmp/config932157204337570959tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-12T21:30:34.433Z] ---> docker-login.sh [2022-07-12T21:30:34.433Z] nexus3.edgexfoundry.org:10001 [2022-07-12T21:30:35.032Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-12T21:30:35.310Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-12T21:30:35.310Z] Configure a credential helper to remove this warning. See [2022-07-12T21:30:35.310Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-12T21:30:35.310Z] [2022-07-12T21:30:35.310Z] Login Succeeded [2022-07-12T21:30:35.310Z] nexus3.edgexfoundry.org:10002 [2022-07-12T21:30:35.587Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-12T21:30:35.859Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-12T21:30:35.859Z] Configure a credential helper to remove this warning. See [2022-07-12T21:30:35.859Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-12T21:30:35.859Z] [2022-07-12T21:30:35.859Z] Login Succeeded [2022-07-12T21:30:35.859Z] nexus3.edgexfoundry.org:10003 [2022-07-12T21:30:36.141Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-12T21:30:36.419Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-12T21:30:36.419Z] Configure a credential helper to remove this warning. See [2022-07-12T21:30:36.419Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-12T21:30:36.419Z] [2022-07-12T21:30:36.419Z] Login Succeeded [2022-07-12T21:30:36.419Z] nexus3.edgexfoundry.org:10004 [2022-07-12T21:30:36.693Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-12T21:30:36.693Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-12T21:30:36.693Z] Configure a credential helper to remove this warning. See [2022-07-12T21:30:36.693Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-12T21:30:36.693Z] [2022-07-12T21:30:36.693Z] Login Succeeded [2022-07-12T21:30:36.693Z] docker.io [2022-07-12T21:30:36.971Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-12T21:30:37.568Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-12T21:30:37.568Z] Configure a credential helper to remove this warning. See [2022-07-12T21:30:37.568Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-12T21:30:37.568Z] [2022-07-12T21:30:37.568Z] Login Succeeded [2022-07-12T21:30:37.568Z] ---> docker-login.sh ends [Pipeline] } [2022-07-12T21:30:37.598Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-07-12T21:30:37.975Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-12T21:30:38.011Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-12T21:30:38.047Z] ========================================================= [2022-07-12T21:30:38.047Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-07-12T21:30:38.047Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T21:30:38.560Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-07-12T21:30:38.837Z] Sending build context to Docker daemon 3.178MB [2022-07-12T21:30:38.837Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2022-07-12T21:30:38.837Z] Step 2/10 : FROM ${BASE} AS builder [2022-07-12T21:30:39.129Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-07-12T21:30:39.129Z] b3c136eddcbf: Pulling fs layer [2022-07-12T21:30:39.129Z] c0a3192eca97: Pulling fs layer [2022-07-12T21:30:39.129Z] a050256f5b6f: Pulling fs layer [2022-07-12T21:30:39.129Z] 656be50a0ddc: Pulling fs layer [2022-07-12T21:30:39.129Z] 2bbca73fdf42: Pulling fs layer [2022-07-12T21:30:39.129Z] 46d945488cbd: Pulling fs layer [2022-07-12T21:30:39.129Z] 8a5474983e97: Pulling fs layer [2022-07-12T21:30:39.129Z] 329c88fbcd65: Pulling fs layer [2022-07-12T21:30:39.129Z] 2bbca73fdf42: Waiting [2022-07-12T21:30:39.129Z] 656be50a0ddc: Waiting [2022-07-12T21:30:39.129Z] 46d945488cbd: Waiting [2022-07-12T21:30:39.129Z] 8a5474983e97: Waiting [2022-07-12T21:30:39.129Z] 329c88fbcd65: Waiting [2022-07-12T21:30:39.129Z] a050256f5b6f: Verifying Checksum [2022-07-12T21:30:39.129Z] a050256f5b6f: Download complete [2022-07-12T21:30:39.129Z] c0a3192eca97: Download complete [2022-07-12T21:30:39.129Z] 2bbca73fdf42: Verifying Checksum [2022-07-12T21:30:39.129Z] 46d945488cbd: Verifying Checksum [2022-07-12T21:30:39.129Z] 46d945488cbd: Download complete [2022-07-12T21:30:39.129Z] b3c136eddcbf: Verifying Checksum [2022-07-12T21:30:40.122Z] b3c136eddcbf: Pull complete [2022-07-12T21:30:40.400Z] 329c88fbcd65: Verifying Checksum [2022-07-12T21:30:40.400Z] 329c88fbcd65: Download complete [2022-07-12T21:30:40.679Z] c0a3192eca97: Pull complete [2022-07-12T21:30:40.956Z] a050256f5b6f: Pull complete [2022-07-12T21:30:41.567Z] 8a5474983e97: Verifying Checksum [2022-07-12T21:30:41.567Z] 8a5474983e97: Download complete [2022-07-12T21:30:42.175Z] 656be50a0ddc: Download complete [2022-07-12T21:30:57.270Z] 656be50a0ddc: Pull complete [2022-07-12T21:30:57.270Z] 2bbca73fdf42: Pull complete [2022-07-12T21:30:57.270Z] 46d945488cbd: Pull complete [2022-07-12T21:31:01.591Z] 8a5474983e97: Pull complete [2022-07-12T21:31:03.570Z] 329c88fbcd65: Pull complete [2022-07-12T21:31:03.570Z] Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 [2022-07-12T21:31:03.570Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-07-12T21:31:03.570Z] ---> ff4287adb874 [2022-07-12T21:31:03.570Z] Step 3/10 : ARG MAKE='make build' [2022-07-12T21:31:05.569Z] ---> Running in 17691908b548 [2022-07-12T21:31:05.569Z] Removing intermediate container 17691908b548 [2022-07-12T21:31:05.569Z] ---> 040e294a77cb [2022-07-12T21:31:05.569Z] Step 4/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-12T21:31:05.569Z] ---> Running in 332744dc58b2 [2022-07-12T21:31:08.216Z] Removing intermediate container 332744dc58b2 [2022-07-12T21:31:08.216Z] ---> c5dce67d2795 [2022-07-12T21:31:08.216Z] Step 5/10 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-07-12T21:31:08.216Z] ---> Running in 19c56730b233 [2022-07-12T21:31:09.197Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-07-12T21:31:10.174Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-07-12T21:31:11.161Z] (1/8) Installing openssh-keygen (9.0_p1-r1) [2022-07-12T21:31:11.161Z] (2/8) Installing libedit (20210910.3.1-r0) [2022-07-12T21:31:11.162Z] (3/8) Installing openssh-client-common (9.0_p1-r1) [2022-07-12T21:31:11.435Z] (4/8) Installing openssh-client-default (9.0_p1-r1) [2022-07-12T21:31:11.435Z] (5/8) Installing openssh-sftp-server (9.0_p1-r1) [2022-07-12T21:31:11.435Z] (6/8) Installing openssh-server-common (9.0_p1-r1) [2022-07-12T21:31:11.711Z] (7/8) Installing openssh-server (9.0_p1-r1) [2022-07-12T21:31:11.711Z] (8/8) Installing openssh (9.0_p1-r1) [2022-07-12T21:31:11.711Z] Executing busybox-1.35.0-r13.trigger [2022-07-12T21:31:11.711Z] OK: 228 MiB in 59 packages [2022-07-12T21:31:12.709Z] Removing intermediate container 19c56730b233 [2022-07-12T21:31:12.709Z] ---> 648ffe7c9251 [2022-07-12T21:31:12.709Z] Step 6/10 : WORKDIR /device-modbus-go [2022-07-12T21:31:12.991Z] ---> Running in 5e8f5a3fdd69 [2022-07-12T21:31:13.265Z] Removing intermediate container 5e8f5a3fdd69 [2022-07-12T21:31:13.265Z] ---> a31be5fd3a17 [2022-07-12T21:31:13.265Z] Step 7/10 : COPY go.mod vendor* ./ [2022-07-12T21:31:13.864Z] ---> d12c9246559f [2022-07-12T21:31:13.864Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-12T21:31:13.864Z] ---> Running in f0460b87dce9 [2022-07-12T21:32:00.874Z] Removing intermediate container f0460b87dce9 [2022-07-12T21:32:00.874Z] ---> 92d0d73781a6 [2022-07-12T21:32:00.874Z] Step 9/10 : COPY . . [2022-07-12T21:32:00.874Z] ---> 24c0939526a2 [2022-07-12T21:32:00.874Z] Step 10/10 : RUN ${MAKE} [2022-07-12T21:32:00.874Z] ---> Running in f9ee2629c246 [2022-07-12T21:32:00.874Z] noop [2022-07-12T21:32:00.874Z] Removing intermediate container f9ee2629c246 [2022-07-12T21:32:00.874Z] ---> 5ef1f197899c [2022-07-12T21:32:00.874Z] Successfully built 5ef1f197899c [2022-07-12T21:32:00.874Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T21:32:01.371Z] + docker inspect -f . ci-base-image-arm64 [2022-07-12T21:32:01.371Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-12T21:32:01.692Z] prd-ubuntu20.04-docker-arm64-4c-16g-19768 does not seem to be running inside a container [2022-07-12T21:32:01.782Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-07-12T21:32:03.097Z] $ docker top c17cf2741855754bef725e3b32fd9e0afe6410f7b6a5cffe31a11de0f472eb54 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-12T21:32:04.067Z] + go version [2022-07-12T21:32:04.067Z] go version go1.18.3 linux/arm64 [Pipeline] } [2022-07-12T21:32:04.102Z] $ docker stop --time=1 c17cf2741855754bef725e3b32fd9e0afe6410f7b6a5cffe31a11de0f472eb54 [2022-07-12T21:32:05.733Z] $ docker rm -f c17cf2741855754bef725e3b32fd9e0afe6410f7b6a5cffe31a11de0f472eb54 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T21:32:06.628Z] + docker inspect -f . ci-base-image-arm64 [2022-07-12T21:32:06.628Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-12T21:32:06.932Z] prd-ubuntu20.04-docker-arm64-4c-16g-19768 does not seem to be running inside a container [2022-07-12T21:32:07.016Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-07-12T21:32:08.243Z] $ docker top 1a9c3a6228da69121f4d44831afd3faee6dfc0896ed7112546c0ae7d06dbc1a0 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-12T21:32:09.194Z] + git config --global --add safe.directory /w/workspace/device-modbus-go/1 [Pipeline] fileExists [Pipeline] sh [2022-07-12T21:32:09.930Z] + make test [2022-07-12T21:32:09.930Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-07-12T21:32:11.378Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2022-07-12T21:33:33.271Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2022-07-12T21:33:33.271Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.057s coverage: 46.4% of statements [2022-07-12T21:33:33.271Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-07-12T21:33:33.271Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-07-12T21:33:48.394Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-07-12T21:33:48.394Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-07-12T21:33:48.394Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-07-12T21:33:48.430Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-07-12T21:33:48.465Z] $ docker stop --time=1 1a9c3a6228da69121f4d44831afd3faee6dfc0896ed7112546c0ae7d06dbc1a0 [2022-07-12T21:33:50.241Z] $ docker rm -f 1a9c3a6228da69121f4d44831afd3faee6dfc0896ed7112546c0ae7d06dbc1a0 [Pipeline] // withDockerContainer [Pipeline] sh [2022-07-12T21:33:51.247Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-07-12T21:33:51.282Z] Warning: overwriting stash ‘coverage-report’ [2022-07-12T21:33:51.763Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-07-12T21:33:52.353Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-07-12T21:33:52.700Z] + ls -al . [2022-07-12T21:33:52.700Z] total 180 [2022-07-12T21:33:52.700Z] drwxrwxr-x 9 jenkins jenkins 4096 Jul 12 21:32 . [2022-07-12T21:33:52.700Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 12 21:30 .. [2022-07-12T21:33:52.700Z] -rw-rw-r-- 1 jenkins jenkins 140 Jul 12 21:30 .dockerignore [2022-07-12T21:33:52.700Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 12 21:30 .git [2022-07-12T21:33:52.700Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 12 21:30 .github [2022-07-12T21:33:52.700Z] -rw-rw-r-- 1 jenkins jenkins 331 Jul 12 21:30 .gitignore [2022-07-12T21:33:52.700Z] -rw-rw-r-- 1 jenkins jenkins 41 Jul 12 21:30 .golangci.yml [2022-07-12T21:33:52.700Z] -rw-rw-r-- 1 jenkins jenkins 9636 Jul 12 21:30 Attribution.txt [2022-07-12T21:33:52.700Z] -rw-rw-r-- 1 jenkins jenkins 10001 Jul 12 21:30 CHANGELOG.md [2022-07-12T21:33:52.700Z] -rw-rw-r-- 1 jenkins jenkins 1550 Jul 12 21:30 Dockerfile [2022-07-12T21:33:52.700Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 12 21:30 GOVERNANCE.md [2022-07-12T21:33:52.700Z] -rw-rw-r-- 1 jenkins jenkins 680 Jul 12 21:30 Jenkinsfile [2022-07-12T21:33:52.700Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jul 12 21:30 LICENSE [2022-07-12T21:33:52.700Z] -rw-rw-r-- 1 jenkins jenkins 1892 Jul 12 21:30 Makefile [2022-07-12T21:33:52.700Z] -rw-rw-r-- 1 jenkins jenkins 622 Jul 12 21:30 OWNERS.md [2022-07-12T21:33:52.700Z] -rw-rw-r-- 1 jenkins jenkins 3397 Jul 12 21:30 README.md [2022-07-12T21:33:52.700Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 12 21:27 VERSION [2022-07-12T21:33:52.700Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 12 21:30 bin [2022-07-12T21:33:52.700Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 12 21:30 cmd [2022-07-12T21:33:52.700Z] -rw-r--r-- 1 jenkins jenkins 24065 Jul 12 21:33 coverage.out [2022-07-12T21:33:52.700Z] -rw-rw-r-- 1 jenkins jenkins 3404 Jul 12 21:30 go.mod [2022-07-12T21:33:52.700Z] -rw-rw-r-- 1 jenkins jenkins 35446 Jul 12 21:30 go.sum [2022-07-12T21:33:52.700Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 12 21:30 internal [2022-07-12T21:33:52.700Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 12 21:30 simulator [2022-07-12T21:33:52.700Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 12 21:30 snap [2022-07-12T21:33:52.700Z] -rw-rw-r-- 1 jenkins jenkins 229 Jul 12 21:30 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T21:33:53.131Z] + 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=c629de7c8079fac358025f93bf429ac6524aaad4 --label arch=arm64 --label version=0.0.0 . [2022-07-12T21:33:53.405Z] Sending build context to Docker daemon 3.204MB [2022-07-12T21:33:53.405Z] Step 1/23 : ARG BASE=golang:1.18-alpine3.16 [2022-07-12T21:33:53.405Z] Step 2/23 : FROM ${BASE} AS builder [2022-07-12T21:33:53.405Z] ---> 5ef1f197899c [2022-07-12T21:33:53.405Z] Step 3/23 : ARG MAKE='make build' [2022-07-12T21:33:53.679Z] ---> Running in 1d2fdc08f463 [2022-07-12T21:33:53.950Z] Removing intermediate container 1d2fdc08f463 [2022-07-12T21:33:53.950Z] ---> 9807dc653cda [2022-07-12T21:33:53.950Z] Step 4/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-12T21:33:53.950Z] ---> Running in 9862f481caa6 [2022-07-12T21:33:55.933Z] Removing intermediate container 9862f481caa6 [2022-07-12T21:33:55.933Z] ---> 678ffe26f261 [2022-07-12T21:33:55.933Z] Step 5/23 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-07-12T21:33:55.933Z] ---> Running in cbfc9823a10b [2022-07-12T21:33:56.531Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-07-12T21:33:57.510Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-07-12T21:33:58.496Z] OK: 228 MiB in 59 packages [2022-07-12T21:33:59.096Z] Removing intermediate container cbfc9823a10b [2022-07-12T21:33:59.096Z] ---> 577ef46a6795 [2022-07-12T21:33:59.096Z] Step 6/23 : WORKDIR /device-modbus-go [2022-07-12T21:33:59.096Z] ---> Running in 73963046c68d [2022-07-12T21:33:59.691Z] Removing intermediate container 73963046c68d [2022-07-12T21:33:59.691Z] ---> 125f79643a48 [2022-07-12T21:33:59.691Z] Step 7/23 : COPY go.mod vendor* ./ [2022-07-12T21:33:59.969Z] ---> f838d9a711de [2022-07-12T21:33:59.969Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-12T21:34:00.247Z] ---> Running in abd72afa45ac [2022-07-12T21:34:02.234Z] Removing intermediate container abd72afa45ac [2022-07-12T21:34:02.234Z] ---> f3d2a15e9405 [2022-07-12T21:34:02.234Z] Step 9/23 : COPY . . [2022-07-12T21:34:02.835Z] ---> 9e344fc4f254 [2022-07-12T21:34:02.835Z] Step 10/23 : RUN ${MAKE} [2022-07-12T21:34:02.835Z] ---> Running in ed80c16d5758 [2022-07-12T21:34:03.819Z] 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-12T21:36:10.719Z] Removing intermediate container ed80c16d5758 [2022-07-12T21:36:10.719Z] ---> b182c680dfaa [2022-07-12T21:36:10.719Z] Step 11/23 : FROM alpine:3.14 [2022-07-12T21:36:10.719Z] 3.14: Pulling from library/alpine [2022-07-12T21:36:10.719Z] 455c02918c45: Pulling fs layer [2022-07-12T21:36:10.719Z] 455c02918c45: Verifying Checksum [2022-07-12T21:36:10.719Z] 455c02918c45: Download complete [2022-07-12T21:36:10.719Z] 455c02918c45: Pull complete [2022-07-12T21:36:10.719Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-07-12T21:36:10.719Z] Status: Downloaded newer image for alpine:3.14 [2022-07-12T21:36:10.719Z] ---> ac73e934f311 [2022-07-12T21:36:10.719Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2022-07-12T21:36:10.719Z] ---> Running in b9590d9ff7bd [2022-07-12T21:36:10.719Z] Removing intermediate container b9590d9ff7bd [2022-07-12T21:36:10.719Z] ---> 478a8078b14c [2022-07-12T21:36:10.719Z] Step 13/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-12T21:36:10.719Z] ---> Running in cbed1517e928 [2022-07-12T21:36:10.719Z] Removing intermediate container cbed1517e928 [2022-07-12T21:36:10.719Z] ---> cf13f8f07bee [2022-07-12T21:36:10.719Z] Step 14/23 : RUN apk add --update --no-cache zeromq dumb-init [2022-07-12T21:36:10.719Z] ---> Running in 89093d23f4c6 [2022-07-12T21:36:10.719Z] fetch https://dl-4.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-07-12T21:36:10.719Z] fetch https://dl-4.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-07-12T21:36:10.719Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-07-12T21:36:10.719Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-07-12T21:36:10.719Z] (3/6) Installing libsodium (1.0.18-r0) [2022-07-12T21:36:10.994Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-07-12T21:36:10.994Z] (5/6) Installing libzmq (4.3.4-r0) [2022-07-12T21:36:11.271Z] (6/6) Installing zeromq (4.3.4-r0) [2022-07-12T21:36:11.271Z] Executing busybox-1.33.1-r7.trigger [2022-07-12T21:36:11.271Z] OK: 8 MiB in 20 packages [2022-07-12T21:36:12.258Z] Removing intermediate container 89093d23f4c6 [2022-07-12T21:36:12.258Z] ---> 9fefa13ccaa9 [2022-07-12T21:36:12.258Z] Step 15/23 : COPY --from=builder /device-modbus-go/cmd / [2022-07-12T21:36:13.699Z] ---> a2da5d353695 [2022-07-12T21:36:13.699Z] Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / [2022-07-12T21:36:13.985Z] ---> 866864344fca [2022-07-12T21:36:13.985Z] Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / [2022-07-12T21:36:14.585Z] ---> f2b5ca76c6ad [2022-07-12T21:36:14.585Z] Step 18/23 : EXPOSE 59901 [2022-07-12T21:36:14.862Z] ---> Running in 1ce5afadc07a [2022-07-12T21:36:15.138Z] Removing intermediate container 1ce5afadc07a [2022-07-12T21:36:15.138Z] ---> a0b94c56d285 [2022-07-12T21:36:15.138Z] Step 19/23 : ENTRYPOINT ["/device-modbus"] [2022-07-12T21:36:15.138Z] ---> Running in 19c8ef8fdfa6 [2022-07-12T21:36:15.413Z] Removing intermediate container 19c8ef8fdfa6 [2022-07-12T21:36:15.413Z] ---> 5f70e199a60a [2022-07-12T21:36:15.413Z] Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-07-12T21:36:15.413Z] ---> Running in d83b0ff8d8bc [2022-07-12T21:36:15.690Z] Removing intermediate container d83b0ff8d8bc [2022-07-12T21:36:15.690Z] ---> b42907b01b08 [2022-07-12T21:36:15.690Z] Step 21/23 : LABEL arch=arm64 [2022-07-12T21:36:15.971Z] ---> Running in 7e8ec854aeec [2022-07-12T21:36:16.246Z] Removing intermediate container 7e8ec854aeec [2022-07-12T21:36:16.246Z] ---> 508bf6238f89 [2022-07-12T21:36:16.246Z] Step 22/23 : LABEL git_sha=c629de7c8079fac358025f93bf429ac6524aaad4 [2022-07-12T21:36:16.246Z] ---> Running in 46f301135e09 [2022-07-12T21:36:16.520Z] Removing intermediate container 46f301135e09 [2022-07-12T21:36:16.520Z] ---> 71dbfcfef9c4 [2022-07-12T21:36:16.520Z] Step 23/23 : LABEL version=0.0.0 [2022-07-12T21:36:16.520Z] ---> Running in 6df9fb40a7a0 [2022-07-12T21:36:16.793Z] Removing intermediate container 6df9fb40a7a0 [2022-07-12T21:36:16.793Z] ---> a541df390c1d [2022-07-12T21:36:16.793Z] [Warning] One or more build-args [ARCH] were not consumed [2022-07-12T21:36:16.793Z] Successfully built a541df390c1d [2022-07-12T21:36:16.793Z] 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-12T21:36:17.611Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-07-12T21:36:17.611Z] [2022-07-12T21:36:17.611Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T21:36:18.031Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-07-12T21:36:18.308Z] arm64: Pulling from edgex-lftools-log-publisher [2022-07-12T21:36:18.308Z] 8998bd30e6a1: Pulling fs layer [2022-07-12T21:36:18.308Z] 04944245beec: Pulling fs layer [2022-07-12T21:36:18.308Z] 699f458cf7ca: Pulling fs layer [2022-07-12T21:36:18.308Z] 765212b225bb: Pulling fs layer [2022-07-12T21:36:18.308Z] f23df028b6ca: Pulling fs layer [2022-07-12T21:36:18.308Z] d65c8cfc05b1: Pulling fs layer [2022-07-12T21:36:18.308Z] 2437ff75d9bd: Pulling fs layer [2022-07-12T21:36:18.308Z] 765212b225bb: Waiting [2022-07-12T21:36:18.308Z] f23df028b6ca: Waiting [2022-07-12T21:36:18.308Z] d65c8cfc05b1: Waiting [2022-07-12T21:36:18.308Z] 2437ff75d9bd: Waiting [2022-07-12T21:36:18.308Z] 04944245beec: Verifying Checksum [2022-07-12T21:36:18.308Z] 04944245beec: Download complete [2022-07-12T21:36:18.308Z] 765212b225bb: Verifying Checksum [2022-07-12T21:36:18.308Z] 765212b225bb: Download complete [2022-07-12T21:36:18.308Z] f23df028b6ca: Verifying Checksum [2022-07-12T21:36:18.308Z] f23df028b6ca: Download complete [2022-07-12T21:36:18.308Z] d65c8cfc05b1: Verifying Checksum [2022-07-12T21:36:18.308Z] d65c8cfc05b1: Download complete [2022-07-12T21:36:18.583Z] 699f458cf7ca: Verifying Checksum [2022-07-12T21:36:18.583Z] 699f458cf7ca: Download complete [2022-07-12T21:36:18.863Z] 8998bd30e6a1: Verifying Checksum [2022-07-12T21:36:18.863Z] 8998bd30e6a1: Download complete [2022-07-12T21:36:21.491Z] 2437ff75d9bd: Verifying Checksum [2022-07-12T21:36:21.491Z] 2437ff75d9bd: Download complete [2022-07-12T21:36:22.929Z] 8998bd30e6a1: Pull complete [2022-07-12T21:36:23.530Z] 04944245beec: Pull complete [2022-07-12T21:36:24.969Z] 699f458cf7ca: Pull complete [2022-07-12T21:36:25.243Z] 765212b225bb: Pull complete [2022-07-12T21:36:25.844Z] f23df028b6ca: Pull complete [2022-07-12T21:36:26.118Z] d65c8cfc05b1: Pull complete [2022-07-12T21:36:41.215Z] 2437ff75d9bd: Pull complete [2022-07-12T21:36:41.215Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-07-12T21:36:41.215Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-07-12T21:36:41.215Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-12T21:36:41.604Z] prd-ubuntu20.04-docker-arm64-4c-16g-19768 does not seem to be running inside a container [2022-07-12T21:36:41.701Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-07-12T21:36:44.223Z] $ docker top de6e77fbf76a52ad2ce57c93ceaaf8d371ffaee1545eca3ddd470fc6437c6985 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-12T21:36:45.217Z] ---> job-cost.sh [2022-07-12T21:36:45.217Z] lf-activate-venv: SKIPPING [2022-07-12T21:36:45.217Z] INFO: No Stack... [2022-07-12T21:36:45.815Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-07-12T21:36:46.799Z] INFO: Archiving Costs [Pipeline] sh [2022-07-12T21:36:47.480Z] + cat /w/workspace/device-modbus-go/1/archives/cost.csv [2022-07-12T21:36:47.481Z] + cut -d, -f6 [Pipeline] lock [2022-07-12T21:36:47.566Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-361-1-stack-cost] [2022-07-12T21:36:47.571Z] Resource [jenkins-edgexfoundry-device-modbus-go-PR-361-1-stack-cost] did not exist. Created. [2022-07-12T21:36:47.571Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-361-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-07-12T21:36:48.315Z] /w/workspace/device-modbus-go/1@tmp/durable-d91c2a72/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-07-12T21:36:49.027Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-07-12T21:36:49.061Z] Warning: overwriting stash ‘stack-cost’ [2022-07-12T21:36:49.109Z] Stashed 1 file(s) [Pipeline] } [2022-07-12T21:36:49.126Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-361-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-07-12T21:36:49.205Z] $ docker stop --time=1 de6e77fbf76a52ad2ce57c93ceaaf8d371ffaee1545eca3ddd470fc6437c6985 [2022-07-12T21:36:50.704Z] $ docker rm -f de6e77fbf76a52ad2ce57c93ceaaf8d371ffaee1545eca3ddd470fc6437c6985 [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-12T21:36:51.686Z] provisioning config files... [2022-07-12T21:36:51.695Z] copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-361@tmp/config491350625784106227tmp [Pipeline] { [Pipeline] sh [2022-07-12T21:36:52.034Z] + set +x [2022-07-12T21:36:52.034Z] + curl -s https://codecov.io/bash [2022-07-12T21:36:52.034Z] + bash -s -- [2022-07-12T21:36:52.034Z] [2022-07-12T21:36:52.034Z] _____ _ [2022-07-12T21:36:52.034Z] / ____| | | [2022-07-12T21:36:52.034Z] | | ___ __| | ___ ___ _____ __ [2022-07-12T21:36:52.034Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-07-12T21:36:52.034Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-07-12T21:36:52.034Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-07-12T21:36:52.034Z] Bash-1.0.6 [2022-07-12T21:36:52.034Z] [2022-07-12T21:36:52.034Z] [2022-07-12T21:36:52.034Z] ==> git version 2.25.1 found [2022-07-12T21:36:52.034Z] ==> 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-12T21:36:52.034Z] Release-Date: 2020-01-08 [2022-07-12T21:36:52.034Z] 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-12T21:36:52.034Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-07-12T21:36:52.034Z] ==> Jenkins CI detected. [2022-07-12T21:36:52.034Z] current dir:  /w/workspace/xfoundry_device-modbus-go_PR-361 [2022-07-12T21:36:52.034Z] project root: . [2022-07-12T21:36:52.034Z] --> token set from env [2022-07-12T21:36:52.034Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-07-12T21:36:52.034Z] ==> Running gcov in . (disable via -X gcov) [2022-07-12T21:36:52.034Z] ==> Python coveragepy not found [2022-07-12T21:36:52.034Z] ==> Searching for coverage reports in: [2022-07-12T21:36:52.034Z] + . [2022-07-12T21:36:52.034Z] -> Found 1 reports [2022-07-12T21:36:52.034Z] ==> Detecting git/mercurial file structure [2022-07-12T21:36:52.034Z] ==> Reading reports [2022-07-12T21:36:52.034Z] + ./coverage.out bytes=24065 [2022-07-12T21:36:52.034Z] ==> Appending adjustments [2022-07-12T21:36:52.034Z] https://docs.codecov.io/docs/fixing-reports [2022-07-12T21:36:52.297Z] + Found adjustments [2022-07-12T21:36:52.297Z] ==> Gzipping contents [2022-07-12T21:36:52.297Z] 4.0K /tmp/codecov.cVtDgA.gz [2022-07-12T21:36:52.297Z] ==> Uploading reports [2022-07-12T21:36:52.297Z] url: https://codecov.io [2022-07-12T21:36:52.297Z] query: branch=PR-361&commit=c629de7c8079fac358025f93bf429ac6524aaad4&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-361%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=361&job=&cmd_args= [2022-07-12T21:36:52.297Z] -> Pinging Codecov [2022-07-12T21:36:52.297Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3a8d40b1-de00-4649-bfd4-bdc8ed99ae89&branch=PR-361&commit=c629de7c8079fac358025f93bf429ac6524aaad4&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-361%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=361&job=&cmd_args= [2022-07-12T21:36:52.559Z] -> Uploading to [2022-07-12T21:36:52.559Z] https://storage.googleapis.com/codecov/v4/raw/2022-07-12/55DBCA73C666E3227836607328DD7E49/c629de7c8079fac358025f93bf429ac6524aaad4/eb0d198b-11df-4e1c-bdf6-7c0de50730a1.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1E5YTIQF4NUDJHIPRXCW6SWPNHIWXR6YCTGFLBKZTWXKPGHK3U3FMCQWA%2F20220712%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220712T213652Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=47e074acdbcebac4cf6c0a2daf1593bc7d327178a2bb18ef2c80f598cae9aa41 [2022-07-12T21:36:52.559Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-07-12T21:36:52.559Z] Dload Upload Total Spent Left Speed [2022-07-12T21:36:52.820Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 4044 0 0 100 4044 0 12329 --:--:-- --:--:-- --:--:-- 12366 [2022-07-12T21:36:52.820Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-modbus-go/commit/c629de7c8079fac358025f93bf429ac6524aaad4 [Pipeline] } [2022-07-12T21:36:52.848Z] 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-12T21:36:54.532Z] + [ -d /w/workspace/xfoundry_device-modbus-go_PR-361/archives ] [2022-07-12T21:36:54.532Z] + ls -al /w/workspace/xfoundry_device-modbus-go_PR-361/archives [2022-07-12T21:36:54.532Z] total 16 [2022-07-12T21:36:54.532Z] drwxr-xr-x 3 root root 4096 Jul 12 21:29 . [2022-07-12T21:36:54.532Z] drwxrwxr-x 11 jenkins jenkins 4096 Jul 12 21:29 .. [2022-07-12T21:36:54.532Z] drwxr-xr-x 2 root root 4096 Jul 12 21:29 cost [2022-07-12T21:36:54.532Z] -rw-r--r-- 1 root root 87 Jul 12 21:29 cost.csv [2022-07-12T21:36:54.532Z] + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-361/archives [2022-07-12T21:36:54.532Z] + ls -al /w/workspace/xfoundry_device-modbus-go_PR-361/archives [2022-07-12T21:36:54.532Z] total 16 [2022-07-12T21:36:54.532Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 12 21:29 . [2022-07-12T21:36:54.532Z] drwxrwxr-x 11 jenkins jenkins 4096 Jul 12 21:29 .. [2022-07-12T21:36:54.532Z] drwxr-xr-x 2 jenkins jenkins 4096 Jul 12 21:29 cost [2022-07-12T21:36:54.532Z] -rw-r--r-- 1 jenkins jenkins 87 Jul 12 21:29 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-07-12T21:36:54.863Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-12T21:36:55.766Z] ---> package-listing.sh [2022-07-12T21:36:55.766Z] ++ facter osfamily [2022-07-12T21:36:55.766Z] ++ tr '[:upper:]' '[:lower:]' [2022-07-12T21:36:56.028Z] + OS_FAMILY=debian [2022-07-12T21:36:56.028Z] + workspace=/w/workspace/xfoundry_device-modbus-go_PR-361 [2022-07-12T21:36:56.028Z] + START_PACKAGES=/tmp/packages_start.txt [2022-07-12T21:36:56.028Z] + END_PACKAGES=/tmp/packages_end.txt [2022-07-12T21:36:56.028Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-07-12T21:36:56.028Z] + PACKAGES=/tmp/packages_start.txt [2022-07-12T21:36:56.028Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-361 ']' [2022-07-12T21:36:56.028Z] + PACKAGES=/tmp/packages_end.txt [2022-07-12T21:36:56.028Z] + case "${OS_FAMILY}" in [2022-07-12T21:36:56.028Z] + dpkg -l [2022-07-12T21:36:56.028Z] + grep '^ii' [2022-07-12T21:36:56.028Z] + '[' -f /tmp/packages_start.txt ']' [2022-07-12T21:36:56.028Z] + '[' -f /tmp/packages_end.txt ']' [2022-07-12T21:36:56.028Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-07-12T21:36:56.028Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-361 ']' [2022-07-12T21:36:56.028Z] + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-361/archives/ [2022-07-12T21:36:56.028Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-361/archives/ [Pipeline] echo [2022-07-12T21:36:56.062Z] 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-361/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-07-12T21:36:56.357Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T21:36:56.993Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-12T21:36:56.993Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-12T21:36:57.147Z] prd-ubuntu20.04-docker-8c-8g-19767 does not seem to be running inside a container [2022-07-12T21:36:57.184Z] $ 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-361/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-361 -v /w/workspace/xfoundry_device-modbus-go_PR-361:/w/workspace/xfoundry_device-modbus-go_PR-361:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-361@tmp:/w/workspace/xfoundry_device-modbus-go_PR-361@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-07-12T21:36:57.411Z] $ docker top 14f992827c807e06ae827e88306132c64de7c15140672d0121623c06633e1b09 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-12T21:36:57.817Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-07-12T21:36:58.129Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-07-12T21:36:58.440Z] + ls /var/log/sa-host [2022-07-12T21:36:58.440Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-12T21:36:58.565Z] provisioning config files... [2022-07-12T21:36:58.575Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-361@tmp/config2959143374793653871tmp [Pipeline] { [Pipeline] echo [2022-07-12T21:36:58.629Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-12T21:36:58.941Z] ---> create-netrc.sh [Pipeline] } [2022-07-12T21:36:58.969Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-07-12T21:36:59.375Z] ---> python-tools-install.sh [Pipeline] echo [2022-07-12T21:36:59.407Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-12T21:36:59.717Z] ---> sudo-logs.sh [2022-07-12T21:36:59.717Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-07-12T21:36:59.794Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-12T21:37:00.105Z] ---> job-cost.sh [2022-07-12T21:37:00.105Z] lf-activate-venv: SKIPPING [2022-07-12T21:37:00.105Z] DEBUG: total: 0.2199999988079071 [2022-07-12T21:37:00.105Z] INFO: Retrieving Stack Cost... [2022-07-12T21:37:00.675Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-07-12T21:37:01.246Z] INFO: Archiving Costs [Pipeline] echo [2022-07-12T21:37:01.277Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-12T21:37:01.588Z] ---> logs-deploy.sh [2022-07-12T21:37:01.588Z] lf-activate-venv: SKIPPING [2022-07-12T21:37:01.588Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-361/1 [2022-07-12T21:37:01.588Z] INFO: archiving workspace using pattern(s): [2022-07-12T21:37:02.537Z] Archives upload complete. [2022-07-12T21:37:02.537Z] INFO: archiving logs to Nexus