Pull request #397 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 marcpfuller for edgexfoundry/device-modbus-go Loading trusted files from base branch main at b747fdb0f46d56fab49edbd998369f5c6173beb1 rather than 5c778906de6ba481e4089c32075684d12eab5fb4 Obtained Jenkinsfile from b747fdb0f46d56fab49edbd998369f5c6173beb1 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-ssh17602625792625508922.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-ssh6865587484652512772.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-397/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-397/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh2036213715359403590.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-397/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17912905814270170662.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > 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-ssh11971561110888898849.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 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-397/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-397/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh12647737463907644034.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 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > 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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-1646 in /w/workspace/xfoundry_device-modbus-go_PR-397 [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-397 # 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 > 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/397/head:refs/remotes/origin/PR-397 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit b747fdb0f46d56fab49edbd998369f5c6173beb1 into PR head commit 5c778906de6ba481e4089c32075684d12eab5fb4 Merge succeeded, producing 5c778906de6ba481e4089c32075684d12eab5fb4 Checking out Revision 5c778906de6ba481e4089c32075684d12eab5fb4 (PR-397) > git config core.sparsecheckout # timeout=10 > git checkout -f 5c778906de6ba481e4089c32075684d12eab5fb4 # 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 b747fdb0f46d56fab49edbd998369f5c6173beb1 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 5c778906de6ba481e4089c32075684d12eab5fb4 # timeout=10 Commit message: "feat!: Remove ZeroMQ MessageBus capability" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-01-10T20:05:25.294Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-01-10T20:05:25.472Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-01-10T20:05:25.570Z] ========================================================= [2023-01-10T20:05:25.571Z] EdgeX Global Pipelines Version Info [2023-01-10T20:05:25.571Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-01-10T20:05:26.310Z] ------------------- [2023-01-10T20:05:26.310Z] stable info: [2023-01-10T20:05:26.310Z] ------------------- [2023-01-10T20:05:26.310Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-01-10T20:05:26.310Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-01-10T20:05:26.310Z] Message: update stable to v1.0.244 [2023-01-10T20:05:26.881Z] ------------------- [2023-01-10T20:05:26.881Z] experimental info: [2023-01-10T20:05:26.881Z] ------------------- [2023-01-10T20:05:26.881Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-01-10T20:05:26.881Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-01-10T20:05:26.881Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-01-10T20:05:27.212Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo [2023-01-10T20:05:27.256Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo [2023-01-10T20:05:27.296Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-01-10T20:05:27.336Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-01-10T20:05:27.381Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-01-10T20:05:27.486Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-01-10T20:05:27.614Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-01-10T20:05:27.656Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-01-10T20:05:27.699Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-01-10T20:05:27.745Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-01-10T20:05:27.785Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-01-10T20:05:27.824Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo [2023-01-10T20:05:27.862Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-01-10T20:05:27.904Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-01-10T20:05:27.942Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-01-10T20:05:27.987Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-01-10T20:05:28.026Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-01-10T20:05:28.064Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-01-10T20:05:28.102Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-01-10T20:05:28.140Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-01-10T20:05:28.175Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-01-10T20:05:28.296Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-01-10T20:05:28.341Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-01-10T20:05:28.381Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-01-10T20:05:28.420Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-01-10T20:05:28.459Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-01-10T20:05:28.498Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-01-10T20:05:28.534Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-397 [Pipeline] echo [2023-01-10T20:05:28.576Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-397 [Pipeline] echo [2023-01-10T20:05:28.616Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-397 [Pipeline] echo [2023-01-10T20:05:28.654Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 5c778906de6ba481e4089c32075684d12eab5fb4 [Pipeline] echo [2023-01-10T20:05:28.692Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 5c77890 [Pipeline] echo [2023-01-10T20:05:28.729Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-10T20:05:28.845Z] provisioning config files... [2023-01-10T20:05:28.858Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-397@tmp/config8464903626542425272tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-10T20:05:29.198Z] ---> docker-login.sh [2023-01-10T20:05:29.198Z] nexus3.edgexfoundry.org:10001 [2023-01-10T20:05:29.461Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T20:05:29.722Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T20:05:29.722Z] Configure a credential helper to remove this warning. See [2023-01-10T20:05:29.722Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T20:05:29.722Z] [2023-01-10T20:05:29.722Z] Login Succeeded [2023-01-10T20:05:29.722Z] nexus3.edgexfoundry.org:10002 [2023-01-10T20:05:29.722Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T20:05:29.722Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T20:05:29.722Z] Configure a credential helper to remove this warning. See [2023-01-10T20:05:29.722Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T20:05:29.722Z] [2023-01-10T20:05:29.722Z] Login Succeeded [2023-01-10T20:05:29.722Z] nexus3.edgexfoundry.org:10003 [2023-01-10T20:05:29.722Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T20:05:29.983Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T20:05:29.983Z] Configure a credential helper to remove this warning. See [2023-01-10T20:05:29.983Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T20:05:29.983Z] [2023-01-10T20:05:29.983Z] Login Succeeded [2023-01-10T20:05:29.983Z] nexus3.edgexfoundry.org:10004 [2023-01-10T20:05:29.983Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T20:05:29.983Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T20:05:29.983Z] Configure a credential helper to remove this warning. See [2023-01-10T20:05:29.983Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T20:05:29.983Z] [2023-01-10T20:05:29.983Z] Login Succeeded [2023-01-10T20:05:29.983Z] docker.io [2023-01-10T20:05:29.983Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T20:05:30.256Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T20:05:30.256Z] Configure a credential helper to remove this warning. See [2023-01-10T20:05:30.256Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T20:05:30.256Z] [2023-01-10T20:05:30.256Z] Login Succeeded [2023-01-10T20:05:30.256Z] ---> docker-login.sh ends [Pipeline] } [2023-01-10T20:05:30.284Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-01-10T20:05:30.957Z] + git rev-list -1 --merges 5c778906de6ba481e4089c32075684d12eab5fb4~1..5c778906de6ba481e4089c32075684d12eab5fb4 [Pipeline] echo [2023-01-10T20:05:31.022Z] -----------> git rev-list -1 --merges 5c778906de6ba481e4089c32075684d12eab5fb4~1..5c778906de6ba481e4089c32075684d12eab5fb4 5c778906de6ba481e4089c32075684d12eab5fb4 [false] [Pipeline] sh [2023-01-10T20:05:31.336Z] + git log --format=format:%s -1 5c778906de6ba481e4089c32075684d12eab5fb4 [Pipeline] echo [2023-01-10T20:05:31.380Z] ========================================================= [2023-01-10T20:05:31.380Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-01-10T20:05:31.380Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-10T20:05:31.844Z] + git log --format=format:%s -1 5c778906de6ba481e4089c32075684d12eab5fb4 [Pipeline] echo [2023-01-10T20:05:31.881Z] [semverPrep] GIT_COMMIT: 5c778906de6ba481e4089c32075684d12eab5fb4, Commit Message: feat!: Remove ZeroMQ MessageBus capability [Pipeline] echo [2023-01-10T20:05:31.918Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-01-10T20:05:32.335Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-01-10T20:05:32.336Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-01-10T20:05:32.336Z] + [ -e /tmp/ssh_known_hosts ] [2023-01-10T20:05:32.336Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-01-10T20:05:32.336Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-01-10T20:05:32.336Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-01-10T20:05:32.336Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T20:05:32.835Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-10T20:05:32.835Z] [2023-01-10T20:05:32.835Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T20:05:33.209Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-10T20:05:33.209Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-01-10T20:05:33.209Z] b85a868b505f: Pulling fs layer [2023-01-10T20:05:33.209Z] e2be974225ed: Pulling fs layer [2023-01-10T20:05:33.209Z] 339a4e72a1f5: Pulling fs layer [2023-01-10T20:05:33.209Z] 988bab9f4d93: Pulling fs layer [2023-01-10T20:05:33.209Z] 1469e6f7b9e6: Pulling fs layer [2023-01-10T20:05:33.209Z] eaf3925da568: Pulling fs layer [2023-01-10T20:05:33.209Z] bab4dde63d76: Pulling fs layer [2023-01-10T20:05:33.209Z] bde34c3a00c8: Pulling fs layer [2023-01-10T20:05:33.209Z] b352a97aabf1: Pulling fs layer [2023-01-10T20:05:33.209Z] 4872d77fe225: Pulling fs layer [2023-01-10T20:05:33.209Z] 5851b861e8e6: Pulling fs layer [2023-01-10T20:05:33.209Z] 1469e6f7b9e6: Waiting [2023-01-10T20:05:33.209Z] b352a97aabf1: Waiting [2023-01-10T20:05:33.209Z] 5851b861e8e6: Waiting [2023-01-10T20:05:33.209Z] eaf3925da568: Waiting [2023-01-10T20:05:33.209Z] bde34c3a00c8: Waiting [2023-01-10T20:05:33.209Z] 988bab9f4d93: Waiting [2023-01-10T20:05:33.209Z] 4872d77fe225: Waiting [2023-01-10T20:05:33.209Z] e2be974225ed: Download complete [2023-01-10T20:05:33.209Z] 988bab9f4d93: Download complete [2023-01-10T20:05:33.473Z] 339a4e72a1f5: Verifying Checksum [2023-01-10T20:05:33.473Z] 339a4e72a1f5: Download complete [2023-01-10T20:05:33.473Z] eaf3925da568: Verifying Checksum [2023-01-10T20:05:33.473Z] eaf3925da568: Download complete [2023-01-10T20:05:33.473Z] 1469e6f7b9e6: Verifying Checksum [2023-01-10T20:05:33.473Z] 1469e6f7b9e6: Download complete [2023-01-10T20:05:33.473Z] bde34c3a00c8: Verifying Checksum [2023-01-10T20:05:33.473Z] bde34c3a00c8: Download complete [2023-01-10T20:05:33.473Z] b352a97aabf1: Verifying Checksum [2023-01-10T20:05:33.473Z] b352a97aabf1: Download complete [2023-01-10T20:05:33.473Z] 4872d77fe225: Verifying Checksum [2023-01-10T20:05:33.473Z] 4872d77fe225: Download complete [2023-01-10T20:05:33.473Z] 5851b861e8e6: Verifying Checksum [2023-01-10T20:05:33.473Z] 5851b861e8e6: Download complete [2023-01-10T20:05:33.735Z] b85a868b505f: Verifying Checksum [2023-01-10T20:05:33.735Z] b85a868b505f: Download complete [2023-01-10T20:05:33.993Z] bab4dde63d76: Verifying Checksum [2023-01-10T20:05:33.993Z] bab4dde63d76: Download complete [2023-01-10T20:05:34.931Z] b85a868b505f: Pull complete [2023-01-10T20:05:34.931Z] e2be974225ed: Pull complete [2023-01-10T20:05:35.500Z] 339a4e72a1f5: Pull complete [2023-01-10T20:05:35.500Z] 988bab9f4d93: Pull complete [2023-01-10T20:05:35.760Z] 1469e6f7b9e6: Pull complete [2023-01-10T20:05:36.020Z] eaf3925da568: Pull complete [2023-01-10T20:05:37.933Z] bab4dde63d76: Pull complete [2023-01-10T20:05:37.933Z] bde34c3a00c8: Pull complete [2023-01-10T20:05:37.933Z] b352a97aabf1: Pull complete [2023-01-10T20:05:37.933Z] 4872d77fe225: Pull complete [2023-01-10T20:05:38.195Z] 5851b861e8e6: Pull complete [2023-01-10T20:05:38.195Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-01-10T20:05:38.195Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-10T20:05:38.195Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-10T20:05:38.404Z] prd-ubuntu20.04-docker-8c-8g-1646 does not seem to be running inside a container [2023-01-10T20:05:38.433Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-397 -v /w/workspace/xfoundry_device-modbus-go_PR-397:/w/workspace/xfoundry_device-modbus-go_PR-397:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-397@tmp:/w/workspace/xfoundry_device-modbus-go_PR-397@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 [2023-01-10T20:05:39.629Z] $ docker top f163a87369a83462b2ac9caf2c8cea6d22d993d7a866fe6a3ea43b4c67339634 -eo pid,comm [2023-01-10T20:05:39.686Z] 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). [2023-01-10T20:05:39.686Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-01-10T20:05:39.801Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-01-10T20:05:39.801Z] [ssh-agent] Looking for ssh-agent implementation... [2023-01-10T20:05:39.917Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-01-10T20:05:39.921Z] $ docker exec f163a87369a83462b2ac9caf2c8cea6d22d993d7a866fe6a3ea43b4c67339634 ssh-agent [2023-01-10T20:05:40.057Z] SSH_AUTH_SOCK=/tmp/ssh-XIVRGqo0QuUY/agent.32 [2023-01-10T20:05:40.057Z] SSH_AGENT_PID=38 [2023-01-10T20:05:40.062Z] Running ssh-add (command line suppressed) [2023-01-10T20:05:40.189Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-397@tmp/private_key_9851524859434601728.key (/w/workspace/xfoundry_device-modbus-go_PR-397@tmp/private_key_9851524859434601728.key) [2023-01-10T20:05:40.211Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-01-10T20:05:40.565Z] + git tag --points-at HEAD [Pipeline] } [2023-01-10T20:05:40.590Z] $ docker exec --env ******** --env ******** f163a87369a83462b2ac9caf2c8cea6d22d993d7a866fe6a3ea43b4c67339634 ssh-agent -k [2023-01-10T20:05:40.701Z] unset SSH_AUTH_SOCK; [2023-01-10T20:05:40.706Z] unset SSH_AGENT_PID; [2023-01-10T20:05:40.706Z] echo Agent pid 38 killed; [2023-01-10T20:05:40.716Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-01-10T20:05:40.801Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-01-10T20:05:40.801Z] [ssh-agent] Looking for ssh-agent implementation... [2023-01-10T20:05:40.919Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-01-10T20:05:40.920Z] $ docker exec f163a87369a83462b2ac9caf2c8cea6d22d993d7a866fe6a3ea43b4c67339634 ssh-agent [2023-01-10T20:05:41.057Z] SSH_AUTH_SOCK=/tmp/ssh-QtWA1O66zpZu/agent.70 [2023-01-10T20:05:41.057Z] SSH_AGENT_PID=76 [2023-01-10T20:05:41.061Z] Running ssh-add (command line suppressed) [2023-01-10T20:05:41.164Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-397@tmp/private_key_15193595125717634430.key (/w/workspace/xfoundry_device-modbus-go_PR-397@tmp/private_key_15193595125717634430.key) [2023-01-10T20:05:41.181Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-01-10T20:05:41.511Z] + git semver init [2023-01-10T20:05:41.769Z] 2023-01-10 20:05:41,708 [run_init] DEBUG init version:0.0.0 force:False [2023-01-10T20:05:41.769Z] 2023-01-10 20:05:41,709 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-modbus-go_PR-397/.semver [2023-01-10T20:05:41.769Z] 2023-01-10 20:05:41,709 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/xfoundry_device-modbus-go_PR-397/.semver [2023-01-10T20:05:41.769Z] 2023-01-10 20:05:41,709 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/xfoundry_device-modbus-go_PR-397/.semver'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-397, universal_newlines=False, shell=None, istream=None) [2023-01-10T20:05:42.708Z] 2023-01-10 20:05:42,552 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-modbus-go_PR-397/.git/info/exclude [2023-01-10T20:05:42.708Z] 2023-01-10 20:05:42,552 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-modbus-go_PR-397/.semver/PR-397 with force:False [2023-01-10T20:05:42.708Z] 2023-01-10 20:05:42,553 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-modbus-go_PR-397/.semver/PR-397 [2023-01-10T20:05:42.708Z] 2023-01-10 20:05:42,557 [execute] INFO git cat-file --batch-check [2023-01-10T20:05:42.708Z] 2023-01-10 20:05:42,558 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-397/.semver, universal_newlines=False, shell=None, istream=) [2023-01-10T20:05:42.708Z] 2023-01-10 20:05:42,565 [execute] INFO git cat-file --batch [2023-01-10T20:05:42.708Z] 2023-01-10 20:05:42,565 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-397/.semver, universal_newlines=False, shell=None, istream=) [2023-01-10T20:05:42.708Z] 2023-01-10 20:05:42,570 [read_version] DEBUG read version from /w/workspace/xfoundry_device-modbus-go_PR-397/.semver/PR-397 [2023-01-10T20:05:42.708Z] 0.0.0 [Pipeline] } [2023-01-10T20:05:42.733Z] $ docker exec --env ******** --env ******** f163a87369a83462b2ac9caf2c8cea6d22d993d7a866fe6a3ea43b4c67339634 ssh-agent -k [2023-01-10T20:05:42.840Z] unset SSH_AUTH_SOCK; [2023-01-10T20:05:42.840Z] unset SSH_AGENT_PID; [2023-01-10T20:05:42.840Z] echo Agent pid 76 killed; [2023-01-10T20:05:42.854Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-01-10T20:05:43.260Z] + git semver [Pipeline] } [2023-01-10T20:05:43.546Z] $ docker stop --time=1 f163a87369a83462b2ac9caf2c8cea6d22d993d7a866fe6a3ea43b4c67339634 [2023-01-10T20:05:44.813Z] $ docker rm -f --volumes f163a87369a83462b2ac9caf2c8cea6d22d993d7a866fe6a3ea43b4c67339634 [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-10T20:05:45.209Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-01-10T20:05:45.458Z] Stashed 1 file(s) [Pipeline] echo [2023-01-10T20:05:45.478Z] [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 [2023-01-10T20:05:46.106Z] provisioning config files... [2023-01-10T20:05:46.116Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-397@tmp/config12853381831362703736tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-10T20:05:46.458Z] ---> docker-login.sh [2023-01-10T20:05:46.458Z] nexus3.edgexfoundry.org:10001 [2023-01-10T20:05:46.458Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T20:05:46.458Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T20:05:46.458Z] Configure a credential helper to remove this warning. See [2023-01-10T20:05:46.458Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T20:05:46.458Z] [2023-01-10T20:05:46.458Z] Login Succeeded [2023-01-10T20:05:46.458Z] nexus3.edgexfoundry.org:10002 [2023-01-10T20:05:46.458Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T20:05:46.458Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T20:05:46.458Z] Configure a credential helper to remove this warning. See [2023-01-10T20:05:46.458Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T20:05:46.458Z] [2023-01-10T20:05:46.458Z] Login Succeeded [2023-01-10T20:05:46.458Z] nexus3.edgexfoundry.org:10003 [2023-01-10T20:05:46.718Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T20:05:46.718Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T20:05:46.718Z] Configure a credential helper to remove this warning. See [2023-01-10T20:05:46.718Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T20:05:46.718Z] [2023-01-10T20:05:46.718Z] Login Succeeded [2023-01-10T20:05:46.718Z] nexus3.edgexfoundry.org:10004 [2023-01-10T20:05:46.718Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T20:05:46.718Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T20:05:46.718Z] Configure a credential helper to remove this warning. See [2023-01-10T20:05:46.718Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T20:05:46.718Z] [2023-01-10T20:05:46.718Z] Login Succeeded [2023-01-10T20:05:46.718Z] docker.io [2023-01-10T20:05:46.977Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T20:05:46.977Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T20:05:46.977Z] Configure a credential helper to remove this warning. See [2023-01-10T20:05:46.977Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T20:05:46.977Z] [2023-01-10T20:05:46.977Z] Login Succeeded [2023-01-10T20:05:46.977Z] ---> docker-login.sh ends [Pipeline] } [2023-01-10T20:05:47.009Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-01-10T20:05:47.199Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-10T20:05:47.238Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-10T20:05:47.271Z] ========================================================= [2023-01-10T20:05:47.271Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-01-10T20:05:47.271Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T20:05:47.750Z] + 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 . [2023-01-10T20:05:47.750Z] Sending build context to Docker daemon 6.366MB [2023-01-10T20:05:47.750Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2023-01-10T20:05:47.750Z] Step 2/10 : FROM ${BASE} AS builder [2023-01-10T20:05:47.750Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-01-10T20:05:47.750Z] 213ec9aee27d: Pulling fs layer [2023-01-10T20:05:47.750Z] 4583459ba037: Pulling fs layer [2023-01-10T20:05:47.750Z] 93c1e223e6f2: Pulling fs layer [2023-01-10T20:05:47.750Z] 53926ce57604: Pulling fs layer [2023-01-10T20:05:47.750Z] 21b2b0c7a3f4: Pulling fs layer [2023-01-10T20:05:47.750Z] 22ff95d597cd: Pulling fs layer [2023-01-10T20:05:47.750Z] 12d6caf4c0d1: Pulling fs layer [2023-01-10T20:05:47.750Z] 96b7cbca73a9: Pulling fs layer [2023-01-10T20:05:47.750Z] a7acece74701: Pulling fs layer [2023-01-10T20:05:47.750Z] 12d6caf4c0d1: Waiting [2023-01-10T20:05:47.750Z] 53926ce57604: Waiting [2023-01-10T20:05:47.750Z] a7acece74701: Waiting [2023-01-10T20:05:47.750Z] 21b2b0c7a3f4: Waiting [2023-01-10T20:05:47.750Z] 22ff95d597cd: Waiting [2023-01-10T20:05:47.750Z] 96b7cbca73a9: Waiting [2023-01-10T20:05:47.750Z] 93c1e223e6f2: Verifying Checksum [2023-01-10T20:05:47.750Z] 93c1e223e6f2: Download complete [2023-01-10T20:05:47.750Z] 4583459ba037: Download complete [2023-01-10T20:05:47.750Z] 21b2b0c7a3f4: Download complete [2023-01-10T20:05:47.750Z] 22ff95d597cd: Verifying Checksum [2023-01-10T20:05:47.750Z] 22ff95d597cd: Download complete [2023-01-10T20:05:48.013Z] 213ec9aee27d: Verifying Checksum [2023-01-10T20:05:48.013Z] 12d6caf4c0d1: Verifying Checksum [2023-01-10T20:05:48.013Z] 12d6caf4c0d1: Download complete [2023-01-10T20:05:48.013Z] 213ec9aee27d: Pull complete [2023-01-10T20:05:48.285Z] 4583459ba037: Pull complete [2023-01-10T20:05:48.285Z] 93c1e223e6f2: Pull complete [2023-01-10T20:05:48.285Z] a7acece74701: Verifying Checksum [2023-01-10T20:05:48.285Z] a7acece74701: Download complete [2023-01-10T20:05:48.876Z] 53926ce57604: Verifying Checksum [2023-01-10T20:05:48.876Z] 53926ce57604: Download complete [2023-01-10T20:05:48.876Z] 96b7cbca73a9: Verifying Checksum [2023-01-10T20:05:48.876Z] 96b7cbca73a9: Download complete [2023-01-10T20:05:53.062Z] 53926ce57604: Pull complete [2023-01-10T20:05:53.062Z] 21b2b0c7a3f4: Pull complete [2023-01-10T20:05:53.062Z] 22ff95d597cd: Pull complete [2023-01-10T20:05:53.062Z] 12d6caf4c0d1: Pull complete [2023-01-10T20:05:54.965Z] 96b7cbca73a9: Pull complete [2023-01-10T20:05:55.897Z] a7acece74701: Pull complete [2023-01-10T20:05:55.897Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-01-10T20:05:55.897Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-01-10T20:05:55.897Z] ---> db6d94c90886 [2023-01-10T20:05:55.897Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2023-01-10T20:05:57.276Z] ---> Running in c5206c094aa4 [2023-01-10T20:05:57.535Z] Removing intermediate container c5206c094aa4 [2023-01-10T20:05:57.535Z] ---> df37183f3ecf [2023-01-10T20:05:57.535Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-10T20:05:57.535Z] ---> Running in 42fae6e07abb [2023-01-10T20:05:57.535Z] Removing intermediate container 42fae6e07abb [2023-01-10T20:05:57.535Z] ---> 9ac42a398c01 [2023-01-10T20:05:57.535Z] Step 5/10 : RUN apk add --update --no-cache make git openssh [2023-01-10T20:05:57.793Z] ---> Running in 7f30b44efc51 [2023-01-10T20:05:58.052Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-10T20:05:58.052Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-10T20:05:58.619Z] (1/8) Installing openssh-keygen (9.0_p1-r2) [2023-01-10T20:05:58.619Z] (2/8) Installing libedit (20210910.3.1-r0) [2023-01-10T20:05:58.619Z] (3/8) Installing openssh-client-common (9.0_p1-r2) [2023-01-10T20:05:58.619Z] (4/8) Installing openssh-client-default (9.0_p1-r2) [2023-01-10T20:05:58.619Z] (5/8) Installing openssh-sftp-server (9.0_p1-r2) [2023-01-10T20:05:58.619Z] (6/8) Installing openssh-server-common (9.0_p1-r2) [2023-01-10T20:05:58.619Z] (7/8) Installing openssh-server (9.0_p1-r2) [2023-01-10T20:05:58.619Z] (8/8) Installing openssh (9.0_p1-r2) [2023-01-10T20:05:58.619Z] Executing busybox-1.35.0-r17.trigger [2023-01-10T20:05:58.619Z] OK: 217 MiB in 59 packages [2023-01-10T20:05:59.186Z] Removing intermediate container 7f30b44efc51 [2023-01-10T20:05:59.186Z] ---> 24692a296865 [2023-01-10T20:05:59.186Z] Step 6/10 : WORKDIR /device-modbus-go [2023-01-10T20:05:59.186Z] ---> Running in 82ecfb8a81cf [2023-01-10T20:05:59.186Z] Removing intermediate container 82ecfb8a81cf [2023-01-10T20:05:59.186Z] ---> 714855a15ce5 [2023-01-10T20:05:59.186Z] Step 7/10 : COPY go.mod vendor* ./ [2023-01-10T20:05:59.186Z] ---> 9a84b3732b24 [2023-01-10T20:05:59.186Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-10T20:05:59.444Z] ---> Running in 5e7f29d00adb [2023-01-10T20:06:00.935Z] Still waiting to schedule task [2023-01-10T20:06:00.935Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-01-10T20:06:25.993Z] Removing intermediate container 5e7f29d00adb [2023-01-10T20:06:25.993Z] ---> 4ace94d09d29 [2023-01-10T20:06:25.993Z] Step 9/10 : COPY . . [2023-01-10T20:06:25.993Z] ---> a178f1561bb9 [2023-01-10T20:06:25.993Z] Step 10/10 : RUN ${MAKE} [2023-01-10T20:06:25.993Z] ---> Running in d21c2f3fcff0 [2023-01-10T20:06:25.993Z] noop [2023-01-10T20:06:25.993Z] Removing intermediate container d21c2f3fcff0 [2023-01-10T20:06:25.993Z] ---> 885d91273d42 [2023-01-10T20:06:25.993Z] Successfully built 885d91273d42 [2023-01-10T20:06:25.993Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T20:06:26.440Z] + docker inspect -f . ci-base-image-x86_64 [2023-01-10T20:06:26.440Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-10T20:06:26.591Z] prd-ubuntu20.04-docker-8c-8g-1646 does not seem to be running inside a container [2023-01-10T20:06:26.618Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-397 -v /w/workspace/xfoundry_device-modbus-go_PR-397:/w/workspace/xfoundry_device-modbus-go_PR-397:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-397@tmp:/w/workspace/xfoundry_device-modbus-go_PR-397@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 [2023-01-10T20:06:27.005Z] $ docker top 608113bf9633b574cdc0a1bddfe3de5a1146c5adf903ee25d167f7c3127f3d65 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-10T20:06:27.412Z] + go version [2023-01-10T20:06:27.412Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-01-10T20:06:27.448Z] $ docker stop --time=1 608113bf9633b574cdc0a1bddfe3de5a1146c5adf903ee25d167f7c3127f3d65 [2023-01-10T20:06:28.716Z] $ docker rm -f --volumes 608113bf9633b574cdc0a1bddfe3de5a1146c5adf903ee25d167f7c3127f3d65 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T20:06:29.427Z] + docker inspect -f . ci-base-image-x86_64 [2023-01-10T20:06:29.427Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-10T20:06:29.574Z] prd-ubuntu20.04-docker-8c-8g-1646 does not seem to be running inside a container [2023-01-10T20:06:29.603Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/xfoundry_device-modbus-go_PR-397 -v /w/workspace/xfoundry_device-modbus-go_PR-397:/w/workspace/xfoundry_device-modbus-go_PR-397:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-397@tmp:/w/workspace/xfoundry_device-modbus-go_PR-397@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 [2023-01-10T20:06:29.922Z] $ docker top 9bcefc7d834fe55c8b6d68750ab05b9abf59d0a04d75e7469b9a52a30a526df4 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-10T20:06:30.309Z] + git config --global --add safe.directory /w/workspace/xfoundry_device-modbus-go_PR-397 [Pipeline] fileExists [Pipeline] sh [2023-01-10T20:06:30.665Z] + make test [2023-01-10T20:06:30.665Z] CGO_ENABLED=0 go test ./... -coverprofile=coverage.out [2023-01-10T20:06:30.922Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2023-01-10T20:06:41.381Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2023-01-10T20:06:41.381Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.014s coverage: 47.7% of statements [2023-01-10T20:06:56.642Z] 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." [2023-01-10T20:06:56.642Z] CGO_ENABLED=0 go vet ./... [2023-01-10T20:06:57.576Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-01-10T20:06:57.576Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-01-10T20:06:57.576Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-01-10T20:06:57.614Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-01-10T20:06:57.646Z] $ docker stop --time=1 9bcefc7d834fe55c8b6d68750ab05b9abf59d0a04d75e7469b9a52a30a526df4 [2023-01-10T20:06:59.825Z] $ docker rm -f --volumes 9bcefc7d834fe55c8b6d68750ab05b9abf59d0a04d75e7469b9a52a30a526df4 [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-10T20:07:00.332Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-01-10T20:07:00.396Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-01-10T20:07:01.079Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-01-10T20:07:01.387Z] + ls -al . [2023-01-10T20:07:01.387Z] total 196 [2023-01-10T20:07:01.387Z] drwxrwxr-x 10 jenkins jenkins 4096 Jan 10 20:06 . [2023-01-10T20:07:01.387Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 10 20:05 .. [2023-01-10T20:07:01.387Z] -rw-rw-r-- 1 jenkins jenkins 140 Jan 10 20:05 .dockerignore [2023-01-10T20:07:01.387Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 10 20:06 .git [2023-01-10T20:07:01.387Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 10 20:05 .github [2023-01-10T20:07:01.387Z] -rw-rw-r-- 1 jenkins jenkins 331 Jan 10 20:05 .gitignore [2023-01-10T20:07:01.387Z] -rw-rw-r-- 1 jenkins jenkins 41 Jan 10 20:05 .golangci.yml [2023-01-10T20:07:01.387Z] drwxr-xr-x 3 jenkins jenkins 4096 Jan 10 20:05 .semver [2023-01-10T20:07:01.387Z] -rw-rw-r-- 1 jenkins jenkins 10017 Jan 10 20:05 Attribution.txt [2023-01-10T20:07:01.387Z] -rw-rw-r-- 1 jenkins jenkins 11576 Jan 10 20:05 CHANGELOG.md [2023-01-10T20:07:01.387Z] -rw-rw-r-- 1 jenkins jenkins 1365 Jan 10 20:05 Dockerfile [2023-01-10T20:07:01.387Z] -rw-rw-r-- 1 jenkins jenkins 677 Jan 10 20:05 GOVERNANCE.md [2023-01-10T20:07:01.387Z] -rw-rw-r-- 1 jenkins jenkins 680 Jan 10 20:05 Jenkinsfile [2023-01-10T20:07:01.387Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jan 10 20:05 LICENSE [2023-01-10T20:07:01.387Z] -rw-rw-r-- 1 jenkins jenkins 1675 Jan 10 20:05 Makefile [2023-01-10T20:07:01.387Z] -rw-rw-r-- 1 jenkins jenkins 622 Jan 10 20:05 OWNERS.md [2023-01-10T20:07:01.387Z] -rw-rw-r-- 1 jenkins jenkins 4061 Jan 10 20:05 README.md [2023-01-10T20:07:01.387Z] -rw-rw-r-- 1 jenkins jenkins 5 Jan 10 20:05 VERSION [2023-01-10T20:07:01.387Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 10 20:05 bin [2023-01-10T20:07:01.387Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 10 20:05 cmd [2023-01-10T20:07:01.387Z] -rw-r--r-- 1 jenkins jenkins 23241 Jan 10 20:06 coverage.out [2023-01-10T20:07:01.387Z] -rw-rw-r-- 1 jenkins jenkins 3584 Jan 10 20:05 go.mod [2023-01-10T20:07:01.387Z] -rw-rw-r-- 1 jenkins jenkins 45355 Jan 10 20:05 go.sum [2023-01-10T20:07:01.387Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 10 20:05 internal [2023-01-10T20:07:01.387Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 10 20:05 simulator [2023-01-10T20:07:01.387Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 10 20:05 snap [2023-01-10T20:07:01.387Z] -rw-rw-r-- 1 jenkins jenkins 229 Jan 10 20:05 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T20:07:01.780Z] + 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=5c778906de6ba481e4089c32075684d12eab5fb4 --label arch=amd64 --label version=0.0.0 . [2023-01-10T20:07:01.780Z] Sending build context to Docker daemon 6.39MB [2023-01-10T20:07:01.780Z] Step 1/22 : ARG BASE=golang:1.18-alpine3.16 [2023-01-10T20:07:01.780Z] Step 2/22 : FROM ${BASE} AS builder [2023-01-10T20:07:01.780Z] ---> 885d91273d42 [2023-01-10T20:07:01.780Z] Step 3/22 : ARG ADD_BUILD_TAGS="" [2023-01-10T20:07:01.780Z] ---> Running in 00a669018798 [2023-01-10T20:07:01.780Z] Removing intermediate container 00a669018798 [2023-01-10T20:07:01.780Z] ---> f489bf57726b [2023-01-10T20:07:01.780Z] Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-10T20:07:02.041Z] ---> Running in 62a8a1b9c3e6 [2023-01-10T20:07:02.041Z] Removing intermediate container 62a8a1b9c3e6 [2023-01-10T20:07:02.041Z] ---> c4636787e68f [2023-01-10T20:07:02.041Z] Step 5/22 : RUN apk add --update --no-cache make git openssh [2023-01-10T20:07:02.041Z] ---> Running in 35954c6f0e5f [2023-01-10T20:07:02.301Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-10T20:07:02.560Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-10T20:07:02.820Z] OK: 217 MiB in 59 packages [2023-01-10T20:07:03.078Z] Removing intermediate container 35954c6f0e5f [2023-01-10T20:07:03.078Z] ---> c85a1da26c79 [2023-01-10T20:07:03.078Z] Step 6/22 : WORKDIR /device-modbus-go [2023-01-10T20:07:03.078Z] ---> Running in a4f58ad08001 [2023-01-10T20:07:03.336Z] Removing intermediate container a4f58ad08001 [2023-01-10T20:07:03.336Z] ---> 22e1843dfd96 [2023-01-10T20:07:03.336Z] Step 7/22 : COPY go.mod vendor* ./ [2023-01-10T20:07:03.336Z] ---> 6041dd597c6b [2023-01-10T20:07:03.336Z] Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-10T20:07:03.336Z] ---> Running in 4b2290253057 [2023-01-10T20:07:04.285Z] Removing intermediate container 4b2290253057 [2023-01-10T20:07:04.285Z] ---> 03116db8bb61 [2023-01-10T20:07:04.285Z] Step 9/22 : COPY . . [2023-01-10T20:07:04.285Z] ---> 7a19566e3670 [2023-01-10T20:07:04.285Z] Step 10/22 : RUN ${MAKE} [2023-01-10T20:07:04.285Z] ---> Running in 309bc7145b39 [2023-01-10T20:07:04.546Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-modbus ./cmd [2023-01-10T20:07:26.482Z] Removing intermediate container 309bc7145b39 [2023-01-10T20:07:26.482Z] ---> 1bd6794045f5 [2023-01-10T20:07:26.482Z] Step 11/22 : FROM alpine:3.14 [2023-01-10T20:07:26.482Z] 3.14: Pulling from library/alpine [2023-01-10T20:07:26.482Z] c7ed990a2339: Pulling fs layer [2023-01-10T20:07:26.482Z] c7ed990a2339: Verifying Checksum [2023-01-10T20:07:26.482Z] c7ed990a2339: Pull complete [2023-01-10T20:07:26.482Z] Digest: sha256:4c869a63e1b7c0722fed1e402a6466610327c3b83bdddb94bd94fb71da7f638a [2023-01-10T20:07:26.482Z] Status: Downloaded newer image for alpine:3.14 [2023-01-10T20:07:26.482Z] ---> dd53f409bf0b [2023-01-10T20:07:26.482Z] Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2023-01-10T20:07:26.482Z] ---> Running in aa325fbb5461 [2023-01-10T20:07:26.482Z] Removing intermediate container aa325fbb5461 [2023-01-10T20:07:26.482Z] ---> 5e4fd243417d [2023-01-10T20:07:26.482Z] Step 13/22 : RUN apk add --update --no-cache dumb-init [2023-01-10T20:07:26.482Z] ---> Running in 61fe9c9afa3a [2023-01-10T20:07:26.482Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2023-01-10T20:07:26.482Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2023-01-10T20:07:26.482Z] (1/1) Installing dumb-init (1.2.5-r1) [2023-01-10T20:07:26.482Z] Executing busybox-1.33.1-r8.trigger [2023-01-10T20:07:26.482Z] OK: 6 MiB in 15 packages [2023-01-10T20:07:26.482Z] Removing intermediate container 61fe9c9afa3a [2023-01-10T20:07:26.482Z] ---> e240f0c92240 [2023-01-10T20:07:26.482Z] Step 14/22 : COPY --from=builder /device-modbus-go/cmd / [2023-01-10T20:07:26.482Z] ---> 76fefef686e4 [2023-01-10T20:07:26.482Z] Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / [2023-01-10T20:07:26.482Z] ---> 34d03eb8d67b [2023-01-10T20:07:26.482Z] Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / [2023-01-10T20:07:26.482Z] ---> 072b9b16435c [2023-01-10T20:07:26.482Z] Step 17/22 : EXPOSE 59901 [2023-01-10T20:07:26.482Z] ---> Running in 5e326bea527a [2023-01-10T20:07:26.482Z] Removing intermediate container 5e326bea527a [2023-01-10T20:07:26.482Z] ---> d52530ecf0fc [2023-01-10T20:07:26.482Z] Step 18/22 : ENTRYPOINT ["/device-modbus"] [2023-01-10T20:07:26.482Z] ---> Running in bc2da8b6bf9c [2023-01-10T20:07:26.742Z] Removing intermediate container bc2da8b6bf9c [2023-01-10T20:07:26.742Z] ---> f97e1b280c37 [2023-01-10T20:07:26.742Z] Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-01-10T20:07:26.742Z] ---> Running in a0d7a0702e1f [2023-01-10T20:07:26.742Z] Removing intermediate container a0d7a0702e1f [2023-01-10T20:07:26.742Z] ---> 94295594f203 [2023-01-10T20:07:26.742Z] Step 20/22 : LABEL arch=amd64 [2023-01-10T20:07:27.001Z] ---> Running in 91f32b9f7434 [2023-01-10T20:07:27.001Z] Removing intermediate container 91f32b9f7434 [2023-01-10T20:07:27.001Z] ---> fb5862be30b5 [2023-01-10T20:07:27.001Z] Step 21/22 : LABEL git_sha=5c778906de6ba481e4089c32075684d12eab5fb4 [2023-01-10T20:07:27.001Z] ---> Running in 59a00b359ecc [2023-01-10T20:07:27.001Z] Removing intermediate container 59a00b359ecc [2023-01-10T20:07:27.001Z] ---> 193638367c05 [2023-01-10T20:07:27.001Z] Step 22/22 : LABEL version=0.0.0 [2023-01-10T20:07:27.260Z] ---> Running in 9be9e4b5681f [2023-01-10T20:07:27.260Z] Removing intermediate container 9be9e4b5681f [2023-01-10T20:07:27.260Z] ---> 08889168de83 [2023-01-10T20:07:27.260Z] [Warning] One or more build-args [ARCH] were not consumed [2023-01-10T20:07:27.260Z] Successfully built 08889168de83 [2023-01-10T20:07:27.260Z] 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 [2023-01-10T20:07:28.081Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-10T20:07:28.081Z] [2023-01-10T20:07:28.081Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T20:07:28.450Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-10T20:07:28.451Z] latest: Pulling from edgex-lftools-log-publisher [2023-01-10T20:07:28.451Z] 5eb5b503b376: Pulling fs layer [2023-01-10T20:07:28.451Z] 5c69ac0246d0: Pulling fs layer [2023-01-10T20:07:28.451Z] ec43610c2a17: Pulling fs layer [2023-01-10T20:07:28.451Z] 3a2ae6a8a46f: Pulling fs layer [2023-01-10T20:07:28.451Z] 33b1e0a273af: Pulling fs layer [2023-01-10T20:07:28.451Z] 5d3b04190fa2: Pulling fs layer [2023-01-10T20:07:28.451Z] 2f39f015ded8: Pulling fs layer [2023-01-10T20:07:28.451Z] 33b1e0a273af: Waiting [2023-01-10T20:07:28.451Z] 2f39f015ded8: Waiting [2023-01-10T20:07:28.451Z] 5d3b04190fa2: Waiting [2023-01-10T20:07:28.451Z] 3a2ae6a8a46f: Waiting [2023-01-10T20:07:28.451Z] 5c69ac0246d0: Download complete [2023-01-10T20:07:28.451Z] 3a2ae6a8a46f: Verifying Checksum [2023-01-10T20:07:28.451Z] 3a2ae6a8a46f: Download complete [2023-01-10T20:07:28.451Z] 33b1e0a273af: Verifying Checksum [2023-01-10T20:07:28.451Z] 33b1e0a273af: Download complete [2023-01-10T20:07:28.709Z] 5d3b04190fa2: Verifying Checksum [2023-01-10T20:07:28.709Z] 5d3b04190fa2: Download complete [2023-01-10T20:07:28.709Z] ec43610c2a17: Verifying Checksum [2023-01-10T20:07:28.709Z] ec43610c2a17: Download complete [2023-01-10T20:07:28.709Z] 5eb5b503b376: Download complete [2023-01-10T20:07:29.276Z] 2f39f015ded8: Download complete [2023-01-10T20:07:30.210Z] 5eb5b503b376: Pull complete [2023-01-10T20:07:30.210Z] 5c69ac0246d0: Pull complete [2023-01-10T20:07:30.469Z] ec43610c2a17: Pull complete [2023-01-10T20:07:30.726Z] 3a2ae6a8a46f: Pull complete [2023-01-10T20:07:30.986Z] 33b1e0a273af: Pull complete [2023-01-10T20:07:30.986Z] 5d3b04190fa2: Pull complete [2023-01-10T20:07:33.724Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-1647 in /w/workspace/xfoundry_device-modbus-go_PR-397 [Pipeline] { [Pipeline] ws [2023-01-10T20:07:33.782Z] Running in /w/workspace/device-modbus-go/1 [Pipeline] { [Pipeline] checkout [2023-01-10T20:07:33.860Z] Selected Git installation does not exist. Using Default [2023-01-10T20:07:33.860Z] The recommended git tool is: NONE [2023-01-10T20:07:36.254Z] 2f39f015ded8: Pull complete [2023-01-10T20:07:36.254Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-01-10T20:07:36.254Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-10T20:07:36.254Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-10T20:07:36.468Z] prd-ubuntu20.04-docker-8c-8g-1646 does not seem to be running inside a container [2023-01-10T20:07:36.501Z] $ 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-397 -v /w/workspace/xfoundry_device-modbus-go_PR-397:/w/workspace/xfoundry_device-modbus-go_PR-397:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-397@tmp:/w/workspace/xfoundry_device-modbus-go_PR-397@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 [2023-01-10T20:07:38.434Z] using credential edgex-jenkins-ssh [2023-01-10T20:07:38.448Z] Cloning the remote Git repository [2023-01-10T20:07:38.530Z] $ docker top 5c37ab48d82b3f18813975b93cc6500464d12b6dd97396879ff3a0973abfa65d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-10T20:07:38.488Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2023-01-10T20:07:38.564Z] > git init /w/workspace/device-modbus-go/1 # timeout=10 [2023-01-10T20:07:38.716Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2023-01-10T20:07:38.716Z] > git --version # timeout=10 [2023-01-10T20:07:38.995Z] ---> job-cost.sh [2023-01-10T20:07:38.995Z] lf-activate-venv: SKIPPING [2023-01-10T20:07:38.995Z] INFO: No Stack... [2023-01-10T20:07:39.255Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-01-10T20:07:39.514Z] INFO: Archiving Costs [Pipeline] sh [2023-01-10T20:07:39.824Z] + cat /w/workspace/xfoundry_device-modbus-go_PR-397/archives/cost.csv [2023-01-10T20:07:39.824Z] + cut -d, -f6 [Pipeline] lock [2023-01-10T20:07:39.864Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-397-1-stack-cost] [2023-01-10T20:07:39.868Z] Resource [jenkins-edgexfoundry-device-modbus-go-PR-397-1-stack-cost] did not exist. Created. [2023-01-10T20:07:39.868Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-397-1-stack-cost] [Pipeline] { [Pipeline] unstash [2023-01-10T20:07:38.745Z] > git --version # 'git version 2.25.1' [2023-01-10T20:07:38.747Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-10T20:07:38.808Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-01-10T20:07:39.946Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [Pipeline] sh [2023-01-10T20:07:40.252Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-01-10T20:07:40.303Z] Stashed 1 file(s) [Pipeline] } [2023-01-10T20:07:40.326Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-397-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-01-10T20:07:40.401Z] $ docker stop --time=1 5c37ab48d82b3f18813975b93cc6500464d12b6dd97396879ff3a0973abfa65d [2023-01-10T20:07:39.970Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-01-10T20:07:40.790Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2023-01-10T20:07:40.834Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2023-01-10T20:07:40.835Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-10T20:07:40.852Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/397/head:refs/remotes/origin/PR-397 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-01-10T20:07:41.451Z] Merging remotes/origin/main commit b747fdb0f46d56fab49edbd998369f5c6173beb1 into PR head commit 5c778906de6ba481e4089c32075684d12eab5fb4 [2023-01-10T20:07:41.570Z] $ docker rm -f --volumes 5c37ab48d82b3f18813975b93cc6500464d12b6dd97396879ff3a0973abfa65d [2023-01-10T20:07:41.661Z] Merge succeeded, producing 5c778906de6ba481e4089c32075684d12eab5fb4 [2023-01-10T20:07:41.662Z] Checking out Revision 5c778906de6ba481e4089c32075684d12eab5fb4 (PR-397) [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-01-10T20:07:41.474Z] > git config core.sparsecheckout # timeout=10 [2023-01-10T20:07:41.498Z] > git checkout -f 5c778906de6ba481e4089c32075684d12eab5fb4 # timeout=10 [2023-01-10T20:07:41.575Z] > git remote # timeout=10 [2023-01-10T20:07:41.593Z] > git config --get remote.origin.url # timeout=10 [2023-01-10T20:07:41.607Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-10T20:07:41.621Z] > git merge b747fdb0f46d56fab49edbd998369f5c6173beb1 # timeout=10 [2023-01-10T20:07:41.645Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-01-10T20:07:41.671Z] > git config core.sparsecheckout # timeout=10 [2023-01-10T20:07:41.684Z] > git checkout -f 5c778906de6ba481e4089c32075684d12eab5fb4 # timeout=10 [2023-01-10T20:07:45.131Z] Commit message: "feat!: Remove ZeroMQ MessageBus capability" [2023-01-10T20:07:45.186Z] > git --version # timeout=10 [2023-01-10T20:07:45.196Z] > git --version # 'git version 2.25.1' [2023-01-10T20:07:45.213Z] fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-10T20:07:46.311Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-01-10T20:07:46.311Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-01-10T20:07:46.311Z] Dload Upload Total Spent Left Speed [2023-01-10T20:07:46.311Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 95872 0 --:--:-- --:--:-- --:--:-- 95872 [Pipeline] sh [2023-01-10T20:07:46.990Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-01-10T20:07:47.324Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-01-10T20:07:47.325Z] + sudo tee /etc/docker/daemon.new [2023-01-10T20:07:47.325Z] { [2023-01-10T20:07:47.325Z] "registry-mirrors": [ [2023-01-10T20:07:47.325Z] "https://nexus3.edgexfoundry.org:10001" [2023-01-10T20:07:47.325Z] ], [2023-01-10T20:07:47.325Z] "bip": "10.250.0.254/24", [2023-01-10T20:07:47.325Z] "hosts": [ [2023-01-10T20:07:47.325Z] "tcp://0.0.0.0:5555", [2023-01-10T20:07:47.325Z] "unix:///var/run/docker.sock" [2023-01-10T20:07:47.325Z] ], [2023-01-10T20:07:47.325Z] "mtu": 1458, [2023-01-10T20:07:47.325Z] "selinux-enabled": true, [2023-01-10T20:07:47.325Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-01-10T20:07:47.325Z] } [Pipeline] sh [2023-01-10T20:07:47.664Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-01-10T20:07:48.008Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-10T20:08:06.336Z] provisioning config files... [2023-01-10T20:08:06.361Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/1@tmp/config11925757176353052204tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-10T20:08:06.757Z] ---> docker-login.sh [2023-01-10T20:08:06.757Z] nexus3.edgexfoundry.org:10001 [2023-01-10T20:08:07.344Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T20:08:07.344Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T20:08:07.344Z] Configure a credential helper to remove this warning. See [2023-01-10T20:08:07.344Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T20:08:07.344Z] [2023-01-10T20:08:07.344Z] Login Succeeded [2023-01-10T20:08:07.344Z] nexus3.edgexfoundry.org:10002 [2023-01-10T20:08:07.611Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T20:08:07.880Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T20:08:07.880Z] Configure a credential helper to remove this warning. See [2023-01-10T20:08:07.880Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T20:08:07.880Z] [2023-01-10T20:08:07.880Z] Login Succeeded [2023-01-10T20:08:07.880Z] nexus3.edgexfoundry.org:10003 [2023-01-10T20:08:07.881Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T20:08:08.150Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T20:08:08.150Z] Configure a credential helper to remove this warning. See [2023-01-10T20:08:08.150Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T20:08:08.150Z] [2023-01-10T20:08:08.150Z] Login Succeeded [2023-01-10T20:08:08.150Z] nexus3.edgexfoundry.org:10004 [2023-01-10T20:08:08.420Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T20:08:08.420Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T20:08:08.420Z] Configure a credential helper to remove this warning. See [2023-01-10T20:08:08.420Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T20:08:08.420Z] [2023-01-10T20:08:08.420Z] Login Succeeded [2023-01-10T20:08:08.420Z] docker.io [2023-01-10T20:08:08.689Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T20:08:08.958Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T20:08:08.958Z] Configure a credential helper to remove this warning. See [2023-01-10T20:08:08.958Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T20:08:08.958Z] [2023-01-10T20:08:08.958Z] Login Succeeded [2023-01-10T20:08:08.958Z] ---> docker-login.sh ends [Pipeline] } [2023-01-10T20:08:08.986Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-01-10T20:08:09.340Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-10T20:08:09.375Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-10T20:08:09.404Z] ========================================================= [2023-01-10T20:08:09.404Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-01-10T20:08:09.404Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T20:08:09.903Z] + 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 . [2023-01-10T20:08:10.868Z] Sending build context to Docker daemon 3.323MB [2023-01-10T20:08:10.868Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2023-01-10T20:08:10.868Z] Step 2/10 : FROM ${BASE} AS builder [2023-01-10T20:08:11.148Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-01-10T20:08:11.148Z] 9b18e9b68314: Pulling fs layer [2023-01-10T20:08:11.148Z] 35d82f9e3411: Pulling fs layer [2023-01-10T20:08:11.148Z] e16973657156: Pulling fs layer [2023-01-10T20:08:11.148Z] fc693d55d65f: Pulling fs layer [2023-01-10T20:08:11.148Z] 7e9fc2657dce: Pulling fs layer [2023-01-10T20:08:11.148Z] dda99020689f: Pulling fs layer [2023-01-10T20:08:11.148Z] db1c61fa0a46: Pulling fs layer [2023-01-10T20:08:11.148Z] 891c053d2c06: Pulling fs layer [2023-01-10T20:08:11.148Z] fc693d55d65f: Waiting [2023-01-10T20:08:11.148Z] 7e9fc2657dce: Waiting [2023-01-10T20:08:11.148Z] dda99020689f: Waiting [2023-01-10T20:08:11.148Z] db1c61fa0a46: Waiting [2023-01-10T20:08:11.148Z] 891c053d2c06: Waiting [2023-01-10T20:08:11.149Z] e16973657156: Verifying Checksum [2023-01-10T20:08:11.149Z] e16973657156: Download complete [2023-01-10T20:08:11.149Z] 35d82f9e3411: Verifying Checksum [2023-01-10T20:08:11.149Z] 35d82f9e3411: Download complete [2023-01-10T20:08:11.149Z] 7e9fc2657dce: Download complete [2023-01-10T20:08:11.149Z] dda99020689f: Verifying Checksum [2023-01-10T20:08:11.149Z] dda99020689f: Download complete [2023-01-10T20:08:11.149Z] 9b18e9b68314: Verifying Checksum [2023-01-10T20:08:12.140Z] 9b18e9b68314: Pull complete [2023-01-10T20:08:12.140Z] 891c053d2c06: Verifying Checksum [2023-01-10T20:08:12.140Z] 891c053d2c06: Download complete [2023-01-10T20:08:12.739Z] 35d82f9e3411: Pull complete [2023-01-10T20:08:13.011Z] e16973657156: Pull complete [2023-01-10T20:08:13.598Z] db1c61fa0a46: Verifying Checksum [2023-01-10T20:08:13.598Z] db1c61fa0a46: Download complete [2023-01-10T20:08:14.185Z] fc693d55d65f: Verifying Checksum [2023-01-10T20:08:14.185Z] fc693d55d65f: Download complete [2023-01-10T20:08:24.267Z] fc693d55d65f: Pull complete [2023-01-10T20:08:24.536Z] 7e9fc2657dce: Pull complete [2023-01-10T20:08:24.806Z] dda99020689f: Pull complete [2023-01-10T20:08:31.473Z] db1c61fa0a46: Pull complete [2023-01-10T20:08:32.438Z] 891c053d2c06: Pull complete [2023-01-10T20:08:32.438Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-01-10T20:08:32.438Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-01-10T20:08:32.438Z] ---> f96f9c87975a [2023-01-10T20:08:32.438Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2023-01-10T20:08:34.390Z] ---> Running in 732acfde6e9b [2023-01-10T20:08:34.659Z] Removing intermediate container 732acfde6e9b [2023-01-10T20:08:34.659Z] ---> 0a5b6383f066 [2023-01-10T20:08:34.659Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-10T20:08:34.659Z] ---> Running in e95f4a02e9ed [2023-01-10T20:08:34.927Z] Removing intermediate container e95f4a02e9ed [2023-01-10T20:08:34.927Z] ---> 20e370accede [2023-01-10T20:08:34.927Z] Step 5/10 : RUN apk add --update --no-cache make git openssh [2023-01-10T20:08:34.927Z] ---> Running in 3f0a6382bd0c [2023-01-10T20:08:35.891Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-10T20:08:36.483Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-10T20:08:37.444Z] (1/8) Installing openssh-keygen (9.0_p1-r2) [2023-01-10T20:08:37.444Z] (2/8) Installing libedit (20210910.3.1-r0) [2023-01-10T20:08:37.444Z] (3/8) Installing openssh-client-common (9.0_p1-r2) [2023-01-10T20:08:37.444Z] (4/8) Installing openssh-client-default (9.0_p1-r2) [2023-01-10T20:08:37.444Z] (5/8) Installing openssh-sftp-server (9.0_p1-r2) [2023-01-10T20:08:37.444Z] (6/8) Installing openssh-server-common (9.0_p1-r2) [2023-01-10T20:08:37.444Z] (7/8) Installing openssh-server (9.0_p1-r2) [2023-01-10T20:08:37.444Z] (8/8) Installing openssh (9.0_p1-r2) [2023-01-10T20:08:37.445Z] Executing busybox-1.35.0-r17.trigger [2023-01-10T20:08:37.445Z] OK: 228 MiB in 59 packages [2023-01-10T20:08:38.409Z] Removing intermediate container 3f0a6382bd0c [2023-01-10T20:08:38.409Z] ---> 4b22974b7e0a [2023-01-10T20:08:38.409Z] Step 6/10 : WORKDIR /device-modbus-go [2023-01-10T20:08:38.677Z] ---> Running in 77ceaab0d280 [2023-01-10T20:08:38.945Z] Removing intermediate container 77ceaab0d280 [2023-01-10T20:08:38.945Z] ---> 0df9e52f7fe3 [2023-01-10T20:08:38.945Z] Step 7/10 : COPY go.mod vendor* ./ [2023-01-10T20:08:39.212Z] ---> c0daf599607e [2023-01-10T20:08:39.212Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-10T20:08:39.479Z] ---> Running in c52531dde836 [2023-01-10T20:09:35.910Z] Removing intermediate container c52531dde836 [2023-01-10T20:09:35.910Z] ---> 5e1c21034d70 [2023-01-10T20:09:35.910Z] Step 9/10 : COPY . . [2023-01-10T20:09:35.910Z] ---> e6efb097db68 [2023-01-10T20:09:35.910Z] Step 10/10 : RUN ${MAKE} [2023-01-10T20:09:35.910Z] ---> Running in a2427d00650e [2023-01-10T20:09:35.910Z] noop [2023-01-10T20:09:35.910Z] Removing intermediate container a2427d00650e [2023-01-10T20:09:35.910Z] ---> c979a85c623f [2023-01-10T20:09:35.910Z] Successfully built c979a85c623f [2023-01-10T20:09:35.910Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T20:09:36.380Z] + docker inspect -f . ci-base-image-arm64 [2023-01-10T20:09:36.380Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-10T20:09:36.643Z] prd-ubuntu20.04-docker-arm64-4c-16g-1647 does not seem to be running inside a container [2023-01-10T20:09:36.703Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-01-10T20:09:37.933Z] $ docker top f525dea61787cca24ebe80ba8d968fc67dd9127e6ce52ed6f36f456b7ff70ef0 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-10T20:09:38.818Z] + go version [2023-01-10T20:09:38.818Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-01-10T20:09:38.851Z] $ docker stop --time=1 f525dea61787cca24ebe80ba8d968fc67dd9127e6ce52ed6f36f456b7ff70ef0 [2023-01-10T20:09:40.509Z] $ docker rm -f --volumes f525dea61787cca24ebe80ba8d968fc67dd9127e6ce52ed6f36f456b7ff70ef0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T20:09:41.345Z] + docker inspect -f . ci-base-image-arm64 [2023-01-10T20:09:41.345Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-10T20:09:41.595Z] prd-ubuntu20.04-docker-arm64-4c-16g-1647 does not seem to be running inside a container [2023-01-10T20:09:41.652Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -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 [2023-01-10T20:09:42.840Z] $ docker top cb8d53e33bc0ba4c2ffe5b135fe84360da66963f7ac78dc41311e8b83ab9522d -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-10T20:09:43.401Z] + git config --global --add safe.directory /w/workspace/device-modbus-go/1 [Pipeline] fileExists [Pipeline] sh [2023-01-10T20:09:44.115Z] + make test [2023-01-10T20:09:44.115Z] CGO_ENABLED=0 go test ./... -coverprofile=coverage.out [2023-01-10T20:09:45.535Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2023-01-10T20:11:22.224Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2023-01-10T20:11:22.224Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.063s coverage: 47.7% of statements [2023-01-10T20:11:22.224Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-01-10T20:11:22.224Z] CGO_ENABLED=0 go vet ./... [2023-01-10T20:11:30.462Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-01-10T20:11:30.462Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-01-10T20:11:30.462Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-01-10T20:11:30.503Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-01-10T20:11:30.535Z] $ docker stop --time=1 cb8d53e33bc0ba4c2ffe5b135fe84360da66963f7ac78dc41311e8b83ab9522d [2023-01-10T20:11:32.336Z] $ docker rm -f --volumes cb8d53e33bc0ba4c2ffe5b135fe84360da66963f7ac78dc41311e8b83ab9522d [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-10T20:11:33.333Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-01-10T20:11:33.370Z] Warning: overwriting stash ‘coverage-report’ [2023-01-10T20:11:33.790Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-10T20:11:34.381Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-01-10T20:11:34.712Z] + ls -al . [2023-01-10T20:11:34.712Z] total 192 [2023-01-10T20:11:34.712Z] drwxrwxr-x 9 jenkins jenkins 4096 Jan 10 20:09 . [2023-01-10T20:11:34.712Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 10 20:07 .. [2023-01-10T20:11:34.712Z] -rw-rw-r-- 1 jenkins jenkins 140 Jan 10 20:07 .dockerignore [2023-01-10T20:11:34.712Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 10 20:07 .git [2023-01-10T20:11:34.712Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 10 20:07 .github [2023-01-10T20:11:34.712Z] -rw-rw-r-- 1 jenkins jenkins 331 Jan 10 20:07 .gitignore [2023-01-10T20:11:34.712Z] -rw-rw-r-- 1 jenkins jenkins 41 Jan 10 20:07 .golangci.yml [2023-01-10T20:11:34.712Z] -rw-rw-r-- 1 jenkins jenkins 10017 Jan 10 20:07 Attribution.txt [2023-01-10T20:11:34.712Z] -rw-rw-r-- 1 jenkins jenkins 11576 Jan 10 20:07 CHANGELOG.md [2023-01-10T20:11:34.712Z] -rw-rw-r-- 1 jenkins jenkins 1365 Jan 10 20:07 Dockerfile [2023-01-10T20:11:34.712Z] -rw-rw-r-- 1 jenkins jenkins 677 Jan 10 20:07 GOVERNANCE.md [2023-01-10T20:11:34.712Z] -rw-rw-r-- 1 jenkins jenkins 680 Jan 10 20:07 Jenkinsfile [2023-01-10T20:11:34.712Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jan 10 20:07 LICENSE [2023-01-10T20:11:34.712Z] -rw-rw-r-- 1 jenkins jenkins 1675 Jan 10 20:07 Makefile [2023-01-10T20:11:34.712Z] -rw-rw-r-- 1 jenkins jenkins 622 Jan 10 20:07 OWNERS.md [2023-01-10T20:11:34.712Z] -rw-rw-r-- 1 jenkins jenkins 4061 Jan 10 20:07 README.md [2023-01-10T20:11:34.712Z] -rw-rw-r-- 1 jenkins jenkins 5 Jan 10 20:05 VERSION [2023-01-10T20:11:34.712Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 10 20:07 bin [2023-01-10T20:11:34.712Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 10 20:07 cmd [2023-01-10T20:11:34.712Z] -rw-r--r-- 1 jenkins jenkins 23241 Jan 10 20:11 coverage.out [2023-01-10T20:11:34.712Z] -rw-rw-r-- 1 jenkins jenkins 3584 Jan 10 20:07 go.mod [2023-01-10T20:11:34.712Z] -rw-rw-r-- 1 jenkins jenkins 45355 Jan 10 20:07 go.sum [2023-01-10T20:11:34.712Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 10 20:07 internal [2023-01-10T20:11:34.712Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 10 20:07 simulator [2023-01-10T20:11:34.712Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 10 20:07 snap [2023-01-10T20:11:34.712Z] -rw-rw-r-- 1 jenkins jenkins 229 Jan 10 20:07 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T20:11:35.128Z] + 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=5c778906de6ba481e4089c32075684d12eab5fb4 --label arch=arm64 --label version=0.0.0 . [2023-01-10T20:11:35.393Z] Sending build context to Docker daemon 3.347MB [2023-01-10T20:11:35.393Z] Step 1/22 : ARG BASE=golang:1.18-alpine3.16 [2023-01-10T20:11:35.393Z] Step 2/22 : FROM ${BASE} AS builder [2023-01-10T20:11:35.393Z] ---> c979a85c623f [2023-01-10T20:11:35.393Z] Step 3/22 : ARG ADD_BUILD_TAGS="" [2023-01-10T20:11:35.660Z] ---> Running in 09f9cd5e9f9d [2023-01-10T20:11:35.926Z] Removing intermediate container 09f9cd5e9f9d [2023-01-10T20:11:35.926Z] ---> 569c7cc94971 [2023-01-10T20:11:35.926Z] Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-10T20:11:35.926Z] ---> Running in f60925bb69fa [2023-01-10T20:11:36.194Z] Removing intermediate container f60925bb69fa [2023-01-10T20:11:36.194Z] ---> 3bef11b1d414 [2023-01-10T20:11:36.194Z] Step 5/22 : RUN apk add --update --no-cache make git openssh [2023-01-10T20:11:36.194Z] ---> Running in e2f7d1ed9fee [2023-01-10T20:11:37.161Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-10T20:11:37.427Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-10T20:11:38.386Z] OK: 228 MiB in 59 packages [2023-01-10T20:11:41.734Z] Removing intermediate container e2f7d1ed9fee [2023-01-10T20:11:41.734Z] ---> 97e566de2af5 [2023-01-10T20:11:41.734Z] Step 6/22 : WORKDIR /device-modbus-go [2023-01-10T20:11:41.734Z] ---> Running in 8b341124d35f [2023-01-10T20:11:41.734Z] Removing intermediate container 8b341124d35f [2023-01-10T20:11:41.734Z] ---> a176fb46e8a5 [2023-01-10T20:11:41.734Z] Step 7/22 : COPY go.mod vendor* ./ [2023-01-10T20:11:42.012Z] ---> c63d1ab64c46 [2023-01-10T20:11:42.012Z] Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-10T20:11:42.012Z] ---> Running in 4f0581630fb8 [2023-01-10T20:11:43.968Z] Removing intermediate container 4f0581630fb8 [2023-01-10T20:11:43.968Z] ---> be5122f99362 [2023-01-10T20:11:43.968Z] Step 9/22 : COPY . . [2023-01-10T20:11:44.932Z] ---> a4c2251c00be [2023-01-10T20:11:44.932Z] Step 10/22 : RUN ${MAKE} [2023-01-10T20:11:44.932Z] ---> Running in 360db4c0176d [2023-01-10T20:11:45.911Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-modbus ./cmd [2023-01-10T20:13:52.617Z] Removing intermediate container 360db4c0176d [2023-01-10T20:13:52.617Z] ---> 773a0509d5c5 [2023-01-10T20:13:52.617Z] Step 11/22 : FROM alpine:3.14 [2023-01-10T20:13:52.617Z] 3.14: Pulling from library/alpine [2023-01-10T20:13:52.618Z] 90cda3b7c325: Pulling fs layer [2023-01-10T20:13:52.618Z] 90cda3b7c325: Verifying Checksum [2023-01-10T20:13:52.618Z] 90cda3b7c325: Download complete [2023-01-10T20:13:52.618Z] 90cda3b7c325: Pull complete [2023-01-10T20:13:52.618Z] Digest: sha256:4c869a63e1b7c0722fed1e402a6466610327c3b83bdddb94bd94fb71da7f638a [2023-01-10T20:13:52.618Z] Status: Downloaded newer image for alpine:3.14 [2023-01-10T20:13:52.618Z] ---> 275902a1839d [2023-01-10T20:13:52.618Z] Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2023-01-10T20:13:52.618Z] ---> Running in af39c0ef99c9 [2023-01-10T20:13:52.618Z] Removing intermediate container af39c0ef99c9 [2023-01-10T20:13:52.618Z] ---> 54aa48663c49 [2023-01-10T20:13:52.618Z] Step 13/22 : RUN apk add --update --no-cache dumb-init [2023-01-10T20:13:52.618Z] ---> Running in 880b51d9d507 [2023-01-10T20:13:52.618Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2023-01-10T20:13:52.618Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2023-01-10T20:13:52.618Z] (1/1) Installing dumb-init (1.2.5-r1) [2023-01-10T20:13:52.618Z] Executing busybox-1.33.1-r8.trigger [2023-01-10T20:13:52.618Z] OK: 6 MiB in 15 packages [2023-01-10T20:13:52.618Z] Removing intermediate container 880b51d9d507 [2023-01-10T20:13:52.618Z] ---> 7dbe570e177f [2023-01-10T20:13:52.618Z] Step 14/22 : COPY --from=builder /device-modbus-go/cmd / [2023-01-10T20:13:52.618Z] ---> fa525ae848ae [2023-01-10T20:13:52.618Z] Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / [2023-01-10T20:13:52.618Z] ---> 352fb2ce45a5 [2023-01-10T20:13:52.618Z] Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / [2023-01-10T20:13:52.618Z] ---> dfe31b8b7ee0 [2023-01-10T20:13:52.618Z] Step 17/22 : EXPOSE 59901 [2023-01-10T20:13:52.618Z] ---> Running in b89042806489 [2023-01-10T20:13:52.618Z] Removing intermediate container b89042806489 [2023-01-10T20:13:52.618Z] ---> 714511069708 [2023-01-10T20:13:52.618Z] Step 18/22 : ENTRYPOINT ["/device-modbus"] [2023-01-10T20:13:52.618Z] ---> Running in da6490cc6dc7 [2023-01-10T20:13:52.618Z] Removing intermediate container da6490cc6dc7 [2023-01-10T20:13:52.618Z] ---> d8596fa61697 [2023-01-10T20:13:52.618Z] Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-01-10T20:13:52.618Z] ---> Running in 5363e7df65b3 [2023-01-10T20:13:52.618Z] Removing intermediate container 5363e7df65b3 [2023-01-10T20:13:52.618Z] ---> 3ddf612d0e5b [2023-01-10T20:13:52.618Z] Step 20/22 : LABEL arch=arm64 [2023-01-10T20:13:52.618Z] ---> Running in 7f625354fd5f [2023-01-10T20:13:53.209Z] Removing intermediate container 7f625354fd5f [2023-01-10T20:13:53.209Z] ---> 62e468a45e09 [2023-01-10T20:13:53.209Z] Step 21/22 : LABEL git_sha=5c778906de6ba481e4089c32075684d12eab5fb4 [2023-01-10T20:13:53.209Z] ---> Running in 0a3819e34424 [2023-01-10T20:13:53.478Z] Removing intermediate container 0a3819e34424 [2023-01-10T20:13:53.478Z] ---> edc94d286b44 [2023-01-10T20:13:53.478Z] Step 22/22 : LABEL version=0.0.0 [2023-01-10T20:13:53.478Z] ---> Running in 4c5287c1e554 [2023-01-10T20:13:53.746Z] Removing intermediate container 4c5287c1e554 [2023-01-10T20:13:53.746Z] ---> 7965e1455ba0 [2023-01-10T20:13:53.746Z] [Warning] One or more build-args [ARCH] were not consumed [2023-01-10T20:13:53.746Z] Successfully built 7965e1455ba0 [2023-01-10T20:13:53.746Z] 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 [2023-01-10T20:13:54.622Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-10T20:13:54.622Z] [2023-01-10T20:13:54.622Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T20:13:55.034Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-10T20:13:55.315Z] arm64: Pulling from edgex-lftools-log-publisher [2023-01-10T20:13:55.315Z] 8998bd30e6a1: Pulling fs layer [2023-01-10T20:13:55.315Z] 04944245beec: Pulling fs layer [2023-01-10T20:13:55.315Z] 699f458cf7ca: Pulling fs layer [2023-01-10T20:13:55.315Z] 765212b225bb: Pulling fs layer [2023-01-10T20:13:55.315Z] f23df028b6ca: Pulling fs layer [2023-01-10T20:13:55.315Z] d65c8cfc05b1: Pulling fs layer [2023-01-10T20:13:55.315Z] 2437ff75d9bd: Pulling fs layer [2023-01-10T20:13:55.315Z] f23df028b6ca: Waiting [2023-01-10T20:13:55.315Z] d65c8cfc05b1: Waiting [2023-01-10T20:13:55.315Z] 2437ff75d9bd: Waiting [2023-01-10T20:13:55.315Z] 765212b225bb: Waiting [2023-01-10T20:13:55.315Z] 04944245beec: Verifying Checksum [2023-01-10T20:13:55.315Z] 04944245beec: Download complete [2023-01-10T20:13:55.315Z] 765212b225bb: Verifying Checksum [2023-01-10T20:13:55.315Z] 765212b225bb: Download complete [2023-01-10T20:13:55.315Z] f23df028b6ca: Verifying Checksum [2023-01-10T20:13:55.315Z] f23df028b6ca: Download complete [2023-01-10T20:13:55.315Z] d65c8cfc05b1: Verifying Checksum [2023-01-10T20:13:55.315Z] d65c8cfc05b1: Download complete [2023-01-10T20:13:55.598Z] 699f458cf7ca: Verifying Checksum [2023-01-10T20:13:55.598Z] 699f458cf7ca: Download complete [2023-01-10T20:13:55.872Z] 8998bd30e6a1: Download complete [2023-01-10T20:13:58.467Z] 2437ff75d9bd: Verifying Checksum [2023-01-10T20:13:58.467Z] 2437ff75d9bd: Download complete [2023-01-10T20:14:00.418Z] 8998bd30e6a1: Pull complete [2023-01-10T20:14:00.688Z] 04944245beec: Pull complete [2023-01-10T20:14:02.096Z] 699f458cf7ca: Pull complete [2023-01-10T20:14:02.364Z] 765212b225bb: Pull complete [2023-01-10T20:14:02.949Z] f23df028b6ca: Pull complete [2023-01-10T20:14:03.217Z] d65c8cfc05b1: Pull complete [2023-01-10T20:14:18.223Z] 2437ff75d9bd: Pull complete [2023-01-10T20:14:18.223Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-01-10T20:14:18.223Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-10T20:14:18.223Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-10T20:14:18.533Z] prd-ubuntu20.04-docker-arm64-4c-16g-1647 does not seem to be running inside a container [2023-01-10T20:14:18.597Z] $ 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 [2023-01-10T20:14:21.110Z] $ docker top bc5592df3e4f8143e053952d0e05e832bc1dae94a61a1c998896436fb219fb2b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-10T20:14:22.021Z] ---> job-cost.sh [2023-01-10T20:14:22.021Z] lf-activate-venv: SKIPPING [2023-01-10T20:14:22.021Z] INFO: No Stack... [2023-01-10T20:14:22.602Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-01-10T20:14:23.563Z] INFO: Archiving Costs [Pipeline] sh [2023-01-10T20:14:24.223Z] + + catcut -d, -f6 [2023-01-10T20:14:24.223Z] /w/workspace/device-modbus-go/1/archives/cost.csv [Pipeline] lock [2023-01-10T20:14:24.301Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-397-1-stack-cost] [2023-01-10T20:14:24.306Z] Resource [jenkins-edgexfoundry-device-modbus-go-PR-397-1-stack-cost] did not exist. Created. [2023-01-10T20:14:24.306Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-397-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-01-10T20:14:24.731Z] /w/workspace/device-modbus-go/1@tmp/durable-bdbeec1b/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-01-10T20:14:25.094Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-01-10T20:14:25.145Z] Warning: overwriting stash ‘stack-cost’ [2023-01-10T20:14:25.195Z] Stashed 1 file(s) [Pipeline] } [2023-01-10T20:14:25.240Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-397-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-01-10T20:14:25.320Z] $ docker stop --time=1 bc5592df3e4f8143e053952d0e05e832bc1dae94a61a1c998896436fb219fb2b [2023-01-10T20:14:26.802Z] $ docker rm -f --volumes bc5592df3e4f8143e053952d0e05e832bc1dae94a61a1c998896436fb219fb2b [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 [2023-01-10T20:14:27.791Z] provisioning config files... [2023-01-10T20:14:27.798Z] copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-397@tmp/config1149867325128379029tmp [Pipeline] { [Pipeline] sh [2023-01-10T20:14:28.132Z] + set +x [2023-01-10T20:14:28.132Z] + + bash -s -- [2023-01-10T20:14:28.132Z] curl -s https://codecov.io/bash [2023-01-10T20:14:28.132Z] [2023-01-10T20:14:28.132Z] _____ _ [2023-01-10T20:14:28.132Z] / ____| | | [2023-01-10T20:14:28.132Z] | | ___ __| | ___ ___ _____ __ [2023-01-10T20:14:28.132Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-01-10T20:14:28.132Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-01-10T20:14:28.132Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-01-10T20:14:28.132Z] Bash-1.0.6 [2023-01-10T20:14:28.132Z] [2023-01-10T20:14:28.132Z] [2023-01-10T20:14:28.132Z] ==> git version 2.25.1 found [2023-01-10T20:14:28.132Z] ==> 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 [2023-01-10T20:14:28.132Z] Release-Date: 2020-01-08 [2023-01-10T20:14:28.132Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-01-10T20:14:28.132Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-01-10T20:14:28.132Z] ==> Jenkins CI detected. [2023-01-10T20:14:28.132Z] current dir:  /w/workspace/xfoundry_device-modbus-go_PR-397 [2023-01-10T20:14:28.132Z] project root: . [2023-01-10T20:14:28.132Z] --> token set from env [2023-01-10T20:14:28.132Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-01-10T20:14:28.132Z] ==> Running gcov in . (disable via -X gcov) [2023-01-10T20:14:28.132Z] ==> Python coveragepy not found [2023-01-10T20:14:28.132Z] ==> Searching for coverage reports in: [2023-01-10T20:14:28.132Z] + . [2023-01-10T20:14:28.132Z] -> Found 1 reports [2023-01-10T20:14:28.132Z] ==> Detecting git/mercurial file structure [2023-01-10T20:14:28.392Z] ==> Reading reports [2023-01-10T20:14:28.392Z] + ./coverage.out bytes=23241 [2023-01-10T20:14:28.392Z] ==> Appending adjustments [2023-01-10T20:14:28.392Z] https://docs.codecov.io/docs/fixing-reports [2023-01-10T20:14:28.392Z] + Found adjustments [2023-01-10T20:14:28.392Z] ==> Gzipping contents [2023-01-10T20:14:28.392Z] 4.0K /tmp/codecov.B6rkLb.gz [2023-01-10T20:14:28.392Z] ==> Uploading reports [2023-01-10T20:14:28.392Z] url: https://codecov.io [2023-01-10T20:14:28.392Z] query: branch=PR-397&commit=5c778906de6ba481e4089c32075684d12eab5fb4&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-397%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=397&job=&cmd_args= [2023-01-10T20:14:28.392Z] -> Pinging Codecov [2023-01-10T20:14:28.392Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3a8d40b1-de00-4649-bfd4-bdc8ed99ae89&branch=PR-397&commit=5c778906de6ba481e4089c32075684d12eab5fb4&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-397%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=397&job=&cmd_args= [2023-01-10T20:14:28.962Z] -> Uploading to [2023-01-10T20:14:28.962Z] https://storage.googleapis.com/codecov/v4/raw/2023-01-10/55DBCA73C666E3227836607328DD7E49/5c778906de6ba481e4089c32075684d12eab5fb4/59c30a3d-28d7-40d6-a24f-e1c51042e7e7.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230110%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230110T201428Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=64d41300cdafad964aae673a260210c4cdbcd42f5178ee028b21e794a4e236fc [2023-01-10T20:14:28.962Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-01-10T20:14:28.962Z] Dload Upload Total Spent Left Speed [2023-01-10T20:14:29.222Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3907 0 0 100 3907 0 13472 --:--:-- --:--:-- --:--:-- 13472 [2023-01-10T20:14:29.222Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/5c778906de6ba481e4089c32075684d12eab5fb4 [Pipeline] } [2023-01-10T20:14:29.248Z] 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 [2023-01-10T20:14:31.015Z] + [ -d /w/workspace/xfoundry_device-modbus-go_PR-397/archives ] [2023-01-10T20:14:31.015Z] + ls -al /w/workspace/xfoundry_device-modbus-go_PR-397/archives [2023-01-10T20:14:31.015Z] total 16 [2023-01-10T20:14:31.015Z] drwxr-xr-x 3 root root 4096 Jan 10 20:07 . [2023-01-10T20:14:31.015Z] drwxrwxr-x 11 jenkins jenkins 4096 Jan 10 20:07 .. [2023-01-10T20:14:31.015Z] drwxr-xr-x 2 root root 4096 Jan 10 20:07 cost [2023-01-10T20:14:31.015Z] -rw-r--r-- 1 root root 88 Jan 10 20:07 cost.csv [2023-01-10T20:14:31.015Z] + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-397/archives [2023-01-10T20:14:31.015Z] + ls -al /w/workspace/xfoundry_device-modbus-go_PR-397/archives [2023-01-10T20:14:31.015Z] total 16 [2023-01-10T20:14:31.015Z] drwxr-xr-x 3 jenkins jenkins 4096 Jan 10 20:07 . [2023-01-10T20:14:31.015Z] drwxrwxr-x 11 jenkins jenkins 4096 Jan 10 20:07 .. [2023-01-10T20:14:31.015Z] drwxr-xr-x 2 jenkins jenkins 4096 Jan 10 20:07 cost [2023-01-10T20:14:31.015Z] -rw-r--r-- 1 jenkins jenkins 88 Jan 10 20:07 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-01-10T20:14:31.346Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-10T20:14:32.237Z] ---> package-listing.sh [2023-01-10T20:14:32.237Z] ++ facter osfamily [2023-01-10T20:14:32.237Z] ++ tr '[:upper:]' '[:lower:]' [2023-01-10T20:14:32.499Z] + OS_FAMILY=debian [2023-01-10T20:14:32.499Z] + workspace=/w/workspace/xfoundry_device-modbus-go_PR-397 [2023-01-10T20:14:32.499Z] + START_PACKAGES=/tmp/packages_start.txt [2023-01-10T20:14:32.499Z] + END_PACKAGES=/tmp/packages_end.txt [2023-01-10T20:14:32.499Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-01-10T20:14:32.499Z] + PACKAGES=/tmp/packages_start.txt [2023-01-10T20:14:32.499Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-397 ']' [2023-01-10T20:14:32.499Z] + PACKAGES=/tmp/packages_end.txt [2023-01-10T20:14:32.499Z] + case "${OS_FAMILY}" in [2023-01-10T20:14:32.499Z] + dpkg -l [2023-01-10T20:14:32.499Z] + grep '^ii' [2023-01-10T20:14:32.499Z] + '[' -f /tmp/packages_start.txt ']' [2023-01-10T20:14:32.499Z] + '[' -f /tmp/packages_end.txt ']' [2023-01-10T20:14:32.499Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-01-10T20:14:32.499Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-397 ']' [2023-01-10T20:14:32.499Z] + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-397/archives/ [2023-01-10T20:14:32.499Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-397/archives/ [Pipeline] echo [2023-01-10T20:14:32.535Z] 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-397/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-01-10T20:14:32.833Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T20:14:33.509Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-10T20:14:33.509Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-10T20:14:33.671Z] prd-ubuntu20.04-docker-8c-8g-1646 does not seem to be running inside a container [2023-01-10T20:14:33.702Z] $ 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-397/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-397 -v /w/workspace/xfoundry_device-modbus-go_PR-397:/w/workspace/xfoundry_device-modbus-go_PR-397:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-397@tmp:/w/workspace/xfoundry_device-modbus-go_PR-397@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 [2023-01-10T20:14:33.947Z] $ docker top 7799d73b3983922ce5e0bbe263b1a2ffb890b43d1f7ece4673bd8205bccfbeb3 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-10T20:14:34.347Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-01-10T20:14:34.656Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-01-10T20:14:34.962Z] + ls /var/log/sa-host [2023-01-10T20:14:34.962Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-10T20:14:35.170Z] provisioning config files... [2023-01-10T20:14:35.178Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-397@tmp/config1829893931939909765tmp [Pipeline] { [Pipeline] echo [2023-01-10T20:14:35.231Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-10T20:14:35.538Z] ---> create-netrc.sh [Pipeline] } [2023-01-10T20:14:35.570Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-01-10T20:14:35.985Z] ---> python-tools-install.sh [Pipeline] echo [2023-01-10T20:14:36.023Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-10T20:14:36.335Z] ---> sudo-logs.sh [2023-01-10T20:14:36.335Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-01-10T20:14:36.421Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-10T20:14:36.730Z] ---> job-cost.sh [2023-01-10T20:14:36.730Z] lf-activate-venv: SKIPPING [2023-01-10T20:14:36.730Z] DEBUG: total: 0.2199999988079071 [2023-01-10T20:14:36.730Z] INFO: Retrieving Stack Cost... [2023-01-10T20:14:36.988Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-01-10T20:14:37.557Z] INFO: Archiving Costs [Pipeline] echo [2023-01-10T20:14:37.590Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-10T20:14:37.908Z] ---> logs-deploy.sh [2023-01-10T20:14:37.908Z] lf-activate-venv: SKIPPING [2023-01-10T20:14:37.908Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-397/1 [2023-01-10T20:14:37.908Z] INFO: archiving workspace using pattern(s): [2023-01-10T20:14:38.859Z] Archives upload complete. [2023-01-10T20:14:39.127Z] INFO: archiving logs to Nexus