Pull request #398 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from c5f8c5c719c6eba7f2f7c5a48372fcb026e160c4+def1cc71e63d04479355a5672fe2144ca0f9c836 (649e0a83a95bd279b567ba5ef06517c3fe06f97f) 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-ssh11811766755912981819.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-ssh17389252768818913109.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-398/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-398/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14537485665204264297.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-398/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh1364948771371145825.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh3123170785065868607.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-398/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-398/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh6732535512720951123.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-modbus-go, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-modbus-go-settings PROJECT: device-modbus-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-modbus DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-1688 in /w/workspace/xfoundry_device-modbus-go_PR-398 [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-398 # 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 def1cc71e63d04479355a5672fe2144ca0f9c836 into PR head commit c5f8c5c719c6eba7f2f7c5a48372fcb026e160c4 > 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/398/head:refs/remotes/origin/PR-398 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c5f8c5c719c6eba7f2f7c5a48372fcb026e160c4 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge def1cc71e63d04479355a5672fe2144ca0f9c836 # timeout=10 Merge succeeded, producing c5f8c5c719c6eba7f2f7c5a48372fcb026e160c4 Checking out Revision c5f8c5c719c6eba7f2f7c5a48372fcb026e160c4 (PR-398) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-01-10T21:12:22.687Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-01-10T21:12:22.872Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-01-10T21:12:22.975Z] ========================================================= [2023-01-10T21:12:22.975Z] EdgeX Global Pipelines Version Info [2023-01-10T21:12:22.975Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c5f8c5c719c6eba7f2f7c5a48372fcb026e160c4 # timeout=10 [2023-01-10T21:12:23.727Z] ------------------- [2023-01-10T21:12:23.728Z] stable info: [2023-01-10T21:12:23.728Z] ------------------- [2023-01-10T21:12:23.728Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-01-10T21:12:23.728Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-01-10T21:12:23.728Z] Message: update stable to v1.0.244 [2023-01-10T21:12:24.299Z] ------------------- [2023-01-10T21:12:24.299Z] experimental info: [2023-01-10T21:12:24.299Z] ------------------- [2023-01-10T21:12:24.299Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-01-10T21:12:24.299Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-01-10T21:12:24.299Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-01-10T21:12:24.605Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo [2023-01-10T21:12:24.643Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo [2023-01-10T21:12:24.687Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-01-10T21:12:24.731Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-01-10T21:12:24.769Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-01-10T21:12:24.807Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-01-10T21:12:24.847Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-01-10T21:12:24.885Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-01-10T21:12:24.926Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-01-10T21:12:24.963Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-01-10T21:12:24.999Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-01-10T21:12:25.037Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo [2023-01-10T21:12:25.081Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-01-10T21:12:25.126Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-01-10T21:12:25.168Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-01-10T21:12:25.209Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-01-10T21:12:25.253Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-01-10T21:12:25.301Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-01-10T21:12:25.344Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-01-10T21:12:25.388Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-01-10T21:12:25.429Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-01-10T21:12:25.466Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-01-10T21:12:25.505Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-01-10T21:12:25.541Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-01-10T21:12:25.577Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-01-10T21:12:25.613Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-01-10T21:12:25.650Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-01-10T21:12:25.686Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-398 [Pipeline] echo [2023-01-10T21:12:25.726Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-398 [Pipeline] echo [2023-01-10T21:12:25.766Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-398 [Pipeline] echo [2023-01-10T21:12:25.806Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c5f8c5c719c6eba7f2f7c5a48372fcb026e160c4 [Pipeline] echo [2023-01-10T21:12:25.849Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c5f8c5c [Pipeline] echo [2023-01-10T21:12:25.894Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-10T21:12:26.020Z] provisioning config files... [2023-01-10T21:12:26.035Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-398@tmp/config11920438470304591367tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-10T21:12:26.379Z] ---> docker-login.sh [2023-01-10T21:12:26.379Z] nexus3.edgexfoundry.org:10001 [2023-01-10T21:12:26.639Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T21:12:26.639Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T21:12:26.639Z] Configure a credential helper to remove this warning. See [2023-01-10T21:12:26.639Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T21:12:26.639Z] [2023-01-10T21:12:26.639Z] Login Succeeded [2023-01-10T21:12:26.639Z] nexus3.edgexfoundry.org:10002 [2023-01-10T21:12:26.639Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T21:12:26.900Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T21:12:26.900Z] Configure a credential helper to remove this warning. See [2023-01-10T21:12:26.900Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T21:12:26.900Z] [2023-01-10T21:12:26.900Z] Login Succeeded [2023-01-10T21:12:26.900Z] nexus3.edgexfoundry.org:10003 [2023-01-10T21:12:26.900Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T21:12:26.900Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T21:12:26.900Z] Configure a credential helper to remove this warning. See [2023-01-10T21:12:26.900Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T21:12:26.900Z] [2023-01-10T21:12:26.900Z] Login Succeeded [2023-01-10T21:12:26.900Z] nexus3.edgexfoundry.org:10004 [2023-01-10T21:12:26.900Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T21:12:27.166Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T21:12:27.166Z] Configure a credential helper to remove this warning. See [2023-01-10T21:12:27.166Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T21:12:27.166Z] [2023-01-10T21:12:27.166Z] Login Succeeded [2023-01-10T21:12:27.166Z] docker.io [2023-01-10T21:12:27.166Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T21:12:27.426Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T21:12:27.426Z] Configure a credential helper to remove this warning. See [2023-01-10T21:12:27.426Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T21:12:27.426Z] [2023-01-10T21:12:27.426Z] Login Succeeded [2023-01-10T21:12:27.426Z] ---> docker-login.sh ends [Pipeline] } [2023-01-10T21:12:27.451Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-01-10T21:12:28.065Z] + git rev-list -1 --merges c5f8c5c719c6eba7f2f7c5a48372fcb026e160c4~1..c5f8c5c719c6eba7f2f7c5a48372fcb026e160c4 [Pipeline] echo [2023-01-10T21:12:28.141Z] -----------> git rev-list -1 --merges c5f8c5c719c6eba7f2f7c5a48372fcb026e160c4~1..c5f8c5c719c6eba7f2f7c5a48372fcb026e160c4 c5f8c5c719c6eba7f2f7c5a48372fcb026e160c4 [false] [Pipeline] sh [2023-01-10T21:12:28.459Z] + git log --format=format:%s -1 c5f8c5c719c6eba7f2f7c5a48372fcb026e160c4 [Pipeline] echo [2023-01-10T21:12:28.497Z] ========================================================= [2023-01-10T21:12:28.497Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-01-10T21:12:28.497Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-10T21:12:28.936Z] + git log --format=format:%s -1 c5f8c5c719c6eba7f2f7c5a48372fcb026e160c4 [Pipeline] echo [2023-01-10T21:12:28.974Z] [semverPrep] GIT_COMMIT: c5f8c5c719c6eba7f2f7c5a48372fcb026e160c4, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo [2023-01-10T21:12:29.008Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-01-10T21:12:29.393Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-01-10T21:12:29.393Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-01-10T21:12:29.393Z] + [ -e /tmp/ssh_known_hosts ] [2023-01-10T21:12:29.393Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-01-10T21:12:29.393Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-01-10T21:12:29.393Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-01-10T21:12:29.393Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T21:12:29.829Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-10T21:12:29.829Z] [2023-01-10T21:12:29.829Z] 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-10T21:12:30.209Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-10T21:12:30.209Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-01-10T21:12:30.209Z] b85a868b505f: Pulling fs layer [2023-01-10T21:12:30.209Z] e2be974225ed: Pulling fs layer [2023-01-10T21:12:30.209Z] 339a4e72a1f5: Pulling fs layer [2023-01-10T21:12:30.209Z] 988bab9f4d93: Pulling fs layer [2023-01-10T21:12:30.209Z] 1469e6f7b9e6: Pulling fs layer [2023-01-10T21:12:30.209Z] eaf3925da568: Pulling fs layer [2023-01-10T21:12:30.209Z] bab4dde63d76: Pulling fs layer [2023-01-10T21:12:30.209Z] bde34c3a00c8: Pulling fs layer [2023-01-10T21:12:30.209Z] b352a97aabf1: Pulling fs layer [2023-01-10T21:12:30.209Z] 4872d77fe225: Pulling fs layer [2023-01-10T21:12:30.209Z] 5851b861e8e6: Pulling fs layer [2023-01-10T21:12:30.209Z] bab4dde63d76: Waiting [2023-01-10T21:12:30.209Z] bde34c3a00c8: Waiting [2023-01-10T21:12:30.209Z] b352a97aabf1: Waiting [2023-01-10T21:12:30.209Z] 988bab9f4d93: Waiting [2023-01-10T21:12:30.209Z] 1469e6f7b9e6: Waiting [2023-01-10T21:12:30.209Z] eaf3925da568: Waiting [2023-01-10T21:12:30.209Z] e2be974225ed: Download complete [2023-01-10T21:12:30.209Z] 988bab9f4d93: Verifying Checksum [2023-01-10T21:12:30.209Z] 988bab9f4d93: Download complete [2023-01-10T21:12:30.469Z] 339a4e72a1f5: Verifying Checksum [2023-01-10T21:12:30.469Z] 339a4e72a1f5: Download complete [2023-01-10T21:12:30.469Z] 1469e6f7b9e6: Verifying Checksum [2023-01-10T21:12:30.469Z] 1469e6f7b9e6: Download complete [2023-01-10T21:12:30.469Z] eaf3925da568: Verifying Checksum [2023-01-10T21:12:30.469Z] eaf3925da568: Download complete [2023-01-10T21:12:30.469Z] bde34c3a00c8: Download complete [2023-01-10T21:12:30.729Z] b352a97aabf1: Verifying Checksum [2023-01-10T21:12:30.729Z] b352a97aabf1: Download complete [2023-01-10T21:12:30.729Z] 4872d77fe225: Download complete [2023-01-10T21:12:30.729Z] 5851b861e8e6: Download complete [2023-01-10T21:12:30.729Z] b85a868b505f: Verifying Checksum [2023-01-10T21:12:30.729Z] b85a868b505f: Download complete [2023-01-10T21:12:30.990Z] bab4dde63d76: Verifying Checksum [2023-01-10T21:12:30.990Z] bab4dde63d76: Download complete [2023-01-10T21:12:31.934Z] b85a868b505f: Pull complete [2023-01-10T21:12:32.198Z] e2be974225ed: Pull complete [2023-01-10T21:12:32.778Z] 339a4e72a1f5: Pull complete [2023-01-10T21:12:32.778Z] 988bab9f4d93: Pull complete [2023-01-10T21:12:33.039Z] 1469e6f7b9e6: Pull complete [2023-01-10T21:12:33.039Z] eaf3925da568: Pull complete [2023-01-10T21:12:34.953Z] bab4dde63d76: Pull complete [2023-01-10T21:12:35.214Z] bde34c3a00c8: Pull complete [2023-01-10T21:12:35.214Z] b352a97aabf1: Pull complete [2023-01-10T21:12:35.214Z] 4872d77fe225: Pull complete [2023-01-10T21:12:35.475Z] 5851b861e8e6: Pull complete [2023-01-10T21:12:35.475Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-01-10T21:12:35.475Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-10T21:12:35.475Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-10T21:12:35.712Z] prd-ubuntu20.04-docker-8c-8g-1688 does not seem to be running inside a container [2023-01-10T21:12:35.745Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-398 -v /w/workspace/xfoundry_device-modbus-go_PR-398:/w/workspace/xfoundry_device-modbus-go_PR-398:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-398@tmp:/w/workspace/xfoundry_device-modbus-go_PR-398@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-01-10T21:12:37.177Z] $ docker top 9bbbe9c9f11a29f63140e3b59c1597a3e35a2ff804e1fe669d96155dbe2069de -eo pid,comm [2023-01-10T21:12:37.236Z] 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-10T21:12:37.236Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-01-10T21:12:37.367Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-01-10T21:12:37.367Z] [ssh-agent] Looking for ssh-agent implementation... [2023-01-10T21:12:37.502Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-01-10T21:12:37.505Z] $ docker exec 9bbbe9c9f11a29f63140e3b59c1597a3e35a2ff804e1fe669d96155dbe2069de ssh-agent [2023-01-10T21:12:37.637Z] SSH_AUTH_SOCK=/tmp/ssh-gU1sAzX5Be7T/agent.33 [2023-01-10T21:12:37.637Z] SSH_AGENT_PID=39 [2023-01-10T21:12:37.645Z] Running ssh-add (command line suppressed) [2023-01-10T21:12:37.744Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-398@tmp/private_key_4165242215653132586.key (/w/workspace/xfoundry_device-modbus-go_PR-398@tmp/private_key_4165242215653132586.key) [2023-01-10T21:12:37.759Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-01-10T21:12:38.091Z] + git tag --points-at HEAD [Pipeline] } [2023-01-10T21:12:38.118Z] $ docker exec --env ******** --env ******** 9bbbe9c9f11a29f63140e3b59c1597a3e35a2ff804e1fe669d96155dbe2069de ssh-agent -k [2023-01-10T21:12:38.224Z] unset SSH_AUTH_SOCK; [2023-01-10T21:12:38.224Z] unset SSH_AGENT_PID; [2023-01-10T21:12:38.225Z] echo Agent pid 39 killed; [2023-01-10T21:12:38.236Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-01-10T21:12:38.313Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-01-10T21:12:38.313Z] [ssh-agent] Looking for ssh-agent implementation... [2023-01-10T21:12:38.437Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-01-10T21:12:38.440Z] $ docker exec 9bbbe9c9f11a29f63140e3b59c1597a3e35a2ff804e1fe669d96155dbe2069de ssh-agent [2023-01-10T21:12:38.555Z] SSH_AUTH_SOCK=/tmp/ssh-aXronYk1VGpY/agent.71 [2023-01-10T21:12:38.555Z] SSH_AGENT_PID=77 [2023-01-10T21:12:38.560Z] Running ssh-add (command line suppressed) [2023-01-10T21:12:38.660Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-398@tmp/private_key_1537774494828041398.key (/w/workspace/xfoundry_device-modbus-go_PR-398@tmp/private_key_1537774494828041398.key) [2023-01-10T21:12:38.683Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-01-10T21:12:39.021Z] + git semver init [2023-01-10T21:12:39.282Z] 2023-01-10 21:12:39,211 [run_init] DEBUG init version:0.0.0 force:False [2023-01-10T21:12:39.282Z] 2023-01-10 21:12:39,213 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-modbus-go_PR-398/.semver [2023-01-10T21:12:39.282Z] 2023-01-10 21:12:39,213 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/xfoundry_device-modbus-go_PR-398/.semver [2023-01-10T21:12:39.282Z] 2023-01-10 21:12:39,213 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/xfoundry_device-modbus-go_PR-398/.semver'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-398, universal_newlines=False, shell=None, istream=None) [2023-01-10T21:12:40.222Z] 2023-01-10 21:12:40,026 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-modbus-go_PR-398/.git/info/exclude [2023-01-10T21:12:40.222Z] 2023-01-10 21:12:40,027 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-modbus-go_PR-398/.semver/PR-398 with force:False [2023-01-10T21:12:40.222Z] 2023-01-10 21:12:40,027 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-modbus-go_PR-398/.semver/PR-398 [2023-01-10T21:12:40.222Z] 2023-01-10 21:12:40,031 [execute] INFO git cat-file --batch-check [2023-01-10T21:12:40.222Z] 2023-01-10 21:12:40,032 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-398/.semver, universal_newlines=False, shell=None, istream=) [2023-01-10T21:12:40.222Z] 2023-01-10 21:12:40,039 [execute] INFO git cat-file --batch [2023-01-10T21:12:40.222Z] 2023-01-10 21:12:40,039 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-398/.semver, universal_newlines=False, shell=None, istream=) [2023-01-10T21:12:40.222Z] 2023-01-10 21:12:40,046 [read_version] DEBUG read version from /w/workspace/xfoundry_device-modbus-go_PR-398/.semver/PR-398 [2023-01-10T21:12:40.222Z] 0.0.0 [Pipeline] } [2023-01-10T21:12:40.245Z] $ docker exec --env ******** --env ******** 9bbbe9c9f11a29f63140e3b59c1597a3e35a2ff804e1fe669d96155dbe2069de ssh-agent -k [2023-01-10T21:12:40.354Z] unset SSH_AUTH_SOCK; [2023-01-10T21:12:40.355Z] unset SSH_AGENT_PID; [2023-01-10T21:12:40.355Z] echo Agent pid 77 killed; [2023-01-10T21:12:40.366Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-01-10T21:12:40.797Z] + git semver [Pipeline] } [2023-01-10T21:12:41.081Z] $ docker stop --time=1 9bbbe9c9f11a29f63140e3b59c1597a3e35a2ff804e1fe669d96155dbe2069de [2023-01-10T21:12:42.410Z] $ docker rm -f --volumes 9bbbe9c9f11a29f63140e3b59c1597a3e35a2ff804e1fe669d96155dbe2069de [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-10T21:12:42.822Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-01-10T21:12:43.117Z] Stashed 1 file(s) [Pipeline] echo [2023-01-10T21:12:43.137Z] [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-10T21:12:43.748Z] provisioning config files... [2023-01-10T21:12:43.758Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-398@tmp/config2747819408888870601tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-10T21:12:44.101Z] ---> docker-login.sh [2023-01-10T21:12:44.101Z] nexus3.edgexfoundry.org:10001 [2023-01-10T21:12:44.101Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T21:12:44.101Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T21:12:44.101Z] Configure a credential helper to remove this warning. See [2023-01-10T21:12:44.101Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T21:12:44.101Z] [2023-01-10T21:12:44.101Z] Login Succeeded [2023-01-10T21:12:44.101Z] nexus3.edgexfoundry.org:10002 [2023-01-10T21:12:44.101Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T21:12:44.101Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T21:12:44.101Z] Configure a credential helper to remove this warning. See [2023-01-10T21:12:44.101Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T21:12:44.101Z] [2023-01-10T21:12:44.101Z] Login Succeeded [2023-01-10T21:12:44.101Z] nexus3.edgexfoundry.org:10003 [2023-01-10T21:12:44.360Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T21:12:44.360Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T21:12:44.360Z] Configure a credential helper to remove this warning. See [2023-01-10T21:12:44.360Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T21:12:44.360Z] [2023-01-10T21:12:44.360Z] Login Succeeded [2023-01-10T21:12:44.360Z] nexus3.edgexfoundry.org:10004 [2023-01-10T21:12:44.360Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T21:12:44.360Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T21:12:44.360Z] Configure a credential helper to remove this warning. See [2023-01-10T21:12:44.360Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T21:12:44.360Z] [2023-01-10T21:12:44.360Z] Login Succeeded [2023-01-10T21:12:44.360Z] docker.io [2023-01-10T21:12:44.619Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T21:12:44.619Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T21:12:44.619Z] Configure a credential helper to remove this warning. See [2023-01-10T21:12:44.619Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T21:12:44.619Z] [2023-01-10T21:12:44.619Z] Login Succeeded [2023-01-10T21:12:44.619Z] ---> docker-login.sh ends [Pipeline] } [2023-01-10T21:12:44.650Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-01-10T21:12:44.847Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-10T21:12:44.883Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-10T21:12:44.917Z] ========================================================= [2023-01-10T21:12:44.917Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-01-10T21:12:44.917Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T21:12:45.389Z] + 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-10T21:12:45.389Z] Sending build context to Docker daemon 6.316MB [2023-01-10T21:12:45.389Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2023-01-10T21:12:45.389Z] Step 2/10 : FROM ${BASE} AS builder [2023-01-10T21:12:45.389Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-01-10T21:12:45.389Z] 213ec9aee27d: Pulling fs layer [2023-01-10T21:12:45.389Z] 4583459ba037: Pulling fs layer [2023-01-10T21:12:45.389Z] 93c1e223e6f2: Pulling fs layer [2023-01-10T21:12:45.389Z] 53926ce57604: Pulling fs layer [2023-01-10T21:12:45.389Z] 21b2b0c7a3f4: Pulling fs layer [2023-01-10T21:12:45.389Z] 22ff95d597cd: Pulling fs layer [2023-01-10T21:12:45.389Z] 12d6caf4c0d1: Pulling fs layer [2023-01-10T21:12:45.389Z] 96b7cbca73a9: Pulling fs layer [2023-01-10T21:12:45.389Z] a7acece74701: Pulling fs layer [2023-01-10T21:12:45.389Z] 22ff95d597cd: Waiting [2023-01-10T21:12:45.389Z] 12d6caf4c0d1: Waiting [2023-01-10T21:12:45.389Z] 96b7cbca73a9: Waiting [2023-01-10T21:12:45.389Z] 53926ce57604: Waiting [2023-01-10T21:12:45.389Z] 21b2b0c7a3f4: Waiting [2023-01-10T21:12:45.389Z] 93c1e223e6f2: Verifying Checksum [2023-01-10T21:12:45.389Z] 93c1e223e6f2: Download complete [2023-01-10T21:12:45.389Z] 4583459ba037: Download complete [2023-01-10T21:12:45.650Z] 21b2b0c7a3f4: Download complete [2023-01-10T21:12:45.650Z] 22ff95d597cd: Verifying Checksum [2023-01-10T21:12:45.650Z] 22ff95d597cd: Download complete [2023-01-10T21:12:45.650Z] 213ec9aee27d: Verifying Checksum [2023-01-10T21:12:45.650Z] 12d6caf4c0d1: Download complete [2023-01-10T21:12:45.650Z] 213ec9aee27d: Pull complete [2023-01-10T21:12:45.911Z] 4583459ba037: Pull complete [2023-01-10T21:12:45.911Z] 93c1e223e6f2: Pull complete [2023-01-10T21:12:46.171Z] a7acece74701: Verifying Checksum [2023-01-10T21:12:46.171Z] a7acece74701: Download complete [2023-01-10T21:12:46.429Z] 96b7cbca73a9: Verifying Checksum [2023-01-10T21:12:46.429Z] 96b7cbca73a9: Download complete [2023-01-10T21:12:46.429Z] 53926ce57604: Verifying Checksum [2023-01-10T21:12:46.429Z] 53926ce57604: Download complete [2023-01-10T21:12:50.622Z] 53926ce57604: Pull complete [2023-01-10T21:12:50.622Z] 21b2b0c7a3f4: Pull complete [2023-01-10T21:12:50.622Z] 22ff95d597cd: Pull complete [2023-01-10T21:12:50.622Z] 12d6caf4c0d1: Pull complete [2023-01-10T21:12:52.537Z] 96b7cbca73a9: Pull complete [2023-01-10T21:12:53.479Z] a7acece74701: Pull complete [2023-01-10T21:12:53.479Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-01-10T21:12:53.479Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-01-10T21:12:53.479Z] ---> db6d94c90886 [2023-01-10T21:12:53.479Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2023-01-10T21:12:54.858Z] ---> Running in 040b90ee72f0 [2023-01-10T21:12:55.119Z] Removing intermediate container 040b90ee72f0 [2023-01-10T21:12:55.119Z] ---> 6222a839c25c [2023-01-10T21:12:55.119Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-10T21:12:55.119Z] ---> Running in c03bb8e3d62c [2023-01-10T21:12:55.119Z] Removing intermediate container c03bb8e3d62c [2023-01-10T21:12:55.119Z] ---> 550b56b39d9e [2023-01-10T21:12:55.119Z] Step 5/10 : RUN apk add --update --no-cache make git openssh [2023-01-10T21:12:55.380Z] ---> Running in 340314cb4c18 [2023-01-10T21:12:55.641Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-10T21:12:55.641Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-10T21:12:55.900Z] (1/8) Installing openssh-keygen (9.0_p1-r2) [2023-01-10T21:12:55.900Z] (2/8) Installing libedit (20210910.3.1-r0) [2023-01-10T21:12:55.900Z] (3/8) Installing openssh-client-common (9.0_p1-r2) [2023-01-10T21:12:55.900Z] (4/8) Installing openssh-client-default (9.0_p1-r2) [2023-01-10T21:12:55.900Z] (5/8) Installing openssh-sftp-server (9.0_p1-r2) [2023-01-10T21:12:55.900Z] (6/8) Installing openssh-server-common (9.0_p1-r2) [2023-01-10T21:12:55.900Z] (7/8) Installing openssh-server (9.0_p1-r2) [2023-01-10T21:12:55.900Z] (8/8) Installing openssh (9.0_p1-r2) [2023-01-10T21:12:55.900Z] Executing busybox-1.35.0-r17.trigger [2023-01-10T21:12:55.900Z] OK: 217 MiB in 59 packages [2023-01-10T21:12:56.472Z] Removing intermediate container 340314cb4c18 [2023-01-10T21:12:56.472Z] ---> 73802f48d935 [2023-01-10T21:12:56.472Z] Step 6/10 : WORKDIR /device-modbus-go [2023-01-10T21:12:56.472Z] ---> Running in 14c704135d3c [2023-01-10T21:12:56.472Z] Removing intermediate container 14c704135d3c [2023-01-10T21:12:56.472Z] ---> 3a45a6c2f1d2 [2023-01-10T21:12:56.472Z] Step 7/10 : COPY go.mod vendor* ./ [2023-01-10T21:12:56.472Z] ---> cf830476e188 [2023-01-10T21:12:56.472Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-10T21:12:56.732Z] ---> Running in 187e546c9181 [2023-01-10T21:12:58.549Z] Still waiting to schedule task [2023-01-10T21:12:58.549Z] ‘prd-centos7-blackbox-4c-2g-1315’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-01-10T21:12:58.549Z] ‘prd-centos7-blackbox-4c-2g-1316’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-01-10T21:12:58.549Z] ‘prd-ubuntu20.04-docker-8c-8g-1691’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-01-10T21:12:58.549Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-1689’ is offline [2023-01-10T21:13:14.876Z] Removing intermediate container 187e546c9181 [2023-01-10T21:13:14.876Z] ---> 001ce6b357e8 [2023-01-10T21:13:14.876Z] Step 9/10 : COPY . . [2023-01-10T21:13:14.876Z] ---> 51c4338867ac [2023-01-10T21:13:14.876Z] Step 10/10 : RUN ${MAKE} [2023-01-10T21:13:14.876Z] ---> Running in 96d28a17997b [2023-01-10T21:13:14.876Z] noop [2023-01-10T21:13:14.876Z] Removing intermediate container 96d28a17997b [2023-01-10T21:13:14.876Z] ---> 97d5b595786b [2023-01-10T21:13:14.876Z] Successfully built 97d5b595786b [2023-01-10T21:13:15.135Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T21:13:15.576Z] + docker inspect -f . ci-base-image-x86_64 [2023-01-10T21:13:15.576Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-10T21:13:15.721Z] prd-ubuntu20.04-docker-8c-8g-1688 does not seem to be running inside a container [2023-01-10T21:13:15.746Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-398 -v /w/workspace/xfoundry_device-modbus-go_PR-398:/w/workspace/xfoundry_device-modbus-go_PR-398:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-398@tmp:/w/workspace/xfoundry_device-modbus-go_PR-398@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-01-10T21:13:16.136Z] $ docker top b4629179549bd3df06ddf5291673e34f3327052a3c7c2cebf76a5ecc5b59dee7 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-10T21:13:16.530Z] + go version [2023-01-10T21:13:16.530Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-01-10T21:13:16.557Z] $ docker stop --time=1 b4629179549bd3df06ddf5291673e34f3327052a3c7c2cebf76a5ecc5b59dee7 [2023-01-10T21:13:17.888Z] $ docker rm -f --volumes b4629179549bd3df06ddf5291673e34f3327052a3c7c2cebf76a5ecc5b59dee7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T21:13:18.584Z] + docker inspect -f . ci-base-image-x86_64 [2023-01-10T21:13:18.584Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-10T21:13:18.735Z] prd-ubuntu20.04-docker-8c-8g-1688 does not seem to be running inside a container [2023-01-10T21:13:18.760Z] $ 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-398 -v /w/workspace/xfoundry_device-modbus-go_PR-398:/w/workspace/xfoundry_device-modbus-go_PR-398:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-398@tmp:/w/workspace/xfoundry_device-modbus-go_PR-398@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-01-10T21:13:19.132Z] $ docker top 24de6e6a84a61b9845fffdc1b9da35238c9d5ae49c3854151ca114fb0368a7b7 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-10T21:13:19.531Z] + git config --global --add safe.directory /w/workspace/xfoundry_device-modbus-go_PR-398 [Pipeline] fileExists [Pipeline] sh [2023-01-10T21:13:19.890Z] + make test [2023-01-10T21:13:19.891Z] go test ./... -coverprofile=coverage.out [2023-01-10T21:13:20.151Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2023-01-10T21:13:30.124Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2023-01-10T21:13:30.124Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.015s coverage: 47.7% of statements [2023-01-10T21:13:36.683Z] 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-10T21:13:36.683Z] go vet ./... [2023-01-10T21:13:39.964Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-01-10T21:13:39.964Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-01-10T21:13:39.964Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-01-10T21:13:40.018Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-01-10T21:13:40.051Z] $ docker stop --time=1 24de6e6a84a61b9845fffdc1b9da35238c9d5ae49c3854151ca114fb0368a7b7 [2023-01-10T21:13:41.735Z] $ docker rm -f --volumes 24de6e6a84a61b9845fffdc1b9da35238c9d5ae49c3854151ca114fb0368a7b7 [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-10T21:13:42.225Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-01-10T21:13:42.286Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-01-10T21:13:42.872Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-01-10T21:13:43.184Z] + ls -al . [2023-01-10T21:13:43.184Z] total 196 [2023-01-10T21:13:43.184Z] drwxrwxr-x 10 jenkins jenkins 4096 Jan 10 21:13 . [2023-01-10T21:13:43.184Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 10 21:12 .. [2023-01-10T21:13:43.184Z] -rw-rw-r-- 1 jenkins jenkins 140 Jan 10 21:12 .dockerignore [2023-01-10T21:13:43.184Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 10 21:13 .git [2023-01-10T21:13:43.184Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 10 21:12 .github [2023-01-10T21:13:43.184Z] -rw-rw-r-- 1 jenkins jenkins 331 Jan 10 21:12 .gitignore [2023-01-10T21:13:43.184Z] -rw-rw-r-- 1 jenkins jenkins 41 Jan 10 21:12 .golangci.yml [2023-01-10T21:13:43.184Z] drwxr-xr-x 3 jenkins jenkins 4096 Jan 10 21:12 .semver [2023-01-10T21:13:43.184Z] -rw-rw-r-- 1 jenkins jenkins 10017 Jan 10 21:12 Attribution.txt [2023-01-10T21:13:43.184Z] -rw-rw-r-- 1 jenkins jenkins 11576 Jan 10 21:12 CHANGELOG.md [2023-01-10T21:13:43.184Z] -rw-rw-r-- 1 jenkins jenkins 1365 Jan 10 21:12 Dockerfile [2023-01-10T21:13:43.184Z] -rw-rw-r-- 1 jenkins jenkins 677 Jan 10 21:12 GOVERNANCE.md [2023-01-10T21:13:43.184Z] -rw-rw-r-- 1 jenkins jenkins 680 Jan 10 21:12 Jenkinsfile [2023-01-10T21:13:43.184Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jan 10 21:12 LICENSE [2023-01-10T21:13:43.184Z] -rw-rw-r-- 1 jenkins jenkins 1670 Jan 10 21:12 Makefile [2023-01-10T21:13:43.184Z] -rw-rw-r-- 1 jenkins jenkins 622 Jan 10 21:12 OWNERS.md [2023-01-10T21:13:43.184Z] -rw-rw-r-- 1 jenkins jenkins 4061 Jan 10 21:12 README.md [2023-01-10T21:13:43.184Z] -rw-rw-r-- 1 jenkins jenkins 5 Jan 10 21:12 VERSION [2023-01-10T21:13:43.184Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 10 21:12 bin [2023-01-10T21:13:43.184Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 10 21:12 cmd [2023-01-10T21:13:43.184Z] -rw-r--r-- 1 jenkins jenkins 23241 Jan 10 21:13 coverage.out [2023-01-10T21:13:43.184Z] -rw-rw-r-- 1 jenkins jenkins 3584 Jan 10 21:12 go.mod [2023-01-10T21:13:43.184Z] -rw-rw-r-- 1 jenkins jenkins 45355 Jan 10 21:12 go.sum [2023-01-10T21:13:43.184Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 10 21:12 internal [2023-01-10T21:13:43.184Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 10 21:12 simulator [2023-01-10T21:13:43.184Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 10 21:12 snap [2023-01-10T21:13:43.184Z] -rw-rw-r-- 1 jenkins jenkins 229 Jan 10 21:12 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T21:13:43.641Z] + 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=c5f8c5c719c6eba7f2f7c5a48372fcb026e160c4 --label arch=amd64 --label version=0.0.0 . [2023-01-10T21:13:43.641Z] Sending build context to Docker daemon 6.34MB [2023-01-10T21:13:43.641Z] Step 1/22 : ARG BASE=golang:1.18-alpine3.16 [2023-01-10T21:13:43.641Z] Step 2/22 : FROM ${BASE} AS builder [2023-01-10T21:13:43.641Z] ---> 97d5b595786b [2023-01-10T21:13:43.641Z] Step 3/22 : ARG ADD_BUILD_TAGS="" [2023-01-10T21:13:43.641Z] ---> Running in 402b1857b9d1 [2023-01-10T21:13:43.641Z] Removing intermediate container 402b1857b9d1 [2023-01-10T21:13:43.641Z] ---> 58e1d4998dcc [2023-01-10T21:13:43.641Z] Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-10T21:13:43.925Z] ---> Running in 0c0cee5e4563 [2023-01-10T21:13:43.925Z] Removing intermediate container 0c0cee5e4563 [2023-01-10T21:13:43.925Z] ---> 9d726f5c452e [2023-01-10T21:13:43.925Z] Step 5/22 : RUN apk add --update --no-cache make git openssh [2023-01-10T21:13:43.925Z] ---> Running in 140f053320e2 [2023-01-10T21:13:44.208Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-10T21:13:44.208Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-10T21:13:44.466Z] OK: 217 MiB in 59 packages [2023-01-10T21:13:44.728Z] Removing intermediate container 140f053320e2 [2023-01-10T21:13:44.728Z] ---> 353f784ae438 [2023-01-10T21:13:44.728Z] Step 6/22 : WORKDIR /device-modbus-go [2023-01-10T21:13:44.988Z] ---> Running in 4e7f8df8baa5 [2023-01-10T21:13:44.988Z] Removing intermediate container 4e7f8df8baa5 [2023-01-10T21:13:44.988Z] ---> 77599690e43e [2023-01-10T21:13:44.988Z] Step 7/22 : COPY go.mod vendor* ./ [2023-01-10T21:13:44.988Z] ---> 9b0019ada157 [2023-01-10T21:13:44.988Z] Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-10T21:13:45.247Z] ---> Running in eacaa61ae4b5 [2023-01-10T21:13:45.816Z] Removing intermediate container eacaa61ae4b5 [2023-01-10T21:13:45.816Z] ---> 0a4f33fd0854 [2023-01-10T21:13:45.816Z] Step 9/22 : COPY . . [2023-01-10T21:13:46.075Z] ---> 5befaf92a97e [2023-01-10T21:13:46.075Z] Step 10/22 : RUN ${MAKE} [2023-01-10T21:13:46.075Z] ---> Running in f59f4f970223 [2023-01-10T21:13:46.335Z] 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-10T21:14:04.417Z] Removing intermediate container f59f4f970223 [2023-01-10T21:14:04.417Z] ---> 4a5e8bf4f7f2 [2023-01-10T21:14:04.417Z] Step 11/22 : FROM alpine:3.14 [2023-01-10T21:14:04.417Z] 3.14: Pulling from library/alpine [2023-01-10T21:14:04.417Z] c7ed990a2339: Pulling fs layer [2023-01-10T21:14:04.674Z] c7ed990a2339: Verifying Checksum [2023-01-10T21:14:04.674Z] c7ed990a2339: Download complete [2023-01-10T21:14:04.933Z] c7ed990a2339: Pull complete [2023-01-10T21:14:04.933Z] Digest: sha256:4c869a63e1b7c0722fed1e402a6466610327c3b83bdddb94bd94fb71da7f638a [2023-01-10T21:14:04.933Z] Status: Downloaded newer image for alpine:3.14 [2023-01-10T21:14:04.933Z] ---> dd53f409bf0b [2023-01-10T21:14:04.933Z] Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2023-01-10T21:14:04.933Z] ---> Running in 99b0fed4ddac [2023-01-10T21:14:04.933Z] Removing intermediate container 99b0fed4ddac [2023-01-10T21:14:04.933Z] ---> c191297082e2 [2023-01-10T21:14:04.933Z] Step 13/22 : RUN apk add --update --no-cache dumb-init [2023-01-10T21:14:04.933Z] ---> Running in d3358104579c [2023-01-10T21:14:05.193Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2023-01-10T21:14:05.457Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2023-01-10T21:14:05.715Z] (1/1) Installing dumb-init (1.2.5-r1) [2023-01-10T21:14:05.976Z] Executing busybox-1.33.1-r8.trigger [2023-01-10T21:14:05.976Z] OK: 6 MiB in 15 packages [2023-01-10T21:14:06.236Z] Removing intermediate container d3358104579c [2023-01-10T21:14:06.236Z] ---> 262f9b5e2706 [2023-01-10T21:14:06.236Z] Step 14/22 : COPY --from=builder /device-modbus-go/cmd / [2023-01-10T21:14:06.494Z] ---> cb74aeb14f0e [2023-01-10T21:14:06.494Z] Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / [2023-01-10T21:14:06.755Z] ---> 14ad8205c86c [2023-01-10T21:14:06.755Z] Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / [2023-01-10T21:14:06.755Z] ---> db35c20d58aa [2023-01-10T21:14:06.755Z] Step 17/22 : EXPOSE 59901 [2023-01-10T21:14:06.755Z] ---> Running in 0dc287e5c16e [2023-01-10T21:14:07.013Z] Removing intermediate container 0dc287e5c16e [2023-01-10T21:14:07.013Z] ---> a880980d19a2 [2023-01-10T21:14:07.013Z] Step 18/22 : ENTRYPOINT ["/device-modbus"] [2023-01-10T21:14:07.013Z] ---> Running in a741a7324763 [2023-01-10T21:14:07.013Z] Removing intermediate container a741a7324763 [2023-01-10T21:14:07.013Z] ---> 9f7d64c7bf87 [2023-01-10T21:14:07.013Z] Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-01-10T21:14:07.013Z] ---> Running in 56f0298af3ca [2023-01-10T21:14:07.271Z] Removing intermediate container 56f0298af3ca [2023-01-10T21:14:07.271Z] ---> 7be300202242 [2023-01-10T21:14:07.271Z] Step 20/22 : LABEL arch=amd64 [2023-01-10T21:14:07.271Z] ---> Running in 2473afb511d6 [2023-01-10T21:14:07.271Z] Removing intermediate container 2473afb511d6 [2023-01-10T21:14:07.271Z] ---> b69a2176428a [2023-01-10T21:14:07.271Z] Step 21/22 : LABEL git_sha=c5f8c5c719c6eba7f2f7c5a48372fcb026e160c4 [2023-01-10T21:14:07.271Z] ---> Running in 9a09e157f362 [2023-01-10T21:14:07.529Z] Removing intermediate container 9a09e157f362 [2023-01-10T21:14:07.529Z] ---> c308082605f5 [2023-01-10T21:14:07.529Z] Step 22/22 : LABEL version=0.0.0 [2023-01-10T21:14:07.529Z] ---> Running in deb5b9a677b7 [2023-01-10T21:14:07.529Z] Removing intermediate container deb5b9a677b7 [2023-01-10T21:14:07.529Z] ---> 7a233aba7758 [2023-01-10T21:14:07.529Z] [Warning] One or more build-args [ARCH] were not consumed [2023-01-10T21:14:07.529Z] Successfully built 7a233aba7758 [2023-01-10T21:14:07.529Z] 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-10T21:14:08.404Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-10T21:14:08.404Z] [2023-01-10T21:14:08.404Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T21:14:08.888Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-10T21:14:08.888Z] latest: Pulling from edgex-lftools-log-publisher [2023-01-10T21:14:08.888Z] 5eb5b503b376: Pulling fs layer [2023-01-10T21:14:08.888Z] 5c69ac0246d0: Pulling fs layer [2023-01-10T21:14:08.888Z] ec43610c2a17: Pulling fs layer [2023-01-10T21:14:08.888Z] 3a2ae6a8a46f: Pulling fs layer [2023-01-10T21:14:08.888Z] 33b1e0a273af: Pulling fs layer [2023-01-10T21:14:08.888Z] 5d3b04190fa2: Pulling fs layer [2023-01-10T21:14:08.888Z] 3a2ae6a8a46f: Waiting [2023-01-10T21:14:08.888Z] 33b1e0a273af: Waiting [2023-01-10T21:14:08.888Z] 2f39f015ded8: Pulling fs layer [2023-01-10T21:14:08.888Z] 2f39f015ded8: Waiting [2023-01-10T21:14:08.888Z] 5d3b04190fa2: Waiting [2023-01-10T21:14:08.888Z] 5c69ac0246d0: Verifying Checksum [2023-01-10T21:14:08.888Z] 5c69ac0246d0: Download complete [2023-01-10T21:14:08.888Z] 3a2ae6a8a46f: Verifying Checksum [2023-01-10T21:14:08.888Z] 3a2ae6a8a46f: Download complete [2023-01-10T21:14:09.154Z] 33b1e0a273af: Download complete [2023-01-10T21:14:09.154Z] ec43610c2a17: Verifying Checksum [2023-01-10T21:14:09.154Z] ec43610c2a17: Download complete [2023-01-10T21:14:09.154Z] 5d3b04190fa2: Verifying Checksum [2023-01-10T21:14:09.154Z] 5d3b04190fa2: Download complete [2023-01-10T21:14:09.154Z] 5eb5b503b376: Verifying Checksum [2023-01-10T21:14:09.154Z] 5eb5b503b376: Download complete [2023-01-10T21:14:10.089Z] 5eb5b503b376: Pull complete [2023-01-10T21:14:10.347Z] 5c69ac0246d0: Pull complete [2023-01-10T21:14:10.605Z] ec43610c2a17: Pull complete [2023-01-10T21:14:10.862Z] 3a2ae6a8a46f: Pull complete [2023-01-10T21:14:10.862Z] 33b1e0a273af: Pull complete [2023-01-10T21:14:11.120Z] 5d3b04190fa2: Pull complete [2023-01-10T21:14:15.310Z] 2f39f015ded8: Pull complete [2023-01-10T21:14:15.310Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-01-10T21:14:15.310Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-10T21:14:15.310Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-10T21:14:15.510Z] prd-ubuntu20.04-docker-8c-8g-1688 does not seem to be running inside a container [2023-01-10T21:14:15.538Z] $ 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-398 -v /w/workspace/xfoundry_device-modbus-go_PR-398:/w/workspace/xfoundry_device-modbus-go_PR-398:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-398@tmp:/w/workspace/xfoundry_device-modbus-go_PR-398@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-01-10T21:14:16.955Z] $ docker top 306f17cc95beb1778dee81e59104d2667c8a247fdc878d2afa6987bb2d26edc5 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-10T21:14:17.395Z] ---> job-cost.sh [2023-01-10T21:14:17.395Z] lf-activate-venv: SKIPPING [2023-01-10T21:14:17.395Z] INFO: No Stack... [2023-01-10T21:14:17.654Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-01-10T21:14:18.222Z] INFO: Archiving Costs [Pipeline] sh [2023-01-10T21:14:18.543Z] + cat /w/workspace/xfoundry_device-modbus-go_PR-398/archives/cost.csv [2023-01-10T21:14:18.544Z] + cut -d, -f6 [Pipeline] lock [2023-01-10T21:14:18.587Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-398-1-stack-cost] [2023-01-10T21:14:18.593Z] Resource [jenkins-edgexfoundry-device-modbus-go-PR-398-1-stack-cost] did not exist. Created. [2023-01-10T21:14:18.593Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-398-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-01-10T21:14:18.991Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-01-10T21:14:19.041Z] Stashed 1 file(s) [Pipeline] } [2023-01-10T21:14:19.071Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-398-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-01-10T21:14:19.148Z] $ docker stop --time=1 306f17cc95beb1778dee81e59104d2667c8a247fdc878d2afa6987bb2d26edc5 [2023-01-10T21:14:20.318Z] $ docker rm -f --volumes 306f17cc95beb1778dee81e59104d2667c8a247fdc878d2afa6987bb2d26edc5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-01-10T21:15:39.193Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-1694 in /w/workspace/xfoundry_device-modbus-go_PR-398 [Pipeline] { [Pipeline] ws [2023-01-10T21:15:39.250Z] Running in /w/workspace/device-modbus-go/1 [Pipeline] { [Pipeline] checkout [2023-01-10T21:15:39.343Z] Selected Git installation does not exist. Using Default [2023-01-10T21:15:39.343Z] The recommended git tool is: NONE [2023-01-10T21:15:51.086Z] using credential edgex-jenkins-ssh [2023-01-10T21:15:51.114Z] Cloning the remote Git repository [2023-01-10T21:15:51.231Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2023-01-10T21:15:51.397Z] > git init /w/workspace/device-modbus-go/1 # timeout=10 [2023-01-10T21:15:52.042Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2023-01-10T21:15:52.044Z] > git --version # timeout=10 [2023-01-10T21:15:52.215Z] > git --version # 'git version 2.25.1' [2023-01-10T21:15:52.218Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-10T21:15:52.428Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-01-10T21:15:54.058Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2023-01-10T21:15:54.124Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-01-10T21:15:55.802Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2023-01-10T21:15:55.882Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2023-01-10T21:15:55.883Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-10T21:15:55.902Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/398/head:refs/remotes/origin/PR-398 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-01-10T21:15:56.538Z] Merging remotes/origin/main commit def1cc71e63d04479355a5672fe2144ca0f9c836 into PR head commit c5f8c5c719c6eba7f2f7c5a48372fcb026e160c4 [2023-01-10T21:15:56.957Z] Merge succeeded, producing c5f8c5c719c6eba7f2f7c5a48372fcb026e160c4 [2023-01-10T21:15:56.957Z] Checking out Revision c5f8c5c719c6eba7f2f7c5a48372fcb026e160c4 (PR-398) [2023-01-10T21:15:58.081Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" [2023-01-10T21:15:56.563Z] > git config core.sparsecheckout # timeout=10 [2023-01-10T21:15:56.587Z] > git checkout -f c5f8c5c719c6eba7f2f7c5a48372fcb026e160c4 # timeout=10 [2023-01-10T21:15:56.740Z] > git remote # timeout=10 [2023-01-10T21:15:56.772Z] > git config --get remote.origin.url # timeout=10 [2023-01-10T21:15:56.848Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-10T21:15:56.874Z] > git merge def1cc71e63d04479355a5672fe2144ca0f9c836 # timeout=10 [2023-01-10T21:15:56.923Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-01-10T21:15:56.967Z] > git config core.sparsecheckout # timeout=10 [2023-01-10T21:15:56.994Z] > git checkout -f c5f8c5c719c6eba7f2f7c5a48372fcb026e160c4 # timeout=10 [2023-01-10T21:15:58.171Z] > git --version # timeout=10 [2023-01-10T21:15:58.199Z] > git --version # 'git version 2.25.1' [2023-01-10T21:15:58.240Z] fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-10T21:15:59.535Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-01-10T21:15:59.535Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-01-10T21:15:59.535Z] Dload Upload Total Spent Left Speed [2023-01-10T21:15:59.535Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 118k 0 --:--:-- --:--:-- --:--:-- 118k [Pipeline] sh [2023-01-10T21:16:00.523Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-01-10T21:16:00.906Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-01-10T21:16:00.906Z] + sudo tee /etc/docker/daemon.new [2023-01-10T21:16:00.906Z] { [2023-01-10T21:16:00.906Z] "registry-mirrors": [ [2023-01-10T21:16:00.906Z] "https://nexus3.edgexfoundry.org:10001" [2023-01-10T21:16:00.906Z] ], [2023-01-10T21:16:00.906Z] "bip": "10.250.0.254/24", [2023-01-10T21:16:00.906Z] "hosts": [ [2023-01-10T21:16:00.906Z] "tcp://0.0.0.0:5555", [2023-01-10T21:16:00.906Z] "unix:///var/run/docker.sock" [2023-01-10T21:16:00.906Z] ], [2023-01-10T21:16:00.906Z] "mtu": 1458, [2023-01-10T21:16:00.906Z] "selinux-enabled": true, [2023-01-10T21:16:00.906Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-01-10T21:16:00.906Z] } [Pipeline] sh [2023-01-10T21:16:01.284Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-01-10T21:16:01.673Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-10T21:16:20.111Z] provisioning config files... [2023-01-10T21:16:20.150Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/1@tmp/config7788062993738793955tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-10T21:16:20.578Z] ---> docker-login.sh [2023-01-10T21:16:20.578Z] nexus3.edgexfoundry.org:10001 [2023-01-10T21:16:21.188Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T21:16:21.471Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T21:16:21.471Z] Configure a credential helper to remove this warning. See [2023-01-10T21:16:21.471Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T21:16:21.471Z] [2023-01-10T21:16:21.471Z] Login Succeeded [2023-01-10T21:16:21.471Z] nexus3.edgexfoundry.org:10002 [2023-01-10T21:16:21.754Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T21:16:22.033Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T21:16:22.033Z] Configure a credential helper to remove this warning. See [2023-01-10T21:16:22.033Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T21:16:22.033Z] [2023-01-10T21:16:22.033Z] Login Succeeded [2023-01-10T21:16:22.033Z] nexus3.edgexfoundry.org:10003 [2023-01-10T21:16:22.313Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T21:16:22.313Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T21:16:22.313Z] Configure a credential helper to remove this warning. See [2023-01-10T21:16:22.313Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T21:16:22.313Z] [2023-01-10T21:16:22.313Z] Login Succeeded [2023-01-10T21:16:22.313Z] nexus3.edgexfoundry.org:10004 [2023-01-10T21:16:22.589Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T21:16:22.866Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T21:16:22.866Z] Configure a credential helper to remove this warning. See [2023-01-10T21:16:22.866Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T21:16:22.866Z] [2023-01-10T21:16:22.866Z] Login Succeeded [2023-01-10T21:16:22.866Z] docker.io [2023-01-10T21:16:23.144Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T21:16:23.419Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T21:16:23.419Z] Configure a credential helper to remove this warning. See [2023-01-10T21:16:23.419Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T21:16:23.419Z] [2023-01-10T21:16:23.419Z] Login Succeeded [2023-01-10T21:16:23.419Z] ---> docker-login.sh ends [Pipeline] } [2023-01-10T21:16:23.453Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-01-10T21:16:23.961Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-10T21:16:24.002Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-10T21:16:24.040Z] ========================================================= [2023-01-10T21:16:24.040Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-01-10T21:16:24.040Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T21:16:24.589Z] + 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-10T21:16:24.869Z] Sending build context to Docker daemon 3.289MB [2023-01-10T21:16:24.869Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2023-01-10T21:16:24.869Z] Step 2/10 : FROM ${BASE} AS builder [2023-01-10T21:16:25.144Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-01-10T21:16:25.144Z] 9b18e9b68314: Pulling fs layer [2023-01-10T21:16:25.144Z] 35d82f9e3411: Pulling fs layer [2023-01-10T21:16:25.144Z] e16973657156: Pulling fs layer [2023-01-10T21:16:25.144Z] fc693d55d65f: Pulling fs layer [2023-01-10T21:16:25.144Z] 7e9fc2657dce: Pulling fs layer [2023-01-10T21:16:25.144Z] dda99020689f: Pulling fs layer [2023-01-10T21:16:25.144Z] db1c61fa0a46: Pulling fs layer [2023-01-10T21:16:25.144Z] 891c053d2c06: Pulling fs layer [2023-01-10T21:16:25.144Z] db1c61fa0a46: Waiting [2023-01-10T21:16:25.144Z] dda99020689f: Waiting [2023-01-10T21:16:25.144Z] 891c053d2c06: Waiting [2023-01-10T21:16:25.144Z] fc693d55d65f: Waiting [2023-01-10T21:16:25.144Z] 7e9fc2657dce: Waiting [2023-01-10T21:16:25.144Z] e16973657156: Verifying Checksum [2023-01-10T21:16:25.144Z] e16973657156: Download complete [2023-01-10T21:16:25.144Z] 35d82f9e3411: Verifying Checksum [2023-01-10T21:16:25.144Z] 35d82f9e3411: Download complete [2023-01-10T21:16:25.144Z] 7e9fc2657dce: Verifying Checksum [2023-01-10T21:16:25.144Z] 7e9fc2657dce: Download complete [2023-01-10T21:16:25.425Z] dda99020689f: Verifying Checksum [2023-01-10T21:16:25.425Z] dda99020689f: Download complete [2023-01-10T21:16:25.425Z] 9b18e9b68314: Verifying Checksum [2023-01-10T21:16:25.425Z] 9b18e9b68314: Download complete [2023-01-10T21:16:26.427Z] 891c053d2c06: Verifying Checksum [2023-01-10T21:16:27.443Z] 9b18e9b68314: Pull complete [2023-01-10T21:16:27.719Z] db1c61fa0a46: Verifying Checksum [2023-01-10T21:16:27.719Z] db1c61fa0a46: Download complete [2023-01-10T21:16:27.992Z] 35d82f9e3411: Pull complete [2023-01-10T21:16:28.267Z] e16973657156: Pull complete [2023-01-10T21:16:28.267Z] fc693d55d65f: Verifying Checksum [2023-01-10T21:16:28.267Z] fc693d55d65f: Download complete [2023-01-10T21:16:43.365Z] fc693d55d65f: Pull complete [2023-01-10T21:16:43.365Z] 7e9fc2657dce: Pull complete [2023-01-10T21:16:43.365Z] dda99020689f: Pull complete [2023-01-10T21:16:48.763Z] db1c61fa0a46: Pull complete [2023-01-10T21:16:50.217Z] 891c053d2c06: Pull complete [2023-01-10T21:16:50.217Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-01-10T21:16:50.217Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-01-10T21:16:50.217Z] ---> f96f9c87975a [2023-01-10T21:16:50.217Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2023-01-10T21:16:52.873Z] ---> Running in dd5e54fea7d8 [2023-01-10T21:16:52.873Z] Removing intermediate container dd5e54fea7d8 [2023-01-10T21:16:52.873Z] ---> 74d8b22dcdb4 [2023-01-10T21:16:52.873Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-10T21:16:52.873Z] ---> Running in 81cdd54dc7d5 [2023-01-10T21:16:53.154Z] Removing intermediate container 81cdd54dc7d5 [2023-01-10T21:16:53.154Z] ---> c26fa85f4dbd [2023-01-10T21:16:53.154Z] Step 5/10 : RUN apk add --update --no-cache make git openssh [2023-01-10T21:16:53.430Z] ---> Running in 2b77023d3082 [2023-01-10T21:16:54.895Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-10T21:16:55.168Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-10T21:16:56.603Z] (1/8) Installing openssh-keygen (9.0_p1-r2) [2023-01-10T21:16:56.603Z] (2/8) Installing libedit (20210910.3.1-r0) [2023-01-10T21:16:56.603Z] (3/8) Installing openssh-client-common (9.0_p1-r2) [2023-01-10T21:16:56.603Z] (4/8) Installing openssh-client-default (9.0_p1-r2) [2023-01-10T21:16:56.603Z] (5/8) Installing openssh-sftp-server (9.0_p1-r2) [2023-01-10T21:16:56.603Z] (6/8) Installing openssh-server-common (9.0_p1-r2) [2023-01-10T21:16:56.603Z] (7/8) Installing openssh-server (9.0_p1-r2) [2023-01-10T21:16:56.603Z] (8/8) Installing openssh (9.0_p1-r2) [2023-01-10T21:16:56.603Z] Executing busybox-1.35.0-r17.trigger [2023-01-10T21:16:56.603Z] OK: 228 MiB in 59 packages [2023-01-10T21:16:58.049Z] Removing intermediate container 2b77023d3082 [2023-01-10T21:16:58.049Z] ---> a9dd221a1909 [2023-01-10T21:16:58.049Z] Step 6/10 : WORKDIR /device-modbus-go [2023-01-10T21:16:58.049Z] ---> Running in 6cd819d9be16 [2023-01-10T21:16:58.333Z] Removing intermediate container 6cd819d9be16 [2023-01-10T21:16:58.333Z] ---> 07ff470d0a9c [2023-01-10T21:16:58.333Z] Step 7/10 : COPY go.mod vendor* ./ [2023-01-10T21:16:58.930Z] ---> 8ee0e11509b9 [2023-01-10T21:16:58.930Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-10T21:16:58.930Z] ---> Running in 56b28fde955c [2023-01-10T21:18:06.967Z] Removing intermediate container 56b28fde955c [2023-01-10T21:18:06.967Z] ---> 6f420edcf21d [2023-01-10T21:18:06.967Z] Step 9/10 : COPY . . [2023-01-10T21:18:06.967Z] ---> 83c5739e55f0 [2023-01-10T21:18:06.967Z] Step 10/10 : RUN ${MAKE} [2023-01-10T21:18:06.967Z] ---> Running in 80f838573860 [2023-01-10T21:18:06.967Z] noop [2023-01-10T21:18:06.967Z] Removing intermediate container 80f838573860 [2023-01-10T21:18:06.967Z] ---> 0e8d7a86e236 [2023-01-10T21:18:06.967Z] Successfully built 0e8d7a86e236 [2023-01-10T21:18:06.967Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T21:18:07.465Z] + docker inspect -f . ci-base-image-arm64 [2023-01-10T21:18:07.466Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-10T21:18:07.743Z] prd-ubuntu20.04-docker-arm64-4c-16g-1694 does not seem to be running inside a container [2023-01-10T21:18:07.841Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-01-10T21:18:09.284Z] $ docker top 6d7fd24d6be435be793d36addc727cd264af1b4a2232d9e84a8f243e9dba091a -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-10T21:18:10.223Z] + go version [2023-01-10T21:18:10.223Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-01-10T21:18:10.262Z] $ docker stop --time=1 6d7fd24d6be435be793d36addc727cd264af1b4a2232d9e84a8f243e9dba091a [2023-01-10T21:18:11.988Z] $ docker rm -f --volumes 6d7fd24d6be435be793d36addc727cd264af1b4a2232d9e84a8f243e9dba091a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T21:18:12.884Z] + docker inspect -f . ci-base-image-arm64 [2023-01-10T21:18:12.884Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-10T21:18:13.171Z] prd-ubuntu20.04-docker-arm64-4c-16g-1694 does not seem to be running inside a container [2023-01-10T21:18:13.268Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-01-10T21:18:14.588Z] $ docker top c2063cb375f4be665e5be76dd9261911e8c38410dfbaddc69e6d20e7b1029df9 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-10T21:18:15.283Z] + git config --global --add safe.directory /w/workspace/device-modbus-go/1 [Pipeline] fileExists [Pipeline] sh [2023-01-10T21:18:16.014Z] + make test [2023-01-10T21:18:16.014Z] go test ./... -coverprofile=coverage.out [2023-01-10T21:18:18.045Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2023-01-10T21:19:54.809Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2023-01-10T21:19:54.809Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.072s coverage: 47.7% of statements [2023-01-10T21:19:55.085Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-01-10T21:19:55.085Z] go vet ./... [2023-01-10T21:20:21.818Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-01-10T21:20:21.818Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-01-10T21:20:21.818Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-01-10T21:20:21.858Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-01-10T21:20:21.886Z] $ docker stop --time=1 c2063cb375f4be665e5be76dd9261911e8c38410dfbaddc69e6d20e7b1029df9 [2023-01-10T21:20:23.779Z] $ docker rm -f --volumes c2063cb375f4be665e5be76dd9261911e8c38410dfbaddc69e6d20e7b1029df9 [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-10T21:20:24.833Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-01-10T21:20:24.866Z] Warning: overwriting stash ‘coverage-report’ [2023-01-10T21:20:25.406Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-10T21:20:26.010Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-01-10T21:20:26.361Z] + ls -al . [2023-01-10T21:20:26.361Z] total 192 [2023-01-10T21:20:26.361Z] drwxrwxr-x 9 jenkins jenkins 4096 Jan 10 21:18 . [2023-01-10T21:20:26.361Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 10 21:15 .. [2023-01-10T21:20:26.361Z] -rw-rw-r-- 1 jenkins jenkins 140 Jan 10 21:15 .dockerignore [2023-01-10T21:20:26.361Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 10 21:15 .git [2023-01-10T21:20:26.361Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 10 21:15 .github [2023-01-10T21:20:26.361Z] -rw-rw-r-- 1 jenkins jenkins 331 Jan 10 21:15 .gitignore [2023-01-10T21:20:26.361Z] -rw-rw-r-- 1 jenkins jenkins 41 Jan 10 21:15 .golangci.yml [2023-01-10T21:20:26.361Z] -rw-rw-r-- 1 jenkins jenkins 10017 Jan 10 21:15 Attribution.txt [2023-01-10T21:20:26.361Z] -rw-rw-r-- 1 jenkins jenkins 11576 Jan 10 21:15 CHANGELOG.md [2023-01-10T21:20:26.361Z] -rw-rw-r-- 1 jenkins jenkins 1365 Jan 10 21:15 Dockerfile [2023-01-10T21:20:26.361Z] -rw-rw-r-- 1 jenkins jenkins 677 Jan 10 21:15 GOVERNANCE.md [2023-01-10T21:20:26.361Z] -rw-rw-r-- 1 jenkins jenkins 680 Jan 10 21:15 Jenkinsfile [2023-01-10T21:20:26.361Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jan 10 21:15 LICENSE [2023-01-10T21:20:26.361Z] -rw-rw-r-- 1 jenkins jenkins 1670 Jan 10 21:15 Makefile [2023-01-10T21:20:26.361Z] -rw-rw-r-- 1 jenkins jenkins 622 Jan 10 21:15 OWNERS.md [2023-01-10T21:20:26.361Z] -rw-rw-r-- 1 jenkins jenkins 4061 Jan 10 21:15 README.md [2023-01-10T21:20:26.361Z] -rw-rw-r-- 1 jenkins jenkins 5 Jan 10 21:12 VERSION [2023-01-10T21:20:26.361Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 10 21:15 bin [2023-01-10T21:20:26.361Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 10 21:15 cmd [2023-01-10T21:20:26.361Z] -rw-r--r-- 1 jenkins jenkins 23241 Jan 10 21:19 coverage.out [2023-01-10T21:20:26.361Z] -rw-rw-r-- 1 jenkins jenkins 3584 Jan 10 21:15 go.mod [2023-01-10T21:20:26.361Z] -rw-rw-r-- 1 jenkins jenkins 45355 Jan 10 21:15 go.sum [2023-01-10T21:20:26.361Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 10 21:15 internal [2023-01-10T21:20:26.361Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 10 21:15 simulator [2023-01-10T21:20:26.361Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 10 21:15 snap [2023-01-10T21:20:26.361Z] -rw-rw-r-- 1 jenkins jenkins 229 Jan 10 21:15 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T21:20:26.794Z] + 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=c5f8c5c719c6eba7f2f7c5a48372fcb026e160c4 --label arch=arm64 --label version=0.0.0 . [2023-01-10T21:20:27.061Z] Sending build context to Docker daemon 3.313MB [2023-01-10T21:20:27.061Z] Step 1/22 : ARG BASE=golang:1.18-alpine3.16 [2023-01-10T21:20:27.061Z] Step 2/22 : FROM ${BASE} AS builder [2023-01-10T21:20:27.061Z] ---> 0e8d7a86e236 [2023-01-10T21:20:27.061Z] Step 3/22 : ARG ADD_BUILD_TAGS="" [2023-01-10T21:20:27.329Z] ---> Running in eb444ba1b699 [2023-01-10T21:20:27.603Z] Removing intermediate container eb444ba1b699 [2023-01-10T21:20:27.604Z] ---> 8f3576d5d817 [2023-01-10T21:20:27.604Z] Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-10T21:20:27.604Z] ---> Running in e602a24538b5 [2023-01-10T21:20:27.872Z] Removing intermediate container e602a24538b5 [2023-01-10T21:20:27.872Z] ---> 0811fba2673f [2023-01-10T21:20:27.872Z] Step 5/22 : RUN apk add --update --no-cache make git openssh [2023-01-10T21:20:28.152Z] ---> Running in 265a8a3cd16e [2023-01-10T21:20:29.129Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-10T21:20:29.400Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-10T21:20:30.368Z] OK: 228 MiB in 59 packages [2023-01-10T21:20:31.783Z] Removing intermediate container 265a8a3cd16e [2023-01-10T21:20:31.783Z] ---> 40206d270523 [2023-01-10T21:20:31.783Z] Step 6/22 : WORKDIR /device-modbus-go [2023-01-10T21:20:31.783Z] ---> Running in d1c9c7e2e4b0 [2023-01-10T21:20:32.051Z] Removing intermediate container d1c9c7e2e4b0 [2023-01-10T21:20:32.051Z] ---> dbee96f49566 [2023-01-10T21:20:32.051Z] Step 7/22 : COPY go.mod vendor* ./ [2023-01-10T21:20:32.640Z] ---> 288a9fd76b4e [2023-01-10T21:20:32.640Z] Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-10T21:20:32.640Z] ---> Running in f86a83ced684 [2023-01-10T21:20:34.608Z] Removing intermediate container f86a83ced684 [2023-01-10T21:20:34.608Z] ---> 594b83743fae [2023-01-10T21:20:34.608Z] Step 9/22 : COPY . . [2023-01-10T21:20:35.572Z] ---> 572a363a971b [2023-01-10T21:20:35.572Z] Step 10/22 : RUN ${MAKE} [2023-01-10T21:20:35.840Z] ---> Running in 38d19a7dd080 [2023-01-10T21:20:36.804Z] 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-10T21:22:58.528Z] Removing intermediate container 38d19a7dd080 [2023-01-10T21:22:58.528Z] ---> b161241d644d [2023-01-10T21:22:58.528Z] Step 11/22 : FROM alpine:3.14 [2023-01-10T21:22:58.528Z] 3.14: Pulling from library/alpine [2023-01-10T21:22:58.528Z] 90cda3b7c325: Pulling fs layer [2023-01-10T21:22:58.528Z] 90cda3b7c325: Verifying Checksum [2023-01-10T21:22:58.528Z] 90cda3b7c325: Download complete [2023-01-10T21:22:58.528Z] 90cda3b7c325: Pull complete [2023-01-10T21:22:58.528Z] Digest: sha256:4c869a63e1b7c0722fed1e402a6466610327c3b83bdddb94bd94fb71da7f638a [2023-01-10T21:22:58.528Z] Status: Downloaded newer image for alpine:3.14 [2023-01-10T21:22:58.528Z] ---> 275902a1839d [2023-01-10T21:22:58.528Z] Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2023-01-10T21:22:58.528Z] ---> Running in 14d16cdb504b [2023-01-10T21:22:58.528Z] Removing intermediate container 14d16cdb504b [2023-01-10T21:22:58.528Z] ---> 46c22cd850b1 [2023-01-10T21:22:58.528Z] Step 13/22 : RUN apk add --update --no-cache dumb-init [2023-01-10T21:22:58.528Z] ---> Running in f45684e53fc5 [2023-01-10T21:22:58.528Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2023-01-10T21:22:58.528Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2023-01-10T21:22:58.528Z] (1/1) Installing dumb-init (1.2.5-r1) [2023-01-10T21:22:58.528Z] Executing busybox-1.33.1-r8.trigger [2023-01-10T21:22:58.528Z] OK: 6 MiB in 15 packages [2023-01-10T21:22:58.528Z] Removing intermediate container f45684e53fc5 [2023-01-10T21:22:58.528Z] ---> fff32af70c1b [2023-01-10T21:22:58.528Z] Step 14/22 : COPY --from=builder /device-modbus-go/cmd / [2023-01-10T21:22:59.942Z] ---> 395eaad6ecf8 [2023-01-10T21:22:59.942Z] Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / [2023-01-10T21:23:00.532Z] ---> 334a21d0f1dd [2023-01-10T21:23:00.532Z] Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / [2023-01-10T21:23:01.954Z] ---> 43ceb99d21ba [2023-01-10T21:23:01.954Z] Step 17/22 : EXPOSE 59901 [2023-01-10T21:23:02.223Z] ---> Running in 042480a8b974 [2023-01-10T21:23:02.491Z] Removing intermediate container 042480a8b974 [2023-01-10T21:23:02.491Z] ---> f5f6948ec6dd [2023-01-10T21:23:02.491Z] Step 18/22 : ENTRYPOINT ["/device-modbus"] [2023-01-10T21:23:02.491Z] ---> Running in ad9c7029f4ad [2023-01-10T21:23:02.759Z] Removing intermediate container ad9c7029f4ad [2023-01-10T21:23:02.759Z] ---> b21928fe9e4e [2023-01-10T21:23:02.759Z] Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-01-10T21:23:02.759Z] ---> Running in 3a74eb47df3f [2023-01-10T21:23:03.026Z] Removing intermediate container 3a74eb47df3f [2023-01-10T21:23:03.026Z] ---> 67af66ad2500 [2023-01-10T21:23:03.026Z] Step 20/22 : LABEL arch=arm64 [2023-01-10T21:23:03.301Z] ---> Running in d3536b867a79 [2023-01-10T21:23:03.568Z] Removing intermediate container d3536b867a79 [2023-01-10T21:23:03.568Z] ---> 0e865c1fd9c6 [2023-01-10T21:23:03.568Z] Step 21/22 : LABEL git_sha=c5f8c5c719c6eba7f2f7c5a48372fcb026e160c4 [2023-01-10T21:23:03.568Z] ---> Running in 4ff32db81290 [2023-01-10T21:23:03.843Z] Removing intermediate container 4ff32db81290 [2023-01-10T21:23:03.843Z] ---> 6796cc6cafcc [2023-01-10T21:23:03.843Z] Step 22/22 : LABEL version=0.0.0 [2023-01-10T21:23:03.843Z] ---> Running in 5dc159788804 [2023-01-10T21:23:04.111Z] Removing intermediate container 5dc159788804 [2023-01-10T21:23:04.111Z] ---> df712ed73355 [2023-01-10T21:23:04.111Z] [Warning] One or more build-args [ARCH] were not consumed [2023-01-10T21:23:04.377Z] Successfully built df712ed73355 [2023-01-10T21:23:04.377Z] 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-10T21:23:05.178Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-10T21:23:05.178Z] [2023-01-10T21:23:05.178Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T21:23:05.590Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-10T21:23:05.591Z] arm64: Pulling from edgex-lftools-log-publisher [2023-01-10T21:23:05.591Z] 8998bd30e6a1: Pulling fs layer [2023-01-10T21:23:05.591Z] 04944245beec: Pulling fs layer [2023-01-10T21:23:05.591Z] 699f458cf7ca: Pulling fs layer [2023-01-10T21:23:05.591Z] 765212b225bb: Pulling fs layer [2023-01-10T21:23:05.591Z] f23df028b6ca: Pulling fs layer [2023-01-10T21:23:05.591Z] d65c8cfc05b1: Pulling fs layer [2023-01-10T21:23:05.591Z] 2437ff75d9bd: Pulling fs layer [2023-01-10T21:23:05.591Z] f23df028b6ca: Waiting [2023-01-10T21:23:05.591Z] d65c8cfc05b1: Waiting [2023-01-10T21:23:05.591Z] 2437ff75d9bd: Waiting [2023-01-10T21:23:05.591Z] 765212b225bb: Waiting [2023-01-10T21:23:05.866Z] 04944245beec: Verifying Checksum [2023-01-10T21:23:05.866Z] 04944245beec: Download complete [2023-01-10T21:23:05.866Z] 765212b225bb: Verifying Checksum [2023-01-10T21:23:05.866Z] 765212b225bb: Download complete [2023-01-10T21:23:05.866Z] f23df028b6ca: Verifying Checksum [2023-01-10T21:23:05.866Z] f23df028b6ca: Download complete [2023-01-10T21:23:05.866Z] d65c8cfc05b1: Verifying Checksum [2023-01-10T21:23:05.866Z] d65c8cfc05b1: Download complete [2023-01-10T21:23:06.141Z] 699f458cf7ca: Verifying Checksum [2023-01-10T21:23:06.141Z] 699f458cf7ca: Download complete [2023-01-10T21:23:06.409Z] 8998bd30e6a1: Download complete [2023-01-10T21:23:09.006Z] 2437ff75d9bd: Verifying Checksum [2023-01-10T21:23:09.006Z] 2437ff75d9bd: Download complete [2023-01-10T21:23:10.421Z] 8998bd30e6a1: Pull complete [2023-01-10T21:23:10.688Z] 04944245beec: Pull complete [2023-01-10T21:23:12.095Z] 699f458cf7ca: Pull complete [2023-01-10T21:23:12.363Z] 765212b225bb: Pull complete [2023-01-10T21:23:12.950Z] f23df028b6ca: Pull complete [2023-01-10T21:23:13.217Z] d65c8cfc05b1: Pull complete [2023-01-10T21:23:28.235Z] 2437ff75d9bd: Pull complete [2023-01-10T21:23:28.235Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-01-10T21:23:28.235Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-10T21:23:28.235Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-10T21:23:28.584Z] prd-ubuntu20.04-docker-arm64-4c-16g-1694 does not seem to be running inside a container [2023-01-10T21:23:28.658Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-01-10T21:23:31.590Z] $ docker top ba701a4c6cf568bbd7016adffc85ebf323f14d62b11d9826ec0a290f6a904e2f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-10T21:23:32.503Z] ---> job-cost.sh [2023-01-10T21:23:32.503Z] lf-activate-venv: SKIPPING [2023-01-10T21:23:32.503Z] INFO: No Stack... [2023-01-10T21:23:32.770Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-01-10T21:23:33.734Z] INFO: Archiving Costs [Pipeline] sh [2023-01-10T21:23:34.412Z] + cat /w/workspace/device-modbus-go/1/archives/cost.csv [2023-01-10T21:23:34.412Z] + cut -d, -f6 [Pipeline] lock [2023-01-10T21:23:34.541Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-398-1-stack-cost] [2023-01-10T21:23:34.546Z] Resource [jenkins-edgexfoundry-device-modbus-go-PR-398-1-stack-cost] did not exist. Created. [2023-01-10T21:23:34.546Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-398-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-01-10T21:23:35.306Z] /w/workspace/device-modbus-go/1@tmp/durable-5ccc9126/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-01-10T21:23:36.045Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-01-10T21:23:36.083Z] Warning: overwriting stash ‘stack-cost’ [2023-01-10T21:23:36.149Z] Stashed 1 file(s) [Pipeline] } [2023-01-10T21:23:36.165Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-398-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-01-10T21:23:36.239Z] $ docker stop --time=1 ba701a4c6cf568bbd7016adffc85ebf323f14d62b11d9826ec0a290f6a904e2f [2023-01-10T21:23:37.814Z] $ docker rm -f --volumes ba701a4c6cf568bbd7016adffc85ebf323f14d62b11d9826ec0a290f6a904e2f [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-10T21:23:38.903Z] provisioning config files... [2023-01-10T21:23:38.915Z] copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-398@tmp/config8063319586967242194tmp [Pipeline] { [Pipeline] sh [2023-01-10T21:23:39.255Z] + set +x [2023-01-10T21:23:39.255Z] + + curl -s https://codecov.io/bash [2023-01-10T21:23:39.255Z] bash -s -- [2023-01-10T21:23:39.255Z] [2023-01-10T21:23:39.255Z] _____ _ [2023-01-10T21:23:39.255Z] / ____| | | [2023-01-10T21:23:39.255Z] | | ___ __| | ___ ___ _____ __ [2023-01-10T21:23:39.255Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-01-10T21:23:39.255Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-01-10T21:23:39.255Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-01-10T21:23:39.255Z] Bash-1.0.6 [2023-01-10T21:23:39.255Z] [2023-01-10T21:23:39.255Z] [2023-01-10T21:23:39.255Z] ==> git version 2.25.1 found [2023-01-10T21:23:39.255Z] ==> 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-10T21:23:39.255Z] Release-Date: 2020-01-08 [2023-01-10T21:23:39.255Z] 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-10T21:23:39.255Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-01-10T21:23:39.255Z] ==> Jenkins CI detected. [2023-01-10T21:23:39.255Z] current dir:  /w/workspace/xfoundry_device-modbus-go_PR-398 [2023-01-10T21:23:39.255Z] project root: . [2023-01-10T21:23:39.255Z] --> token set from env [2023-01-10T21:23:39.255Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-01-10T21:23:39.255Z] ==> Running gcov in . (disable via -X gcov) [2023-01-10T21:23:39.255Z] ==> Python coveragepy not found [2023-01-10T21:23:39.255Z] ==> Searching for coverage reports in: [2023-01-10T21:23:39.255Z] + . [2023-01-10T21:23:39.255Z] -> Found 1 reports [2023-01-10T21:23:39.255Z] ==> Detecting git/mercurial file structure [2023-01-10T21:23:39.255Z] ==> Reading reports [2023-01-10T21:23:39.255Z] + ./coverage.out bytes=23241 [2023-01-10T21:23:39.255Z] ==> Appending adjustments [2023-01-10T21:23:39.255Z] https://docs.codecov.io/docs/fixing-reports [2023-01-10T21:23:39.519Z] + Found adjustments [2023-01-10T21:23:39.519Z] ==> Gzipping contents [2023-01-10T21:23:39.519Z] 4.0K /tmp/codecov.udpeA3.gz [2023-01-10T21:23:39.519Z] ==> Uploading reports [2023-01-10T21:23:39.519Z] url: https://codecov.io [2023-01-10T21:23:39.519Z] query: branch=PR-398&commit=c5f8c5c719c6eba7f2f7c5a48372fcb026e160c4&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-398%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=398&job=&cmd_args= [2023-01-10T21:23:39.519Z] -> Pinging Codecov [2023-01-10T21:23:39.519Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3a8d40b1-de00-4649-bfd4-bdc8ed99ae89&branch=PR-398&commit=c5f8c5c719c6eba7f2f7c5a48372fcb026e160c4&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-398%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=398&job=&cmd_args= [2023-01-10T21:23:39.778Z] -> Uploading to [2023-01-10T21:23:39.778Z] https://storage.googleapis.com/codecov/v4/raw/2023-01-10/55DBCA73C666E3227836607328DD7E49/c5f8c5c719c6eba7f2f7c5a48372fcb026e160c4/8d2b0ad2-6039-48a6-9e93-6423ada1272c.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230110%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230110T212339Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=e5c52b0d129c82b572184614a631c79c6ac7f83b6801e4984855b6328331451e [2023-01-10T21:23:39.778Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-01-10T21:23:39.778Z] Dload Upload Total Spent Left Speed [2023-01-10T21:23:40.037Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3907 0 0 100 3907 0 14969 --:--:-- --:--:-- --:--:-- 14969 [2023-01-10T21:23:40.037Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/c5f8c5c719c6eba7f2f7c5a48372fcb026e160c4 [Pipeline] } [2023-01-10T21:23:40.065Z] 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-10T21:23:41.826Z] + [ -d /w/workspace/xfoundry_device-modbus-go_PR-398/archives ] [2023-01-10T21:23:41.826Z] + ls -al /w/workspace/xfoundry_device-modbus-go_PR-398/archives [2023-01-10T21:23:41.826Z] total 16 [2023-01-10T21:23:41.826Z] drwxr-xr-x 3 root root 4096 Jan 10 21:14 . [2023-01-10T21:23:41.826Z] drwxrwxr-x 11 jenkins jenkins 4096 Jan 10 21:14 .. [2023-01-10T21:23:41.826Z] drwxr-xr-x 2 root root 4096 Jan 10 21:14 cost [2023-01-10T21:23:41.826Z] -rw-r--r-- 1 root root 88 Jan 10 21:14 cost.csv [2023-01-10T21:23:41.826Z] + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-398/archives [2023-01-10T21:23:41.826Z] + ls -al /w/workspace/xfoundry_device-modbus-go_PR-398/archives [2023-01-10T21:23:41.826Z] total 16 [2023-01-10T21:23:41.826Z] drwxr-xr-x 3 jenkins jenkins 4096 Jan 10 21:14 . [2023-01-10T21:23:41.826Z] drwxrwxr-x 11 jenkins jenkins 4096 Jan 10 21:14 .. [2023-01-10T21:23:41.826Z] drwxr-xr-x 2 jenkins jenkins 4096 Jan 10 21:14 cost [2023-01-10T21:23:41.826Z] -rw-r--r-- 1 jenkins jenkins 88 Jan 10 21:14 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-01-10T21:23:42.169Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-10T21:23:43.071Z] ---> package-listing.sh [2023-01-10T21:23:43.071Z] ++ facter osfamily [2023-01-10T21:23:43.071Z] ++ tr '[:upper:]' '[:lower:]' [2023-01-10T21:23:43.332Z] + OS_FAMILY=debian [2023-01-10T21:23:43.333Z] + workspace=/w/workspace/xfoundry_device-modbus-go_PR-398 [2023-01-10T21:23:43.333Z] + START_PACKAGES=/tmp/packages_start.txt [2023-01-10T21:23:43.333Z] + END_PACKAGES=/tmp/packages_end.txt [2023-01-10T21:23:43.333Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-01-10T21:23:43.333Z] + PACKAGES=/tmp/packages_start.txt [2023-01-10T21:23:43.333Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-398 ']' [2023-01-10T21:23:43.333Z] + PACKAGES=/tmp/packages_end.txt [2023-01-10T21:23:43.333Z] + case "${OS_FAMILY}" in [2023-01-10T21:23:43.333Z] + dpkg -l [2023-01-10T21:23:43.333Z] + grep '^ii' [2023-01-10T21:23:43.333Z] + '[' -f /tmp/packages_start.txt ']' [2023-01-10T21:23:43.333Z] + '[' -f /tmp/packages_end.txt ']' [2023-01-10T21:23:43.333Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-01-10T21:23:43.333Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-398 ']' [2023-01-10T21:23:43.333Z] + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-398/archives/ [2023-01-10T21:23:43.333Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-398/archives/ [Pipeline] echo [2023-01-10T21:23:43.367Z] 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-398/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-01-10T21:23:43.676Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T21:23:44.079Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-10T21:23:44.079Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-10T21:23:44.227Z] prd-ubuntu20.04-docker-8c-8g-1688 does not seem to be running inside a container [2023-01-10T21:23:44.248Z] $ 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-398/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-398 -v /w/workspace/xfoundry_device-modbus-go_PR-398:/w/workspace/xfoundry_device-modbus-go_PR-398:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-398@tmp:/w/workspace/xfoundry_device-modbus-go_PR-398@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-01-10T21:23:44.496Z] $ docker top b26e9369cb5553ee3a8f90ae933f79241b4adb088fafc0aa2daa91d1acc1c2ca -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-10T21:23:44.891Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-01-10T21:23:45.194Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-01-10T21:23:45.501Z] + ls /var/log/sa-host [2023-01-10T21:23:45.501Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-10T21:23:45.655Z] provisioning config files... [2023-01-10T21:23:45.663Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-398@tmp/config16165473503106764136tmp [Pipeline] { [Pipeline] echo [2023-01-10T21:23:45.725Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-10T21:23:46.031Z] ---> create-netrc.sh [Pipeline] } [2023-01-10T21:23:46.059Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-01-10T21:23:46.456Z] ---> python-tools-install.sh [Pipeline] echo [2023-01-10T21:23:46.493Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-10T21:23:46.804Z] ---> sudo-logs.sh [2023-01-10T21:23:46.804Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-01-10T21:23:46.893Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-10T21:23:47.211Z] ---> job-cost.sh [2023-01-10T21:23:47.211Z] lf-activate-venv: SKIPPING [2023-01-10T21:23:47.211Z] DEBUG: total: 0.2199999988079071 [2023-01-10T21:23:47.211Z] INFO: Retrieving Stack Cost... [2023-01-10T21:23:47.471Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-01-10T21:23:48.036Z] INFO: Archiving Costs [Pipeline] echo [2023-01-10T21:23:48.069Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-10T21:23:48.377Z] ---> logs-deploy.sh [2023-01-10T21:23:48.377Z] lf-activate-venv: SKIPPING [2023-01-10T21:23:48.377Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-398/1 [2023-01-10T21:23:48.377Z] INFO: archiving workspace using pattern(s): [2023-01-10T21:23:49.317Z] Archives upload complete. [2023-01-10T21:23:49.317Z] INFO: archiving logs to Nexus [2023-01-10T21:23:49.886Z] ---> uname -a: [2023-01-10T21:23:49.886Z] Linux prd-ubuntu20-04-docker-8c-8g-1688 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux [2023-01-10T21:23:49.886Z] [2023-01-10T21:23:49.886Z] [2023-01-10T21:23:49.886Z] ---> lscpu: [2023-01-10T21:23:49.886Z] Architecture: x86_64 [2023-01-10T21:23:49.886Z] CPU op-mode(s): 32-bit, 64-bit [2023-01-10T21:23:49.886Z] Byte Order: Little Endian [2023-01-10T21:23:49.886Z] Address sizes: 40 bits physical, 48 bits virtual [2023-01-10T21:23:49.886Z] CPU(s): 8 [2023-01-10T21:23:49.886Z] On-line CPU(s) list: 0-7 [2023-01-10T21:23:49.886Z] Thread(s) per core: 1 [2023-01-10T21:23:49.886Z] Core(s) per socket: 1 [2023-01-10T21:23:49.886Z] Socket(s): 8 [2023-01-10T21:23:49.886Z] NUMA node(s): 1 [2023-01-10T21:23:49.886Z] Vendor ID: AuthenticAMD [2023-01-10T21:23:49.886Z] CPU family: 23 [2023-01-10T21:23:49.886Z] Model: 49 [2023-01-10T21:23:49.886Z] Model name: AMD EPYC-Rome Processor [2023-01-10T21:23:49.886Z] Stepping: 0 [2023-01-10T21:23:49.886Z] CPU MHz: 2799.976 [2023-01-10T21:23:49.886Z] BogoMIPS: 5599.95 [2023-01-10T21:23:49.886Z] Virtualization: AMD-V [2023-01-10T21:23:49.886Z] Hypervisor vendor: KVM [2023-01-10T21:23:49.886Z] Virtualization type: full [2023-01-10T21:23:49.886Z] L1d cache: 256 KiB [2023-01-10T21:23:49.886Z] L1i cache: 256 KiB [2023-01-10T21:23:49.886Z] L2 cache: 4 MiB [2023-01-10T21:23:49.886Z] L3 cache: 128 MiB [2023-01-10T21:23:49.886Z] NUMA node0 CPU(s): 0-7 [2023-01-10T21:23:49.886Z] Vulnerability Itlb multihit: Not affected [2023-01-10T21:23:49.886Z] Vulnerability L1tf: Not affected [2023-01-10T21:23:49.886Z] Vulnerability Mds: Not affected [2023-01-10T21:23:49.886Z] Vulnerability Meltdown: Not affected [2023-01-10T21:23:49.886Z] Vulnerability Mmio stale data: Not affected [2023-01-10T21:23:49.886Z] Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp [2023-01-10T21:23:49.886Z] Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization [2023-01-10T21:23:49.886Z] Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling [2023-01-10T21:23:49.886Z] Vulnerability Srbds: Not affected [2023-01-10T21:23:49.886Z] Vulnerability Tsx async abort: Not affected [2023-01-10T21:23:49.886Z] 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-10T21:23:49.886Z] [2023-01-10T21:23:49.886Z] [2023-01-10T21:23:49.886Z] ---> nproc: [2023-01-10T21:23:49.886Z] 8 [2023-01-10T21:23:49.886Z] [2023-01-10T21:23:49.886Z]