Pull request #396 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from d94ab648b72690ff1964ac542fcdb5689b84bb11+b747fdb0f46d56fab49edbd998369f5c6173beb1 (21eb49f3be7eafa6bbc3f6e1cdc349f963176103) 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-ssh11528357279927410851.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-ssh3559539344889110996.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-396/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-396/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh4042108620376763998.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-396/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10278869657721116846.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-ssh5494920370447351928.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-396/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-396/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh1282515071480088047.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-modbus-go, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-modbus-go-settings PROJECT: device-modbus-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-modbus DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-1424 in /w/workspace/xfoundry_device-modbus-go_PR-396 [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-396 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/396/head:refs/remotes/origin/PR-396 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit b747fdb0f46d56fab49edbd998369f5c6173beb1 into PR head commit d94ab648b72690ff1964ac542fcdb5689b84bb11 Merge succeeded, producing d94ab648b72690ff1964ac542fcdb5689b84bb11 Checking out Revision d94ab648b72690ff1964ac542fcdb5689b84bb11 (PR-396) 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-09T05:02:16.775Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-01-09T05:02:16.949Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-01-09T05:02:17.050Z] ========================================================= [2023-01-09T05:02:17.050Z] EdgeX Global Pipelines Version Info [2023-01-09T05:02:17.050Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git config core.sparsecheckout # timeout=10 > git checkout -f d94ab648b72690ff1964ac542fcdb5689b84bb11 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge b747fdb0f46d56fab49edbd998369f5c6173beb1 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d94ab648b72690ff1964ac542fcdb5689b84bb11 # timeout=10 [2023-01-09T05:02:17.819Z] ------------------- [2023-01-09T05:02:17.819Z] stable info: [2023-01-09T05:02:17.819Z] ------------------- [2023-01-09T05:02:17.819Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-01-09T05:02:17.819Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-01-09T05:02:17.819Z] Message: update stable to v1.0.244 [2023-01-09T05:02:18.390Z] ------------------- [2023-01-09T05:02:18.390Z] experimental info: [2023-01-09T05:02:18.390Z] ------------------- [2023-01-09T05:02:18.390Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-01-09T05:02:18.390Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-01-09T05:02:18.390Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-01-09T05:02:18.649Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo [2023-01-09T05:02:18.686Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo [2023-01-09T05:02:18.727Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-01-09T05:02:18.765Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-01-09T05:02:18.809Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-01-09T05:02:18.854Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-01-09T05:02:18.893Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-01-09T05:02:18.937Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-01-09T05:02:18.981Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-01-09T05:02:19.018Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-01-09T05:02:19.062Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-01-09T05:02:19.103Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo [2023-01-09T05:02:19.140Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-01-09T05:02:19.177Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-01-09T05:02:19.214Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-01-09T05:02:19.248Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-01-09T05:02:19.282Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-01-09T05:02:19.318Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-01-09T05:02:19.356Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-01-09T05:02:19.394Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-01-09T05:02:19.431Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-01-09T05:02:19.470Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-01-09T05:02:19.504Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-01-09T05:02:19.539Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-01-09T05:02:19.701Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-01-09T05:02:19.742Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-01-09T05:02:19.785Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-01-09T05:02:19.827Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-396 [Pipeline] echo [2023-01-09T05:02:19.865Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-396 [Pipeline] echo [2023-01-09T05:02:19.908Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-396 [Pipeline] echo [2023-01-09T05:02:20.026Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d94ab648b72690ff1964ac542fcdb5689b84bb11 [Pipeline] echo [2023-01-09T05:02:20.068Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d94ab64 [Pipeline] echo [2023-01-09T05:02:20.108Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-09T05:02:20.224Z] provisioning config files... [2023-01-09T05:02:20.254Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-396@tmp/config15935608002540500261tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-09T05:02:20.595Z] ---> docker-login.sh [2023-01-09T05:02:20.595Z] nexus3.edgexfoundry.org:10001 [2023-01-09T05:02:20.854Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-09T05:02:21.113Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-09T05:02:21.113Z] Configure a credential helper to remove this warning. See [2023-01-09T05:02:21.113Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-09T05:02:21.113Z] [2023-01-09T05:02:21.113Z] Login Succeeded [2023-01-09T05:02:21.113Z] nexus3.edgexfoundry.org:10002 [2023-01-09T05:02:21.113Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-09T05:02:21.113Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-09T05:02:21.113Z] Configure a credential helper to remove this warning. See [2023-01-09T05:02:21.113Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-09T05:02:21.113Z] [2023-01-09T05:02:21.113Z] Login Succeeded [2023-01-09T05:02:21.113Z] nexus3.edgexfoundry.org:10003 [2023-01-09T05:02:21.113Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-09T05:02:21.372Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-09T05:02:21.373Z] Configure a credential helper to remove this warning. See [2023-01-09T05:02:21.373Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-09T05:02:21.373Z] [2023-01-09T05:02:21.373Z] Login Succeeded [2023-01-09T05:02:21.373Z] nexus3.edgexfoundry.org:10004 [2023-01-09T05:02:21.373Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-09T05:02:21.373Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-09T05:02:21.373Z] Configure a credential helper to remove this warning. See [2023-01-09T05:02:21.373Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-09T05:02:21.373Z] [2023-01-09T05:02:21.373Z] Login Succeeded [2023-01-09T05:02:21.373Z] docker.io [2023-01-09T05:02:21.373Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-09T05:02:21.632Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-09T05:02:21.632Z] Configure a credential helper to remove this warning. See [2023-01-09T05:02:21.632Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-09T05:02:21.632Z] [2023-01-09T05:02:21.632Z] Login Succeeded [2023-01-09T05:02:21.632Z] ---> docker-login.sh ends [Pipeline] } [2023-01-09T05:02:21.660Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-01-09T05:02:22.302Z] + git rev-list -1 --merges d94ab648b72690ff1964ac542fcdb5689b84bb11~1..d94ab648b72690ff1964ac542fcdb5689b84bb11 [Pipeline] echo [2023-01-09T05:02:22.367Z] -----------> git rev-list -1 --merges d94ab648b72690ff1964ac542fcdb5689b84bb11~1..d94ab648b72690ff1964ac542fcdb5689b84bb11 d94ab648b72690ff1964ac542fcdb5689b84bb11 [false] [Pipeline] sh [2023-01-09T05:02:22.678Z] + git log --format=format:%s -1 d94ab648b72690ff1964ac542fcdb5689b84bb11 [Pipeline] echo [2023-01-09T05:02:22.713Z] ========================================================= [2023-01-09T05:02:22.713Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-01-09T05:02:22.713Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-09T05:02:23.139Z] + git log --format=format:%s -1 d94ab648b72690ff1964ac542fcdb5689b84bb11 [Pipeline] echo [2023-01-09T05:02:23.174Z] [semverPrep] GIT_COMMIT: d94ab648b72690ff1964ac542fcdb5689b84bb11, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo [2023-01-09T05:02:23.202Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-01-09T05:02:23.587Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-01-09T05:02:23.587Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-01-09T05:02:23.587Z] + [ -e /tmp/ssh_known_hosts ] [2023-01-09T05:02:23.587Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-01-09T05:02:23.587Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-01-09T05:02:23.587Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-01-09T05:02:23.587Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-09T05:02:24.094Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-09T05:02:24.094Z] [2023-01-09T05:02:24.094Z] 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-09T05:02:24.466Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-09T05:02:24.466Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-01-09T05:02:24.466Z] b85a868b505f: Pulling fs layer [2023-01-09T05:02:24.466Z] e2be974225ed: Pulling fs layer [2023-01-09T05:02:24.466Z] 339a4e72a1f5: Pulling fs layer [2023-01-09T05:02:24.466Z] 988bab9f4d93: Pulling fs layer [2023-01-09T05:02:24.466Z] 1469e6f7b9e6: Pulling fs layer [2023-01-09T05:02:24.466Z] eaf3925da568: Pulling fs layer [2023-01-09T05:02:24.466Z] bab4dde63d76: Pulling fs layer [2023-01-09T05:02:24.466Z] bde34c3a00c8: Pulling fs layer [2023-01-09T05:02:24.466Z] b352a97aabf1: Pulling fs layer [2023-01-09T05:02:24.466Z] 4872d77fe225: Pulling fs layer [2023-01-09T05:02:24.466Z] 5851b861e8e6: Pulling fs layer [2023-01-09T05:02:24.466Z] 1469e6f7b9e6: Waiting [2023-01-09T05:02:24.466Z] bab4dde63d76: Waiting [2023-01-09T05:02:24.466Z] eaf3925da568: Waiting [2023-01-09T05:02:24.466Z] bde34c3a00c8: Waiting [2023-01-09T05:02:24.466Z] b352a97aabf1: Waiting [2023-01-09T05:02:24.466Z] 4872d77fe225: Waiting [2023-01-09T05:02:24.466Z] 5851b861e8e6: Waiting [2023-01-09T05:02:24.466Z] 988bab9f4d93: Waiting [2023-01-09T05:02:24.466Z] e2be974225ed: Verifying Checksum [2023-01-09T05:02:24.466Z] e2be974225ed: Download complete [2023-01-09T05:02:24.466Z] 988bab9f4d93: Verifying Checksum [2023-01-09T05:02:24.466Z] 988bab9f4d93: Download complete [2023-01-09T05:02:24.725Z] 1469e6f7b9e6: Verifying Checksum [2023-01-09T05:02:24.725Z] 1469e6f7b9e6: Download complete [2023-01-09T05:02:24.725Z] eaf3925da568: Download complete [2023-01-09T05:02:24.725Z] 339a4e72a1f5: Verifying Checksum [2023-01-09T05:02:24.725Z] 339a4e72a1f5: Download complete [2023-01-09T05:02:24.725Z] bde34c3a00c8: Verifying Checksum [2023-01-09T05:02:24.725Z] bde34c3a00c8: Download complete [2023-01-09T05:02:24.725Z] b352a97aabf1: Download complete [2023-01-09T05:02:24.725Z] 4872d77fe225: Verifying Checksum [2023-01-09T05:02:24.725Z] 4872d77fe225: Download complete [2023-01-09T05:02:24.725Z] b85a868b505f: Download complete [2023-01-09T05:02:24.725Z] 5851b861e8e6: Verifying Checksum [2023-01-09T05:02:24.725Z] 5851b861e8e6: Download complete [2023-01-09T05:02:24.986Z] bab4dde63d76: Verifying Checksum [2023-01-09T05:02:24.986Z] bab4dde63d76: Download complete [2023-01-09T05:02:25.922Z] b85a868b505f: Pull complete [2023-01-09T05:02:25.922Z] e2be974225ed: Pull complete [2023-01-09T05:02:26.489Z] 339a4e72a1f5: Pull complete [2023-01-09T05:02:26.489Z] 988bab9f4d93: Pull complete [2023-01-09T05:02:27.058Z] 1469e6f7b9e6: Pull complete [2023-01-09T05:02:27.059Z] eaf3925da568: Pull complete [2023-01-09T05:02:28.432Z] bab4dde63d76: Pull complete [2023-01-09T05:02:28.432Z] bde34c3a00c8: Pull complete [2023-01-09T05:02:28.694Z] b352a97aabf1: Pull complete [2023-01-09T05:02:28.694Z] 4872d77fe225: Pull complete [2023-01-09T05:02:28.694Z] 5851b861e8e6: Pull complete [2023-01-09T05:02:28.694Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-01-09T05:02:28.694Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-09T05:02:28.694Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-09T05:02:28.932Z] prd-ubuntu20.04-docker-8c-8g-1424 does not seem to be running inside a container [2023-01-09T05:02:28.953Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-396 -v /w/workspace/xfoundry_device-modbus-go_PR-396:/w/workspace/xfoundry_device-modbus-go_PR-396:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-396@tmp:/w/workspace/xfoundry_device-modbus-go_PR-396@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-09T05:02:31.414Z] $ docker top 1cd23d89bb9792504e1e273cd3dda2ed225e7a2e1081466eed7b8467a2e118b3 -eo pid,comm [2023-01-09T05:02:31.472Z] 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-09T05:02:31.472Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-01-09T05:02:31.594Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-01-09T05:02:31.594Z] [ssh-agent] Looking for ssh-agent implementation... [2023-01-09T05:02:31.718Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-01-09T05:02:31.714Z] $ docker exec 1cd23d89bb9792504e1e273cd3dda2ed225e7a2e1081466eed7b8467a2e118b3 ssh-agent [2023-01-09T05:02:31.816Z] SSH_AUTH_SOCK=/tmp/ssh-fAQx6OcRnCvc/agent.33 [2023-01-09T05:02:31.816Z] SSH_AGENT_PID=39 [2023-01-09T05:02:31.824Z] Running ssh-add (command line suppressed) [2023-01-09T05:02:31.934Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-396@tmp/private_key_12837064554538347155.key (/w/workspace/xfoundry_device-modbus-go_PR-396@tmp/private_key_12837064554538347155.key) [2023-01-09T05:02:31.953Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-01-09T05:02:32.280Z] + git tag --points-at HEAD [Pipeline] } [2023-01-09T05:02:32.299Z] $ docker exec --env ******** --env ******** 1cd23d89bb9792504e1e273cd3dda2ed225e7a2e1081466eed7b8467a2e118b3 ssh-agent -k [2023-01-09T05:02:32.413Z] unset SSH_AUTH_SOCK; [2023-01-09T05:02:32.413Z] unset SSH_AGENT_PID; [2023-01-09T05:02:32.413Z] echo Agent pid 39 killed; [2023-01-09T05:02:32.430Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-01-09T05:02:32.525Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-01-09T05:02:32.525Z] [ssh-agent] Looking for ssh-agent implementation... [2023-01-09T05:02:32.646Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-01-09T05:02:32.642Z] $ docker exec 1cd23d89bb9792504e1e273cd3dda2ed225e7a2e1081466eed7b8467a2e118b3 ssh-agent [2023-01-09T05:02:32.769Z] SSH_AUTH_SOCK=/tmp/ssh-l3thSt34kSlr/agent.71 [2023-01-09T05:02:32.769Z] SSH_AGENT_PID=77 [2023-01-09T05:02:32.774Z] Running ssh-add (command line suppressed) [2023-01-09T05:02:32.880Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-396@tmp/private_key_13468722029917080671.key (/w/workspace/xfoundry_device-modbus-go_PR-396@tmp/private_key_13468722029917080671.key) [2023-01-09T05:02:32.900Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-01-09T05:02:33.226Z] + git semver init [2023-01-09T05:02:33.486Z] 2023-01-09 05:02:33,389 [run_init] DEBUG init version:0.0.0 force:False [2023-01-09T05:02:33.486Z] 2023-01-09 05:02:33,390 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-modbus-go_PR-396/.semver [2023-01-09T05:02:33.486Z] 2023-01-09 05:02:33,390 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/xfoundry_device-modbus-go_PR-396/.semver [2023-01-09T05:02:33.486Z] 2023-01-09 05:02:33,391 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/xfoundry_device-modbus-go_PR-396/.semver'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-396, universal_newlines=False, shell=None, istream=None) [2023-01-09T05:02:34.425Z] 2023-01-09 05:02:34,246 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-modbus-go_PR-396/.git/info/exclude [2023-01-09T05:02:34.425Z] 2023-01-09 05:02:34,247 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-modbus-go_PR-396/.semver/PR-396 with force:False [2023-01-09T05:02:34.425Z] 2023-01-09 05:02:34,247 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-modbus-go_PR-396/.semver/PR-396 [2023-01-09T05:02:34.425Z] 2023-01-09 05:02:34,251 [execute] INFO git cat-file --batch-check [2023-01-09T05:02:34.425Z] 2023-01-09 05:02:34,252 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-396/.semver, universal_newlines=False, shell=None, istream=) [2023-01-09T05:02:34.425Z] 2023-01-09 05:02:34,258 [execute] INFO git cat-file --batch [2023-01-09T05:02:34.425Z] 2023-01-09 05:02:34,259 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-396/.semver, universal_newlines=False, shell=None, istream=) [2023-01-09T05:02:34.425Z] 2023-01-09 05:02:34,264 [read_version] DEBUG read version from /w/workspace/xfoundry_device-modbus-go_PR-396/.semver/PR-396 [2023-01-09T05:02:34.425Z] 0.0.0 [Pipeline] } [2023-01-09T05:02:34.444Z] $ docker exec --env ******** --env ******** 1cd23d89bb9792504e1e273cd3dda2ed225e7a2e1081466eed7b8467a2e118b3 ssh-agent -k [2023-01-09T05:02:34.527Z] unset SSH_AUTH_SOCK; [2023-01-09T05:02:34.527Z] unset SSH_AGENT_PID; [2023-01-09T05:02:34.527Z] echo Agent pid 77 killed; [2023-01-09T05:02:34.541Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-01-09T05:02:34.964Z] + git semver [Pipeline] } [2023-01-09T05:02:35.243Z] $ docker stop --time=1 1cd23d89bb9792504e1e273cd3dda2ed225e7a2e1081466eed7b8467a2e118b3 [2023-01-09T05:02:36.546Z] $ docker rm -f --volumes 1cd23d89bb9792504e1e273cd3dda2ed225e7a2e1081466eed7b8467a2e118b3 [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-09T05:02:36.954Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-01-09T05:02:37.215Z] Stashed 1 file(s) [Pipeline] echo [2023-01-09T05:02:37.230Z] [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-09T05:02:37.800Z] provisioning config files... [2023-01-09T05:02:37.810Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-396@tmp/config6921911460753172436tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-09T05:02:38.155Z] ---> docker-login.sh [2023-01-09T05:02:38.155Z] nexus3.edgexfoundry.org:10001 [2023-01-09T05:02:38.155Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-09T05:02:38.155Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-09T05:02:38.155Z] Configure a credential helper to remove this warning. See [2023-01-09T05:02:38.155Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-09T05:02:38.155Z] [2023-01-09T05:02:38.155Z] Login Succeeded [2023-01-09T05:02:38.155Z] nexus3.edgexfoundry.org:10002 [2023-01-09T05:02:38.155Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-09T05:02:38.155Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-09T05:02:38.155Z] Configure a credential helper to remove this warning. See [2023-01-09T05:02:38.155Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-09T05:02:38.155Z] [2023-01-09T05:02:38.155Z] Login Succeeded [2023-01-09T05:02:38.155Z] nexus3.edgexfoundry.org:10003 [2023-01-09T05:02:38.414Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-09T05:02:38.414Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-09T05:02:38.414Z] Configure a credential helper to remove this warning. See [2023-01-09T05:02:38.414Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-09T05:02:38.414Z] [2023-01-09T05:02:38.414Z] Login Succeeded [2023-01-09T05:02:38.414Z] nexus3.edgexfoundry.org:10004 [2023-01-09T05:02:38.414Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-09T05:02:38.414Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-09T05:02:38.414Z] Configure a credential helper to remove this warning. See [2023-01-09T05:02:38.414Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-09T05:02:38.414Z] [2023-01-09T05:02:38.414Z] Login Succeeded [2023-01-09T05:02:38.414Z] docker.io [2023-01-09T05:02:38.678Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-09T05:02:38.678Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-09T05:02:38.678Z] Configure a credential helper to remove this warning. See [2023-01-09T05:02:38.678Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-09T05:02:38.678Z] [2023-01-09T05:02:38.678Z] Login Succeeded [2023-01-09T05:02:38.678Z] ---> docker-login.sh ends [Pipeline] } [2023-01-09T05:02:38.708Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-01-09T05:02:38.872Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-09T05:02:38.919Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-09T05:02:38.953Z] ========================================================= [2023-01-09T05:02:38.953Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-01-09T05:02:38.953Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-09T05:02:39.420Z] + 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-09T05:02:39.420Z] Sending build context to Docker daemon 6.311MB [2023-01-09T05:02:39.420Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2023-01-09T05:02:39.420Z] Step 2/10 : FROM ${BASE} AS builder [2023-01-09T05:02:39.420Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-01-09T05:02:39.420Z] 213ec9aee27d: Pulling fs layer [2023-01-09T05:02:39.420Z] 4583459ba037: Pulling fs layer [2023-01-09T05:02:39.420Z] 93c1e223e6f2: Pulling fs layer [2023-01-09T05:02:39.420Z] 53926ce57604: Pulling fs layer [2023-01-09T05:02:39.420Z] 21b2b0c7a3f4: Pulling fs layer [2023-01-09T05:02:39.420Z] 22ff95d597cd: Pulling fs layer [2023-01-09T05:02:39.420Z] 12d6caf4c0d1: Pulling fs layer [2023-01-09T05:02:39.420Z] 96b7cbca73a9: Pulling fs layer [2023-01-09T05:02:39.420Z] a7acece74701: Pulling fs layer [2023-01-09T05:02:39.420Z] 21b2b0c7a3f4: Waiting [2023-01-09T05:02:39.420Z] 22ff95d597cd: Waiting [2023-01-09T05:02:39.420Z] 12d6caf4c0d1: Waiting [2023-01-09T05:02:39.420Z] 96b7cbca73a9: Waiting [2023-01-09T05:02:39.420Z] a7acece74701: Waiting [2023-01-09T05:02:39.420Z] 53926ce57604: Waiting [2023-01-09T05:02:39.420Z] 93c1e223e6f2: Verifying Checksum [2023-01-09T05:02:39.420Z] 93c1e223e6f2: Download complete [2023-01-09T05:02:39.420Z] 4583459ba037: Download complete [2023-01-09T05:02:39.420Z] 21b2b0c7a3f4: Verifying Checksum [2023-01-09T05:02:39.420Z] 21b2b0c7a3f4: Download complete [2023-01-09T05:02:39.689Z] 22ff95d597cd: Verifying Checksum [2023-01-09T05:02:39.689Z] 22ff95d597cd: Download complete [2023-01-09T05:02:39.689Z] 213ec9aee27d: Verifying Checksum [2023-01-09T05:02:39.689Z] 213ec9aee27d: Download complete [2023-01-09T05:02:39.689Z] 12d6caf4c0d1: Download complete [2023-01-09T05:02:39.689Z] 213ec9aee27d: Pull complete [2023-01-09T05:02:39.958Z] 4583459ba037: Pull complete [2023-01-09T05:02:39.958Z] 93c1e223e6f2: Pull complete [2023-01-09T05:02:39.958Z] a7acece74701: Verifying Checksum [2023-01-09T05:02:39.958Z] a7acece74701: Download complete [2023-01-09T05:02:40.555Z] 96b7cbca73a9: Verifying Checksum [2023-01-09T05:02:40.555Z] 96b7cbca73a9: Download complete [2023-01-09T05:02:40.814Z] 53926ce57604: Verifying Checksum [2023-01-09T05:02:40.814Z] 53926ce57604: Download complete [2023-01-09T05:02:44.102Z] 53926ce57604: Pull complete [2023-01-09T05:02:44.102Z] 21b2b0c7a3f4: Pull complete [2023-01-09T05:02:44.362Z] 22ff95d597cd: Pull complete [2023-01-09T05:02:44.362Z] 12d6caf4c0d1: Pull complete [2023-01-09T05:02:46.259Z] 96b7cbca73a9: Pull complete [2023-01-09T05:02:47.203Z] a7acece74701: Pull complete [2023-01-09T05:02:47.203Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-01-09T05:02:47.203Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-01-09T05:02:47.203Z] ---> db6d94c90886 [2023-01-09T05:02:47.203Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2023-01-09T05:02:49.805Z] ---> Running in 7e7cb04f309c [2023-01-09T05:02:50.065Z] Removing intermediate container 7e7cb04f309c [2023-01-09T05:02:50.065Z] ---> 5bb204556154 [2023-01-09T05:02:50.065Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-09T05:02:50.065Z] ---> Running in 517f6e39758d [2023-01-09T05:02:50.065Z] Removing intermediate container 517f6e39758d [2023-01-09T05:02:50.065Z] ---> 64c9f2fbfd2e [2023-01-09T05:02:50.065Z] Step 5/10 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2023-01-09T05:02:50.065Z] ---> Running in 34f8a65c4681 [2023-01-09T05:02:50.324Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-09T05:02:50.582Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-09T05:02:50.842Z] (1/8) Installing openssh-keygen (9.0_p1-r2) [2023-01-09T05:02:50.842Z] (2/8) Installing libedit (20210910.3.1-r0) [2023-01-09T05:02:50.842Z] (3/8) Installing openssh-client-common (9.0_p1-r2) [2023-01-09T05:02:50.842Z] (4/8) Installing openssh-client-default (9.0_p1-r2) [2023-01-09T05:02:50.842Z] (5/8) Installing openssh-sftp-server (9.0_p1-r2) [2023-01-09T05:02:50.842Z] (6/8) Installing openssh-server-common (9.0_p1-r2) [2023-01-09T05:02:50.842Z] (7/8) Installing openssh-server (9.0_p1-r2) [2023-01-09T05:02:50.842Z] (8/8) Installing openssh (9.0_p1-r2) [2023-01-09T05:02:50.842Z] Executing busybox-1.35.0-r17.trigger [2023-01-09T05:02:51.101Z] OK: 217 MiB in 59 packages [2023-01-09T05:02:51.359Z] Removing intermediate container 34f8a65c4681 [2023-01-09T05:02:51.359Z] ---> 4c1c0cd62fa5 [2023-01-09T05:02:51.359Z] Step 6/10 : WORKDIR /device-modbus-go [2023-01-09T05:02:51.359Z] ---> Running in f0237363be76 [2023-01-09T05:02:51.620Z] Removing intermediate container f0237363be76 [2023-01-09T05:02:51.620Z] ---> c9eb41c801b6 [2023-01-09T05:02:51.620Z] Step 7/10 : COPY go.mod vendor* ./ [2023-01-09T05:02:51.620Z] ---> 90cc7cec01d5 [2023-01-09T05:02:51.620Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-09T05:02:51.620Z] ---> Running in 7a41b63f3aac [2023-01-09T05:02:52.635Z] Still waiting to schedule task [2023-01-09T05:02:52.635Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-01-09T05:03:18.182Z] Removing intermediate container 7a41b63f3aac [2023-01-09T05:03:18.182Z] ---> f6d4b5e87ca5 [2023-01-09T05:03:18.182Z] Step 9/10 : COPY . . [2023-01-09T05:03:18.182Z] ---> bd7a1bf4c15a [2023-01-09T05:03:18.182Z] Step 10/10 : RUN ${MAKE} [2023-01-09T05:03:18.182Z] ---> Running in 0fea9a8fd492 [2023-01-09T05:03:18.182Z] noop [2023-01-09T05:03:18.182Z] Removing intermediate container 0fea9a8fd492 [2023-01-09T05:03:18.182Z] ---> 131bae8419b9 [2023-01-09T05:03:18.182Z] Successfully built 131bae8419b9 [2023-01-09T05:03:18.182Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-09T05:03:18.647Z] + docker inspect -f . ci-base-image-x86_64 [2023-01-09T05:03:18.647Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-09T05:03:18.796Z] prd-ubuntu20.04-docker-8c-8g-1424 does not seem to be running inside a container [2023-01-09T05:03:18.830Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-396 -v /w/workspace/xfoundry_device-modbus-go_PR-396:/w/workspace/xfoundry_device-modbus-go_PR-396:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-396@tmp:/w/workspace/xfoundry_device-modbus-go_PR-396@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-09T05:03:19.188Z] $ docker top 39c4691c94360ebecff0cf61d4e094276abf4f2d80d72a13d65059bb6ed41e3b -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-09T05:03:19.585Z] + go version [2023-01-09T05:03:19.586Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-01-09T05:03:19.621Z] $ docker stop --time=1 39c4691c94360ebecff0cf61d4e094276abf4f2d80d72a13d65059bb6ed41e3b [2023-01-09T05:03:20.882Z] $ docker rm -f --volumes 39c4691c94360ebecff0cf61d4e094276abf4f2d80d72a13d65059bb6ed41e3b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-09T05:03:21.601Z] + docker inspect -f . ci-base-image-x86_64 [2023-01-09T05:03:21.601Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-09T05:03:21.757Z] prd-ubuntu20.04-docker-8c-8g-1424 does not seem to be running inside a container [2023-01-09T05:03:21.789Z] $ 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-396 -v /w/workspace/xfoundry_device-modbus-go_PR-396:/w/workspace/xfoundry_device-modbus-go_PR-396:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-396@tmp:/w/workspace/xfoundry_device-modbus-go_PR-396@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-09T05:03:22.126Z] $ docker top 48e2b25bfb9c04db6c3420be7c52f51033f7cbbc54d330e9fe42ea3d84731226 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-09T05:03:22.516Z] + git config --global --add safe.directory /w/workspace/xfoundry_device-modbus-go_PR-396 [Pipeline] fileExists [Pipeline] sh [2023-01-09T05:03:22.877Z] + make test [2023-01-09T05:03:22.877Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2023-01-09T05:03:23.134Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2023-01-09T05:03:31.251Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2023-01-09T05:03:31.251Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.022s coverage: 47.7% of statements [2023-01-09T05:03:37.809Z] 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-09T05:03:37.809Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2023-01-09T05:03:40.337Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-01-09T05:03:40.337Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-01-09T05:03:40.337Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-01-09T05:03:40.377Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-01-09T05:03:40.408Z] $ docker stop --time=1 48e2b25bfb9c04db6c3420be7c52f51033f7cbbc54d330e9fe42ea3d84731226 [2023-01-09T05:03:42.785Z] $ docker rm -f --volumes 48e2b25bfb9c04db6c3420be7c52f51033f7cbbc54d330e9fe42ea3d84731226 [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-09T05:03:43.278Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-01-09T05:03:43.343Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-01-09T05:03:44.018Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-01-09T05:03:44.330Z] + ls -al . [2023-01-09T05:03:44.330Z] total 196 [2023-01-09T05:03:44.330Z] drwxrwxr-x 10 jenkins jenkins 4096 Jan 9 05:03 . [2023-01-09T05:03:44.330Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 9 05:02 .. [2023-01-09T05:03:44.330Z] -rw-rw-r-- 1 jenkins jenkins 140 Jan 9 05:02 .dockerignore [2023-01-09T05:03:44.330Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 9 05:03 .git [2023-01-09T05:03:44.330Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 9 05:02 .github [2023-01-09T05:03:44.330Z] -rw-rw-r-- 1 jenkins jenkins 331 Jan 9 05:02 .gitignore [2023-01-09T05:03:44.330Z] -rw-rw-r-- 1 jenkins jenkins 41 Jan 9 05:02 .golangci.yml [2023-01-09T05:03:44.330Z] drwxr-xr-x 3 jenkins jenkins 4096 Jan 9 05:02 .semver [2023-01-09T05:03:44.330Z] -rw-rw-r-- 1 jenkins jenkins 10121 Jan 9 05:02 Attribution.txt [2023-01-09T05:03:44.330Z] -rw-rw-r-- 1 jenkins jenkins 11576 Jan 9 05:02 CHANGELOG.md [2023-01-09T05:03:44.330Z] -rw-rw-r-- 1 jenkins jenkins 1410 Jan 9 05:02 Dockerfile [2023-01-09T05:03:44.330Z] -rw-rw-r-- 1 jenkins jenkins 677 Jan 9 05:02 GOVERNANCE.md [2023-01-09T05:03:44.330Z] -rw-rw-r-- 1 jenkins jenkins 680 Jan 9 05:02 Jenkinsfile [2023-01-09T05:03:44.330Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jan 9 05:02 LICENSE [2023-01-09T05:03:44.330Z] -rw-rw-r-- 1 jenkins jenkins 2101 Jan 9 05:02 Makefile [2023-01-09T05:03:44.330Z] -rw-rw-r-- 1 jenkins jenkins 622 Jan 9 05:02 OWNERS.md [2023-01-09T05:03:44.330Z] -rw-rw-r-- 1 jenkins jenkins 4061 Jan 9 05:02 README.md [2023-01-09T05:03:44.330Z] -rw-rw-r-- 1 jenkins jenkins 5 Jan 9 05:02 VERSION [2023-01-09T05:03:44.330Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 9 05:02 bin [2023-01-09T05:03:44.330Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 9 05:02 cmd [2023-01-09T05:03:44.330Z] -rw-r--r-- 1 jenkins jenkins 23241 Jan 9 05:03 coverage.out [2023-01-09T05:03:44.330Z] -rw-rw-r-- 1 jenkins jenkins 3584 Jan 9 05:02 go.mod [2023-01-09T05:03:44.330Z] -rw-rw-r-- 1 jenkins jenkins 45355 Jan 9 05:02 go.sum [2023-01-09T05:03:44.330Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 9 05:02 internal [2023-01-09T05:03:44.330Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 9 05:02 simulator [2023-01-09T05:03:44.330Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 9 05:02 snap [2023-01-09T05:03:44.330Z] -rw-rw-r-- 1 jenkins jenkins 229 Jan 9 05:02 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-09T05:03:44.725Z] + 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=d94ab648b72690ff1964ac542fcdb5689b84bb11 --label arch=amd64 --label version=0.0.0 . [2023-01-09T05:03:44.725Z] Sending build context to Docker daemon 6.335MB [2023-01-09T05:03:44.725Z] Step 1/22 : ARG BASE=golang:1.18-alpine3.16 [2023-01-09T05:03:44.725Z] Step 2/22 : FROM ${BASE} AS builder [2023-01-09T05:03:44.725Z] ---> 131bae8419b9 [2023-01-09T05:03:44.725Z] Step 3/22 : ARG ADD_BUILD_TAGS="" [2023-01-09T05:03:44.985Z] ---> Running in 2c4997dedb25 [2023-01-09T05:03:45.244Z] Removing intermediate container 2c4997dedb25 [2023-01-09T05:03:45.244Z] ---> 9fe410e62ac7 [2023-01-09T05:03:45.244Z] Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-09T05:03:45.503Z] ---> Running in 7caa1a966907 [2023-01-09T05:03:45.762Z] Removing intermediate container 7caa1a966907 [2023-01-09T05:03:45.762Z] ---> 23c23a8fbaab [2023-01-09T05:03:45.762Z] Step 5/22 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2023-01-09T05:03:45.762Z] ---> Running in 991b98f585b8 [2023-01-09T05:03:46.699Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-09T05:03:46.699Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-09T05:03:46.957Z] OK: 217 MiB in 59 packages [2023-01-09T05:03:47.895Z] Removing intermediate container 991b98f585b8 [2023-01-09T05:03:47.895Z] ---> e4dfa3a3d255 [2023-01-09T05:03:47.895Z] Step 6/22 : WORKDIR /device-modbus-go [2023-01-09T05:03:48.153Z] ---> Running in 07395a245c81 [2023-01-09T05:03:48.412Z] Removing intermediate container 07395a245c81 [2023-01-09T05:03:48.412Z] ---> fc5b938a781a [2023-01-09T05:03:48.412Z] Step 7/22 : COPY go.mod vendor* ./ [2023-01-09T05:03:48.412Z] ---> d906712da7be [2023-01-09T05:03:48.412Z] Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-09T05:03:48.412Z] ---> Running in 3738c9eeab1b [2023-01-09T05:03:48.981Z] Removing intermediate container 3738c9eeab1b [2023-01-09T05:03:48.981Z] ---> f2c4018a50ae [2023-01-09T05:03:48.981Z] Step 9/22 : COPY . . [2023-01-09T05:03:49.546Z] ---> 1dfbaa10aaca [2023-01-09T05:03:49.546Z] Step 10/22 : RUN ${MAKE} [2023-01-09T05:03:49.546Z] ---> Running in 3aa7ae39a3cf [2023-01-09T05:03:49.804Z] CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-modbus-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-modbus ./cmd [2023-01-09T05:04:11.892Z] Removing intermediate container 3aa7ae39a3cf [2023-01-09T05:04:11.892Z] ---> 71bf3ef6e872 [2023-01-09T05:04:11.892Z] Step 11/22 : FROM alpine:3.14 [2023-01-09T05:04:11.892Z] 3.14: Pulling from library/alpine [2023-01-09T05:04:11.892Z] c7ed990a2339: Pulling fs layer [2023-01-09T05:04:11.892Z] c7ed990a2339: Verifying Checksum [2023-01-09T05:04:11.892Z] c7ed990a2339: Download complete [2023-01-09T05:04:11.892Z] c7ed990a2339: Pull complete [2023-01-09T05:04:11.892Z] Digest: sha256:4c869a63e1b7c0722fed1e402a6466610327c3b83bdddb94bd94fb71da7f638a [2023-01-09T05:04:11.892Z] Status: Downloaded newer image for alpine:3.14 [2023-01-09T05:04:11.892Z] ---> dd53f409bf0b [2023-01-09T05:04:11.892Z] Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2023-01-09T05:04:11.892Z] ---> Running in 864611239dd6 [2023-01-09T05:04:11.892Z] Removing intermediate container 864611239dd6 [2023-01-09T05:04:11.892Z] ---> 5d67434b6ce8 [2023-01-09T05:04:11.892Z] Step 13/22 : RUN apk add --update --no-cache zeromq dumb-init [2023-01-09T05:04:11.892Z] ---> Running in da4154e378b9 [2023-01-09T05:04:11.892Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2023-01-09T05:04:11.892Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2023-01-09T05:04:11.892Z] (1/6) Installing dumb-init (1.2.5-r1) [2023-01-09T05:04:11.892Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2023-01-09T05:04:11.892Z] (3/6) Installing libsodium (1.0.18-r0) [2023-01-09T05:04:11.892Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2023-01-09T05:04:11.892Z] (5/6) Installing libzmq (4.3.4-r0) [2023-01-09T05:04:11.892Z] (6/6) Installing zeromq (4.3.4-r0) [2023-01-09T05:04:11.892Z] Executing busybox-1.33.1-r8.trigger [2023-01-09T05:04:11.892Z] OK: 8 MiB in 20 packages [2023-01-09T05:04:11.892Z] Removing intermediate container da4154e378b9 [2023-01-09T05:04:11.892Z] ---> 44dbae273d31 [2023-01-09T05:04:11.892Z] Step 14/22 : COPY --from=builder /device-modbus-go/cmd / [2023-01-09T05:04:11.892Z] ---> 4690c89be7f9 [2023-01-09T05:04:11.892Z] Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / [2023-01-09T05:04:11.892Z] ---> 78fe5f2e7344 [2023-01-09T05:04:11.892Z] Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / [2023-01-09T05:04:11.892Z] ---> aeda77f79292 [2023-01-09T05:04:11.892Z] Step 17/22 : EXPOSE 59901 [2023-01-09T05:04:11.892Z] ---> Running in 57446aa0a3ee [2023-01-09T05:04:11.892Z] Removing intermediate container 57446aa0a3ee [2023-01-09T05:04:11.892Z] ---> 4c1b543eb370 [2023-01-09T05:04:11.892Z] Step 18/22 : ENTRYPOINT ["/device-modbus"] [2023-01-09T05:04:11.892Z] ---> Running in 16f67a517732 [2023-01-09T05:04:11.892Z] Removing intermediate container 16f67a517732 [2023-01-09T05:04:11.892Z] ---> f91c210145a6 [2023-01-09T05:04:11.892Z] Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-01-09T05:04:11.892Z] ---> Running in 816d264dcd1e [2023-01-09T05:04:11.892Z] Removing intermediate container 816d264dcd1e [2023-01-09T05:04:11.892Z] ---> ae4a4dc67e53 [2023-01-09T05:04:11.892Z] Step 20/22 : LABEL arch=amd64 [2023-01-09T05:04:11.892Z] ---> Running in 0ac7e2811cea [2023-01-09T05:04:11.892Z] Removing intermediate container 0ac7e2811cea [2023-01-09T05:04:11.892Z] ---> 59bc667efa0d [2023-01-09T05:04:11.892Z] Step 21/22 : LABEL git_sha=d94ab648b72690ff1964ac542fcdb5689b84bb11 [2023-01-09T05:04:11.892Z] ---> Running in 286f9312f6c4 [2023-01-09T05:04:11.892Z] Removing intermediate container 286f9312f6c4 [2023-01-09T05:04:11.892Z] ---> 7a919df77868 [2023-01-09T05:04:11.892Z] Step 22/22 : LABEL version=0.0.0 [2023-01-09T05:04:11.892Z] ---> Running in 1f3458330204 [2023-01-09T05:04:11.892Z] Removing intermediate container 1f3458330204 [2023-01-09T05:04:11.892Z] ---> 0e35f041e81e [2023-01-09T05:04:11.892Z] [Warning] One or more build-args [ARCH] were not consumed [2023-01-09T05:04:11.892Z] Successfully built 0e35f041e81e [2023-01-09T05:04:11.892Z] 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-09T05:04:12.733Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-09T05:04:12.733Z] [2023-01-09T05:04:12.733Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-09T05:04:13.109Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-09T05:04:13.109Z] latest: Pulling from edgex-lftools-log-publisher [2023-01-09T05:04:13.109Z] 5eb5b503b376: Pulling fs layer [2023-01-09T05:04:13.109Z] 5c69ac0246d0: Pulling fs layer [2023-01-09T05:04:13.109Z] ec43610c2a17: Pulling fs layer [2023-01-09T05:04:13.109Z] 3a2ae6a8a46f: Pulling fs layer [2023-01-09T05:04:13.109Z] 33b1e0a273af: Pulling fs layer [2023-01-09T05:04:13.109Z] 5d3b04190fa2: Pulling fs layer [2023-01-09T05:04:13.109Z] 2f39f015ded8: Pulling fs layer [2023-01-09T05:04:13.109Z] 3a2ae6a8a46f: Waiting [2023-01-09T05:04:13.109Z] 5d3b04190fa2: Waiting [2023-01-09T05:04:13.109Z] 2f39f015ded8: Waiting [2023-01-09T05:04:13.109Z] 5c69ac0246d0: Verifying Checksum [2023-01-09T05:04:13.109Z] 5c69ac0246d0: Download complete [2023-01-09T05:04:13.109Z] 3a2ae6a8a46f: Verifying Checksum [2023-01-09T05:04:13.109Z] 3a2ae6a8a46f: Download complete [2023-01-09T05:04:13.109Z] 33b1e0a273af: Verifying Checksum [2023-01-09T05:04:13.109Z] 33b1e0a273af: Download complete [2023-01-09T05:04:13.109Z] 5d3b04190fa2: Download complete [2023-01-09T05:04:13.367Z] ec43610c2a17: Verifying Checksum [2023-01-09T05:04:13.367Z] ec43610c2a17: Download complete [2023-01-09T05:04:13.367Z] 5eb5b503b376: Verifying Checksum [2023-01-09T05:04:13.367Z] 5eb5b503b376: Download complete [2023-01-09T05:04:13.931Z] 2f39f015ded8: Download complete [2023-01-09T05:04:14.495Z] 5eb5b503b376: Pull complete [2023-01-09T05:04:14.495Z] 5c69ac0246d0: Pull complete [2023-01-09T05:04:14.753Z] ec43610c2a17: Pull complete [2023-01-09T05:04:15.011Z] 3a2ae6a8a46f: Pull complete [2023-01-09T05:04:15.011Z] 33b1e0a273af: Pull complete [2023-01-09T05:04:15.268Z] 5d3b04190fa2: Pull complete [2023-01-09T05:04:18.779Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-1425 in /w/workspace/xfoundry_device-modbus-go_PR-396 [Pipeline] { [Pipeline] ws [2023-01-09T05:04:18.838Z] Running in /w/workspace/device-modbus-go/1 [Pipeline] { [Pipeline] checkout [2023-01-09T05:04:18.913Z] Selected Git installation does not exist. Using Default [2023-01-09T05:04:18.913Z] The recommended git tool is: NONE [2023-01-09T05:04:19.446Z] 2f39f015ded8: Pull complete [2023-01-09T05:04:19.446Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-01-09T05:04:19.446Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-09T05:04:19.446Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-09T05:04:19.671Z] prd-ubuntu20.04-docker-8c-8g-1424 does not seem to be running inside a container [2023-01-09T05:04:19.705Z] $ 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-396 -v /w/workspace/xfoundry_device-modbus-go_PR-396:/w/workspace/xfoundry_device-modbus-go_PR-396:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-396@tmp:/w/workspace/xfoundry_device-modbus-go_PR-396@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-09T05:04:22.989Z] $ docker top f89a3e7478c53d053e1369cf6af2019d88622e08c3a6145664901fd6113f6434 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-09T05:04:23.437Z] ---> job-cost.sh [2023-01-09T05:04:23.437Z] lf-activate-venv: SKIPPING [2023-01-09T05:04:23.437Z] INFO: No Stack... [2023-01-09T05:04:23.696Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-01-09T05:04:23.955Z] INFO: Archiving Costs [Pipeline] sh [2023-01-09T05:04:24.111Z] using credential edgex-jenkins-ssh [2023-01-09T05:04:24.127Z] Cloning the remote Git repository [2023-01-09T05:04:24.274Z] + cat /w/workspace/xfoundry_device-modbus-go_PR-396/archives/cost.csv [2023-01-09T05:04:24.274Z] + cut -d, -f6 [Pipeline] lock [2023-01-09T05:04:24.317Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-396-1-stack-cost] [2023-01-09T05:04:24.323Z] Resource [jenkins-edgexfoundry-device-modbus-go-PR-396-1-stack-cost] did not exist. Created. [2023-01-09T05:04:24.323Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-396-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-01-09T05:04:24.723Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-01-09T05:04:24.774Z] Stashed 1 file(s) [Pipeline] } [2023-01-09T05:04:24.807Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-396-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-01-09T05:04:24.884Z] $ docker stop --time=1 f89a3e7478c53d053e1369cf6af2019d88622e08c3a6145664901fd6113f6434 [2023-01-09T05:04:24.177Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2023-01-09T05:04:24.267Z] > git init /w/workspace/device-modbus-go/1 # timeout=10 [2023-01-09T05:04:24.456Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2023-01-09T05:04:24.457Z] > git --version # timeout=10 [2023-01-09T05:04:24.477Z] > git --version # 'git version 2.25.1' [2023-01-09T05:04:24.479Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-09T05:04:24.549Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-01-09T05:04:26.032Z] $ docker rm -f --volumes f89a3e7478c53d053e1369cf6af2019d88622e08c3a6145664901fd6113f6434 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [2023-01-09T05:04:25.738Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2023-01-09T05:04:25.776Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [Pipeline] // stage [Pipeline] } [2023-01-09T05:04:27.174Z] Merging remotes/origin/main commit b747fdb0f46d56fab49edbd998369f5c6173beb1 into PR head commit d94ab648b72690ff1964ac542fcdb5689b84bb11 [2023-01-09T05:04:27.402Z] Merge succeeded, producing d94ab648b72690ff1964ac542fcdb5689b84bb11 [2023-01-09T05:04:27.403Z] Checking out Revision d94ab648b72690ff1964ac542fcdb5689b84bb11 (PR-396) [2023-01-09T05:04:26.616Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2023-01-09T05:04:26.656Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2023-01-09T05:04:26.657Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-09T05:04:26.675Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/396/head:refs/remotes/origin/PR-396 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-01-09T05:04:27.193Z] > git config core.sparsecheckout # timeout=10 [2023-01-09T05:04:27.207Z] > git checkout -f d94ab648b72690ff1964ac542fcdb5689b84bb11 # timeout=10 [2023-01-09T05:04:27.284Z] > git remote # timeout=10 [2023-01-09T05:04:27.303Z] > git config --get remote.origin.url # timeout=10 [2023-01-09T05:04:27.334Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-09T05:04:27.351Z] > git merge b747fdb0f46d56fab49edbd998369f5c6173beb1 # timeout=10 [2023-01-09T05:04:27.385Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-01-09T05:04:27.412Z] > git config core.sparsecheckout # timeout=10 [2023-01-09T05:04:27.440Z] > git checkout -f d94ab648b72690ff1964ac542fcdb5689b84bb11 # timeout=10 [2023-01-09T05:04:27.902Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" [2023-01-09T05:04:27.953Z] > git --version # timeout=10 [2023-01-09T05:04:27.964Z] > git --version # 'git version 2.25.1' [2023-01-09T05:04:27.976Z] fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-09T05:04:29.008Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-01-09T05:04:29.008Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-01-09T05:04:29.008Z] Dload Upload Total Spent Left Speed [2023-01-09T05:04:29.008Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 85577 0 --:--:-- --:--:-- --:--:-- 85577 [Pipeline] sh [2023-01-09T05:04:29.645Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-01-09T05:04:29.995Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-01-09T05:04:29.995Z] + sudo tee /etc/docker/daemon.new [2023-01-09T05:04:29.995Z] { [2023-01-09T05:04:29.995Z] "registry-mirrors": [ [2023-01-09T05:04:29.995Z] "https://nexus3.edgexfoundry.org:10001" [2023-01-09T05:04:29.995Z] ], [2023-01-09T05:04:29.995Z] "bip": "10.250.0.254/24", [2023-01-09T05:04:29.995Z] "hosts": [ [2023-01-09T05:04:29.995Z] "tcp://0.0.0.0:5555", [2023-01-09T05:04:29.995Z] "unix:///var/run/docker.sock" [2023-01-09T05:04:29.995Z] ], [2023-01-09T05:04:29.995Z] "mtu": 1458, [2023-01-09T05:04:29.995Z] "selinux-enabled": true, [2023-01-09T05:04:29.996Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-01-09T05:04:29.996Z] } [Pipeline] sh [2023-01-09T05:04:30.344Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-01-09T05:04:30.692Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-09T05:04:49.009Z] provisioning config files... [2023-01-09T05:04:49.037Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/1@tmp/config4008373808974215932tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-09T05:04:49.417Z] ---> docker-login.sh [2023-01-09T05:04:49.417Z] nexus3.edgexfoundry.org:10001 [2023-01-09T05:04:49.685Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-09T05:04:49.954Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-09T05:04:49.954Z] Configure a credential helper to remove this warning. See [2023-01-09T05:04:49.954Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-09T05:04:49.954Z] [2023-01-09T05:04:49.954Z] Login Succeeded [2023-01-09T05:04:49.954Z] nexus3.edgexfoundry.org:10002 [2023-01-09T05:04:50.223Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-09T05:04:50.223Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-09T05:04:50.223Z] Configure a credential helper to remove this warning. See [2023-01-09T05:04:50.223Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-09T05:04:50.223Z] [2023-01-09T05:04:50.223Z] Login Succeeded [2023-01-09T05:04:50.223Z] nexus3.edgexfoundry.org:10003 [2023-01-09T05:04:50.493Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-09T05:04:50.762Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-09T05:04:50.762Z] Configure a credential helper to remove this warning. See [2023-01-09T05:04:50.762Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-09T05:04:50.762Z] [2023-01-09T05:04:50.762Z] Login Succeeded [2023-01-09T05:04:50.762Z] nexus3.edgexfoundry.org:10004 [2023-01-09T05:04:51.036Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-09T05:04:51.037Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-09T05:04:51.037Z] Configure a credential helper to remove this warning. See [2023-01-09T05:04:51.037Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-09T05:04:51.037Z] [2023-01-09T05:04:51.037Z] Login Succeeded [2023-01-09T05:04:51.037Z] docker.io [2023-01-09T05:04:51.306Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-09T05:04:51.575Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-09T05:04:51.575Z] Configure a credential helper to remove this warning. See [2023-01-09T05:04:51.575Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-09T05:04:51.575Z] [2023-01-09T05:04:51.575Z] Login Succeeded [2023-01-09T05:04:51.575Z] ---> docker-login.sh ends [Pipeline] } [2023-01-09T05:04:51.606Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-01-09T05:04:51.965Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-09T05:04:52.003Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-09T05:04:52.035Z] ========================================================= [2023-01-09T05:04:52.035Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-01-09T05:04:52.035Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-09T05:04:52.539Z] + 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-09T05:04:52.807Z] Sending build context to Docker daemon 3.286MB [2023-01-09T05:04:52.807Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2023-01-09T05:04:52.807Z] Step 2/10 : FROM ${BASE} AS builder [2023-01-09T05:04:53.074Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-01-09T05:04:53.074Z] 9b18e9b68314: Pulling fs layer [2023-01-09T05:04:53.074Z] 35d82f9e3411: Pulling fs layer [2023-01-09T05:04:53.074Z] e16973657156: Pulling fs layer [2023-01-09T05:04:53.074Z] fc693d55d65f: Pulling fs layer [2023-01-09T05:04:53.074Z] 7e9fc2657dce: Pulling fs layer [2023-01-09T05:04:53.074Z] dda99020689f: Pulling fs layer [2023-01-09T05:04:53.074Z] db1c61fa0a46: Pulling fs layer [2023-01-09T05:04:53.074Z] 891c053d2c06: Pulling fs layer [2023-01-09T05:04:53.074Z] dda99020689f: Waiting [2023-01-09T05:04:53.074Z] db1c61fa0a46: Waiting [2023-01-09T05:04:53.074Z] 891c053d2c06: Waiting [2023-01-09T05:04:53.075Z] fc693d55d65f: Waiting [2023-01-09T05:04:53.075Z] 7e9fc2657dce: Waiting [2023-01-09T05:04:53.075Z] e16973657156: Verifying Checksum [2023-01-09T05:04:53.075Z] e16973657156: Download complete [2023-01-09T05:04:53.075Z] 35d82f9e3411: Verifying Checksum [2023-01-09T05:04:53.075Z] 35d82f9e3411: Download complete [2023-01-09T05:04:53.075Z] 7e9fc2657dce: Verifying Checksum [2023-01-09T05:04:53.075Z] 7e9fc2657dce: Download complete [2023-01-09T05:04:53.075Z] dda99020689f: Verifying Checksum [2023-01-09T05:04:53.075Z] dda99020689f: Download complete [2023-01-09T05:04:53.075Z] 9b18e9b68314: Verifying Checksum [2023-01-09T05:04:54.059Z] 9b18e9b68314: Pull complete [2023-01-09T05:04:54.059Z] 891c053d2c06: Verifying Checksum [2023-01-09T05:04:54.059Z] 891c053d2c06: Download complete [2023-01-09T05:04:55.483Z] db1c61fa0a46: Verifying Checksum [2023-01-09T05:04:55.483Z] db1c61fa0a46: Download complete [2023-01-09T05:04:56.075Z] fc693d55d65f: Download complete [2023-01-09T05:04:56.347Z] 35d82f9e3411: Pull complete [2023-01-09T05:04:56.347Z] e16973657156: Pull complete [2023-01-09T05:05:08.697Z] fc693d55d65f: Pull complete [2023-01-09T05:05:08.697Z] 7e9fc2657dce: Pull complete [2023-01-09T05:05:08.966Z] dda99020689f: Pull complete [2023-01-09T05:05:15.650Z] db1c61fa0a46: Pull complete [2023-01-09T05:05:16.620Z] 891c053d2c06: Pull complete [2023-01-09T05:05:16.620Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-01-09T05:05:16.891Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-01-09T05:05:16.891Z] ---> f96f9c87975a [2023-01-09T05:05:16.891Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2023-01-09T05:05:18.845Z] ---> Running in 8a1d31d40682 [2023-01-09T05:05:18.845Z] Removing intermediate container 8a1d31d40682 [2023-01-09T05:05:18.845Z] ---> b14e4d721ac5 [2023-01-09T05:05:18.845Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-09T05:05:19.114Z] ---> Running in c3275e840fa8 [2023-01-09T05:05:19.390Z] Removing intermediate container c3275e840fa8 [2023-01-09T05:05:19.390Z] ---> d29a8b6baf19 [2023-01-09T05:05:19.390Z] Step 5/10 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2023-01-09T05:05:19.390Z] ---> Running in 477d4125f203 [2023-01-09T05:05:20.867Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-09T05:05:20.867Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-09T05:05:21.868Z] (1/8) Installing openssh-keygen (9.0_p1-r2) [2023-01-09T05:05:21.868Z] (2/8) Installing libedit (20210910.3.1-r0) [2023-01-09T05:05:21.868Z] (3/8) Installing openssh-client-common (9.0_p1-r2) [2023-01-09T05:05:22.136Z] (4/8) Installing openssh-client-default (9.0_p1-r2) [2023-01-09T05:05:22.136Z] (5/8) Installing openssh-sftp-server (9.0_p1-r2) [2023-01-09T05:05:22.136Z] (6/8) Installing openssh-server-common (9.0_p1-r2) [2023-01-09T05:05:22.136Z] (7/8) Installing openssh-server (9.0_p1-r2) [2023-01-09T05:05:22.136Z] (8/8) Installing openssh (9.0_p1-r2) [2023-01-09T05:05:22.136Z] Executing busybox-1.35.0-r17.trigger [2023-01-09T05:05:22.136Z] OK: 228 MiB in 59 packages [2023-01-09T05:05:23.102Z] Removing intermediate container 477d4125f203 [2023-01-09T05:05:23.102Z] ---> 91c7a06adb63 [2023-01-09T05:05:23.102Z] Step 6/10 : WORKDIR /device-modbus-go [2023-01-09T05:05:23.378Z] ---> Running in cc4940910867 [2023-01-09T05:05:23.651Z] Removing intermediate container cc4940910867 [2023-01-09T05:05:23.651Z] ---> 97507db76ffa [2023-01-09T05:05:23.651Z] Step 7/10 : COPY go.mod vendor* ./ [2023-01-09T05:05:24.240Z] ---> 89fe6ec8a2c9 [2023-01-09T05:05:24.240Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-09T05:05:24.240Z] ---> Running in 23d661a54d33 [2023-01-09T05:06:20.766Z] Removing intermediate container 23d661a54d33 [2023-01-09T05:06:20.766Z] ---> 291f16baf640 [2023-01-09T05:06:20.766Z] Step 9/10 : COPY . . [2023-01-09T05:06:20.766Z] ---> 53b7dc9e68e5 [2023-01-09T05:06:20.766Z] Step 10/10 : RUN ${MAKE} [2023-01-09T05:06:20.766Z] ---> Running in 78131596505a [2023-01-09T05:06:20.766Z] noop [2023-01-09T05:06:20.766Z] Removing intermediate container 78131596505a [2023-01-09T05:06:20.766Z] ---> a4db4d0dd83f [2023-01-09T05:06:20.766Z] Successfully built a4db4d0dd83f [2023-01-09T05:06:20.766Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-09T05:06:21.248Z] + docker inspect -f . ci-base-image-arm64 [2023-01-09T05:06:21.248Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-09T05:06:21.501Z] prd-ubuntu20.04-docker-arm64-4c-16g-1425 does not seem to be running inside a container [2023-01-09T05:06:21.575Z] $ 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-09T05:06:22.713Z] $ docker top 58889d289b3b87e7fdecd3948200776c1ad2707ebcc9ef81f09cf76b4c0a278f -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-09T05:06:23.592Z] + go version [2023-01-09T05:06:23.593Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-01-09T05:06:23.633Z] $ docker stop --time=1 58889d289b3b87e7fdecd3948200776c1ad2707ebcc9ef81f09cf76b4c0a278f [2023-01-09T05:06:25.607Z] $ docker rm -f --volumes 58889d289b3b87e7fdecd3948200776c1ad2707ebcc9ef81f09cf76b4c0a278f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-09T05:06:26.442Z] + docker inspect -f . ci-base-image-arm64 [2023-01-09T05:06:26.442Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-09T05:06:26.687Z] prd-ubuntu20.04-docker-arm64-4c-16g-1425 does not seem to be running inside a container [2023-01-09T05:06:26.750Z] $ 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-09T05:06:27.891Z] $ docker top 1dfff4a2fe4e00d5cc39037a777671152ba45034e6b86a9e088bd1bba6ad9de1 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-09T05:06:28.439Z] + git config --global --add safe.directory /w/workspace/device-modbus-go/1 [Pipeline] fileExists [Pipeline] sh [2023-01-09T05:06:28.823Z] + make test [2023-01-09T05:06:28.823Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2023-01-09T05:06:30.769Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2023-01-09T05:07:52.423Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2023-01-09T05:07:52.423Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.066s coverage: 47.7% of statements [2023-01-09T05:07:52.423Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-01-09T05:07:52.423Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2023-01-09T05:08:14.520Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-01-09T05:08:14.520Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-01-09T05:08:14.520Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-01-09T05:08:14.562Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-01-09T05:08:14.598Z] $ docker stop --time=1 1dfff4a2fe4e00d5cc39037a777671152ba45034e6b86a9e088bd1bba6ad9de1 [2023-01-09T05:08:16.362Z] $ docker rm -f --volumes 1dfff4a2fe4e00d5cc39037a777671152ba45034e6b86a9e088bd1bba6ad9de1 [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-09T05:08:17.328Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-01-09T05:08:17.365Z] Warning: overwriting stash ‘coverage-report’ [2023-01-09T05:08:17.861Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-09T05:08:18.488Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-01-09T05:08:18.825Z] + ls -al . [2023-01-09T05:08:18.825Z] total 192 [2023-01-09T05:08:18.825Z] drwxrwxr-x 9 jenkins jenkins 4096 Jan 9 05:06 . [2023-01-09T05:08:18.825Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 9 05:04 .. [2023-01-09T05:08:18.825Z] -rw-rw-r-- 1 jenkins jenkins 140 Jan 9 05:04 .dockerignore [2023-01-09T05:08:18.825Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 9 05:04 .git [2023-01-09T05:08:18.825Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 9 05:04 .github [2023-01-09T05:08:18.825Z] -rw-rw-r-- 1 jenkins jenkins 331 Jan 9 05:04 .gitignore [2023-01-09T05:08:18.825Z] -rw-rw-r-- 1 jenkins jenkins 41 Jan 9 05:04 .golangci.yml [2023-01-09T05:08:18.825Z] -rw-rw-r-- 1 jenkins jenkins 10121 Jan 9 05:04 Attribution.txt [2023-01-09T05:08:18.825Z] -rw-rw-r-- 1 jenkins jenkins 11576 Jan 9 05:04 CHANGELOG.md [2023-01-09T05:08:18.825Z] -rw-rw-r-- 1 jenkins jenkins 1410 Jan 9 05:04 Dockerfile [2023-01-09T05:08:18.825Z] -rw-rw-r-- 1 jenkins jenkins 677 Jan 9 05:04 GOVERNANCE.md [2023-01-09T05:08:18.825Z] -rw-rw-r-- 1 jenkins jenkins 680 Jan 9 05:04 Jenkinsfile [2023-01-09T05:08:18.825Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jan 9 05:04 LICENSE [2023-01-09T05:08:18.825Z] -rw-rw-r-- 1 jenkins jenkins 2101 Jan 9 05:04 Makefile [2023-01-09T05:08:18.825Z] -rw-rw-r-- 1 jenkins jenkins 622 Jan 9 05:04 OWNERS.md [2023-01-09T05:08:18.825Z] -rw-rw-r-- 1 jenkins jenkins 4061 Jan 9 05:04 README.md [2023-01-09T05:08:18.825Z] -rw-rw-r-- 1 jenkins jenkins 5 Jan 9 05:02 VERSION [2023-01-09T05:08:18.825Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 9 05:04 bin [2023-01-09T05:08:18.825Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 9 05:04 cmd [2023-01-09T05:08:18.825Z] -rw-r--r-- 1 jenkins jenkins 23241 Jan 9 05:07 coverage.out [2023-01-09T05:08:18.825Z] -rw-rw-r-- 1 jenkins jenkins 3584 Jan 9 05:04 go.mod [2023-01-09T05:08:18.825Z] -rw-rw-r-- 1 jenkins jenkins 45355 Jan 9 05:04 go.sum [2023-01-09T05:08:18.825Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 9 05:04 internal [2023-01-09T05:08:18.825Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 9 05:04 simulator [2023-01-09T05:08:18.825Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 9 05:04 snap [2023-01-09T05:08:18.825Z] -rw-rw-r-- 1 jenkins jenkins 229 Jan 9 05:04 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-09T05:08:19.254Z] + 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=d94ab648b72690ff1964ac542fcdb5689b84bb11 --label arch=arm64 --label version=0.0.0 . [2023-01-09T05:08:19.524Z] Sending build context to Docker daemon 3.31MB [2023-01-09T05:08:19.524Z] Step 1/22 : ARG BASE=golang:1.18-alpine3.16 [2023-01-09T05:08:19.524Z] Step 2/22 : FROM ${BASE} AS builder [2023-01-09T05:08:19.524Z] ---> a4db4d0dd83f [2023-01-09T05:08:19.524Z] Step 3/22 : ARG ADD_BUILD_TAGS="" [2023-01-09T05:08:19.792Z] ---> Running in 6a6442e94522 [2023-01-09T05:08:20.060Z] Removing intermediate container 6a6442e94522 [2023-01-09T05:08:20.060Z] ---> 2abda771da90 [2023-01-09T05:08:20.060Z] Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-09T05:08:20.060Z] ---> Running in 44e24394f2b7 [2023-01-09T05:08:20.347Z] Removing intermediate container 44e24394f2b7 [2023-01-09T05:08:20.347Z] ---> 8a78d29e524b [2023-01-09T05:08:20.347Z] Step 5/22 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2023-01-09T05:08:20.347Z] ---> Running in ad8c8fc61481 [2023-01-09T05:08:21.320Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-09T05:08:21.908Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-09T05:08:22.875Z] OK: 228 MiB in 59 packages [2023-01-09T05:08:23.459Z] Removing intermediate container ad8c8fc61481 [2023-01-09T05:08:23.459Z] ---> 5568cb0c7231 [2023-01-09T05:08:23.459Z] Step 6/22 : WORKDIR /device-modbus-go [2023-01-09T05:08:23.459Z] ---> Running in 0997acb0267d [2023-01-09T05:08:23.726Z] Removing intermediate container 0997acb0267d [2023-01-09T05:08:23.726Z] ---> 5f1514645058 [2023-01-09T05:08:23.726Z] Step 7/22 : COPY go.mod vendor* ./ [2023-01-09T05:08:24.317Z] ---> de8ca7f8e571 [2023-01-09T05:08:24.317Z] Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-09T05:08:24.317Z] ---> Running in 202b0bfcc692 [2023-01-09T05:08:26.261Z] Removing intermediate container 202b0bfcc692 [2023-01-09T05:08:26.261Z] ---> ad2c2bb7111d [2023-01-09T05:08:26.261Z] Step 9/22 : COPY . . [2023-01-09T05:08:27.233Z] ---> 7f8ebbabcb93 [2023-01-09T05:08:27.233Z] Step 10/22 : RUN ${MAKE} [2023-01-09T05:08:27.233Z] ---> Running in 6ee618d35f56 [2023-01-09T05:08:28.196Z] CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-modbus-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-modbus ./cmd [2023-01-09T05:11:19.981Z] Removing intermediate container 6ee618d35f56 [2023-01-09T05:11:19.981Z] ---> df9b58f5c02c [2023-01-09T05:11:19.981Z] Step 11/22 : FROM alpine:3.14 [2023-01-09T05:11:19.981Z] 3.14: Pulling from library/alpine [2023-01-09T05:11:19.981Z] 90cda3b7c325: Pulling fs layer [2023-01-09T05:11:19.981Z] 90cda3b7c325: Verifying Checksum [2023-01-09T05:11:19.981Z] 90cda3b7c325: Download complete [2023-01-09T05:11:19.981Z] 90cda3b7c325: Pull complete [2023-01-09T05:11:19.981Z] Digest: sha256:4c869a63e1b7c0722fed1e402a6466610327c3b83bdddb94bd94fb71da7f638a [2023-01-09T05:11:19.981Z] Status: Downloaded newer image for alpine:3.14 [2023-01-09T05:11:19.981Z] ---> 275902a1839d [2023-01-09T05:11:19.981Z] Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2023-01-09T05:11:19.981Z] ---> Running in 0c58ad49256b [2023-01-09T05:11:19.981Z] Removing intermediate container 0c58ad49256b [2023-01-09T05:11:19.981Z] ---> d5579b98fb26 [2023-01-09T05:11:19.981Z] Step 13/22 : RUN apk add --update --no-cache zeromq dumb-init [2023-01-09T05:11:19.981Z] ---> Running in 59794059c8a2 [2023-01-09T05:11:19.981Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2023-01-09T05:11:19.981Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2023-01-09T05:11:19.981Z] (1/6) Installing dumb-init (1.2.5-r1) [2023-01-09T05:11:19.981Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2023-01-09T05:11:19.981Z] (3/6) Installing libsodium (1.0.18-r0) [2023-01-09T05:11:19.981Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2023-01-09T05:11:19.981Z] (5/6) Installing libzmq (4.3.4-r0) [2023-01-09T05:11:19.981Z] (6/6) Installing zeromq (4.3.4-r0) [2023-01-09T05:11:19.981Z] Executing busybox-1.33.1-r8.trigger [2023-01-09T05:11:19.981Z] OK: 8 MiB in 20 packages [2023-01-09T05:11:19.981Z] Removing intermediate container 59794059c8a2 [2023-01-09T05:11:19.981Z] ---> abbfea85d3c4 [2023-01-09T05:11:19.981Z] Step 14/22 : COPY --from=builder /device-modbus-go/cmd / [2023-01-09T05:11:19.981Z] ---> 28dd12ae4456 [2023-01-09T05:11:19.981Z] Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / [2023-01-09T05:11:19.981Z] ---> 9e8beb6fcd34 [2023-01-09T05:11:19.981Z] Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / [2023-01-09T05:11:19.981Z] ---> 07af35951999 [2023-01-09T05:11:19.981Z] Step 17/22 : EXPOSE 59901 [2023-01-09T05:11:19.981Z] ---> Running in 4fee13cff9c8 [2023-01-09T05:11:19.981Z] Removing intermediate container 4fee13cff9c8 [2023-01-09T05:11:19.981Z] ---> af6fe816b0ac [2023-01-09T05:11:19.981Z] Step 18/22 : ENTRYPOINT ["/device-modbus"] [2023-01-09T05:11:19.981Z] ---> Running in 54a9b66458e9 [2023-01-09T05:11:19.981Z] Removing intermediate container 54a9b66458e9 [2023-01-09T05:11:19.981Z] ---> c5510f841c77 [2023-01-09T05:11:19.981Z] Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-01-09T05:11:19.981Z] ---> Running in 4417e6675022 [2023-01-09T05:11:19.981Z] Removing intermediate container 4417e6675022 [2023-01-09T05:11:19.981Z] ---> 5a7d6ea8fb41 [2023-01-09T05:11:19.981Z] Step 20/22 : LABEL arch=arm64 [2023-01-09T05:11:19.981Z] ---> Running in d2d9c3cb6efe [2023-01-09T05:11:19.981Z] Removing intermediate container d2d9c3cb6efe [2023-01-09T05:11:19.981Z] ---> 5484b257b799 [2023-01-09T05:11:19.981Z] Step 21/22 : LABEL git_sha=d94ab648b72690ff1964ac542fcdb5689b84bb11 [2023-01-09T05:11:19.981Z] ---> Running in ae45bda53b6d [2023-01-09T05:11:19.981Z] Removing intermediate container ae45bda53b6d [2023-01-09T05:11:19.981Z] ---> 76ca5ee3855b [2023-01-09T05:11:19.981Z] Step 22/22 : LABEL version=0.0.0 [2023-01-09T05:11:19.981Z] ---> Running in 0ecb88f0da69 [2023-01-09T05:11:19.981Z] Removing intermediate container 0ecb88f0da69 [2023-01-09T05:11:19.981Z] ---> b83d6d88ce65 [2023-01-09T05:11:19.981Z] [Warning] One or more build-args [ARCH] were not consumed [2023-01-09T05:11:19.981Z] Successfully built b83d6d88ce65 [2023-01-09T05:11:19.981Z] 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-09T05:11:20.786Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-09T05:11:20.786Z] [2023-01-09T05:11:20.786Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-09T05:11:21.188Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-09T05:11:21.188Z] arm64: Pulling from edgex-lftools-log-publisher [2023-01-09T05:11:21.188Z] 8998bd30e6a1: Pulling fs layer [2023-01-09T05:11:21.188Z] 04944245beec: Pulling fs layer [2023-01-09T05:11:21.188Z] 699f458cf7ca: Pulling fs layer [2023-01-09T05:11:21.188Z] 765212b225bb: Pulling fs layer [2023-01-09T05:11:21.188Z] f23df028b6ca: Pulling fs layer [2023-01-09T05:11:21.188Z] d65c8cfc05b1: Pulling fs layer [2023-01-09T05:11:21.188Z] 2437ff75d9bd: Pulling fs layer [2023-01-09T05:11:21.188Z] f23df028b6ca: Waiting [2023-01-09T05:11:21.188Z] d65c8cfc05b1: Waiting [2023-01-09T05:11:21.188Z] 2437ff75d9bd: Waiting [2023-01-09T05:11:21.188Z] 765212b225bb: Waiting [2023-01-09T05:11:21.461Z] 04944245beec: Verifying Checksum [2023-01-09T05:11:21.461Z] 04944245beec: Download complete [2023-01-09T05:11:21.461Z] 765212b225bb: Verifying Checksum [2023-01-09T05:11:21.461Z] 765212b225bb: Download complete [2023-01-09T05:11:21.461Z] f23df028b6ca: Verifying Checksum [2023-01-09T05:11:21.461Z] f23df028b6ca: Download complete [2023-01-09T05:11:21.461Z] d65c8cfc05b1: Verifying Checksum [2023-01-09T05:11:21.461Z] d65c8cfc05b1: Download complete [2023-01-09T05:11:21.461Z] 699f458cf7ca: Verifying Checksum [2023-01-09T05:11:21.461Z] 699f458cf7ca: Download complete [2023-01-09T05:11:22.052Z] 8998bd30e6a1: Verifying Checksum [2023-01-09T05:11:22.052Z] 8998bd30e6a1: Download complete [2023-01-09T05:11:24.656Z] 2437ff75d9bd: Verifying Checksum [2023-01-09T05:11:24.656Z] 2437ff75d9bd: Download complete [2023-01-09T05:11:25.619Z] 8998bd30e6a1: Pull complete [2023-01-09T05:11:26.206Z] 04944245beec: Pull complete [2023-01-09T05:11:27.615Z] 699f458cf7ca: Pull complete [2023-01-09T05:11:27.615Z] 765212b225bb: Pull complete [2023-01-09T05:11:28.199Z] f23df028b6ca: Pull complete [2023-01-09T05:11:28.467Z] d65c8cfc05b1: Pull complete [2023-01-09T05:11:40.795Z] 2437ff75d9bd: Pull complete [2023-01-09T05:11:41.064Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-01-09T05:11:41.064Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-09T05:11:41.064Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-09T05:11:41.416Z] prd-ubuntu20.04-docker-arm64-4c-16g-1425 does not seem to be running inside a container [2023-01-09T05:11:41.484Z] $ 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-09T05:11:44.222Z] $ docker top 7aaeea8f66030ac872e059408e043f9a2ae526350cd2606d7f6b0520ea3f8179 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-09T05:11:45.143Z] ---> job-cost.sh [2023-01-09T05:11:45.143Z] lf-activate-venv: SKIPPING [2023-01-09T05:11:45.143Z] INFO: No Stack... [2023-01-09T05:11:45.408Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-01-09T05:11:46.364Z] INFO: Archiving Costs [Pipeline] sh [2023-01-09T05:11:46.699Z] + cut+ -d, -f6 [2023-01-09T05:11:46.699Z] cat /w/workspace/device-modbus-go/1/archives/cost.csv [Pipeline] lock [2023-01-09T05:11:46.780Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-396-1-stack-cost] [2023-01-09T05:11:46.786Z] Resource [jenkins-edgexfoundry-device-modbus-go-PR-396-1-stack-cost] did not exist. Created. [2023-01-09T05:11:46.786Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-396-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-01-09T05:11:47.196Z] /w/workspace/device-modbus-go/1@tmp/durable-fe179687/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-01-09T05:11:47.551Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-01-09T05:11:47.587Z] Warning: overwriting stash ‘stack-cost’ [2023-01-09T05:11:47.642Z] Stashed 1 file(s) [Pipeline] } [2023-01-09T05:11:47.657Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-396-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-01-09T05:11:47.739Z] $ docker stop --time=1 7aaeea8f66030ac872e059408e043f9a2ae526350cd2606d7f6b0520ea3f8179 [2023-01-09T05:11:49.210Z] $ docker rm -f --volumes 7aaeea8f66030ac872e059408e043f9a2ae526350cd2606d7f6b0520ea3f8179 [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-09T05:11:50.244Z] provisioning config files... [2023-01-09T05:11:50.251Z] copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-396@tmp/config3016644305337654143tmp [Pipeline] { [Pipeline] sh [2023-01-09T05:11:50.584Z] + set +x [2023-01-09T05:11:50.585Z] + curl -s https://codecov.io/bash [2023-01-09T05:11:50.585Z] + bash -s -- [2023-01-09T05:11:50.585Z] [2023-01-09T05:11:50.585Z] _____ _ [2023-01-09T05:11:50.585Z] / ____| | | [2023-01-09T05:11:50.585Z] | | ___ __| | ___ ___ _____ __ [2023-01-09T05:11:50.585Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-01-09T05:11:50.585Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-01-09T05:11:50.585Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-01-09T05:11:50.585Z] Bash-1.0.6 [2023-01-09T05:11:50.585Z] [2023-01-09T05:11:50.585Z] [2023-01-09T05:11:50.585Z] ==> git version 2.25.1 found [2023-01-09T05:11:50.585Z] ==> 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-09T05:11:50.585Z] Release-Date: 2020-01-08 [2023-01-09T05:11:50.585Z] 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-09T05:11:50.585Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-01-09T05:11:50.585Z] ==> Jenkins CI detected. [2023-01-09T05:11:50.585Z] current dir:  /w/workspace/xfoundry_device-modbus-go_PR-396 [2023-01-09T05:11:50.585Z] project root: . [2023-01-09T05:11:50.585Z] --> token set from env [2023-01-09T05:11:50.585Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-01-09T05:11:50.585Z] ==> Running gcov in . (disable via -X gcov) [2023-01-09T05:11:50.585Z] ==> Python coveragepy not found [2023-01-09T05:11:50.585Z] ==> Searching for coverage reports in: [2023-01-09T05:11:50.585Z] + . [2023-01-09T05:11:50.585Z] -> Found 1 reports [2023-01-09T05:11:50.585Z] ==> Detecting git/mercurial file structure [2023-01-09T05:11:50.844Z] ==> Reading reports [2023-01-09T05:11:50.844Z] + ./coverage.out bytes=23241 [2023-01-09T05:11:50.844Z] ==> Appending adjustments [2023-01-09T05:11:50.844Z] https://docs.codecov.io/docs/fixing-reports [2023-01-09T05:11:50.844Z] + Found adjustments [2023-01-09T05:11:50.844Z] ==> Gzipping contents [2023-01-09T05:11:50.844Z] 4.0K /tmp/codecov.LjGXFm.gz [2023-01-09T05:11:50.844Z] ==> Uploading reports [2023-01-09T05:11:50.844Z] url: https://codecov.io [2023-01-09T05:11:50.844Z] query: branch=PR-396&commit=d94ab648b72690ff1964ac542fcdb5689b84bb11&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-396%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=396&job=&cmd_args= [2023-01-09T05:11:50.844Z] -> Pinging Codecov [2023-01-09T05:11:50.844Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3a8d40b1-de00-4649-bfd4-bdc8ed99ae89&branch=PR-396&commit=d94ab648b72690ff1964ac542fcdb5689b84bb11&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-396%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=396&job=&cmd_args= [2023-01-09T05:11:51.103Z] -> Uploading to [2023-01-09T05:11:51.103Z] https://storage.googleapis.com/codecov/v4/raw/2023-01-09/55DBCA73C666E3227836607328DD7E49/d94ab648b72690ff1964ac542fcdb5689b84bb11/1ab37249-f492-49fd-9093-d0f6bd171ef7.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230109%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230109T051151Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=19aa47e3a222da502b45e0517d13482006220bbb87401e12b20294dc7f09face [2023-01-09T05:11:51.103Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-01-09T05:11:51.103Z] Dload Upload Total Spent Left Speed [2023-01-09T05:11:51.363Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3920 0 0 100 3920 0 14736 --:--:-- --:--:-- --:--:-- 14736 [2023-01-09T05:11:51.363Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/d94ab648b72690ff1964ac542fcdb5689b84bb11 [Pipeline] } [2023-01-09T05:11:51.394Z] 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-09T05:11:53.177Z] + [ -d /w/workspace/xfoundry_device-modbus-go_PR-396/archives ] [2023-01-09T05:11:53.177Z] + ls -al /w/workspace/xfoundry_device-modbus-go_PR-396/archives [2023-01-09T05:11:53.177Z] total 16 [2023-01-09T05:11:53.177Z] drwxr-xr-x 3 root root 4096 Jan 9 05:04 . [2023-01-09T05:11:53.177Z] drwxrwxr-x 11 jenkins jenkins 4096 Jan 9 05:04 .. [2023-01-09T05:11:53.177Z] drwxr-xr-x 2 root root 4096 Jan 9 05:04 cost [2023-01-09T05:11:53.177Z] -rw-r--r-- 1 root root 88 Jan 9 05:04 cost.csv [2023-01-09T05:11:53.177Z] + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-396/archives [2023-01-09T05:11:53.177Z] + ls -al /w/workspace/xfoundry_device-modbus-go_PR-396/archives [2023-01-09T05:11:53.177Z] total 16 [2023-01-09T05:11:53.177Z] drwxr-xr-x 3 jenkins jenkins 4096 Jan 9 05:04 . [2023-01-09T05:11:53.177Z] drwxrwxr-x 11 jenkins jenkins 4096 Jan 9 05:04 .. [2023-01-09T05:11:53.177Z] drwxr-xr-x 2 jenkins jenkins 4096 Jan 9 05:04 cost [2023-01-09T05:11:53.177Z] -rw-r--r-- 1 jenkins jenkins 88 Jan 9 05:04 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-01-09T05:11:53.516Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-09T05:11:54.406Z] ---> package-listing.sh [2023-01-09T05:11:54.406Z] ++ facter osfamily [2023-01-09T05:11:54.406Z] ++ tr '[:upper:]' '[:lower:]' [2023-01-09T05:11:54.665Z] + OS_FAMILY=debian [2023-01-09T05:11:54.665Z] + workspace=/w/workspace/xfoundry_device-modbus-go_PR-396 [2023-01-09T05:11:54.665Z] + START_PACKAGES=/tmp/packages_start.txt [2023-01-09T05:11:54.665Z] + END_PACKAGES=/tmp/packages_end.txt [2023-01-09T05:11:54.665Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-01-09T05:11:54.665Z] + PACKAGES=/tmp/packages_start.txt [2023-01-09T05:11:54.665Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-396 ']' [2023-01-09T05:11:54.665Z] + PACKAGES=/tmp/packages_end.txt [2023-01-09T05:11:54.665Z] + case "${OS_FAMILY}" in [2023-01-09T05:11:54.665Z] + dpkg -l [2023-01-09T05:11:54.665Z] + grep '^ii' [2023-01-09T05:11:54.665Z] + '[' -f /tmp/packages_start.txt ']' [2023-01-09T05:11:54.665Z] + '[' -f /tmp/packages_end.txt ']' [2023-01-09T05:11:54.665Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-01-09T05:11:54.665Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-396 ']' [2023-01-09T05:11:54.665Z] + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-396/archives/ [2023-01-09T05:11:54.665Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-396/archives/ [Pipeline] echo [2023-01-09T05:11:54.703Z] 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-396/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-01-09T05:11:54.999Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-09T05:11:55.629Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-09T05:11:55.629Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-09T05:11:55.782Z] prd-ubuntu20.04-docker-8c-8g-1424 does not seem to be running inside a container [2023-01-09T05:11:55.813Z] $ 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-396/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-396 -v /w/workspace/xfoundry_device-modbus-go_PR-396:/w/workspace/xfoundry_device-modbus-go_PR-396:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-396@tmp:/w/workspace/xfoundry_device-modbus-go_PR-396@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-09T05:11:56.032Z] $ docker top 29e10434f78391de3009f8b9b3e00421a565ff8de1f983252c4301f2200a465a -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-09T05:11:56.423Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-01-09T05:11:56.735Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-01-09T05:11:57.045Z] + ls /var/log/sa-host [2023-01-09T05:11:57.045Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-09T05:11:57.287Z] provisioning config files... [2023-01-09T05:11:57.295Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-396@tmp/config5358163814642617422tmp [Pipeline] { [Pipeline] echo [2023-01-09T05:11:57.350Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-09T05:11:57.658Z] ---> create-netrc.sh [Pipeline] } [2023-01-09T05:11:57.688Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-01-09T05:11:58.093Z] ---> python-tools-install.sh [Pipeline] echo [2023-01-09T05:11:58.127Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-09T05:11:58.438Z] ---> sudo-logs.sh [2023-01-09T05:11:58.438Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-01-09T05:11:58.517Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-09T05:11:58.825Z] ---> job-cost.sh [2023-01-09T05:11:58.825Z] lf-activate-venv: SKIPPING [2023-01-09T05:11:58.825Z] DEBUG: total: 0.2199999988079071 [2023-01-09T05:11:58.825Z] INFO: Retrieving Stack Cost... [2023-01-09T05:11:59.085Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-01-09T05:11:59.653Z] INFO: Archiving Costs [Pipeline] echo [2023-01-09T05:11:59.693Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-09T05:12:00.009Z] ---> logs-deploy.sh [2023-01-09T05:12:00.009Z] lf-activate-venv: SKIPPING [2023-01-09T05:12:00.009Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-396/1 [2023-01-09T05:12:00.009Z] INFO: archiving workspace using pattern(s): [2023-01-09T05:12:00.943Z] Archives upload complete. [2023-01-09T05:12:00.943Z] INFO: archiving logs to Nexus