Branch indexing 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 bnevis-i for edgexfoundry/device-modbus-go Loading trusted files from base branch main at 8c18bb98ae9dac01b00ec9cd5d6b8c37f768cff1 rather than 5cba2203e71886d94050145eddf79272566091df Obtained Jenkinsfile from 8c18bb98ae9dac01b00ec9cd5d6b8c37f768cff1 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-ssh5141730482346229942.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-ssh2313560094460792242.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-395/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > 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 > 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-395/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh4817599686199264455.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 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-ssh4182632632141841383.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-395/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags 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-395/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh16459722138357160608.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 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 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-modbus-go, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-modbus-go-settings PROJECT: device-modbus-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-modbus DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-1995’ Running on prd-ubuntu20.04-docker-8c-8g-2000 in /w/workspace/xfoundry_device-modbus-go_PR-395 [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-395 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 8c18bb98ae9dac01b00ec9cd5d6b8c37f768cff1 into PR head commit 5cba2203e71886d94050145eddf79272566091df > 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/395/head:refs/remotes/origin/PR-395 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 5cba2203e71886d94050145eddf79272566091df # timeout=10 Merge succeeded, producing 43def9f56f07f0615e295faed412cacf1e540992 Checking out Revision 43def9f56f07f0615e295faed412cacf1e540992 (PR-395) > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 8c18bb98ae9dac01b00ec9cd5d6b8c37f768cff1 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 43def9f56f07f0615e295faed412cacf1e540992 # timeout=10 Commit message: "Merge commit '8c18bb98ae9dac01b00ec9cd5d6b8c37f768cff1' into HEAD" First time build. Skipping changelog. > git rev-list --no-walk d6f93ad6111a7a9ffab800ba0aa601794e82b2f8 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-01-12T00:54:09.483Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-01-12T00:54:09.523Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-01-12T00:54:09.544Z] ========================================================= [2023-01-12T00:54:09.544Z] EdgeX Global Pipelines Version Info [2023-01-12T00:54:09.544Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-01-12T00:54:10.269Z] ------------------- [2023-01-12T00:54:10.269Z] stable info: [2023-01-12T00:54:10.269Z] ------------------- [2023-01-12T00:54:10.269Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-01-12T00:54:10.269Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-01-12T00:54:10.269Z] Message: update stable to v1.0.244 [2023-01-12T00:54:10.843Z] ------------------- [2023-01-12T00:54:10.843Z] experimental info: [2023-01-12T00:54:10.843Z] ------------------- [2023-01-12T00:54:10.843Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-01-12T00:54:10.843Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-01-12T00:54:10.843Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-01-12T00:54:11.048Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo [2023-01-12T00:54:11.066Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo [2023-01-12T00:54:11.083Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-01-12T00:54:11.094Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-01-12T00:54:11.107Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-01-12T00:54:11.119Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-01-12T00:54:11.138Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-01-12T00:54:11.151Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-01-12T00:54:11.164Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-01-12T00:54:11.180Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-01-12T00:54:11.196Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-01-12T00:54:11.208Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo [2023-01-12T00:54:11.225Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-01-12T00:54:11.237Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-01-12T00:54:11.249Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-01-12T00:54:11.261Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-01-12T00:54:11.273Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-01-12T00:54:11.289Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-01-12T00:54:11.306Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-01-12T00:54:11.327Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-01-12T00:54:11.346Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-01-12T00:54:11.364Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-01-12T00:54:11.379Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-01-12T00:54:11.391Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-01-12T00:54:11.404Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-01-12T00:54:11.419Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-01-12T00:54:11.437Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-01-12T00:54:11.456Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-395 [Pipeline] echo [2023-01-12T00:54:11.471Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-395 [Pipeline] echo [2023-01-12T00:54:11.482Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-395 [Pipeline] echo [2023-01-12T00:54:11.497Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 43def9f56f07f0615e295faed412cacf1e540992 [Pipeline] echo [2023-01-12T00:54:11.508Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 43def9f [Pipeline] echo [2023-01-12T00:54:11.525Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-12T00:54:11.569Z] provisioning config files... [2023-01-12T00:54:11.585Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-395@tmp/config9768993526985458219tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-12T00:54:11.892Z] ---> docker-login.sh [2023-01-12T00:54:11.892Z] nexus3.edgexfoundry.org:10001 [2023-01-12T00:54:12.158Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-12T00:54:12.158Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-12T00:54:12.158Z] Configure a credential helper to remove this warning. See [2023-01-12T00:54:12.158Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-12T00:54:12.158Z] [2023-01-12T00:54:12.158Z] Login Succeeded [2023-01-12T00:54:12.158Z] nexus3.edgexfoundry.org:10002 [2023-01-12T00:54:12.158Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-12T00:54:12.158Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-12T00:54:12.158Z] Configure a credential helper to remove this warning. See [2023-01-12T00:54:12.158Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-12T00:54:12.158Z] [2023-01-12T00:54:12.158Z] Login Succeeded [2023-01-12T00:54:12.158Z] nexus3.edgexfoundry.org:10003 [2023-01-12T00:54:12.419Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-12T00:54:12.419Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-12T00:54:12.419Z] Configure a credential helper to remove this warning. See [2023-01-12T00:54:12.419Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-12T00:54:12.419Z] [2023-01-12T00:54:12.419Z] Login Succeeded [2023-01-12T00:54:12.419Z] nexus3.edgexfoundry.org:10004 [2023-01-12T00:54:12.419Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-12T00:54:12.419Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-12T00:54:12.419Z] Configure a credential helper to remove this warning. See [2023-01-12T00:54:12.419Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-12T00:54:12.419Z] [2023-01-12T00:54:12.419Z] Login Succeeded [2023-01-12T00:54:12.419Z] docker.io [2023-01-12T00:54:12.681Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-12T00:54:12.681Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-12T00:54:12.681Z] Configure a credential helper to remove this warning. See [2023-01-12T00:54:12.681Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-12T00:54:12.681Z] [2023-01-12T00:54:12.681Z] Login Succeeded [2023-01-12T00:54:12.681Z] ---> docker-login.sh ends [Pipeline] } [2023-01-12T00:54:12.688Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-01-12T00:54:13.037Z] + git rev-list -1 --merges 43def9f56f07f0615e295faed412cacf1e540992~1..43def9f56f07f0615e295faed412cacf1e540992 [Pipeline] echo [2023-01-12T00:54:13.084Z] -----------> git rev-list -1 --merges 43def9f56f07f0615e295faed412cacf1e540992~1..43def9f56f07f0615e295faed412cacf1e540992 43def9f56f07f0615e295faed412cacf1e540992 [2023-01-12T00:54:13.084Z] 43def9f56f07f0615e295faed412cacf1e540992 [false] [Pipeline] sh [2023-01-12T00:54:13.370Z] + git log --format=format:%s -1 43def9f56f07f0615e295faed412cacf1e540992 [Pipeline] echo [2023-01-12T00:54:13.386Z] ========================================================= [2023-01-12T00:54:13.386Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-01-12T00:54:13.386Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-12T00:54:13.711Z] + git log --format=format:%s -1 43def9f56f07f0615e295faed412cacf1e540992 [Pipeline] echo [2023-01-12T00:54:13.724Z] [semverPrep] GIT_COMMIT: 43def9f56f07f0615e295faed412cacf1e540992, Commit Message: Merge commit '8c18bb98ae9dac01b00ec9cd5d6b8c37f768cff1' into HEAD [Pipeline] echo [2023-01-12T00:54:13.733Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-01-12T00:54:14.106Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-01-12T00:54:14.106Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-01-12T00:54:14.106Z] + [ -e /tmp/ssh_known_hosts ] [2023-01-12T00:54:14.106Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-01-12T00:54:14.106Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-01-12T00:54:14.106Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-01-12T00:54:14.106Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-12T00:54:14.516Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-12T00:54:14.516Z] [2023-01-12T00:54:14.516Z] 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-12T00:54:14.828Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-12T00:54:14.828Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-01-12T00:54:14.828Z] b85a868b505f: Pulling fs layer [2023-01-12T00:54:14.828Z] e2be974225ed: Pulling fs layer [2023-01-12T00:54:14.828Z] 339a4e72a1f5: Pulling fs layer [2023-01-12T00:54:14.828Z] 988bab9f4d93: Pulling fs layer [2023-01-12T00:54:14.828Z] 1469e6f7b9e6: Pulling fs layer [2023-01-12T00:54:14.828Z] eaf3925da568: Pulling fs layer [2023-01-12T00:54:14.828Z] bab4dde63d76: Pulling fs layer [2023-01-12T00:54:14.828Z] bde34c3a00c8: Pulling fs layer [2023-01-12T00:54:14.828Z] b352a97aabf1: Pulling fs layer [2023-01-12T00:54:14.828Z] 4872d77fe225: Pulling fs layer [2023-01-12T00:54:14.828Z] 5851b861e8e6: Pulling fs layer [2023-01-12T00:54:14.828Z] bab4dde63d76: Waiting [2023-01-12T00:54:14.828Z] bde34c3a00c8: Waiting [2023-01-12T00:54:14.828Z] b352a97aabf1: Waiting [2023-01-12T00:54:14.828Z] 988bab9f4d93: Waiting [2023-01-12T00:54:14.828Z] 1469e6f7b9e6: Waiting [2023-01-12T00:54:14.828Z] 4872d77fe225: Waiting [2023-01-12T00:54:14.828Z] eaf3925da568: Waiting [2023-01-12T00:54:14.828Z] e2be974225ed: Verifying Checksum [2023-01-12T00:54:14.828Z] e2be974225ed: Download complete [2023-01-12T00:54:14.828Z] 988bab9f4d93: Verifying Checksum [2023-01-12T00:54:14.828Z] 988bab9f4d93: Download complete [2023-01-12T00:54:15.091Z] 1469e6f7b9e6: Verifying Checksum [2023-01-12T00:54:15.091Z] 1469e6f7b9e6: Download complete [2023-01-12T00:54:15.091Z] 339a4e72a1f5: Verifying Checksum [2023-01-12T00:54:15.091Z] 339a4e72a1f5: Download complete [2023-01-12T00:54:15.091Z] eaf3925da568: Verifying Checksum [2023-01-12T00:54:15.091Z] eaf3925da568: Download complete [2023-01-12T00:54:15.091Z] bde34c3a00c8: Download complete [2023-01-12T00:54:15.091Z] b352a97aabf1: Verifying Checksum [2023-01-12T00:54:15.091Z] b352a97aabf1: Download complete [2023-01-12T00:54:15.091Z] 4872d77fe225: Verifying Checksum [2023-01-12T00:54:15.091Z] 4872d77fe225: Download complete [2023-01-12T00:54:15.091Z] 5851b861e8e6: Download complete [2023-01-12T00:54:15.091Z] b85a868b505f: Download complete [2023-01-12T00:54:15.397Z] bab4dde63d76: Verifying Checksum [2023-01-12T00:54:15.397Z] bab4dde63d76: Download complete [2023-01-12T00:54:16.806Z] b85a868b505f: Pull complete [2023-01-12T00:54:16.806Z] e2be974225ed: Pull complete [2023-01-12T00:54:17.375Z] 339a4e72a1f5: Pull complete [2023-01-12T00:54:17.375Z] 988bab9f4d93: Pull complete [2023-01-12T00:54:17.635Z] 1469e6f7b9e6: Pull complete [2023-01-12T00:54:17.635Z] eaf3925da568: Pull complete [2023-01-12T00:54:19.543Z] bab4dde63d76: Pull complete [2023-01-12T00:54:19.543Z] bde34c3a00c8: Pull complete [2023-01-12T00:54:19.543Z] b352a97aabf1: Pull complete [2023-01-12T00:54:19.803Z] 4872d77fe225: Pull complete [2023-01-12T00:54:19.803Z] 5851b861e8e6: Pull complete [2023-01-12T00:54:19.803Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-01-12T00:54:19.803Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-12T00:54:19.803Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-12T00:54:19.900Z] prd-ubuntu20.04-docker-8c-8g-2000 does not seem to be running inside a container [2023-01-12T00:54:19.933Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-395 -v /w/workspace/xfoundry_device-modbus-go_PR-395:/w/workspace/xfoundry_device-modbus-go_PR-395:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-395@tmp:/w/workspace/xfoundry_device-modbus-go_PR-395@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-devops/py-git-semver:0.1.4 cat [2023-01-12T00:54:22.719Z] $ docker top 6959c59300c66b1381d9be15d4dca2f9001a738c418bc7a75d72106f112d92fe -eo pid,comm [2023-01-12T00:54:22.776Z] 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-12T00:54:22.776Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-01-12T00:54:22.820Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-01-12T00:54:22.820Z] [ssh-agent] Looking for ssh-agent implementation... [2023-01-12T00:54:22.945Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-01-12T00:54:22.948Z] $ docker exec 6959c59300c66b1381d9be15d4dca2f9001a738c418bc7a75d72106f112d92fe ssh-agent [2023-01-12T00:54:23.056Z] SSH_AUTH_SOCK=/tmp/ssh-yAeifyctUdrQ/agent.32 [2023-01-12T00:54:23.056Z] SSH_AGENT_PID=38 [2023-01-12T00:54:23.062Z] Running ssh-add (command line suppressed) [2023-01-12T00:54:23.167Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-395@tmp/private_key_8710363828239002955.key (/w/workspace/xfoundry_device-modbus-go_PR-395@tmp/private_key_8710363828239002955.key) [2023-01-12T00:54:23.181Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-01-12T00:54:23.471Z] + git tag --points-at HEAD [Pipeline] } [2023-01-12T00:54:23.488Z] $ docker exec --env ******** --env ******** 6959c59300c66b1381d9be15d4dca2f9001a738c418bc7a75d72106f112d92fe ssh-agent -k [2023-01-12T00:54:23.584Z] unset SSH_AUTH_SOCK; [2023-01-12T00:54:23.585Z] unset SSH_AGENT_PID; [2023-01-12T00:54:23.585Z] echo Agent pid 38 killed; [2023-01-12T00:54:23.594Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-01-12T00:54:23.616Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-01-12T00:54:23.616Z] [ssh-agent] Looking for ssh-agent implementation... [2023-01-12T00:54:23.738Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-01-12T00:54:23.741Z] $ docker exec 6959c59300c66b1381d9be15d4dca2f9001a738c418bc7a75d72106f112d92fe ssh-agent [2023-01-12T00:54:23.862Z] SSH_AUTH_SOCK=/tmp/ssh-LhfbvVQipISc/agent.71 [2023-01-12T00:54:23.862Z] SSH_AGENT_PID=77 [2023-01-12T00:54:23.867Z] Running ssh-add (command line suppressed) [2023-01-12T00:54:23.976Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-395@tmp/private_key_14294474191135789550.key (/w/workspace/xfoundry_device-modbus-go_PR-395@tmp/private_key_14294474191135789550.key) [2023-01-12T00:54:23.996Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-01-12T00:54:24.287Z] + git semver init [2023-01-12T00:54:24.546Z] 2023-01-12 00:54:24,487 [run_init] DEBUG init version:0.0.0 force:False [2023-01-12T00:54:24.546Z] 2023-01-12 00:54:24,487 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-modbus-go_PR-395/.semver [2023-01-12T00:54:24.546Z] 2023-01-12 00:54:24,488 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/xfoundry_device-modbus-go_PR-395/.semver [2023-01-12T00:54:24.546Z] 2023-01-12 00:54:24,488 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/xfoundry_device-modbus-go_PR-395/.semver'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-395, universal_newlines=False, shell=None, istream=None) [2023-01-12T00:54:25.488Z] 2023-01-12 00:54:25,363 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-modbus-go_PR-395/.git/info/exclude [2023-01-12T00:54:25.488Z] 2023-01-12 00:54:25,363 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-modbus-go_PR-395/.semver/PR-395 with force:False [2023-01-12T00:54:25.488Z] 2023-01-12 00:54:25,363 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-modbus-go_PR-395/.semver/PR-395 [2023-01-12T00:54:25.488Z] 2023-01-12 00:54:25,368 [execute] INFO git cat-file --batch-check [2023-01-12T00:54:25.488Z] 2023-01-12 00:54:25,369 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-395/.semver, universal_newlines=False, shell=None, istream=) [2023-01-12T00:54:25.488Z] 2023-01-12 00:54:25,387 [execute] INFO git cat-file --batch [2023-01-12T00:54:25.488Z] 2023-01-12 00:54:25,387 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-395/.semver, universal_newlines=False, shell=None, istream=) [2023-01-12T00:54:25.488Z] 2023-01-12 00:54:25,394 [read_version] DEBUG read version from /w/workspace/xfoundry_device-modbus-go_PR-395/.semver/PR-395 [2023-01-12T00:54:25.488Z] 0.0.0 [Pipeline] } [2023-01-12T00:54:25.498Z] $ docker exec --env ******** --env ******** 6959c59300c66b1381d9be15d4dca2f9001a738c418bc7a75d72106f112d92fe ssh-agent -k [2023-01-12T00:54:25.602Z] unset SSH_AUTH_SOCK; [2023-01-12T00:54:25.603Z] unset SSH_AGENT_PID; [2023-01-12T00:54:25.603Z] echo Agent pid 77 killed; [2023-01-12T00:54:25.612Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-01-12T00:54:25.911Z] + git semver [Pipeline] } [2023-01-12T00:54:26.185Z] $ docker stop --time=1 6959c59300c66b1381d9be15d4dca2f9001a738c418bc7a75d72106f112d92fe [2023-01-12T00:54:27.523Z] $ docker rm -f --volumes 6959c59300c66b1381d9be15d4dca2f9001a738c418bc7a75d72106f112d92fe [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-12T00:54:27.866Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-01-12T00:54:28.079Z] Stashed 1 file(s) [Pipeline] echo [2023-01-12T00:54:28.082Z] [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-12T00:54:28.214Z] provisioning config files... [2023-01-12T00:54:28.224Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-395@tmp/config4105607872983490128tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-12T00:54:28.517Z] ---> docker-login.sh [2023-01-12T00:54:28.517Z] nexus3.edgexfoundry.org:10001 [2023-01-12T00:54:28.517Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-12T00:54:28.517Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-12T00:54:28.517Z] Configure a credential helper to remove this warning. See [2023-01-12T00:54:28.517Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-12T00:54:28.517Z] [2023-01-12T00:54:28.517Z] Login Succeeded [2023-01-12T00:54:28.517Z] nexus3.edgexfoundry.org:10002 [2023-01-12T00:54:28.517Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-12T00:54:28.517Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-12T00:54:28.517Z] Configure a credential helper to remove this warning. See [2023-01-12T00:54:28.517Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-12T00:54:28.517Z] [2023-01-12T00:54:28.517Z] Login Succeeded [2023-01-12T00:54:28.517Z] nexus3.edgexfoundry.org:10003 [2023-01-12T00:54:28.776Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-12T00:54:28.776Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-12T00:54:28.776Z] Configure a credential helper to remove this warning. See [2023-01-12T00:54:28.776Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-12T00:54:28.776Z] [2023-01-12T00:54:28.776Z] Login Succeeded [2023-01-12T00:54:28.776Z] nexus3.edgexfoundry.org:10004 [2023-01-12T00:54:28.776Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-12T00:54:28.776Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-12T00:54:28.776Z] Configure a credential helper to remove this warning. See [2023-01-12T00:54:28.776Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-12T00:54:28.776Z] [2023-01-12T00:54:28.776Z] Login Succeeded [2023-01-12T00:54:28.776Z] docker.io [2023-01-12T00:54:29.039Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-12T00:54:29.039Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-12T00:54:29.039Z] Configure a credential helper to remove this warning. See [2023-01-12T00:54:29.039Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-12T00:54:29.039Z] [2023-01-12T00:54:29.039Z] Login Succeeded [2023-01-12T00:54:29.039Z] ---> docker-login.sh ends [Pipeline] } [2023-01-12T00:54:29.045Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-01-12T00:54:29.118Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-12T00:54:29.135Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-12T00:54:29.148Z] ========================================================= [2023-01-12T00:54:29.148Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-01-12T00:54:29.148Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-12T00:54:29.457Z] + 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-12T00:54:29.457Z] Sending build context to Docker daemon 6.33MB [2023-01-12T00:54:29.457Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2023-01-12T00:54:29.457Z] Step 2/10 : FROM ${BASE} AS builder [2023-01-12T00:54:29.457Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-01-12T00:54:29.457Z] 213ec9aee27d: Pulling fs layer [2023-01-12T00:54:29.457Z] 4583459ba037: Pulling fs layer [2023-01-12T00:54:29.457Z] 93c1e223e6f2: Pulling fs layer [2023-01-12T00:54:29.457Z] 53926ce57604: Pulling fs layer [2023-01-12T00:54:29.457Z] 21b2b0c7a3f4: Pulling fs layer [2023-01-12T00:54:29.457Z] 22ff95d597cd: Pulling fs layer [2023-01-12T00:54:29.457Z] 12d6caf4c0d1: Pulling fs layer [2023-01-12T00:54:29.457Z] 96b7cbca73a9: Pulling fs layer [2023-01-12T00:54:29.457Z] a7acece74701: Pulling fs layer [2023-01-12T00:54:29.457Z] 21b2b0c7a3f4: Waiting [2023-01-12T00:54:29.457Z] 22ff95d597cd: Waiting [2023-01-12T00:54:29.457Z] 12d6caf4c0d1: Waiting [2023-01-12T00:54:29.457Z] 96b7cbca73a9: Waiting [2023-01-12T00:54:29.457Z] a7acece74701: Waiting [2023-01-12T00:54:29.457Z] 53926ce57604: Waiting [2023-01-12T00:54:29.457Z] 93c1e223e6f2: Download complete [2023-01-12T00:54:29.457Z] 4583459ba037: Download complete [2023-01-12T00:54:29.722Z] 21b2b0c7a3f4: Download complete [2023-01-12T00:54:29.722Z] 22ff95d597cd: Verifying Checksum [2023-01-12T00:54:29.722Z] 22ff95d597cd: Download complete [2023-01-12T00:54:29.722Z] 213ec9aee27d: Verifying Checksum [2023-01-12T00:54:29.722Z] 213ec9aee27d: Download complete [2023-01-12T00:54:29.722Z] 12d6caf4c0d1: Download complete [2023-01-12T00:54:29.722Z] 213ec9aee27d: Pull complete [2023-01-12T00:54:29.983Z] 4583459ba037: Pull complete [2023-01-12T00:54:29.983Z] 93c1e223e6f2: Pull complete [2023-01-12T00:54:30.247Z] a7acece74701: Download complete [2023-01-12T00:54:30.511Z] 96b7cbca73a9: Verifying Checksum [2023-01-12T00:54:30.511Z] 96b7cbca73a9: Download complete [2023-01-12T00:54:30.511Z] 53926ce57604: Download complete [2023-01-12T00:54:34.697Z] 53926ce57604: Pull complete [2023-01-12T00:54:34.697Z] 21b2b0c7a3f4: Pull complete [2023-01-12T00:54:34.697Z] 22ff95d597cd: Pull complete [2023-01-12T00:54:34.697Z] 12d6caf4c0d1: Pull complete [2023-01-12T00:54:37.228Z] 96b7cbca73a9: Pull complete [2023-01-12T00:54:37.487Z] a7acece74701: Pull complete [2023-01-12T00:54:37.487Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-01-12T00:54:37.487Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-01-12T00:54:37.748Z] ---> db6d94c90886 [2023-01-12T00:54:37.748Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2023-01-12T00:54:42.024Z] ---> Running in 77ee6738eeaa [2023-01-12T00:54:42.024Z] Removing intermediate container 77ee6738eeaa [2023-01-12T00:54:42.024Z] ---> 0bcb4525f76e [2023-01-12T00:54:42.024Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-12T00:54:42.024Z] ---> Running in 75af18aa900f [2023-01-12T00:54:42.024Z] Removing intermediate container 75af18aa900f [2023-01-12T00:54:42.024Z] ---> bd0f9bd1ec85 [2023-01-12T00:54:42.024Z] Step 5/10 : RUN apk add --update --no-cache make git openssh [2023-01-12T00:54:42.024Z] ---> Running in 384ed6521468 [2023-01-12T00:54:42.024Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-12T00:54:42.286Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-12T00:54:42.547Z] (1/8) Installing openssh-keygen (9.0_p1-r2) [2023-01-12T00:54:42.547Z] (2/8) Installing libedit (20210910.3.1-r0) [2023-01-12T00:54:42.547Z] (3/8) Installing openssh-client-common (9.0_p1-r2) [2023-01-12T00:54:42.547Z] (4/8) Installing openssh-client-default (9.0_p1-r2) [2023-01-12T00:54:42.807Z] (5/8) Installing openssh-sftp-server (9.0_p1-r2) [2023-01-12T00:54:42.807Z] (6/8) Installing openssh-server-common (9.0_p1-r2) [2023-01-12T00:54:42.807Z] (7/8) Installing openssh-server (9.0_p1-r2) [2023-01-12T00:54:42.807Z] (8/8) Installing openssh (9.0_p1-r2) [2023-01-12T00:54:42.807Z] Executing busybox-1.35.0-r17.trigger [2023-01-12T00:54:42.807Z] OK: 217 MiB in 59 packages [2023-01-12T00:54:43.164Z] Still waiting to schedule task [2023-01-12T00:54:43.165Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-1999’ [2023-01-12T00:54:43.381Z] Removing intermediate container 384ed6521468 [2023-01-12T00:54:43.381Z] ---> 6956a1ac8c74 [2023-01-12T00:54:43.381Z] Step 6/10 : WORKDIR /device-modbus-go [2023-01-12T00:54:43.381Z] ---> Running in 636245766e8b [2023-01-12T00:54:43.381Z] Removing intermediate container 636245766e8b [2023-01-12T00:54:43.381Z] ---> ea85cf49fb29 [2023-01-12T00:54:43.381Z] Step 7/10 : COPY go.mod vendor* ./ [2023-01-12T00:54:43.641Z] ---> a13b1bb50236 [2023-01-12T00:54:43.641Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-12T00:54:43.641Z] ---> Running in 802247a5078e [2023-01-12T00:55:10.204Z] Removing intermediate container 802247a5078e [2023-01-12T00:55:10.204Z] ---> f0e9ddf5417e [2023-01-12T00:55:10.204Z] Step 9/10 : COPY . . [2023-01-12T00:55:10.204Z] ---> 8f0759fe77b4 [2023-01-12T00:55:10.204Z] Step 10/10 : RUN ${MAKE} [2023-01-12T00:55:10.204Z] ---> Running in 4e43faa20eb5 [2023-01-12T00:55:10.462Z] noop [2023-01-12T00:55:10.721Z] Removing intermediate container 4e43faa20eb5 [2023-01-12T00:55:10.721Z] ---> 0710358c3c1f [2023-01-12T00:55:10.721Z] Successfully built 0710358c3c1f [2023-01-12T00:55:10.721Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-12T00:55:11.034Z] + docker inspect -f . ci-base-image-x86_64 [2023-01-12T00:55:11.034Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-12T00:55:11.111Z] prd-ubuntu20.04-docker-8c-8g-2000 does not seem to be running inside a container [2023-01-12T00:55:11.141Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-395 -v /w/workspace/xfoundry_device-modbus-go_PR-395:/w/workspace/xfoundry_device-modbus-go_PR-395:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-395@tmp:/w/workspace/xfoundry_device-modbus-go_PR-395@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 ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-01-12T00:55:11.501Z] $ docker top 9d4f90c2bfdce9894bd77680de84323ed6bec3475f051f455c9315b8af703d45 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-12T00:55:11.848Z] + go version [2023-01-12T00:55:11.848Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-01-12T00:55:11.859Z] $ docker stop --time=1 9d4f90c2bfdce9894bd77680de84323ed6bec3475f051f455c9315b8af703d45 [2023-01-12T00:55:13.127Z] $ docker rm -f --volumes 9d4f90c2bfdce9894bd77680de84323ed6bec3475f051f455c9315b8af703d45 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-12T00:55:13.555Z] + docker inspect -f . ci-base-image-x86_64 [2023-01-12T00:55:13.555Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-12T00:55:13.630Z] prd-ubuntu20.04-docker-8c-8g-2000 does not seem to be running inside a container [2023-01-12T00:55:13.656Z] $ 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-395 -v /w/workspace/xfoundry_device-modbus-go_PR-395:/w/workspace/xfoundry_device-modbus-go_PR-395:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-395@tmp:/w/workspace/xfoundry_device-modbus-go_PR-395@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 ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-01-12T00:55:14.011Z] $ docker top ec858e61fc84bff5bec8049b272cd61ca61e2da53545e658968960393aabacdf -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-12T00:55:14.359Z] + git config --global --add safe.directory /w/workspace/xfoundry_device-modbus-go_PR-395 [Pipeline] fileExists [Pipeline] sh [2023-01-12T00:55:14.650Z] + make test [2023-01-12T00:55:14.650Z] go test ./... -coverprofile=coverage.out [2023-01-12T00:55:15.216Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2023-01-12T00:55:25.183Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2023-01-12T00:55:25.183Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.013s coverage: 47.7% of statements [2023-01-12T00:55:31.762Z] 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-12T00:55:31.762Z] go vet ./... [2023-01-12T00:55:35.947Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-01-12T00:55:35.947Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-01-12T00:55:35.947Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-01-12T00:55:35.960Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-01-12T00:55:35.973Z] $ docker stop --time=1 ec858e61fc84bff5bec8049b272cd61ca61e2da53545e658968960393aabacdf [2023-01-12T00:55:39.147Z] $ docker rm -f --volumes ec858e61fc84bff5bec8049b272cd61ca61e2da53545e658968960393aabacdf [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-12T00:55:39.597Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-01-12T00:55:39.642Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-01-12T00:55:40.166Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-01-12T00:55:40.460Z] + ls -al . [2023-01-12T00:55:40.461Z] total 196 [2023-01-12T00:55:40.461Z] drwxrwxr-x 10 jenkins jenkins 4096 Jan 12 00:55 . [2023-01-12T00:55:40.461Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 12 00:54 .. [2023-01-12T00:55:40.461Z] -rw-rw-r-- 1 jenkins jenkins 140 Jan 12 00:54 .dockerignore [2023-01-12T00:55:40.461Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 12 00:55 .git [2023-01-12T00:55:40.461Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 12 00:54 .github [2023-01-12T00:55:40.461Z] -rw-rw-r-- 1 jenkins jenkins 331 Jan 12 00:54 .gitignore [2023-01-12T00:55:40.461Z] -rw-rw-r-- 1 jenkins jenkins 41 Jan 12 00:54 .golangci.yml [2023-01-12T00:55:40.461Z] drwxr-xr-x 3 jenkins jenkins 4096 Jan 12 00:54 .semver [2023-01-12T00:55:40.461Z] -rw-rw-r-- 1 jenkins jenkins 10017 Jan 12 00:54 Attribution.txt [2023-01-12T00:55:40.461Z] -rw-rw-r-- 1 jenkins jenkins 11576 Jan 12 00:54 CHANGELOG.md [2023-01-12T00:55:40.461Z] -rw-rw-r-- 1 jenkins jenkins 1365 Jan 12 00:54 Dockerfile [2023-01-12T00:55:40.461Z] -rw-rw-r-- 1 jenkins jenkins 677 Jan 12 00:54 GOVERNANCE.md [2023-01-12T00:55:40.461Z] -rw-rw-r-- 1 jenkins jenkins 680 Jan 12 00:54 Jenkinsfile [2023-01-12T00:55:40.461Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jan 12 00:54 LICENSE [2023-01-12T00:55:40.461Z] -rw-rw-r-- 1 jenkins jenkins 1670 Jan 12 00:54 Makefile [2023-01-12T00:55:40.461Z] -rw-rw-r-- 1 jenkins jenkins 622 Jan 12 00:54 OWNERS.md [2023-01-12T00:55:40.461Z] -rw-rw-r-- 1 jenkins jenkins 4061 Jan 12 00:54 README.md [2023-01-12T00:55:40.461Z] -rw-rw-r-- 1 jenkins jenkins 5 Jan 12 00:54 VERSION [2023-01-12T00:55:40.461Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 12 00:54 bin [2023-01-12T00:55:40.461Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 12 00:54 cmd [2023-01-12T00:55:40.461Z] -rw-r--r-- 1 jenkins jenkins 23241 Jan 12 00:55 coverage.out [2023-01-12T00:55:40.461Z] -rw-rw-r-- 1 jenkins jenkins 3584 Jan 12 00:54 go.mod [2023-01-12T00:55:40.461Z] -rw-rw-r-- 1 jenkins jenkins 45355 Jan 12 00:54 go.sum [2023-01-12T00:55:40.461Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 12 00:54 internal [2023-01-12T00:55:40.461Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 12 00:54 simulator [2023-01-12T00:55:40.461Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 12 00:54 snap [2023-01-12T00:55:40.461Z] -rw-rw-r-- 1 jenkins jenkins 229 Jan 12 00:54 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-12T00:55:40.795Z] + 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=43def9f56f07f0615e295faed412cacf1e540992 --label arch=amd64 --label version=0.0.0 . [2023-01-12T00:55:40.795Z] Sending build context to Docker daemon 6.354MB [2023-01-12T00:55:40.795Z] Step 1/22 : ARG BASE=golang:1.18-alpine3.16 [2023-01-12T00:55:40.795Z] Step 2/22 : FROM ${BASE} AS builder [2023-01-12T00:55:40.795Z] ---> 0710358c3c1f [2023-01-12T00:55:40.795Z] Step 3/22 : ARG ADD_BUILD_TAGS="" [2023-01-12T00:55:41.054Z] ---> Running in 8af8dbcbe2b2 [2023-01-12T00:55:41.054Z] Removing intermediate container 8af8dbcbe2b2 [2023-01-12T00:55:41.054Z] ---> 7bc839e7e271 [2023-01-12T00:55:41.054Z] Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-12T00:55:41.054Z] ---> Running in 418ef12cf28e [2023-01-12T00:55:41.054Z] Removing intermediate container 418ef12cf28e [2023-01-12T00:55:41.054Z] ---> 84075af2826d [2023-01-12T00:55:41.054Z] Step 5/22 : RUN apk add --update --no-cache make git openssh [2023-01-12T00:55:41.054Z] ---> Running in c3b9a0bafaca [2023-01-12T00:55:41.622Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-12T00:55:41.622Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-12T00:55:41.882Z] OK: 217 MiB in 59 packages [2023-01-12T00:55:42.143Z] Removing intermediate container c3b9a0bafaca [2023-01-12T00:55:42.143Z] ---> 3da1a6211fd6 [2023-01-12T00:55:42.143Z] Step 6/22 : WORKDIR /device-modbus-go [2023-01-12T00:55:42.143Z] ---> Running in 34dc05fbe051 [2023-01-12T00:55:42.405Z] Removing intermediate container 34dc05fbe051 [2023-01-12T00:55:42.405Z] ---> 230666fcc2ca [2023-01-12T00:55:42.405Z] Step 7/22 : COPY go.mod vendor* ./ [2023-01-12T00:55:42.405Z] ---> 64c04acdea3a [2023-01-12T00:55:42.405Z] Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-12T00:55:42.405Z] ---> Running in 2a20ce0053b3 [2023-01-12T00:55:43.432Z] Removing intermediate container 2a20ce0053b3 [2023-01-12T00:55:43.432Z] ---> d0e657c66d4a [2023-01-12T00:55:43.432Z] Step 9/22 : COPY . . [2023-01-12T00:55:43.691Z] ---> f80dc71abb12 [2023-01-12T00:55:43.691Z] Step 10/22 : RUN ${MAKE} [2023-01-12T00:55:43.691Z] ---> Running in 28d1316251b3 [2023-01-12T00:55:43.950Z] 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-12T00:56:05.907Z] Removing intermediate container 28d1316251b3 [2023-01-12T00:56:05.907Z] ---> 14c4b1892f69 [2023-01-12T00:56:05.907Z] Step 11/22 : FROM alpine:3.14 [2023-01-12T00:56:05.907Z] 3.14: Pulling from library/alpine [2023-01-12T00:56:05.907Z] c7ed990a2339: Pulling fs layer [2023-01-12T00:56:05.907Z] c7ed990a2339: Verifying Checksum [2023-01-12T00:56:05.907Z] c7ed990a2339: Download complete [2023-01-12T00:56:05.907Z] c7ed990a2339: Pull complete [2023-01-12T00:56:05.907Z] Digest: sha256:4c869a63e1b7c0722fed1e402a6466610327c3b83bdddb94bd94fb71da7f638a [2023-01-12T00:56:05.907Z] Status: Downloaded newer image for alpine:3.14 [2023-01-12T00:56:05.907Z] ---> dd53f409bf0b [2023-01-12T00:56:05.907Z] Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2023-01-12T00:56:05.907Z] ---> Running in 72fca4ca8fb4 [2023-01-12T00:56:05.907Z] Removing intermediate container 72fca4ca8fb4 [2023-01-12T00:56:05.907Z] ---> 1feb6027dfb7 [2023-01-12T00:56:05.907Z] Step 13/22 : RUN apk add --update --no-cache dumb-init [2023-01-12T00:56:05.907Z] ---> Running in 12d15e0d08b9 [2023-01-12T00:56:05.907Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2023-01-12T00:56:06.166Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2023-01-12T00:56:06.426Z] (1/1) Installing dumb-init (1.2.5-r1) [2023-01-12T00:56:06.426Z] Executing busybox-1.33.1-r8.trigger [2023-01-12T00:56:06.426Z] OK: 6 MiB in 15 packages [2023-01-12T00:56:06.998Z] Removing intermediate container 12d15e0d08b9 [2023-01-12T00:56:06.998Z] ---> dcecbbc7ad9d [2023-01-12T00:56:06.998Z] Step 14/22 : COPY --from=builder /device-modbus-go/cmd / [2023-01-12T00:56:07.986Z] ---> 52d07703c179 [2023-01-12T00:56:07.986Z] Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / [2023-01-12T00:56:07.986Z] ---> cbf4315c2d44 [2023-01-12T00:56:07.986Z] Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / [2023-01-12T00:56:07.986Z] ---> 9eb60f4af505 [2023-01-12T00:56:07.986Z] Step 17/22 : EXPOSE 59901 [2023-01-12T00:56:07.986Z] ---> Running in c5c0df6f6477 [2023-01-12T00:56:08.246Z] Removing intermediate container c5c0df6f6477 [2023-01-12T00:56:08.246Z] ---> 97b3c8088d94 [2023-01-12T00:56:08.246Z] Step 18/22 : ENTRYPOINT ["/device-modbus"] [2023-01-12T00:56:08.246Z] ---> Running in 93ea74182e37 [2023-01-12T00:56:08.246Z] Removing intermediate container 93ea74182e37 [2023-01-12T00:56:08.246Z] ---> 495b2f3b79dd [2023-01-12T00:56:08.246Z] Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-01-12T00:56:08.246Z] ---> Running in 63d337be8ba2 [2023-01-12T00:56:08.246Z] Removing intermediate container 63d337be8ba2 [2023-01-12T00:56:08.246Z] ---> ca7cf47cfa19 [2023-01-12T00:56:08.246Z] Step 20/22 : LABEL arch=amd64 [2023-01-12T00:56:08.246Z] ---> Running in 9c46160d7773 [2023-01-12T00:56:08.507Z] Removing intermediate container 9c46160d7773 [2023-01-12T00:56:08.507Z] ---> 5923e122e23d [2023-01-12T00:56:08.507Z] Step 21/22 : LABEL git_sha=43def9f56f07f0615e295faed412cacf1e540992 [2023-01-12T00:56:08.507Z] ---> Running in 0a738535de3d [2023-01-12T00:56:08.507Z] Removing intermediate container 0a738535de3d [2023-01-12T00:56:08.507Z] ---> 11c643e7a253 [2023-01-12T00:56:08.507Z] Step 22/22 : LABEL version=0.0.0 [2023-01-12T00:56:08.507Z] ---> Running in 1e9b85e331c4 [2023-01-12T00:56:08.507Z] Removing intermediate container 1e9b85e331c4 [2023-01-12T00:56:08.507Z] ---> 6291fc04b7b6 [2023-01-12T00:56:08.507Z] [Warning] One or more build-args [ARCH] were not consumed [2023-01-12T00:56:08.507Z] Successfully built 6291fc04b7b6 [2023-01-12T00:56:08.507Z] 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-12T00:56:08.949Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-12T00:56:08.949Z] [2023-01-12T00:56:08.949Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-12T00:56:09.254Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-12T00:56:09.254Z] latest: Pulling from edgex-lftools-log-publisher [2023-01-12T00:56:09.254Z] 5eb5b503b376: Pulling fs layer [2023-01-12T00:56:09.254Z] 5c69ac0246d0: Pulling fs layer [2023-01-12T00:56:09.254Z] ec43610c2a17: Pulling fs layer [2023-01-12T00:56:09.254Z] 3a2ae6a8a46f: Pulling fs layer [2023-01-12T00:56:09.254Z] 33b1e0a273af: Pulling fs layer [2023-01-12T00:56:09.254Z] 5d3b04190fa2: Pulling fs layer [2023-01-12T00:56:09.254Z] 2f39f015ded8: Pulling fs layer [2023-01-12T00:56:09.254Z] 33b1e0a273af: Waiting [2023-01-12T00:56:09.254Z] 5d3b04190fa2: Waiting [2023-01-12T00:56:09.254Z] 2f39f015ded8: Waiting [2023-01-12T00:56:09.254Z] 3a2ae6a8a46f: Waiting [2023-01-12T00:56:09.254Z] 5c69ac0246d0: Download complete [2023-01-12T00:56:09.254Z] 3a2ae6a8a46f: Download complete [2023-01-12T00:56:09.254Z] 33b1e0a273af: Verifying Checksum [2023-01-12T00:56:09.254Z] 33b1e0a273af: Download complete [2023-01-12T00:56:09.254Z] 5d3b04190fa2: Verifying Checksum [2023-01-12T00:56:09.254Z] 5d3b04190fa2: Download complete [2023-01-12T00:56:09.516Z] ec43610c2a17: Verifying Checksum [2023-01-12T00:56:09.516Z] ec43610c2a17: Download complete [2023-01-12T00:56:09.516Z] 5eb5b503b376: Verifying Checksum [2023-01-12T00:56:09.516Z] 5eb5b503b376: Download complete [2023-01-12T00:56:10.084Z] 2f39f015ded8: Download complete [2023-01-12T00:56:11.021Z] 5eb5b503b376: Pull complete [2023-01-12T00:56:11.021Z] 5c69ac0246d0: Pull complete [2023-01-12T00:56:11.588Z] ec43610c2a17: Pull complete [2023-01-12T00:56:11.588Z] 3a2ae6a8a46f: Pull complete [2023-01-12T00:56:11.847Z] 33b1e0a273af: Pull complete [2023-01-12T00:56:11.847Z] 5d3b04190fa2: Pull complete [2023-01-12T00:56:17.119Z] 2f39f015ded8: Pull complete [2023-01-12T00:56:17.120Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-01-12T00:56:17.120Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-12T00:56:17.120Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-12T00:56:17.202Z] prd-ubuntu20.04-docker-8c-8g-2000 does not seem to be running inside a container [2023-01-12T00:56:17.237Z] $ 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-395 -v /w/workspace/xfoundry_device-modbus-go_PR-395:/w/workspace/xfoundry_device-modbus-go_PR-395:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-395@tmp:/w/workspace/xfoundry_device-modbus-go_PR-395@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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-01-12T00:56:20.330Z] $ docker top 7444b9bc8d36b6c7382d835aebee1ad410053fc68ed7e440ba689b473252e672 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-12T00:56:20.734Z] ---> job-cost.sh [2023-01-12T00:56:20.734Z] lf-activate-venv: SKIPPING [2023-01-12T00:56:20.734Z] INFO: No Stack... [2023-01-12T00:56:20.995Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-01-12T00:56:21.563Z] INFO: Archiving Costs [Pipeline] sh [2023-01-12T00:56:21.853Z] + cat /w/workspace/xfoundry_device-modbus-go_PR-395/archives/cost.csv [2023-01-12T00:56:21.853Z] + cut -d, -f6 [Pipeline] lock [2023-01-12T00:56:21.868Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-395-3-stack-cost] [2023-01-12T00:56:21.874Z] Resource [jenkins-edgexfoundry-device-modbus-go-PR-395-3-stack-cost] did not exist. Created. [2023-01-12T00:56:21.874Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-395-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-01-12T00:56:22.183Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-01-12T00:56:22.211Z] Stashed 1 file(s) [Pipeline] } [2023-01-12T00:56:22.217Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-395-3-stack-cost] [Pipeline] // lock [Pipeline] } [2023-01-12T00:56:22.233Z] $ docker stop --time=1 7444b9bc8d36b6c7382d835aebee1ad410053fc68ed7e440ba689b473252e672 [2023-01-12T00:56:23.396Z] $ docker rm -f --volumes 7444b9bc8d36b6c7382d835aebee1ad410053fc68ed7e440ba689b473252e672 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-01-12T00:58:02.645Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-2001 in /w/workspace/xfoundry_device-modbus-go_PR-395 [Pipeline] { [Pipeline] ws [2023-01-12T00:58:02.657Z] Running in /w/workspace/device-modbus-go/3 [Pipeline] { [Pipeline] checkout [2023-01-12T00:58:02.699Z] Selected Git installation does not exist. Using Default [2023-01-12T00:58:02.699Z] The recommended git tool is: NONE [2023-01-12T00:58:08.708Z] using credential edgex-jenkins-ssh [2023-01-12T00:58:08.727Z] Cloning the remote Git repository [2023-01-12T00:58:08.779Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2023-01-12T00:58:08.863Z] > git init /w/workspace/device-modbus-go/3 # timeout=10 [2023-01-12T00:58:09.044Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2023-01-12T00:58:09.045Z] > git --version # timeout=10 [2023-01-12T00:58:09.067Z] > git --version # 'git version 2.25.1' [2023-01-12T00:58:09.069Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-12T00:58:09.144Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-01-12T00:58:10.263Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2023-01-12T00:58:10.288Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-01-12T00:58:11.285Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2023-01-12T00:58:11.332Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2023-01-12T00:58:11.333Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-12T00:58:11.350Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/395/head:refs/remotes/origin/PR-395 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-01-12T00:58:11.934Z] Merging remotes/origin/main commit 8c18bb98ae9dac01b00ec9cd5d6b8c37f768cff1 into PR head commit 5cba2203e71886d94050145eddf79272566091df [2023-01-12T00:58:12.236Z] Merge succeeded, producing 7fbe59b86a0c36e0208e5ec50f06e4ca176eb085 [2023-01-12T00:58:12.237Z] Checking out Revision 7fbe59b86a0c36e0208e5ec50f06e4ca176eb085 (PR-395) [2023-01-12T00:58:11.955Z] > git config core.sparsecheckout # timeout=10 [2023-01-12T00:58:11.985Z] > git checkout -f 5cba2203e71886d94050145eddf79272566091df # timeout=10 [2023-01-12T00:58:12.084Z] > git remote # timeout=10 [2023-01-12T00:58:12.107Z] > git config --get remote.origin.url # timeout=10 [2023-01-12T00:58:12.129Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-12T00:58:12.145Z] > git merge 8c18bb98ae9dac01b00ec9cd5d6b8c37f768cff1 # timeout=10 [2023-01-12T00:58:12.213Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-01-12T00:58:12.244Z] > git config core.sparsecheckout # timeout=10 [2023-01-12T00:58:12.261Z] > git checkout -f 7fbe59b86a0c36e0208e5ec50f06e4ca176eb085 # timeout=10 [2023-01-12T00:58:15.797Z] Commit message: "Merge commit '8c18bb98ae9dac01b00ec9cd5d6b8c37f768cff1' into HEAD" [2023-01-12T00:58:15.824Z] First time build. Skipping changelog. [2023-01-12T00:58:15.805Z] > git rev-list --no-walk d6f93ad6111a7a9ffab800ba0aa601794e82b2f8 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-12T00:58:16.800Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-01-12T00:58:16.800Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-01-12T00:58:16.800Z] Dload Upload Total Spent Left Speed [2023-01-12T00:58:16.800Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 85577 0 --:--:-- --:--:-- --:--:-- 85577 [Pipeline] sh [2023-01-12T00:58:17.531Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-01-12T00:58:17.873Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-01-12T00:58:17.873Z] + sudo tee /etc/docker/daemon.new [2023-01-12T00:58:17.873Z] { [2023-01-12T00:58:17.873Z] "registry-mirrors": [ [2023-01-12T00:58:17.873Z] "https://nexus3.edgexfoundry.org:10001" [2023-01-12T00:58:17.873Z] ], [2023-01-12T00:58:17.873Z] "bip": "10.250.0.254/24", [2023-01-12T00:58:17.873Z] "hosts": [ [2023-01-12T00:58:17.873Z] "tcp://0.0.0.0:5555", [2023-01-12T00:58:17.873Z] "unix:///var/run/docker.sock" [2023-01-12T00:58:17.873Z] ], [2023-01-12T00:58:17.873Z] "mtu": 1458, [2023-01-12T00:58:17.873Z] "selinux-enabled": true, [2023-01-12T00:58:17.873Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-01-12T00:58:17.873Z] } [Pipeline] sh [2023-01-12T00:58:18.228Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-01-12T00:58:18.571Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-12T00:58:36.885Z] provisioning config files... [2023-01-12T00:58:36.915Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/3@tmp/config12050713183310182397tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-12T00:58:37.286Z] ---> docker-login.sh [2023-01-12T00:58:37.286Z] nexus3.edgexfoundry.org:10001 [2023-01-12T00:58:37.881Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-12T00:58:38.156Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-12T00:58:38.156Z] Configure a credential helper to remove this warning. See [2023-01-12T00:58:38.156Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-12T00:58:38.156Z] [2023-01-12T00:58:38.156Z] Login Succeeded [2023-01-12T00:58:38.156Z] nexus3.edgexfoundry.org:10002 [2023-01-12T00:58:38.427Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-12T00:58:38.427Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-12T00:58:38.427Z] Configure a credential helper to remove this warning. See [2023-01-12T00:58:38.427Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-12T00:58:38.427Z] [2023-01-12T00:58:38.427Z] Login Succeeded [2023-01-12T00:58:38.427Z] nexus3.edgexfoundry.org:10003 [2023-01-12T00:58:38.699Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-12T00:58:38.699Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-12T00:58:38.699Z] Configure a credential helper to remove this warning. See [2023-01-12T00:58:38.699Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-12T00:58:38.699Z] [2023-01-12T00:58:38.699Z] Login Succeeded [2023-01-12T00:58:38.699Z] nexus3.edgexfoundry.org:10004 [2023-01-12T00:58:38.971Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-12T00:58:39.245Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-12T00:58:39.245Z] Configure a credential helper to remove this warning. See [2023-01-12T00:58:39.245Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-12T00:58:39.245Z] [2023-01-12T00:58:39.245Z] Login Succeeded [2023-01-12T00:58:39.245Z] docker.io [2023-01-12T00:58:39.515Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-12T00:58:39.786Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-12T00:58:39.786Z] Configure a credential helper to remove this warning. See [2023-01-12T00:58:39.786Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-12T00:58:39.786Z] [2023-01-12T00:58:39.786Z] Login Succeeded [2023-01-12T00:58:39.786Z] ---> docker-login.sh ends [Pipeline] } [2023-01-12T00:58:39.800Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-01-12T00:58:40.081Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-12T00:58:40.093Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-12T00:58:40.104Z] ========================================================= [2023-01-12T00:58:40.104Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-01-12T00:58:40.104Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-12T00:58:40.459Z] + 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-12T00:58:40.733Z] Sending build context to Docker daemon 3.301MB [2023-01-12T00:58:40.733Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2023-01-12T00:58:40.733Z] Step 2/10 : FROM ${BASE} AS builder [2023-01-12T00:58:41.004Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-01-12T00:58:41.004Z] 9b18e9b68314: Pulling fs layer [2023-01-12T00:58:41.004Z] 35d82f9e3411: Pulling fs layer [2023-01-12T00:58:41.004Z] e16973657156: Pulling fs layer [2023-01-12T00:58:41.004Z] fc693d55d65f: Pulling fs layer [2023-01-12T00:58:41.004Z] 7e9fc2657dce: Pulling fs layer [2023-01-12T00:58:41.004Z] dda99020689f: Pulling fs layer [2023-01-12T00:58:41.004Z] db1c61fa0a46: Pulling fs layer [2023-01-12T00:58:41.004Z] 891c053d2c06: Pulling fs layer [2023-01-12T00:58:41.004Z] fc693d55d65f: Waiting [2023-01-12T00:58:41.004Z] 7e9fc2657dce: Waiting [2023-01-12T00:58:41.004Z] dda99020689f: Waiting [2023-01-12T00:58:41.004Z] db1c61fa0a46: Waiting [2023-01-12T00:58:41.004Z] 891c053d2c06: Waiting [2023-01-12T00:58:41.004Z] e16973657156: Verifying Checksum [2023-01-12T00:58:41.004Z] e16973657156: Download complete [2023-01-12T00:58:41.004Z] 35d82f9e3411: Verifying Checksum [2023-01-12T00:58:41.004Z] 35d82f9e3411: Download complete [2023-01-12T00:58:41.004Z] 7e9fc2657dce: Download complete [2023-01-12T00:58:41.004Z] dda99020689f: Verifying Checksum [2023-01-12T00:58:41.004Z] dda99020689f: Download complete [2023-01-12T00:58:41.004Z] 9b18e9b68314: Verifying Checksum [2023-01-12T00:58:41.984Z] 9b18e9b68314: Pull complete [2023-01-12T00:58:42.258Z] 891c053d2c06: Verifying Checksum [2023-01-12T00:58:42.258Z] 891c053d2c06: Download complete [2023-01-12T00:58:42.531Z] 35d82f9e3411: Pull complete [2023-01-12T00:58:42.806Z] e16973657156: Pull complete [2023-01-12T00:58:43.396Z] db1c61fa0a46: Verifying Checksum [2023-01-12T00:58:43.396Z] db1c61fa0a46: Download complete [2023-01-12T00:58:43.988Z] fc693d55d65f: Verifying Checksum [2023-01-12T00:58:43.988Z] fc693d55d65f: Download complete [2023-01-12T00:58:56.340Z] fc693d55d65f: Pull complete [2023-01-12T00:58:56.340Z] 7e9fc2657dce: Pull complete [2023-01-12T00:58:56.340Z] dda99020689f: Pull complete [2023-01-12T00:59:03.007Z] db1c61fa0a46: Pull complete [2023-01-12T00:59:04.431Z] 891c053d2c06: Pull complete [2023-01-12T00:59:04.702Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-01-12T00:59:04.702Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-01-12T00:59:04.702Z] ---> f96f9c87975a [2023-01-12T00:59:04.702Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2023-01-12T00:59:06.677Z] ---> Running in ef2f590dfebf [2023-01-12T00:59:06.946Z] Removing intermediate container ef2f590dfebf [2023-01-12T00:59:06.946Z] ---> 90999de46b51 [2023-01-12T00:59:06.946Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-12T00:59:07.219Z] ---> Running in 11c75c384dcd [2023-01-12T00:59:07.488Z] Removing intermediate container 11c75c384dcd [2023-01-12T00:59:07.488Z] ---> d92d1fc6480d [2023-01-12T00:59:07.488Z] Step 5/10 : RUN apk add --update --no-cache make git openssh [2023-01-12T00:59:07.488Z] ---> Running in 85b106ed8692 [2023-01-12T00:59:08.911Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-12T00:59:09.502Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-12T00:59:10.470Z] (1/8) Installing openssh-keygen (9.0_p1-r2) [2023-01-12T00:59:10.470Z] (2/8) Installing libedit (20210910.3.1-r0) [2023-01-12T00:59:10.743Z] (3/8) Installing openssh-client-common (9.0_p1-r2) [2023-01-12T00:59:10.743Z] (4/8) Installing openssh-client-default (9.0_p1-r2) [2023-01-12T00:59:10.743Z] (5/8) Installing openssh-sftp-server (9.0_p1-r2) [2023-01-12T00:59:10.743Z] (6/8) Installing openssh-server-common (9.0_p1-r2) [2023-01-12T00:59:10.743Z] (7/8) Installing openssh-server (9.0_p1-r2) [2023-01-12T00:59:10.743Z] (8/8) Installing openssh (9.0_p1-r2) [2023-01-12T00:59:10.743Z] Executing busybox-1.35.0-r17.trigger [2023-01-12T00:59:10.743Z] OK: 228 MiB in 59 packages [2023-01-12T00:59:12.162Z] Removing intermediate container 85b106ed8692 [2023-01-12T00:59:12.162Z] ---> c28998a49d83 [2023-01-12T00:59:12.162Z] Step 6/10 : WORKDIR /device-modbus-go [2023-01-12T00:59:12.162Z] ---> Running in b7054d3c0d23 [2023-01-12T00:59:12.432Z] Removing intermediate container b7054d3c0d23 [2023-01-12T00:59:12.432Z] ---> a7cbc0ee8e4f [2023-01-12T00:59:12.432Z] Step 7/10 : COPY go.mod vendor* ./ [2023-01-12T00:59:13.021Z] ---> 83048c1e79e3 [2023-01-12T00:59:13.021Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-12T00:59:13.021Z] ---> Running in 66df7c0caefe [2023-01-12T01:00:20.938Z] Removing intermediate container 66df7c0caefe [2023-01-12T01:00:20.938Z] ---> 53b0cd00c170 [2023-01-12T01:00:20.938Z] Step 9/10 : COPY . . [2023-01-12T01:00:20.938Z] ---> 05b7156d0ea4 [2023-01-12T01:00:20.938Z] Step 10/10 : RUN ${MAKE} [2023-01-12T01:00:20.938Z] ---> Running in acd6a401ffb7 [2023-01-12T01:00:20.938Z] noop [2023-01-12T01:00:20.938Z] Removing intermediate container acd6a401ffb7 [2023-01-12T01:00:20.938Z] ---> 09ce28b86e46 [2023-01-12T01:00:20.938Z] Successfully built 09ce28b86e46 [2023-01-12T01:00:20.938Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-12T01:00:21.304Z] + docker inspect -f . ci-base-image-arm64 [2023-01-12T01:00:21.304Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-12T01:00:21.536Z] prd-ubuntu20.04-docker-arm64-4c-16g-2001 does not seem to be running inside a container [2023-01-12T01:00:21.613Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/3 -v /w/workspace/device-modbus-go/3:/w/workspace/device-modbus-go/3:rw,z -v /w/workspace/device-modbus-go/3@tmp:/w/workspace/device-modbus-go/3@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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-01-12T01:00:24.295Z] $ docker top 4c3319fba69b15cb0d002e79f3572cd258a71e6866aee141b030a8206afbefba -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-12T01:00:25.149Z] + go version [2023-01-12T01:00:25.149Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-01-12T01:00:25.173Z] $ docker stop --time=1 4c3319fba69b15cb0d002e79f3572cd258a71e6866aee141b030a8206afbefba [2023-01-12T01:00:26.826Z] $ docker rm -f --volumes 4c3319fba69b15cb0d002e79f3572cd258a71e6866aee141b030a8206afbefba [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-12T01:00:27.358Z] + docker inspect -f . ci-base-image-arm64 [2023-01-12T01:00:27.358Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-12T01:00:27.547Z] prd-ubuntu20.04-docker-arm64-4c-16g-2001 does not seem to be running inside a container [2023-01-12T01:00:27.619Z] $ 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/3 -v /w/workspace/device-modbus-go/3:/w/workspace/device-modbus-go/3:rw,z -v /w/workspace/device-modbus-go/3@tmp:/w/workspace/device-modbus-go/3@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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-01-12T01:00:28.849Z] $ docker top 6add316f2e93072d38dc9ca333027ae7e632821c506ab921053219babed95d7d -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-12T01:00:29.681Z] + git config --global --add safe.directory /w/workspace/device-modbus-go/3 [Pipeline] fileExists [Pipeline] sh [2023-01-12T01:00:30.339Z] + make test [2023-01-12T01:00:30.339Z] go test ./... -coverprofile=coverage.out [2023-01-12T01:00:31.751Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2023-01-12T01:02:08.433Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2023-01-12T01:02:08.433Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.065s coverage: 47.7% of statements [2023-01-12T01:02:08.433Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-01-12T01:02:08.433Z] go vet ./... [2023-01-12T01:02:30.529Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-01-12T01:02:30.529Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-01-12T01:02:30.529Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-01-12T01:02:30.550Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-01-12T01:02:30.561Z] $ docker stop --time=1 6add316f2e93072d38dc9ca333027ae7e632821c506ab921053219babed95d7d [2023-01-12T01:02:32.486Z] $ docker rm -f --volumes 6add316f2e93072d38dc9ca333027ae7e632821c506ab921053219babed95d7d [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-12T01:02:33.544Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-01-12T01:02:33.572Z] Warning: overwriting stash ‘coverage-report’ [2023-01-12T01:02:34.457Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-12T01:02:34.869Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-01-12T01:02:35.223Z] + ls -al . [2023-01-12T01:02:35.223Z] total 192 [2023-01-12T01:02:35.223Z] drwxrwxr-x 9 jenkins jenkins 4096 Jan 12 01:00 . [2023-01-12T01:02:35.223Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 12 00:58 .. [2023-01-12T01:02:35.223Z] -rw-rw-r-- 1 jenkins jenkins 140 Jan 12 00:58 .dockerignore [2023-01-12T01:02:35.223Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 12 00:58 .git [2023-01-12T01:02:35.223Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 12 00:58 .github [2023-01-12T01:02:35.223Z] -rw-rw-r-- 1 jenkins jenkins 331 Jan 12 00:58 .gitignore [2023-01-12T01:02:35.223Z] -rw-rw-r-- 1 jenkins jenkins 41 Jan 12 00:58 .golangci.yml [2023-01-12T01:02:35.223Z] -rw-rw-r-- 1 jenkins jenkins 10017 Jan 12 00:58 Attribution.txt [2023-01-12T01:02:35.223Z] -rw-rw-r-- 1 jenkins jenkins 11576 Jan 12 00:58 CHANGELOG.md [2023-01-12T01:02:35.223Z] -rw-rw-r-- 1 jenkins jenkins 1365 Jan 12 00:58 Dockerfile [2023-01-12T01:02:35.223Z] -rw-rw-r-- 1 jenkins jenkins 677 Jan 12 00:58 GOVERNANCE.md [2023-01-12T01:02:35.223Z] -rw-rw-r-- 1 jenkins jenkins 680 Jan 12 00:58 Jenkinsfile [2023-01-12T01:02:35.223Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jan 12 00:58 LICENSE [2023-01-12T01:02:35.223Z] -rw-rw-r-- 1 jenkins jenkins 1670 Jan 12 00:58 Makefile [2023-01-12T01:02:35.223Z] -rw-rw-r-- 1 jenkins jenkins 622 Jan 12 00:58 OWNERS.md [2023-01-12T01:02:35.223Z] -rw-rw-r-- 1 jenkins jenkins 4061 Jan 12 00:58 README.md [2023-01-12T01:02:35.223Z] -rw-rw-r-- 1 jenkins jenkins 5 Jan 12 00:54 VERSION [2023-01-12T01:02:35.223Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 12 00:58 bin [2023-01-12T01:02:35.223Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 12 00:58 cmd [2023-01-12T01:02:35.223Z] -rw-r--r-- 1 jenkins jenkins 23241 Jan 12 01:02 coverage.out [2023-01-12T01:02:35.223Z] -rw-rw-r-- 1 jenkins jenkins 3584 Jan 12 00:58 go.mod [2023-01-12T01:02:35.223Z] -rw-rw-r-- 1 jenkins jenkins 45355 Jan 12 00:58 go.sum [2023-01-12T01:02:35.223Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 12 00:58 internal [2023-01-12T01:02:35.223Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 12 00:58 simulator [2023-01-12T01:02:35.223Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 12 00:58 snap [2023-01-12T01:02:35.223Z] -rw-rw-r-- 1 jenkins jenkins 229 Jan 12 00:58 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-12T01:02:35.590Z] + 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=7fbe59b86a0c36e0208e5ec50f06e4ca176eb085 --label arch=arm64 --label version=0.0.0 . [2023-01-12T01:02:35.859Z] Sending build context to Docker daemon 3.325MB [2023-01-12T01:02:36.131Z] Step 1/22 : ARG BASE=golang:1.18-alpine3.16 [2023-01-12T01:02:36.131Z] Step 2/22 : FROM ${BASE} AS builder [2023-01-12T01:02:36.131Z] ---> 09ce28b86e46 [2023-01-12T01:02:36.131Z] Step 3/22 : ARG ADD_BUILD_TAGS="" [2023-01-12T01:02:36.131Z] ---> Running in 2cb51b9453ea [2023-01-12T01:02:36.727Z] Removing intermediate container 2cb51b9453ea [2023-01-12T01:02:36.727Z] ---> cc71121b743f [2023-01-12T01:02:36.727Z] Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-12T01:02:36.727Z] ---> Running in f02a46b3f0ce [2023-01-12T01:02:37.317Z] Removing intermediate container f02a46b3f0ce [2023-01-12T01:02:37.317Z] ---> d70de9d934ce [2023-01-12T01:02:37.317Z] Step 5/22 : RUN apk add --update --no-cache make git openssh [2023-01-12T01:02:37.587Z] ---> Running in e287ec578b7a [2023-01-12T01:02:39.003Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-12T01:02:39.271Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-12T01:02:40.689Z] OK: 228 MiB in 59 packages [2023-01-12T01:02:41.660Z] Removing intermediate container e287ec578b7a [2023-01-12T01:02:41.660Z] ---> 53e5b0552466 [2023-01-12T01:02:41.660Z] Step 6/22 : WORKDIR /device-modbus-go [2023-01-12T01:02:41.660Z] ---> Running in ebff5ca2936b [2023-01-12T01:02:41.930Z] Removing intermediate container ebff5ca2936b [2023-01-12T01:02:41.930Z] ---> b720ac6c176e [2023-01-12T01:02:41.930Z] Step 7/22 : COPY go.mod vendor* ./ [2023-01-12T01:02:42.521Z] ---> 1d48afd17617 [2023-01-12T01:02:42.521Z] Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-12T01:02:42.521Z] ---> Running in 1b3f2656a77a [2023-01-12T01:02:45.116Z] Removing intermediate container 1b3f2656a77a [2023-01-12T01:02:45.116Z] ---> 66648eb202bd [2023-01-12T01:02:45.116Z] Step 9/22 : COPY . . [2023-01-12T01:02:46.200Z] ---> a8631e32d1d0 [2023-01-12T01:02:46.200Z] Step 10/22 : RUN ${MAKE} [2023-01-12T01:02:46.200Z] ---> Running in 32ff7827fc87 [2023-01-12T01:02:47.650Z] 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-12T01:05:24.496Z] Removing intermediate container 32ff7827fc87 [2023-01-12T01:05:24.496Z] ---> a9e5028e73f9 [2023-01-12T01:05:24.496Z] Step 11/22 : FROM alpine:3.14 [2023-01-12T01:05:24.496Z] 3.14: Pulling from library/alpine [2023-01-12T01:05:24.496Z] 90cda3b7c325: Pulling fs layer [2023-01-12T01:05:24.496Z] 90cda3b7c325: Verifying Checksum [2023-01-12T01:05:24.496Z] 90cda3b7c325: Download complete [2023-01-12T01:05:24.496Z] 90cda3b7c325: Pull complete [2023-01-12T01:05:24.496Z] Digest: sha256:4c869a63e1b7c0722fed1e402a6466610327c3b83bdddb94bd94fb71da7f638a [2023-01-12T01:05:24.496Z] Status: Downloaded newer image for alpine:3.14 [2023-01-12T01:05:24.496Z] ---> 275902a1839d [2023-01-12T01:05:24.496Z] Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2023-01-12T01:05:24.496Z] ---> Running in c56961b27622 [2023-01-12T01:05:24.496Z] Removing intermediate container c56961b27622 [2023-01-12T01:05:24.496Z] ---> bbe0edf852ee [2023-01-12T01:05:24.496Z] Step 13/22 : RUN apk add --update --no-cache dumb-init [2023-01-12T01:05:24.496Z] ---> Running in 937ec6adad67 [2023-01-12T01:05:24.496Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2023-01-12T01:05:24.496Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2023-01-12T01:05:24.496Z] (1/1) Installing dumb-init (1.2.5-r1) [2023-01-12T01:05:24.496Z] Executing busybox-1.33.1-r8.trigger [2023-01-12T01:05:24.496Z] OK: 6 MiB in 15 packages [2023-01-12T01:05:24.496Z] Removing intermediate container 937ec6adad67 [2023-01-12T01:05:24.496Z] ---> 58fca307e272 [2023-01-12T01:05:24.496Z] Step 14/22 : COPY --from=builder /device-modbus-go/cmd / [2023-01-12T01:05:25.099Z] ---> 9b746f0a6233 [2023-01-12T01:05:25.099Z] Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / [2023-01-12T01:05:25.689Z] ---> 256280229e96 [2023-01-12T01:05:25.689Z] Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / [2023-01-12T01:05:26.293Z] ---> e19fb19add77 [2023-01-12T01:05:26.293Z] Step 17/22 : EXPOSE 59901 [2023-01-12T01:05:26.293Z] ---> Running in 0659c7696574 [2023-01-12T01:05:26.562Z] Removing intermediate container 0659c7696574 [2023-01-12T01:05:26.562Z] ---> bb15d8ebe15f [2023-01-12T01:05:26.562Z] Step 18/22 : ENTRYPOINT ["/device-modbus"] [2023-01-12T01:05:26.562Z] ---> Running in e1ec08299d5e [2023-01-12T01:05:26.831Z] Removing intermediate container e1ec08299d5e [2023-01-12T01:05:26.831Z] ---> def748b6590f [2023-01-12T01:05:26.831Z] Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-01-12T01:05:27.100Z] ---> Running in 908e9b30b3ea [2023-01-12T01:05:27.375Z] Removing intermediate container 908e9b30b3ea [2023-01-12T01:05:27.375Z] ---> 1e4d9dac4892 [2023-01-12T01:05:27.375Z] Step 20/22 : LABEL arch=arm64 [2023-01-12T01:05:27.644Z] ---> Running in d235998ed015 [2023-01-12T01:05:27.914Z] Removing intermediate container d235998ed015 [2023-01-12T01:05:27.914Z] ---> 125e978c713f [2023-01-12T01:05:27.914Z] Step 21/22 : LABEL git_sha=7fbe59b86a0c36e0208e5ec50f06e4ca176eb085 [2023-01-12T01:05:27.914Z] ---> Running in 0a6e2eca394a [2023-01-12T01:05:28.185Z] Removing intermediate container 0a6e2eca394a [2023-01-12T01:05:28.185Z] ---> b41818008f8d [2023-01-12T01:05:28.185Z] Step 22/22 : LABEL version=0.0.0 [2023-01-12T01:05:28.185Z] ---> Running in 899634d52483 [2023-01-12T01:05:28.773Z] Removing intermediate container 899634d52483 [2023-01-12T01:05:28.773Z] ---> 3228147f1381 [2023-01-12T01:05:28.773Z] [Warning] One or more build-args [ARCH] were not consumed [2023-01-12T01:05:28.773Z] Successfully built 3228147f1381 [2023-01-12T01:05:28.773Z] 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-12T01:05:29.223Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-12T01:05:29.223Z] [2023-01-12T01:05:29.223Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-12T01:05:29.559Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-12T01:05:29.830Z] arm64: Pulling from edgex-lftools-log-publisher [2023-01-12T01:05:29.830Z] 8998bd30e6a1: Pulling fs layer [2023-01-12T01:05:29.830Z] 04944245beec: Pulling fs layer [2023-01-12T01:05:29.830Z] 699f458cf7ca: Pulling fs layer [2023-01-12T01:05:29.830Z] 765212b225bb: Pulling fs layer [2023-01-12T01:05:29.830Z] f23df028b6ca: Pulling fs layer [2023-01-12T01:05:29.830Z] d65c8cfc05b1: Pulling fs layer [2023-01-12T01:05:29.830Z] 2437ff75d9bd: Pulling fs layer [2023-01-12T01:05:29.830Z] f23df028b6ca: Waiting [2023-01-12T01:05:29.830Z] d65c8cfc05b1: Waiting [2023-01-12T01:05:29.830Z] 2437ff75d9bd: Waiting [2023-01-12T01:05:29.830Z] 765212b225bb: Waiting [2023-01-12T01:05:29.830Z] 04944245beec: Verifying Checksum [2023-01-12T01:05:29.830Z] 04944245beec: Download complete [2023-01-12T01:05:29.830Z] 765212b225bb: Download complete [2023-01-12T01:05:29.830Z] f23df028b6ca: Verifying Checksum [2023-01-12T01:05:29.830Z] f23df028b6ca: Download complete [2023-01-12T01:05:30.102Z] d65c8cfc05b1: Verifying Checksum [2023-01-12T01:05:30.102Z] d65c8cfc05b1: Download complete [2023-01-12T01:05:30.102Z] 699f458cf7ca: Verifying Checksum [2023-01-12T01:05:30.102Z] 699f458cf7ca: Download complete [2023-01-12T01:05:30.378Z] 8998bd30e6a1: Verifying Checksum [2023-01-12T01:05:30.378Z] 8998bd30e6a1: Download complete [2023-01-12T01:05:32.974Z] 2437ff75d9bd: Verifying Checksum [2023-01-12T01:05:32.974Z] 2437ff75d9bd: Download complete [2023-01-12T01:05:37.245Z] 8998bd30e6a1: Pull complete [2023-01-12T01:05:37.245Z] 04944245beec: Pull complete [2023-01-12T01:05:38.662Z] 699f458cf7ca: Pull complete [2023-01-12T01:05:38.662Z] 765212b225bb: Pull complete [2023-01-12T01:05:39.629Z] f23df028b6ca: Pull complete [2023-01-12T01:05:39.629Z] d65c8cfc05b1: Pull complete [2023-01-12T01:05:54.627Z] 2437ff75d9bd: Pull complete [2023-01-12T01:05:54.627Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-01-12T01:05:54.627Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-12T01:05:54.627Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-12T01:05:54.822Z] prd-ubuntu20.04-docker-arm64-4c-16g-2001 does not seem to be running inside a container [2023-01-12T01:05:54.889Z] $ 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/3 -v /w/workspace/device-modbus-go/3:/w/workspace/device-modbus-go/3:rw,z -v /w/workspace/device-modbus-go/3@tmp:/w/workspace/device-modbus-go/3@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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-01-12T01:05:57.618Z] $ docker top a246750decdc1b4ec65543fb16633645ce532f175570cdce9948f9103ca3185b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-12T01:05:58.464Z] ---> job-cost.sh [2023-01-12T01:05:58.464Z] lf-activate-venv: SKIPPING [2023-01-12T01:05:58.464Z] INFO: No Stack... [2023-01-12T01:05:58.730Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-01-12T01:05:59.693Z] INFO: Archiving Costs [Pipeline] sh [2023-01-12T01:06:00.019Z] + + catcut /w/workspace/device-modbus-go/3/archives/cost.csv -d, [2023-01-12T01:06:00.019Z] -f6 [Pipeline] lock [2023-01-12T01:06:00.366Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-395-3-stack-cost] [2023-01-12T01:06:00.375Z] Resource [jenkins-edgexfoundry-device-modbus-go-PR-395-3-stack-cost] did not exist. Created. [2023-01-12T01:06:00.375Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-395-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-01-12T01:06:01.047Z] /w/workspace/device-modbus-go/3@tmp/durable-73d997c4/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-01-12T01:06:01.722Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-01-12T01:06:01.740Z] Warning: overwriting stash ‘stack-cost’ [2023-01-12T01:06:01.796Z] Stashed 1 file(s) [Pipeline] } [2023-01-12T01:06:01.806Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-395-3-stack-cost] [Pipeline] // lock [Pipeline] } [2023-01-12T01:06:01.823Z] $ docker stop --time=1 a246750decdc1b4ec65543fb16633645ce532f175570cdce9948f9103ca3185b [2023-01-12T01:06:03.357Z] $ docker rm -f --volumes a246750decdc1b4ec65543fb16633645ce532f175570cdce9948f9103ca3185b [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-12T01:06:03.790Z] provisioning config files... [2023-01-12T01:06:03.798Z] copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-395@tmp/config17363702616881258556tmp [Pipeline] { [Pipeline] sh [2023-01-12T01:06:04.098Z] + set +x [2023-01-12T01:06:04.098Z] + curl -s https://codecov.io/bash [2023-01-12T01:06:04.098Z] + bash -s -- [2023-01-12T01:06:04.098Z] [2023-01-12T01:06:04.098Z] _____ _ [2023-01-12T01:06:04.098Z] / ____| | | [2023-01-12T01:06:04.098Z] | | ___ __| | ___ ___ _____ __ [2023-01-12T01:06:04.098Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-01-12T01:06:04.098Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-01-12T01:06:04.098Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-01-12T01:06:04.098Z] Bash-1.0.6 [2023-01-12T01:06:04.098Z] [2023-01-12T01:06:04.098Z] [2023-01-12T01:06:04.098Z] ==> git version 2.25.1 found [2023-01-12T01:06:04.098Z] ==> 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-12T01:06:04.098Z] Release-Date: 2020-01-08 [2023-01-12T01:06:04.098Z] 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-12T01:06:04.098Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-01-12T01:06:04.098Z] ==> Jenkins CI detected. [2023-01-12T01:06:04.098Z] current dir:  /w/workspace/xfoundry_device-modbus-go_PR-395 [2023-01-12T01:06:04.098Z] project root: . [2023-01-12T01:06:04.098Z] --> token set from env [2023-01-12T01:06:04.098Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-01-12T01:06:04.098Z] ==> Running gcov in . (disable via -X gcov) [2023-01-12T01:06:04.098Z] ==> Python coveragepy not found [2023-01-12T01:06:04.098Z] ==> Searching for coverage reports in: [2023-01-12T01:06:04.098Z] + . [2023-01-12T01:06:04.098Z] -> Found 1 reports [2023-01-12T01:06:04.098Z] ==> Detecting git/mercurial file structure [2023-01-12T01:06:04.359Z] ==> Reading reports [2023-01-12T01:06:04.359Z] + ./coverage.out bytes=23241 [2023-01-12T01:06:04.359Z] ==> Appending adjustments [2023-01-12T01:06:04.359Z] https://docs.codecov.io/docs/fixing-reports [2023-01-12T01:06:04.359Z] + Found adjustments [2023-01-12T01:06:04.359Z] ==> Gzipping contents [2023-01-12T01:06:04.359Z] 4.0K /tmp/codecov.04pWKm.gz [2023-01-12T01:06:04.359Z] ==> Uploading reports [2023-01-12T01:06:04.359Z] url: https://codecov.io [2023-01-12T01:06:04.359Z] query: branch=PR-395&commit=43def9f56f07f0615e295faed412cacf1e540992&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-395%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=395&job=&cmd_args= [2023-01-12T01:06:04.359Z] -> Pinging Codecov [2023-01-12T01:06:04.359Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3a8d40b1-de00-4649-bfd4-bdc8ed99ae89&branch=PR-395&commit=43def9f56f07f0615e295faed412cacf1e540992&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-395%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=395&job=&cmd_args= [2023-01-12T01:06:04.619Z] -> Uploading to [2023-01-12T01:06:04.619Z] https://storage.googleapis.com/codecov/v4/raw/2023-01-12/55DBCA73C666E3227836607328DD7E49/43def9f56f07f0615e295faed412cacf1e540992/6795d2e6-10f3-4888-a771-557b2086ea78.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230112%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230112T010604Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=914a3d030dd2b23be20f9315f1b6ceb6d9d2325b2c5202502626836d8280a93c [2023-01-12T01:06:04.619Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-01-12T01:06:04.619Z] Dload Upload Total Spent Left Speed [2023-01-12T01:06:04.879Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3920 0 0 100 3920 0 17657 --:--:-- --:--:-- --:--:-- 17657 100 3920 0 0 100 3920 0 16333 --:--:-- --:--:-- --:--:-- 16265 [2023-01-12T01:06:04.879Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/43def9f56f07f0615e295faed412cacf1e540992 [Pipeline] } [2023-01-12T01:06:04.888Z] 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-12T01:06:05.599Z] + [ -d /w/workspace/xfoundry_device-modbus-go_PR-395/archives ] [2023-01-12T01:06:05.599Z] + ls -al /w/workspace/xfoundry_device-modbus-go_PR-395/archives [2023-01-12T01:06:05.599Z] total 16 [2023-01-12T01:06:05.599Z] drwxr-xr-x 3 root root 4096 Jan 12 00:56 . [2023-01-12T01:06:05.599Z] drwxrwxr-x 11 jenkins jenkins 4096 Jan 12 00:56 .. [2023-01-12T01:06:05.599Z] drwxr-xr-x 2 root root 4096 Jan 12 00:56 cost [2023-01-12T01:06:05.599Z] -rw-r--r-- 1 root root 88 Jan 12 00:56 cost.csv [2023-01-12T01:06:05.599Z] + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-395/archives [2023-01-12T01:06:05.599Z] + ls -al /w/workspace/xfoundry_device-modbus-go_PR-395/archives [2023-01-12T01:06:05.599Z] total 16 [2023-01-12T01:06:05.599Z] drwxr-xr-x 3 jenkins jenkins 4096 Jan 12 00:56 . [2023-01-12T01:06:05.599Z] drwxrwxr-x 11 jenkins jenkins 4096 Jan 12 00:56 .. [2023-01-12T01:06:05.599Z] drwxr-xr-x 2 jenkins jenkins 4096 Jan 12 00:56 cost [2023-01-12T01:06:05.599Z] -rw-r--r-- 1 jenkins jenkins 88 Jan 12 00:56 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-01-12T01:06:05.897Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-12T01:06:06.755Z] ---> package-listing.sh [2023-01-12T01:06:06.755Z] ++ tr '[:upper:]' '[:lower:]' [2023-01-12T01:06:06.755Z] ++ facter osfamily [2023-01-12T01:06:07.015Z] + OS_FAMILY=debian [2023-01-12T01:06:07.015Z] + workspace=/w/workspace/xfoundry_device-modbus-go_PR-395 [2023-01-12T01:06:07.015Z] + START_PACKAGES=/tmp/packages_start.txt [2023-01-12T01:06:07.015Z] + END_PACKAGES=/tmp/packages_end.txt [2023-01-12T01:06:07.015Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-01-12T01:06:07.015Z] + PACKAGES=/tmp/packages_start.txt [2023-01-12T01:06:07.015Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-395 ']' [2023-01-12T01:06:07.015Z] + PACKAGES=/tmp/packages_end.txt [2023-01-12T01:06:07.015Z] + case "${OS_FAMILY}" in [2023-01-12T01:06:07.015Z] + dpkg -l [2023-01-12T01:06:07.015Z] + grep '^ii' [2023-01-12T01:06:07.015Z] + '[' -f /tmp/packages_start.txt ']' [2023-01-12T01:06:07.015Z] + '[' -f /tmp/packages_end.txt ']' [2023-01-12T01:06:07.015Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-01-12T01:06:07.015Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-395 ']' [2023-01-12T01:06:07.015Z] + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-395/archives/ [2023-01-12T01:06:07.015Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-395/archives/ [Pipeline] echo [2023-01-12T01:06:07.027Z] 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-395/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-01-12T01:06:07.306Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-12T01:06:07.868Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-12T01:06:07.868Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-12T01:06:07.943Z] prd-ubuntu20.04-docker-8c-8g-2000 does not seem to be running inside a container [2023-01-12T01:06:07.973Z] $ 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-395/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-395 -v /w/workspace/xfoundry_device-modbus-go_PR-395:/w/workspace/xfoundry_device-modbus-go_PR-395:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-395@tmp:/w/workspace/xfoundry_device-modbus-go_PR-395@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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-01-12T01:06:08.158Z] $ docker top 93982589b7e9eb14a0c51a87f3b2586e64ceddbd0faf6f5d0f70e00e8e172802 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-12T01:06:08.506Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-01-12T01:06:08.791Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-01-12T01:06:09.075Z] + ls /var/log/sa-host [2023-01-12T01:06:09.075Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-12T01:06:09.222Z] provisioning config files... [2023-01-12T01:06:09.231Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-395@tmp/config18094458870856455731tmp [Pipeline] { [Pipeline] echo [2023-01-12T01:06:09.241Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-12T01:06:09.524Z] ---> create-netrc.sh [Pipeline] } [2023-01-12T01:06:09.533Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-01-12T01:06:09.863Z] ---> python-tools-install.sh [Pipeline] echo [2023-01-12T01:06:09.871Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-12T01:06:10.151Z] ---> sudo-logs.sh [2023-01-12T01:06:10.152Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-01-12T01:06:10.180Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-12T01:06:10.463Z] ---> job-cost.sh [2023-01-12T01:06:10.463Z] lf-activate-venv: SKIPPING [2023-01-12T01:06:10.463Z] DEBUG: total: 0.2199999988079071 [2023-01-12T01:06:10.463Z] INFO: Retrieving Stack Cost... [2023-01-12T01:06:10.721Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-01-12T01:06:11.288Z] INFO: Archiving Costs [Pipeline] echo [2023-01-12T01:06:11.301Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-12T01:06:11.585Z] ---> logs-deploy.sh [2023-01-12T01:06:11.585Z] lf-activate-venv: SKIPPING [2023-01-12T01:06:11.585Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-395/3 [2023-01-12T01:06:11.585Z] INFO: archiving workspace using pattern(s): [2023-01-12T01:06:12.521Z] Archives upload complete. [2023-01-12T01:06:12.781Z] INFO: archiving logs to Nexus [2023-01-12T01:06:13.349Z] ---> uname -a: [2023-01-12T01:06:13.350Z] Linux prd-ubuntu20-04-docker-8c-8g-2000 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux [2023-01-12T01:06:13.350Z] [2023-01-12T01:06:13.350Z] [2023-01-12T01:06:13.350Z] ---> lscpu: [2023-01-12T01:06:13.350Z] Architecture: x86_64 [2023-01-12T01:06:13.350Z] CPU op-mode(s): 32-bit, 64-bit [2023-01-12T01:06:13.350Z] Byte Order: Little Endian [2023-01-12T01:06:13.350Z] Address sizes: 40 bits physical, 48 bits virtual [2023-01-12T01:06:13.350Z] CPU(s): 8 [2023-01-12T01:06:13.350Z] On-line CPU(s) list: 0-7 [2023-01-12T01:06:13.350Z] Thread(s) per core: 1 [2023-01-12T01:06:13.350Z] Core(s) per socket: 1 [2023-01-12T01:06:13.350Z] Socket(s): 8 [2023-01-12T01:06:13.350Z] NUMA node(s): 1 [2023-01-12T01:06:13.350Z] Vendor ID: AuthenticAMD [2023-01-12T01:06:13.350Z] CPU family: 23 [2023-01-12T01:06:13.350Z] Model: 49 [2023-01-12T01:06:13.350Z] Model name: AMD EPYC-Rome Processor [2023-01-12T01:06:13.350Z] Stepping: 0 [2023-01-12T01:06:13.350Z] CPU MHz: 2799.998 [2023-01-12T01:06:13.350Z] BogoMIPS: 5599.99 [2023-01-12T01:06:13.350Z] Virtualization: AMD-V [2023-01-12T01:06:13.350Z] Hypervisor vendor: KVM [2023-01-12T01:06:13.350Z] Virtualization type: full [2023-01-12T01:06:13.350Z] L1d cache: 256 KiB [2023-01-12T01:06:13.350Z] L1i cache: 256 KiB [2023-01-12T01:06:13.350Z] L2 cache: 4 MiB [2023-01-12T01:06:13.350Z] L3 cache: 128 MiB [2023-01-12T01:06:13.350Z] NUMA node0 CPU(s): 0-7 [2023-01-12T01:06:13.350Z] Vulnerability Itlb multihit: Not affected [2023-01-12T01:06:13.350Z] Vulnerability L1tf: Not affected [2023-01-12T01:06:13.350Z] Vulnerability Mds: Not affected [2023-01-12T01:06:13.350Z] Vulnerability Meltdown: Not affected [2023-01-12T01:06:13.350Z] Vulnerability Mmio stale data: Not affected [2023-01-12T01:06:13.350Z] Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp [2023-01-12T01:06:13.350Z] Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization [2023-01-12T01:06:13.350Z] Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling [2023-01-12T01:06:13.350Z] Vulnerability Srbds: Not affected [2023-01-12T01:06:13.350Z] Vulnerability Tsx async abort: Not affected [2023-01-12T01:06:13.350Z] Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities [2023-01-12T01:06:13.350Z] [2023-01-12T01:06:13.350Z] [2023-01-12T01:06:13.350Z] ---> nproc: [2023-01-12T01:06:13.350Z] 8 [2023-01-12T01:06:13.350Z] [2023-01-12T01:06:13.350Z] [2023-01-12T01:06:13.350Z] ---> df -h: [2023-01-12T01:06:13.350Z] Filesystem Size Used Avail Use% Mounted on [2023-01-12T01:06:13.350Z] overlay 155G 12G 144G 8% / [2023-01-12T01:06:13.350Z] tmpfs 64M 0 64M 0% /dev [2023-01-12T01:06:13.350Z] tmpfs 16G 0 16G 0% /sys/fs/cgroup [2023-01-12T01:06:13.350Z] shm 64M 0 64M 0% /dev/shm [2023-01-12T01:06:13.350Z] /dev/vda1 155G 12G 144G 8% /facter-os [2023-01-12T01:06:13.350Z] [2023-01-12T01:06:13.350Z]