Pull request #405 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from ecb938cc6e0ff92e4325b5738b47da28efcebcfd+bb2f4bd64c3941eb86d6cd8a035d25878e21dc53 (be54506758ab9b4f7c8f5454c9dd4a2bfcb8ec23) 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-ssh14612982759703533332.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-ssh3630191183719972653.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-405/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-405/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5072695111748927009.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-405/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7567475650300706480.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-ssh14883668897251477622.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-405/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-405/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh8440620312461491390.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-3336 in /w/workspace/xfoundry_device-modbus-go_PR-405 [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-405 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit bb2f4bd64c3941eb86d6cd8a035d25878e21dc53 into PR head commit ecb938cc6e0ff92e4325b5738b47da28efcebcfd Merge succeeded, producing ecb938cc6e0ff92e4325b5738b47da28efcebcfd Checking out Revision ecb938cc6e0ff92e4325b5738b47da28efcebcfd (PR-405) > 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/405/head:refs/remotes/origin/PR-405 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ecb938cc6e0ff92e4325b5738b47da28efcebcfd # 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 bb2f4bd64c3941eb86d6cd8a035d25878e21dc53 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ecb938cc6e0ff92e4325b5738b47da28efcebcfd # timeout=10 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-23T06:00:51.787Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-01-23T06:00:51.962Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-01-23T06:00:52.057Z] ========================================================= [2023-01-23T06:00:52.057Z] EdgeX Global Pipelines Version Info [2023-01-23T06:00:52.057Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-01-23T06:00:52.786Z] ------------------- [2023-01-23T06:00:52.786Z] stable info: [2023-01-23T06:00:52.786Z] ------------------- [2023-01-23T06:00:52.786Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-01-23T06:00:52.786Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-01-23T06:00:52.786Z] Message: update stable to v1.0.244 [2023-01-23T06:00:53.355Z] ------------------- [2023-01-23T06:00:53.355Z] experimental info: [2023-01-23T06:00:53.355Z] ------------------- [2023-01-23T06:00:53.355Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-01-23T06:00:53.355Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-01-23T06:00:53.355Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-01-23T06:00:53.664Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo [2023-01-23T06:00:53.708Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo [2023-01-23T06:00:53.753Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-01-23T06:00:53.797Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-01-23T06:00:53.834Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-01-23T06:00:53.874Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-01-23T06:00:53.917Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-01-23T06:00:53.956Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-01-23T06:00:53.999Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-01-23T06:00:54.041Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-01-23T06:00:54.081Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-01-23T06:00:54.120Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo [2023-01-23T06:00:54.161Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-01-23T06:00:54.198Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-01-23T06:00:54.238Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-01-23T06:00:54.279Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-01-23T06:00:54.315Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-01-23T06:00:54.352Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-01-23T06:00:54.394Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-01-23T06:00:54.434Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-01-23T06:00:54.472Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-01-23T06:00:54.528Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-01-23T06:00:54.579Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-01-23T06:00:54.621Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-01-23T06:00:54.670Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-01-23T06:00:54.715Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-01-23T06:00:54.761Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-01-23T06:00:54.810Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-405 [Pipeline] echo [2023-01-23T06:00:54.853Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-405 [Pipeline] echo [2023-01-23T06:00:54.896Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-405 [Pipeline] echo [2023-01-23T06:00:54.938Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ecb938cc6e0ff92e4325b5738b47da28efcebcfd [Pipeline] echo [2023-01-23T06:00:54.981Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ecb938c [Pipeline] echo [2023-01-23T06:00:55.032Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-23T06:00:55.151Z] provisioning config files... [2023-01-23T06:00:55.166Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-405@tmp/config6039466489020060033tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-23T06:00:55.509Z] ---> docker-login.sh [2023-01-23T06:00:55.509Z] nexus3.edgexfoundry.org:10001 [2023-01-23T06:00:55.768Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-23T06:00:55.768Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-23T06:00:55.768Z] Configure a credential helper to remove this warning. See [2023-01-23T06:00:55.768Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-23T06:00:55.768Z] [2023-01-23T06:00:55.768Z] Login Succeeded [2023-01-23T06:00:55.768Z] nexus3.edgexfoundry.org:10002 [2023-01-23T06:00:55.768Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-23T06:00:55.768Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-23T06:00:55.768Z] Configure a credential helper to remove this warning. See [2023-01-23T06:00:55.768Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-23T06:00:55.768Z] [2023-01-23T06:00:55.768Z] Login Succeeded [2023-01-23T06:00:56.027Z] nexus3.edgexfoundry.org:10003 [2023-01-23T06:00:56.027Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-23T06:00:56.027Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-23T06:00:56.027Z] Configure a credential helper to remove this warning. See [2023-01-23T06:00:56.027Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-23T06:00:56.027Z] [2023-01-23T06:00:56.027Z] Login Succeeded [2023-01-23T06:00:56.027Z] nexus3.edgexfoundry.org:10004 [2023-01-23T06:00:56.027Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-23T06:00:56.027Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-23T06:00:56.027Z] Configure a credential helper to remove this warning. See [2023-01-23T06:00:56.027Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-23T06:00:56.027Z] [2023-01-23T06:00:56.027Z] Login Succeeded [2023-01-23T06:00:56.027Z] docker.io [2023-01-23T06:00:56.285Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-23T06:00:56.285Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-23T06:00:56.285Z] Configure a credential helper to remove this warning. See [2023-01-23T06:00:56.285Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-23T06:00:56.285Z] [2023-01-23T06:00:56.285Z] Login Succeeded [2023-01-23T06:00:56.285Z] ---> docker-login.sh ends [Pipeline] } [2023-01-23T06:00:56.310Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-01-23T06:00:56.929Z] + git rev-list -1 --merges ecb938cc6e0ff92e4325b5738b47da28efcebcfd~1..ecb938cc6e0ff92e4325b5738b47da28efcebcfd [Pipeline] echo [2023-01-23T06:00:56.990Z] -----------> git rev-list -1 --merges ecb938cc6e0ff92e4325b5738b47da28efcebcfd~1..ecb938cc6e0ff92e4325b5738b47da28efcebcfd ecb938cc6e0ff92e4325b5738b47da28efcebcfd [false] [Pipeline] sh [2023-01-23T06:00:57.302Z] + git log --format=format:%s -1 ecb938cc6e0ff92e4325b5738b47da28efcebcfd [Pipeline] echo [2023-01-23T06:00:57.341Z] ========================================================= [2023-01-23T06:00:57.341Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-01-23T06:00:57.341Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-23T06:00:57.785Z] + git log --format=format:%s -1 ecb938cc6e0ff92e4325b5738b47da28efcebcfd [Pipeline] echo [2023-01-23T06:00:57.817Z] [semverPrep] GIT_COMMIT: ecb938cc6e0ff92e4325b5738b47da28efcebcfd, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo [2023-01-23T06:00:57.849Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-01-23T06:00:58.224Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-01-23T06:00:58.224Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-01-23T06:00:58.224Z] + [ -e /tmp/ssh_known_hosts ] [2023-01-23T06:00:58.224Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-01-23T06:00:58.224Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-01-23T06:00:58.224Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-01-23T06:00:58.224Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-23T06:00:58.643Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-23T06:00:58.643Z] [2023-01-23T06:00:58.643Z] 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-23T06:00:59.016Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-23T06:00:59.016Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-01-23T06:00:59.016Z] b85a868b505f: Pulling fs layer [2023-01-23T06:00:59.016Z] e2be974225ed: Pulling fs layer [2023-01-23T06:00:59.016Z] 339a4e72a1f5: Pulling fs layer [2023-01-23T06:00:59.016Z] 988bab9f4d93: Pulling fs layer [2023-01-23T06:00:59.016Z] 1469e6f7b9e6: Pulling fs layer [2023-01-23T06:00:59.016Z] eaf3925da568: Pulling fs layer [2023-01-23T06:00:59.016Z] bab4dde63d76: Pulling fs layer [2023-01-23T06:00:59.016Z] bde34c3a00c8: Pulling fs layer [2023-01-23T06:00:59.016Z] b352a97aabf1: Pulling fs layer [2023-01-23T06:00:59.016Z] 4872d77fe225: Pulling fs layer [2023-01-23T06:00:59.016Z] 5851b861e8e6: Pulling fs layer [2023-01-23T06:00:59.016Z] 988bab9f4d93: Waiting [2023-01-23T06:00:59.016Z] 1469e6f7b9e6: Waiting [2023-01-23T06:00:59.016Z] eaf3925da568: Waiting [2023-01-23T06:00:59.016Z] bab4dde63d76: Waiting [2023-01-23T06:00:59.016Z] 4872d77fe225: Waiting [2023-01-23T06:00:59.016Z] bde34c3a00c8: Waiting [2023-01-23T06:00:59.016Z] b352a97aabf1: Waiting [2023-01-23T06:00:59.016Z] 5851b861e8e6: Waiting [2023-01-23T06:00:59.016Z] e2be974225ed: Download complete [2023-01-23T06:00:59.016Z] 988bab9f4d93: Download complete [2023-01-23T06:00:59.304Z] 1469e6f7b9e6: Verifying Checksum [2023-01-23T06:00:59.304Z] 1469e6f7b9e6: Download complete [2023-01-23T06:00:59.304Z] eaf3925da568: Verifying Checksum [2023-01-23T06:00:59.304Z] eaf3925da568: Download complete [2023-01-23T06:00:59.304Z] 339a4e72a1f5: Verifying Checksum [2023-01-23T06:00:59.304Z] 339a4e72a1f5: Download complete [2023-01-23T06:00:59.567Z] bde34c3a00c8: Verifying Checksum [2023-01-23T06:00:59.567Z] bde34c3a00c8: Download complete [2023-01-23T06:00:59.567Z] b352a97aabf1: Download complete [2023-01-23T06:00:59.567Z] 4872d77fe225: Verifying Checksum [2023-01-23T06:00:59.567Z] 4872d77fe225: Download complete [2023-01-23T06:00:59.567Z] 5851b861e8e6: Verifying Checksum [2023-01-23T06:00:59.567Z] 5851b861e8e6: Download complete [2023-01-23T06:00:59.567Z] b85a868b505f: Download complete [2023-01-23T06:01:00.134Z] bab4dde63d76: Verifying Checksum [2023-01-23T06:01:00.134Z] bab4dde63d76: Download complete [2023-01-23T06:01:00.703Z] b85a868b505f: Pull complete [2023-01-23T06:01:00.963Z] e2be974225ed: Pull complete [2023-01-23T06:01:01.532Z] 339a4e72a1f5: Pull complete [2023-01-23T06:01:01.799Z] 988bab9f4d93: Pull complete [2023-01-23T06:01:02.371Z] 1469e6f7b9e6: Pull complete [2023-01-23T06:01:02.371Z] eaf3925da568: Pull complete [2023-01-23T06:01:04.271Z] bab4dde63d76: Pull complete [2023-01-23T06:01:04.271Z] bde34c3a00c8: Pull complete [2023-01-23T06:01:04.271Z] b352a97aabf1: Pull complete [2023-01-23T06:01:04.532Z] 4872d77fe225: Pull complete [2023-01-23T06:01:04.532Z] 5851b861e8e6: Pull complete [2023-01-23T06:01:04.532Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-01-23T06:01:04.532Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-23T06:01:04.532Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-23T06:01:04.752Z] prd-ubuntu20.04-docker-8c-8g-3336 does not seem to be running inside a container [2023-01-23T06:01:04.791Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-405 -v /w/workspace/xfoundry_device-modbus-go_PR-405:/w/workspace/xfoundry_device-modbus-go_PR-405:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-405@tmp:/w/workspace/xfoundry_device-modbus-go_PR-405@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-23T06:01:09.926Z] $ docker top c4b14b3f62cee9e7483e1e6f7d776f9c953125498b5682881050ee1132c1db10 -eo pid,comm [2023-01-23T06:01:09.972Z] 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-23T06:01:09.972Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-01-23T06:01:10.090Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-01-23T06:01:10.090Z] [ssh-agent] Looking for ssh-agent implementation... [2023-01-23T06:01:10.202Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-01-23T06:01:10.208Z] $ docker exec c4b14b3f62cee9e7483e1e6f7d776f9c953125498b5682881050ee1132c1db10 ssh-agent [2023-01-23T06:01:10.308Z] SSH_AUTH_SOCK=/tmp/ssh-9B6Yq4eHPx3k/agent.33 [2023-01-23T06:01:10.308Z] SSH_AGENT_PID=39 [2023-01-23T06:01:10.314Z] Running ssh-add (command line suppressed) [2023-01-23T06:01:10.415Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-405@tmp/private_key_15658618002577273030.key (/w/workspace/xfoundry_device-modbus-go_PR-405@tmp/private_key_15658618002577273030.key) [2023-01-23T06:01:10.427Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-01-23T06:01:10.764Z] + git tag --points-at HEAD [Pipeline] } [2023-01-23T06:01:10.794Z] $ docker exec --env ******** --env ******** c4b14b3f62cee9e7483e1e6f7d776f9c953125498b5682881050ee1132c1db10 ssh-agent -k [2023-01-23T06:01:10.892Z] unset SSH_AUTH_SOCK; [2023-01-23T06:01:10.892Z] unset SSH_AGENT_PID; [2023-01-23T06:01:10.892Z] echo Agent pid 39 killed; [2023-01-23T06:01:10.899Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-01-23T06:01:10.980Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-01-23T06:01:10.980Z] [ssh-agent] Looking for ssh-agent implementation... [2023-01-23T06:01:11.084Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-01-23T06:01:11.089Z] $ docker exec c4b14b3f62cee9e7483e1e6f7d776f9c953125498b5682881050ee1132c1db10 ssh-agent [2023-01-23T06:01:11.200Z] SSH_AUTH_SOCK=/tmp/ssh-QXSFuayWVpwM/agent.71 [2023-01-23T06:01:11.200Z] SSH_AGENT_PID=77 [2023-01-23T06:01:11.217Z] Running ssh-add (command line suppressed) [2023-01-23T06:01:11.323Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-405@tmp/private_key_10884904776097428081.key (/w/workspace/xfoundry_device-modbus-go_PR-405@tmp/private_key_10884904776097428081.key) [2023-01-23T06:01:11.340Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-01-23T06:01:11.667Z] + git semver init [2023-01-23T06:01:11.926Z] 2023-01-23 06:01:11,891 [run_init] DEBUG init version:0.0.0 force:False [2023-01-23T06:01:11.926Z] 2023-01-23 06:01:11,892 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-modbus-go_PR-405/.semver [2023-01-23T06:01:11.926Z] 2023-01-23 06:01:11,892 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/xfoundry_device-modbus-go_PR-405/.semver [2023-01-23T06:01:11.926Z] 2023-01-23 06:01:11,893 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/xfoundry_device-modbus-go_PR-405/.semver'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-405, universal_newlines=False, shell=None, istream=None) [2023-01-23T06:01:13.308Z] 2023-01-23 06:01:12,881 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-modbus-go_PR-405/.git/info/exclude [2023-01-23T06:01:13.308Z] 2023-01-23 06:01:12,881 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-modbus-go_PR-405/.semver/PR-405 with force:False [2023-01-23T06:01:13.308Z] 2023-01-23 06:01:12,882 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-modbus-go_PR-405/.semver/PR-405 [2023-01-23T06:01:13.308Z] 2023-01-23 06:01:12,886 [execute] INFO git cat-file --batch-check [2023-01-23T06:01:13.308Z] 2023-01-23 06:01:12,886 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-405/.semver, universal_newlines=False, shell=None, istream=) [2023-01-23T06:01:13.308Z] 2023-01-23 06:01:12,892 [execute] INFO git cat-file --batch [2023-01-23T06:01:13.308Z] 2023-01-23 06:01:12,892 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-405/.semver, universal_newlines=False, shell=None, istream=) [2023-01-23T06:01:13.308Z] 2023-01-23 06:01:12,897 [read_version] DEBUG read version from /w/workspace/xfoundry_device-modbus-go_PR-405/.semver/PR-405 [2023-01-23T06:01:13.308Z] 0.0.0 [Pipeline] } [2023-01-23T06:01:13.336Z] $ docker exec --env ******** --env ******** c4b14b3f62cee9e7483e1e6f7d776f9c953125498b5682881050ee1132c1db10 ssh-agent -k [2023-01-23T06:01:13.439Z] unset SSH_AUTH_SOCK; [2023-01-23T06:01:13.439Z] unset SSH_AGENT_PID; [2023-01-23T06:01:13.439Z] echo Agent pid 77 killed; [2023-01-23T06:01:13.444Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-01-23T06:01:13.873Z] + git semver [Pipeline] } [2023-01-23T06:01:14.160Z] $ docker stop --time=1 c4b14b3f62cee9e7483e1e6f7d776f9c953125498b5682881050ee1132c1db10 [2023-01-23T06:01:15.492Z] $ docker rm -f --volumes c4b14b3f62cee9e7483e1e6f7d776f9c953125498b5682881050ee1132c1db10 [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-23T06:01:15.902Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-01-23T06:01:16.188Z] Stashed 1 file(s) [Pipeline] echo [2023-01-23T06:01:16.205Z] [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-23T06:01:16.793Z] provisioning config files... [2023-01-23T06:01:16.803Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-405@tmp/config18257918615991909723tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-23T06:01:17.144Z] ---> docker-login.sh [2023-01-23T06:01:17.144Z] nexus3.edgexfoundry.org:10001 [2023-01-23T06:01:17.144Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-23T06:01:17.144Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-23T06:01:17.144Z] Configure a credential helper to remove this warning. See [2023-01-23T06:01:17.144Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-23T06:01:17.144Z] [2023-01-23T06:01:17.144Z] Login Succeeded [2023-01-23T06:01:17.144Z] nexus3.edgexfoundry.org:10002 [2023-01-23T06:01:17.144Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-23T06:01:17.144Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-23T06:01:17.144Z] Configure a credential helper to remove this warning. See [2023-01-23T06:01:17.144Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-23T06:01:17.144Z] [2023-01-23T06:01:17.144Z] Login Succeeded [2023-01-23T06:01:17.144Z] nexus3.edgexfoundry.org:10003 [2023-01-23T06:01:17.404Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-23T06:01:17.404Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-23T06:01:17.404Z] Configure a credential helper to remove this warning. See [2023-01-23T06:01:17.404Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-23T06:01:17.404Z] [2023-01-23T06:01:17.404Z] Login Succeeded [2023-01-23T06:01:17.404Z] nexus3.edgexfoundry.org:10004 [2023-01-23T06:01:17.404Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-23T06:01:17.404Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-23T06:01:17.404Z] Configure a credential helper to remove this warning. See [2023-01-23T06:01:17.404Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-23T06:01:17.404Z] [2023-01-23T06:01:17.404Z] Login Succeeded [2023-01-23T06:01:17.404Z] docker.io [2023-01-23T06:01:17.663Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-23T06:01:17.663Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-23T06:01:17.663Z] Configure a credential helper to remove this warning. See [2023-01-23T06:01:17.663Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-23T06:01:17.663Z] [2023-01-23T06:01:17.663Z] Login Succeeded [2023-01-23T06:01:17.663Z] ---> docker-login.sh ends [Pipeline] } [2023-01-23T06:01:17.693Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-01-23T06:01:17.880Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-23T06:01:17.917Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-23T06:01:17.948Z] ========================================================= [2023-01-23T06:01:17.948Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-01-23T06:01:17.948Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-23T06:01:18.417Z] + 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-23T06:01:18.417Z] Sending build context to Docker daemon 6.341MB [2023-01-23T06:01:18.417Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2023-01-23T06:01:18.417Z] Step 2/10 : FROM ${BASE} AS builder [2023-01-23T06:01:18.417Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-01-23T06:01:18.417Z] 213ec9aee27d: Pulling fs layer [2023-01-23T06:01:18.417Z] 4583459ba037: Pulling fs layer [2023-01-23T06:01:18.417Z] 93c1e223e6f2: Pulling fs layer [2023-01-23T06:01:18.417Z] 53926ce57604: Pulling fs layer [2023-01-23T06:01:18.417Z] 21b2b0c7a3f4: Pulling fs layer [2023-01-23T06:01:18.417Z] 22ff95d597cd: Pulling fs layer [2023-01-23T06:01:18.417Z] 12d6caf4c0d1: Pulling fs layer [2023-01-23T06:01:18.417Z] 96b7cbca73a9: Pulling fs layer [2023-01-23T06:01:18.417Z] 21b2b0c7a3f4: Waiting [2023-01-23T06:01:18.417Z] 22ff95d597cd: Waiting [2023-01-23T06:01:18.417Z] 12d6caf4c0d1: Waiting [2023-01-23T06:01:18.417Z] 53926ce57604: Waiting [2023-01-23T06:01:18.417Z] a7acece74701: Pulling fs layer [2023-01-23T06:01:18.417Z] 96b7cbca73a9: Waiting [2023-01-23T06:01:18.417Z] a7acece74701: Waiting [2023-01-23T06:01:18.417Z] 93c1e223e6f2: Verifying Checksum [2023-01-23T06:01:18.417Z] 93c1e223e6f2: Download complete [2023-01-23T06:01:18.417Z] 4583459ba037: Verifying Checksum [2023-01-23T06:01:18.417Z] 4583459ba037: Download complete [2023-01-23T06:01:18.689Z] 21b2b0c7a3f4: Verifying Checksum [2023-01-23T06:01:18.689Z] 21b2b0c7a3f4: Download complete [2023-01-23T06:01:18.689Z] 22ff95d597cd: Download complete [2023-01-23T06:01:18.689Z] 213ec9aee27d: Verifying Checksum [2023-01-23T06:01:18.689Z] 213ec9aee27d: Download complete [2023-01-23T06:01:18.689Z] 12d6caf4c0d1: Verifying Checksum [2023-01-23T06:01:18.689Z] 12d6caf4c0d1: Download complete [2023-01-23T06:01:18.689Z] 213ec9aee27d: Pull complete [2023-01-23T06:01:18.971Z] 4583459ba037: Pull complete [2023-01-23T06:01:18.971Z] 93c1e223e6f2: Pull complete [2023-01-23T06:01:20.040Z] a7acece74701: Verifying Checksum [2023-01-23T06:01:20.040Z] a7acece74701: Download complete [2023-01-23T06:01:20.667Z] 53926ce57604: Verifying Checksum [2023-01-23T06:01:20.667Z] 53926ce57604: Download complete [2023-01-23T06:01:20.667Z] 96b7cbca73a9: Verifying Checksum [2023-01-23T06:01:23.943Z] 53926ce57604: Pull complete [2023-01-23T06:01:23.943Z] 21b2b0c7a3f4: Pull complete [2023-01-23T06:01:24.201Z] 22ff95d597cd: Pull complete [2023-01-23T06:01:24.201Z] 12d6caf4c0d1: Pull complete [2023-01-23T06:01:26.112Z] 96b7cbca73a9: Pull complete [2023-01-23T06:01:27.046Z] a7acece74701: Pull complete [2023-01-23T06:01:27.046Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-01-23T06:01:27.046Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-01-23T06:01:27.046Z] ---> db6d94c90886 [2023-01-23T06:01:27.046Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2023-01-23T06:01:31.592Z] Still waiting to schedule task [2023-01-23T06:01:31.592Z] ‘prd-ubuntu18.04-docker-8c-8g-3241’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-01-23T06:01:31.592Z] ‘prd-ubuntu18.04-docker-8c-8g-3242’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-01-23T06:01:31.592Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-3337’ is offline [2023-01-23T06:01:33.653Z] ---> Running in a6031ce0c25f [2023-01-23T06:01:33.653Z] Removing intermediate container a6031ce0c25f [2023-01-23T06:01:33.653Z] ---> 511c38d565a4 [2023-01-23T06:01:33.653Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-23T06:01:33.653Z] ---> Running in 11890a9d9007 [2023-01-23T06:01:33.653Z] Removing intermediate container 11890a9d9007 [2023-01-23T06:01:33.653Z] ---> 84bf99871b2d [2023-01-23T06:01:33.653Z] Step 5/10 : RUN apk add --update --no-cache make git openssh [2023-01-23T06:01:33.653Z] ---> Running in 8299a33a817b [2023-01-23T06:01:33.913Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-23T06:01:34.171Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-23T06:01:34.430Z] (1/8) Installing openssh-keygen (9.0_p1-r2) [2023-01-23T06:01:34.430Z] (2/8) Installing libedit (20210910.3.1-r0) [2023-01-23T06:01:34.430Z] (3/8) Installing openssh-client-common (9.0_p1-r2) [2023-01-23T06:01:34.430Z] (4/8) Installing openssh-client-default (9.0_p1-r2) [2023-01-23T06:01:34.690Z] (5/8) Installing openssh-sftp-server (9.0_p1-r2) [2023-01-23T06:01:34.690Z] (6/8) Installing openssh-server-common (9.0_p1-r2) [2023-01-23T06:01:34.690Z] (7/8) Installing openssh-server (9.0_p1-r2) [2023-01-23T06:01:34.690Z] (8/8) Installing openssh (9.0_p1-r2) [2023-01-23T06:01:34.690Z] Executing busybox-1.35.0-r17.trigger [2023-01-23T06:01:34.690Z] OK: 217 MiB in 59 packages [2023-01-23T06:01:36.065Z] Removing intermediate container 8299a33a817b [2023-01-23T06:01:36.065Z] ---> 71964c61cab5 [2023-01-23T06:01:36.065Z] Step 6/10 : WORKDIR /device-modbus-go [2023-01-23T06:01:36.324Z] ---> Running in 988b005d267a [2023-01-23T06:01:36.890Z] Removing intermediate container 988b005d267a [2023-01-23T06:01:36.890Z] ---> fc150d2e870d [2023-01-23T06:01:36.890Z] Step 7/10 : COPY go.mod vendor* ./ [2023-01-23T06:01:37.148Z] ---> 5fdeaad7ef26 [2023-01-23T06:01:37.148Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-23T06:01:37.412Z] ---> Running in e0ba3623bec0 [2023-01-23T06:02:24.102Z] Removing intermediate container e0ba3623bec0 [2023-01-23T06:02:24.102Z] ---> 2e846a09a5aa [2023-01-23T06:02:24.102Z] Step 9/10 : COPY . . [2023-01-23T06:02:24.102Z] ---> 5c391d85eb83 [2023-01-23T06:02:24.102Z] Step 10/10 : RUN ${MAKE} [2023-01-23T06:02:24.102Z] ---> Running in ebb2cdad3084 [2023-01-23T06:02:24.102Z] noop [2023-01-23T06:02:24.102Z] Removing intermediate container ebb2cdad3084 [2023-01-23T06:02:24.102Z] ---> bc558894bcbc [2023-01-23T06:02:24.102Z] Successfully built bc558894bcbc [2023-01-23T06:02:24.102Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-23T06:02:24.549Z] + docker inspect -f . ci-base-image-x86_64 [2023-01-23T06:02:24.549Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-23T06:02:24.696Z] prd-ubuntu20.04-docker-8c-8g-3336 does not seem to be running inside a container [2023-01-23T06:02:24.728Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-405 -v /w/workspace/xfoundry_device-modbus-go_PR-405:/w/workspace/xfoundry_device-modbus-go_PR-405:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-405@tmp:/w/workspace/xfoundry_device-modbus-go_PR-405@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-23T06:02:25.098Z] $ docker top 4b1d15f2420d798996e836be30fe87e1b9400b23097ba37f5d18651fabb8ecd5 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-23T06:02:25.488Z] + go version [2023-01-23T06:02:25.488Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-01-23T06:02:25.526Z] $ docker stop --time=1 4b1d15f2420d798996e836be30fe87e1b9400b23097ba37f5d18651fabb8ecd5 [2023-01-23T06:02:26.857Z] $ docker rm -f --volumes 4b1d15f2420d798996e836be30fe87e1b9400b23097ba37f5d18651fabb8ecd5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-23T06:02:27.627Z] + docker inspect -f . ci-base-image-x86_64 [2023-01-23T06:02:27.627Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-23T06:02:27.781Z] prd-ubuntu20.04-docker-8c-8g-3336 does not seem to be running inside a container [2023-01-23T06:02:27.815Z] $ 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-405 -v /w/workspace/xfoundry_device-modbus-go_PR-405:/w/workspace/xfoundry_device-modbus-go_PR-405:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-405@tmp:/w/workspace/xfoundry_device-modbus-go_PR-405@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-23T06:02:28.177Z] $ docker top df52263ce88c348ea231f5eb7432cf2cf4b61f84a455f0b094ec924b5470fc4d -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-23T06:02:28.574Z] + git config --global --add safe.directory /w/workspace/xfoundry_device-modbus-go_PR-405 [Pipeline] fileExists [Pipeline] sh [2023-01-23T06:02:28.931Z] + make test [2023-01-23T06:02:28.931Z] go test ./... -coverprofile=coverage.out [2023-01-23T06:02:29.189Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2023-01-23T06:02:37.341Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2023-01-23T06:02:37.341Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.009s coverage: 47.7% of statements [2023-01-23T06:02:43.900Z] 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-23T06:02:43.900Z] go vet ./... [2023-01-23T06:02:46.426Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-01-23T06:02:46.426Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-01-23T06:02:46.426Z] ./bin/test-attribution-txt.sh [2023-01-23T06:02:46.426Z] An attribution for golang.org/x/mod is missing from Attribution.txt, please add [2023-01-23T06:02:46.426Z] An attribution for golang.org/x/tools is missing from Attribution.txt, please add [Pipeline] echo [2023-01-23T06:02:46.469Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-01-23T06:02:46.502Z] $ docker stop --time=1 df52263ce88c348ea231f5eb7432cf2cf4b61f84a455f0b094ec924b5470fc4d [2023-01-23T06:02:49.355Z] $ docker rm -f --volumes df52263ce88c348ea231f5eb7432cf2cf4b61f84a455f0b094ec924b5470fc4d [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-23T06:02:49.837Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-01-23T06:02:49.903Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-01-23T06:02:50.571Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-01-23T06:02:50.877Z] + ls -al . [2023-01-23T06:02:50.877Z] total 184 [2023-01-23T06:02:50.877Z] drwxrwxr-x 10 jenkins jenkins 4096 Jan 23 06:02 . [2023-01-23T06:02:50.877Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 23 06:00 .. [2023-01-23T06:02:50.877Z] -rw-rw-r-- 1 jenkins jenkins 140 Jan 23 06:00 .dockerignore [2023-01-23T06:02:50.877Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 23 06:02 .git [2023-01-23T06:02:50.877Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 23 06:00 .github [2023-01-23T06:02:50.877Z] -rw-rw-r-- 1 jenkins jenkins 331 Jan 23 06:00 .gitignore [2023-01-23T06:02:50.877Z] -rw-rw-r-- 1 jenkins jenkins 41 Jan 23 06:00 .golangci.yml [2023-01-23T06:02:50.877Z] drwxr-xr-x 3 jenkins jenkins 4096 Jan 23 06:01 .semver [2023-01-23T06:02:50.877Z] -rw-rw-r-- 1 jenkins jenkins 10017 Jan 23 06:00 Attribution.txt [2023-01-23T06:02:50.877Z] -rw-rw-r-- 1 jenkins jenkins 11576 Jan 23 06:00 CHANGELOG.md [2023-01-23T06:02:50.877Z] -rw-rw-r-- 1 jenkins jenkins 1365 Jan 23 06:00 Dockerfile [2023-01-23T06:02:50.877Z] -rw-rw-r-- 1 jenkins jenkins 677 Jan 23 06:00 GOVERNANCE.md [2023-01-23T06:02:50.877Z] -rw-rw-r-- 1 jenkins jenkins 680 Jan 23 06:00 Jenkinsfile [2023-01-23T06:02:50.877Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jan 23 06:00 LICENSE [2023-01-23T06:02:50.877Z] -rw-rw-r-- 1 jenkins jenkins 1670 Jan 23 06:00 Makefile [2023-01-23T06:02:50.877Z] -rw-rw-r-- 1 jenkins jenkins 622 Jan 23 06:00 OWNERS.md [2023-01-23T06:02:50.877Z] -rw-rw-r-- 1 jenkins jenkins 4061 Jan 23 06:00 README.md [2023-01-23T06:02:50.877Z] -rw-rw-r-- 1 jenkins jenkins 5 Jan 23 06:01 VERSION [2023-01-23T06:02:50.877Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 23 06:00 bin [2023-01-23T06:02:50.877Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 23 06:00 cmd [2023-01-23T06:02:50.877Z] -rw-r--r-- 1 jenkins jenkins 23241 Jan 23 06:02 coverage.out [2023-01-23T06:02:50.877Z] -rw-rw-r-- 1 jenkins jenkins 3550 Jan 23 06:00 go.mod [2023-01-23T06:02:50.877Z] -rw-rw-r-- 1 jenkins jenkins 35198 Jan 23 06:00 go.sum [2023-01-23T06:02:50.877Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 23 06:00 internal [2023-01-23T06:02:50.877Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 23 06:00 simulator [2023-01-23T06:02:50.877Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 23 06:00 snap [2023-01-23T06:02:50.877Z] -rw-rw-r-- 1 jenkins jenkins 229 Jan 23 06:00 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-23T06:02:51.295Z] + 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=ecb938cc6e0ff92e4325b5738b47da28efcebcfd --label arch=amd64 --label version=0.0.0 . [2023-01-23T06:02:51.295Z] Sending build context to Docker daemon 6.365MB [2023-01-23T06:02:51.295Z] Step 1/22 : ARG BASE=golang:1.18-alpine3.16 [2023-01-23T06:02:51.295Z] Step 2/22 : FROM ${BASE} AS builder [2023-01-23T06:02:51.295Z] ---> bc558894bcbc [2023-01-23T06:02:51.295Z] Step 3/22 : ARG ADD_BUILD_TAGS="" [2023-01-23T06:02:51.575Z] ---> Running in 842eb2f46b6f [2023-01-23T06:02:51.575Z] Removing intermediate container 842eb2f46b6f [2023-01-23T06:02:51.575Z] ---> c17ed655c4c4 [2023-01-23T06:02:51.575Z] Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-23T06:02:51.575Z] ---> Running in c12f88d2c6c6 [2023-01-23T06:02:51.575Z] Removing intermediate container c12f88d2c6c6 [2023-01-23T06:02:51.575Z] ---> c6636f6d4262 [2023-01-23T06:02:51.575Z] Step 5/22 : RUN apk add --update --no-cache make git openssh [2023-01-23T06:02:51.575Z] ---> Running in 376d1a379e17 [2023-01-23T06:02:51.853Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-23T06:02:52.123Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-23T06:02:52.403Z] OK: 217 MiB in 59 packages [2023-01-23T06:02:52.676Z] Removing intermediate container 376d1a379e17 [2023-01-23T06:02:52.676Z] ---> 1d292558e314 [2023-01-23T06:02:52.676Z] Step 6/22 : WORKDIR /device-modbus-go [2023-01-23T06:02:52.676Z] ---> Running in 1cfe1daa5bc1 [2023-01-23T06:02:52.676Z] Removing intermediate container 1cfe1daa5bc1 [2023-01-23T06:02:52.676Z] ---> 70cda9df4936 [2023-01-23T06:02:52.676Z] Step 7/22 : COPY go.mod vendor* ./ [2023-01-23T06:02:52.956Z] ---> b501d58f7d8e [2023-01-23T06:02:52.956Z] Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-23T06:02:52.956Z] ---> Running in 0fca824e28b4 [2023-01-23T06:02:53.896Z] Removing intermediate container 0fca824e28b4 [2023-01-23T06:02:53.896Z] ---> 2b7d75333595 [2023-01-23T06:02:53.896Z] Step 9/22 : COPY . . [2023-01-23T06:02:54.154Z] ---> 79dc976f0aa3 [2023-01-23T06:02:54.154Z] Step 10/22 : RUN ${MAKE} [2023-01-23T06:02:54.154Z] ---> Running in b3c4b06dc463 [2023-01-23T06:02:54.412Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-modbus ./cmd [2023-01-23T06:03:16.334Z] Removing intermediate container b3c4b06dc463 [2023-01-23T06:03:16.334Z] ---> 96f10fcfd5f0 [2023-01-23T06:03:16.334Z] Step 11/22 : FROM alpine:3.14 [2023-01-23T06:03:16.334Z] 3.14: Pulling from library/alpine [2023-01-23T06:03:16.334Z] c7ed990a2339: Pulling fs layer [2023-01-23T06:03:16.334Z] c7ed990a2339: Verifying Checksum [2023-01-23T06:03:16.334Z] c7ed990a2339: Download complete [2023-01-23T06:03:16.334Z] c7ed990a2339: Pull complete [2023-01-23T06:03:16.334Z] Digest: sha256:4c869a63e1b7c0722fed1e402a6466610327c3b83bdddb94bd94fb71da7f638a [2023-01-23T06:03:16.334Z] Status: Downloaded newer image for alpine:3.14 [2023-01-23T06:03:16.334Z] ---> dd53f409bf0b [2023-01-23T06:03:16.334Z] Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2023-01-23T06:03:16.334Z] ---> Running in 55c1a9b14bd8 [2023-01-23T06:03:16.334Z] Removing intermediate container 55c1a9b14bd8 [2023-01-23T06:03:16.334Z] ---> 0bbc9bfcfae2 [2023-01-23T06:03:16.334Z] Step 13/22 : RUN apk add --update --no-cache dumb-init [2023-01-23T06:03:16.334Z] ---> Running in 2ebf69b587e5 [2023-01-23T06:03:16.334Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2023-01-23T06:03:16.334Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2023-01-23T06:03:16.593Z] (1/1) Installing dumb-init (1.2.5-r1) [2023-01-23T06:03:16.593Z] Executing busybox-1.33.1-r8.trigger [2023-01-23T06:03:16.593Z] OK: 6 MiB in 15 packages [2023-01-23T06:03:16.851Z] Removing intermediate container 2ebf69b587e5 [2023-01-23T06:03:16.852Z] ---> a912b09a02eb [2023-01-23T06:03:16.852Z] Step 14/22 : COPY --from=builder /device-modbus-go/cmd / [2023-01-23T06:03:17.761Z] ---> ee4192d27626 [2023-01-23T06:03:17.761Z] Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / [2023-01-23T06:03:17.761Z] ---> 0fef5585f488 [2023-01-23T06:03:17.761Z] Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / [2023-01-23T06:03:17.761Z] ---> 3edd1c65ffcf [2023-01-23T06:03:17.761Z] Step 17/22 : EXPOSE 59901 [2023-01-23T06:03:17.761Z] ---> Running in 1b116ed0a6bb [2023-01-23T06:03:18.020Z] Removing intermediate container 1b116ed0a6bb [2023-01-23T06:03:18.020Z] ---> 96fd649c9330 [2023-01-23T06:03:18.020Z] Step 18/22 : ENTRYPOINT ["/device-modbus"] [2023-01-23T06:03:18.020Z] ---> Running in 7701ec6cedc4 [2023-01-23T06:03:18.020Z] Removing intermediate container 7701ec6cedc4 [2023-01-23T06:03:18.020Z] ---> 3465f5f63e33 [2023-01-23T06:03:18.020Z] Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-01-23T06:03:18.020Z] ---> Running in 3489b83c2b0d [2023-01-23T06:03:18.020Z] Removing intermediate container 3489b83c2b0d [2023-01-23T06:03:18.020Z] ---> 44349ef22fbd [2023-01-23T06:03:18.020Z] Step 20/22 : LABEL arch=amd64 [2023-01-23T06:03:18.020Z] ---> Running in 91c015c6c35b [2023-01-23T06:03:18.281Z] Removing intermediate container 91c015c6c35b [2023-01-23T06:03:18.281Z] ---> a0ea374a12c3 [2023-01-23T06:03:18.281Z] Step 21/22 : LABEL git_sha=ecb938cc6e0ff92e4325b5738b47da28efcebcfd [2023-01-23T06:03:18.281Z] ---> Running in 2c0e03152df8 [2023-01-23T06:03:18.539Z] Removing intermediate container 2c0e03152df8 [2023-01-23T06:03:18.539Z] ---> 43f1380f3afe [2023-01-23T06:03:18.539Z] Step 22/22 : LABEL version=0.0.0 [2023-01-23T06:03:18.539Z] ---> Running in f6e51860edfd [2023-01-23T06:03:18.539Z] Removing intermediate container f6e51860edfd [2023-01-23T06:03:18.539Z] ---> 0fbe1da394ec [2023-01-23T06:03:18.539Z] [Warning] One or more build-args [ARCH] were not consumed [2023-01-23T06:03:18.539Z] Successfully built 0fbe1da394ec [2023-01-23T06:03:18.539Z] 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-23T06:03:19.360Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-23T06:03:19.360Z] [2023-01-23T06:03:19.360Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-23T06:03:19.724Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-23T06:03:19.724Z] latest: Pulling from edgex-lftools-log-publisher [2023-01-23T06:03:19.724Z] 5eb5b503b376: Pulling fs layer [2023-01-23T06:03:19.724Z] 5c69ac0246d0: Pulling fs layer [2023-01-23T06:03:19.724Z] ec43610c2a17: Pulling fs layer [2023-01-23T06:03:19.724Z] 3a2ae6a8a46f: Pulling fs layer [2023-01-23T06:03:19.724Z] 33b1e0a273af: Pulling fs layer [2023-01-23T06:03:19.724Z] 5d3b04190fa2: Pulling fs layer [2023-01-23T06:03:19.724Z] 2f39f015ded8: Pulling fs layer [2023-01-23T06:03:19.724Z] 3a2ae6a8a46f: Waiting [2023-01-23T06:03:19.724Z] 5d3b04190fa2: Waiting [2023-01-23T06:03:19.724Z] 33b1e0a273af: Waiting [2023-01-23T06:03:19.724Z] 2f39f015ded8: Waiting [2023-01-23T06:03:19.724Z] 5c69ac0246d0: Download complete [2023-01-23T06:03:19.724Z] 3a2ae6a8a46f: Verifying Checksum [2023-01-23T06:03:19.724Z] 3a2ae6a8a46f: Download complete [2023-01-23T06:03:19.987Z] 33b1e0a273af: Verifying Checksum [2023-01-23T06:03:19.987Z] 33b1e0a273af: Download complete [2023-01-23T06:03:19.987Z] 5d3b04190fa2: Download complete [2023-01-23T06:03:19.987Z] ec43610c2a17: Verifying Checksum [2023-01-23T06:03:19.987Z] ec43610c2a17: Download complete [2023-01-23T06:03:20.258Z] 5eb5b503b376: Verifying Checksum [2023-01-23T06:03:20.258Z] 5eb5b503b376: Download complete [2023-01-23T06:03:20.832Z] 2f39f015ded8: Verifying Checksum [2023-01-23T06:03:20.833Z] 2f39f015ded8: Download complete [2023-01-23T06:03:21.488Z] 5eb5b503b376: Pull complete [2023-01-23T06:03:21.488Z] 5c69ac0246d0: Pull complete [2023-01-23T06:03:22.054Z] ec43610c2a17: Pull complete [2023-01-23T06:03:22.054Z] 3a2ae6a8a46f: Pull complete [2023-01-23T06:03:22.054Z] 33b1e0a273af: Pull complete [2023-01-23T06:03:22.311Z] 5d3b04190fa2: Pull complete [2023-01-23T06:03:26.489Z] 2f39f015ded8: Pull complete [2023-01-23T06:03:26.489Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-01-23T06:03:26.489Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-23T06:03:26.489Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-23T06:03:26.705Z] prd-ubuntu20.04-docker-8c-8g-3336 does not seem to be running inside a container [2023-01-23T06:03:26.736Z] $ 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-405 -v /w/workspace/xfoundry_device-modbus-go_PR-405:/w/workspace/xfoundry_device-modbus-go_PR-405:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-405@tmp:/w/workspace/xfoundry_device-modbus-go_PR-405@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-23T06:03:32.420Z] $ docker top 2db991328bc3a5c227be4d640e0b62068cda9ce6a71c8b7c5b6e00a1fdd55f6a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-23T06:03:32.848Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-3338 in /w/workspace/xfoundry_device-modbus-go_PR-405 [Pipeline] { [2023-01-23T06:03:32.858Z] ---> job-cost.sh [2023-01-23T06:03:32.858Z] lf-activate-venv: SKIPPING [2023-01-23T06:03:32.858Z] INFO: No Stack... [Pipeline] ws [2023-01-23T06:03:32.924Z] Running in /w/workspace/device-modbus-go/1 [Pipeline] { [Pipeline] checkout [2023-01-23T06:03:33.007Z] Selected Git installation does not exist. Using Default [2023-01-23T06:03:33.007Z] The recommended git tool is: NONE [2023-01-23T06:03:33.119Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-01-23T06:03:33.381Z] INFO: Archiving Costs [Pipeline] sh [2023-01-23T06:03:33.695Z] + cat /w/workspace/xfoundry_device-modbus-go_PR-405/archives/cost.csv [2023-01-23T06:03:33.695Z] + cut -d, -f6 [Pipeline] lock [2023-01-23T06:03:33.742Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-405-1-stack-cost] [2023-01-23T06:03:33.747Z] Resource [jenkins-edgexfoundry-device-modbus-go-PR-405-1-stack-cost] did not exist. Created. [2023-01-23T06:03:33.747Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-405-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-01-23T06:03:34.145Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-01-23T06:03:34.196Z] Stashed 1 file(s) [Pipeline] } [2023-01-23T06:03:34.227Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-405-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-01-23T06:03:34.299Z] $ docker stop --time=1 2db991328bc3a5c227be4d640e0b62068cda9ce6a71c8b7c5b6e00a1fdd55f6a [2023-01-23T06:03:35.443Z] $ docker rm -f --volumes 2db991328bc3a5c227be4d640e0b62068cda9ce6a71c8b7c5b6e00a1fdd55f6a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-01-23T06:03:38.453Z] using credential edgex-jenkins-ssh [2023-01-23T06:03:38.475Z] Cloning the remote Git repository [2023-01-23T06:03:38.519Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2023-01-23T06:03:38.594Z] > git init /w/workspace/device-modbus-go/1 # timeout=10 [2023-01-23T06:03:38.742Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2023-01-23T06:03:38.743Z] > git --version # timeout=10 [2023-01-23T06:03:38.765Z] > git --version # 'git version 2.25.1' [2023-01-23T06:03:38.767Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-23T06:03:38.821Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-01-23T06:03:39.967Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2023-01-23T06:03:39.997Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-01-23T06:03:41.596Z] Merging remotes/origin/main commit bb2f4bd64c3941eb86d6cd8a035d25878e21dc53 into PR head commit ecb938cc6e0ff92e4325b5738b47da28efcebcfd [2023-01-23T06:03:41.006Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2023-01-23T06:03:41.052Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2023-01-23T06:03:41.053Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-23T06:03:41.074Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/405/head:refs/remotes/origin/PR-405 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-01-23T06:03:41.612Z] > git config core.sparsecheckout # timeout=10 [2023-01-23T06:03:41.634Z] > git checkout -f ecb938cc6e0ff92e4325b5738b47da28efcebcfd # timeout=10 [2023-01-23T06:03:41.823Z] Merge succeeded, producing ecb938cc6e0ff92e4325b5738b47da28efcebcfd [2023-01-23T06:03:41.824Z] Checking out Revision ecb938cc6e0ff92e4325b5738b47da28efcebcfd (PR-405) [2023-01-23T06:03:42.344Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" [2023-01-23T06:03:42.396Z] > git --version # timeout=10 [2023-01-23T06:03:42.411Z] > git --version # 'git version 2.25.1' [2023-01-23T06:03:42.444Z] fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [2023-01-23T06:03:41.732Z] > git remote # timeout=10 [2023-01-23T06:03:41.751Z] > git config --get remote.origin.url # timeout=10 [2023-01-23T06:03:41.767Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-23T06:03:41.780Z] > git merge bb2f4bd64c3941eb86d6cd8a035d25878e21dc53 # timeout=10 [2023-01-23T06:03:41.804Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-01-23T06:03:41.829Z] > git config core.sparsecheckout # timeout=10 [2023-01-23T06:03:41.845Z] > git checkout -f ecb938cc6e0ff92e4325b5738b47da28efcebcfd # timeout=10 [Pipeline] sh [2023-01-23T06:03:43.654Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-01-23T06:03:43.654Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-01-23T06:03:43.654Z] Dload Upload Total Spent Left Speed [2023-01-23T06:03:43.654Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 222k 0 --:--:-- --:--:-- --:--:-- 222k [Pipeline] sh [2023-01-23T06:03:44.272Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-01-23T06:03:44.624Z] + sudo tee /etc/docker/daemon.new [2023-01-23T06:03:44.624Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-01-23T06:03:44.624Z] { [2023-01-23T06:03:44.624Z] "registry-mirrors": [ [2023-01-23T06:03:44.624Z] "https://nexus3.edgexfoundry.org:10001" [2023-01-23T06:03:44.624Z] ], [2023-01-23T06:03:44.624Z] "bip": "10.250.0.254/24", [2023-01-23T06:03:44.624Z] "hosts": [ [2023-01-23T06:03:44.624Z] "tcp://0.0.0.0:5555", [2023-01-23T06:03:44.624Z] "unix:///var/run/docker.sock" [2023-01-23T06:03:44.624Z] ], [2023-01-23T06:03:44.624Z] "mtu": 1458, [2023-01-23T06:03:44.624Z] "selinux-enabled": true, [2023-01-23T06:03:44.624Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-01-23T06:03:44.624Z] } [Pipeline] sh [2023-01-23T06:03:44.971Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-01-23T06:03:45.315Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-23T06:04:03.655Z] provisioning config files... [2023-01-23T06:04:03.684Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/1@tmp/config5032956274902254123tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-23T06:04:04.088Z] ---> docker-login.sh [2023-01-23T06:04:04.088Z] nexus3.edgexfoundry.org:10001 [2023-01-23T06:04:04.688Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-23T06:04:04.688Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-23T06:04:04.688Z] Configure a credential helper to remove this warning. See [2023-01-23T06:04:04.688Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-23T06:04:04.688Z] [2023-01-23T06:04:04.688Z] Login Succeeded [2023-01-23T06:04:04.688Z] nexus3.edgexfoundry.org:10002 [2023-01-23T06:04:04.958Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-23T06:04:05.229Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-23T06:04:05.229Z] Configure a credential helper to remove this warning. See [2023-01-23T06:04:05.229Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-23T06:04:05.229Z] [2023-01-23T06:04:05.229Z] Login Succeeded [2023-01-23T06:04:05.229Z] nexus3.edgexfoundry.org:10003 [2023-01-23T06:04:05.500Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-23T06:04:05.500Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-23T06:04:05.500Z] Configure a credential helper to remove this warning. See [2023-01-23T06:04:05.500Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-23T06:04:05.500Z] [2023-01-23T06:04:05.500Z] Login Succeeded [2023-01-23T06:04:05.500Z] nexus3.edgexfoundry.org:10004 [2023-01-23T06:04:05.773Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-23T06:04:06.044Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-23T06:04:06.044Z] Configure a credential helper to remove this warning. See [2023-01-23T06:04:06.044Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-23T06:04:06.044Z] [2023-01-23T06:04:06.044Z] Login Succeeded [2023-01-23T06:04:06.044Z] docker.io [2023-01-23T06:04:06.315Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-23T06:04:06.585Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-23T06:04:06.585Z] Configure a credential helper to remove this warning. See [2023-01-23T06:04:06.585Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-23T06:04:06.585Z] [2023-01-23T06:04:06.585Z] Login Succeeded [2023-01-23T06:04:06.585Z] ---> docker-login.sh ends [Pipeline] } [2023-01-23T06:04:06.609Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-01-23T06:04:07.002Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-23T06:04:07.039Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-23T06:04:07.073Z] ========================================================= [2023-01-23T06:04:07.073Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-01-23T06:04:07.073Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-23T06:04:07.575Z] + 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-23T06:04:07.847Z] Sending build context to Docker daemon 3.304MB [2023-01-23T06:04:07.847Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2023-01-23T06:04:07.847Z] Step 2/10 : FROM ${BASE} AS builder [2023-01-23T06:04:08.120Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-01-23T06:04:08.120Z] 9b18e9b68314: Pulling fs layer [2023-01-23T06:04:08.120Z] 35d82f9e3411: Pulling fs layer [2023-01-23T06:04:08.120Z] e16973657156: Pulling fs layer [2023-01-23T06:04:08.120Z] fc693d55d65f: Pulling fs layer [2023-01-23T06:04:08.120Z] 7e9fc2657dce: Pulling fs layer [2023-01-23T06:04:08.120Z] dda99020689f: Pulling fs layer [2023-01-23T06:04:08.120Z] db1c61fa0a46: Pulling fs layer [2023-01-23T06:04:08.120Z] 891c053d2c06: Pulling fs layer [2023-01-23T06:04:08.120Z] dda99020689f: Waiting [2023-01-23T06:04:08.120Z] db1c61fa0a46: Waiting [2023-01-23T06:04:08.120Z] 891c053d2c06: Waiting [2023-01-23T06:04:08.120Z] 7e9fc2657dce: Waiting [2023-01-23T06:04:08.120Z] fc693d55d65f: Waiting [2023-01-23T06:04:08.120Z] e16973657156: Download complete [2023-01-23T06:04:08.120Z] 35d82f9e3411: Verifying Checksum [2023-01-23T06:04:08.120Z] 35d82f9e3411: Download complete [2023-01-23T06:04:08.120Z] 7e9fc2657dce: Verifying Checksum [2023-01-23T06:04:08.120Z] 7e9fc2657dce: Download complete [2023-01-23T06:04:08.120Z] dda99020689f: Verifying Checksum [2023-01-23T06:04:08.120Z] dda99020689f: Download complete [2023-01-23T06:04:08.120Z] 9b18e9b68314: Verifying Checksum [2023-01-23T06:04:08.120Z] 9b18e9b68314: Download complete [2023-01-23T06:04:09.098Z] 9b18e9b68314: Pull complete [2023-01-23T06:04:09.369Z] 891c053d2c06: Verifying Checksum [2023-01-23T06:04:09.369Z] 891c053d2c06: Download complete [2023-01-23T06:04:09.642Z] 35d82f9e3411: Pull complete [2023-01-23T06:04:09.913Z] e16973657156: Pull complete [2023-01-23T06:04:10.504Z] db1c61fa0a46: Verifying Checksum [2023-01-23T06:04:10.504Z] db1c61fa0a46: Download complete [2023-01-23T06:04:11.094Z] fc693d55d65f: Verifying Checksum [2023-01-23T06:04:11.094Z] fc693d55d65f: Download complete [2023-01-23T06:04:23.606Z] fc693d55d65f: Pull complete [2023-01-23T06:04:23.606Z] 7e9fc2657dce: Pull complete [2023-01-23T06:04:23.606Z] dda99020689f: Pull complete [2023-01-23T06:04:30.271Z] db1c61fa0a46: Pull complete [2023-01-23T06:04:32.225Z] 891c053d2c06: Pull complete [2023-01-23T06:04:32.225Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-01-23T06:04:32.225Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-01-23T06:04:32.225Z] ---> f96f9c87975a [2023-01-23T06:04:32.225Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2023-01-23T06:04:34.181Z] ---> Running in 3ac176a5be82 [2023-01-23T06:04:34.772Z] Removing intermediate container 3ac176a5be82 [2023-01-23T06:04:34.772Z] ---> 8bb9c1b54ee8 [2023-01-23T06:04:34.772Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-23T06:04:34.772Z] ---> Running in 3df79de7842a [2023-01-23T06:04:35.042Z] Removing intermediate container 3df79de7842a [2023-01-23T06:04:35.042Z] ---> e84200b7cc89 [2023-01-23T06:04:35.042Z] Step 5/10 : RUN apk add --update --no-cache make git openssh [2023-01-23T06:04:35.042Z] ---> Running in 0a9a8be71293 [2023-01-23T06:04:36.459Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-23T06:04:36.727Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-23T06:04:37.692Z] (1/8) Installing openssh-keygen (9.0_p1-r2) [2023-01-23T06:04:37.692Z] (2/8) Installing libedit (20210910.3.1-r0) [2023-01-23T06:04:37.692Z] (3/8) Installing openssh-client-common (9.0_p1-r2) [2023-01-23T06:04:37.692Z] (4/8) Installing openssh-client-default (9.0_p1-r2) [2023-01-23T06:04:37.692Z] (5/8) Installing openssh-sftp-server (9.0_p1-r2) [2023-01-23T06:04:37.692Z] (6/8) Installing openssh-server-common (9.0_p1-r2) [2023-01-23T06:04:37.692Z] (7/8) Installing openssh-server (9.0_p1-r2) [2023-01-23T06:04:37.692Z] (8/8) Installing openssh (9.0_p1-r2) [2023-01-23T06:04:37.692Z] Executing busybox-1.35.0-r17.trigger [2023-01-23T06:04:37.692Z] OK: 228 MiB in 59 packages [2023-01-23T06:04:40.288Z] Removing intermediate container 0a9a8be71293 [2023-01-23T06:04:40.288Z] ---> 3311fc439aa6 [2023-01-23T06:04:40.288Z] Step 6/10 : WORKDIR /device-modbus-go [2023-01-23T06:04:40.288Z] ---> Running in 4c3944fba0a5 [2023-01-23T06:04:40.557Z] Removing intermediate container 4c3944fba0a5 [2023-01-23T06:04:40.557Z] ---> c4044984540a [2023-01-23T06:04:40.557Z] Step 7/10 : COPY go.mod vendor* ./ [2023-01-23T06:04:41.146Z] ---> d523b0445bf8 [2023-01-23T06:04:41.146Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-23T06:04:41.146Z] ---> Running in 0fc7f8991eed [2023-01-23T06:05:49.075Z] Removing intermediate container 0fc7f8991eed [2023-01-23T06:05:49.075Z] ---> 50540b8217f3 [2023-01-23T06:05:49.075Z] Step 9/10 : COPY . . [2023-01-23T06:05:49.075Z] ---> bad097a3ce12 [2023-01-23T06:05:49.075Z] Step 10/10 : RUN ${MAKE} [2023-01-23T06:05:49.075Z] ---> Running in 8d352c75fe9e [2023-01-23T06:05:49.075Z] noop [2023-01-23T06:05:49.075Z] Removing intermediate container 8d352c75fe9e [2023-01-23T06:05:49.075Z] ---> 4beaed5e7c3e [2023-01-23T06:05:49.075Z] Successfully built 4beaed5e7c3e [2023-01-23T06:05:49.075Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-23T06:05:49.532Z] + docker inspect -f . ci-base-image-arm64 [2023-01-23T06:05:49.532Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-23T06:05:49.796Z] prd-ubuntu20.04-docker-arm64-4c-16g-3338 does not seem to be running inside a container [2023-01-23T06:05:49.859Z] $ 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-23T06:05:51.025Z] $ docker top b015dd8b4c6e68aa3d60d85ad9708455bba044bea33bce79212fba24610491fc -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-23T06:05:51.891Z] + go version [2023-01-23T06:05:51.891Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-01-23T06:05:51.929Z] $ docker stop --time=1 b015dd8b4c6e68aa3d60d85ad9708455bba044bea33bce79212fba24610491fc [2023-01-23T06:05:53.565Z] $ docker rm -f --volumes b015dd8b4c6e68aa3d60d85ad9708455bba044bea33bce79212fba24610491fc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-23T06:05:54.402Z] + docker inspect -f . ci-base-image-arm64 [2023-01-23T06:05:54.402Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-23T06:05:54.653Z] prd-ubuntu20.04-docker-arm64-4c-16g-3338 does not seem to be running inside a container [2023-01-23T06:05:54.726Z] $ 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-23T06:05:56.102Z] $ docker top 30e224ed35757deda149b7c0a5787ab9c253c1ba2b4293e5d8cc23b02e7b534c -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-23T06:05:57.007Z] + git config --global --add safe.directory /w/workspace/device-modbus-go/1 [Pipeline] fileExists [Pipeline] sh [2023-01-23T06:05:57.712Z] + make test [2023-01-23T06:05:57.712Z] go test ./... -coverprofile=coverage.out [2023-01-23T06:05:59.132Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2023-01-23T06:07:20.786Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2023-01-23T06:07:20.786Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.061s coverage: 47.7% of statements [2023-01-23T06:07:20.786Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-01-23T06:07:20.786Z] go vet ./... [2023-01-23T06:07:42.847Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-01-23T06:07:42.847Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-01-23T06:07:42.847Z] ./bin/test-attribution-txt.sh [2023-01-23T06:07:42.847Z] An attribution for golang.org/x/mod is missing from Attribution.txt, please add [2023-01-23T06:07:42.847Z] An attribution for golang.org/x/tools is missing from Attribution.txt, please add [Pipeline] echo [2023-01-23T06:07:42.890Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-01-23T06:07:42.928Z] $ docker stop --time=1 30e224ed35757deda149b7c0a5787ab9c253c1ba2b4293e5d8cc23b02e7b534c [2023-01-23T06:07:44.663Z] $ docker rm -f --volumes 30e224ed35757deda149b7c0a5787ab9c253c1ba2b4293e5d8cc23b02e7b534c [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-23T06:07:45.671Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-01-23T06:07:45.704Z] Warning: overwriting stash ‘coverage-report’ [2023-01-23T06:07:47.067Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-23T06:07:47.647Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-01-23T06:07:47.993Z] + ls -al . [2023-01-23T06:07:47.993Z] total 180 [2023-01-23T06:07:47.993Z] drwxrwxr-x 9 jenkins jenkins 4096 Jan 23 06:05 . [2023-01-23T06:07:47.993Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 23 06:03 .. [2023-01-23T06:07:47.993Z] -rw-rw-r-- 1 jenkins jenkins 140 Jan 23 06:03 .dockerignore [2023-01-23T06:07:47.993Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 23 06:03 .git [2023-01-23T06:07:47.993Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 23 06:03 .github [2023-01-23T06:07:47.993Z] -rw-rw-r-- 1 jenkins jenkins 331 Jan 23 06:03 .gitignore [2023-01-23T06:07:47.993Z] -rw-rw-r-- 1 jenkins jenkins 41 Jan 23 06:03 .golangci.yml [2023-01-23T06:07:47.993Z] -rw-rw-r-- 1 jenkins jenkins 10017 Jan 23 06:03 Attribution.txt [2023-01-23T06:07:47.993Z] -rw-rw-r-- 1 jenkins jenkins 11576 Jan 23 06:03 CHANGELOG.md [2023-01-23T06:07:47.993Z] -rw-rw-r-- 1 jenkins jenkins 1365 Jan 23 06:03 Dockerfile [2023-01-23T06:07:47.993Z] -rw-rw-r-- 1 jenkins jenkins 677 Jan 23 06:03 GOVERNANCE.md [2023-01-23T06:07:47.993Z] -rw-rw-r-- 1 jenkins jenkins 680 Jan 23 06:03 Jenkinsfile [2023-01-23T06:07:47.993Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jan 23 06:03 LICENSE [2023-01-23T06:07:47.993Z] -rw-rw-r-- 1 jenkins jenkins 1670 Jan 23 06:03 Makefile [2023-01-23T06:07:47.993Z] -rw-rw-r-- 1 jenkins jenkins 622 Jan 23 06:03 OWNERS.md [2023-01-23T06:07:47.993Z] -rw-rw-r-- 1 jenkins jenkins 4061 Jan 23 06:03 README.md [2023-01-23T06:07:47.993Z] -rw-rw-r-- 1 jenkins jenkins 5 Jan 23 06:01 VERSION [2023-01-23T06:07:47.993Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 23 06:03 bin [2023-01-23T06:07:47.993Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 23 06:03 cmd [2023-01-23T06:07:47.993Z] -rw-r--r-- 1 jenkins jenkins 23241 Jan 23 06:07 coverage.out [2023-01-23T06:07:47.993Z] -rw-rw-r-- 1 jenkins jenkins 3550 Jan 23 06:03 go.mod [2023-01-23T06:07:47.993Z] -rw-rw-r-- 1 jenkins jenkins 35198 Jan 23 06:03 go.sum [2023-01-23T06:07:47.993Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 23 06:03 internal [2023-01-23T06:07:47.993Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 23 06:03 simulator [2023-01-23T06:07:47.993Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 23 06:03 snap [2023-01-23T06:07:47.993Z] -rw-rw-r-- 1 jenkins jenkins 229 Jan 23 06:03 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-23T06:07:48.417Z] + 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=ecb938cc6e0ff92e4325b5738b47da28efcebcfd --label arch=arm64 --label version=0.0.0 . [2023-01-23T06:07:48.683Z] Sending build context to Docker daemon 3.328MB [2023-01-23T06:07:48.683Z] Step 1/22 : ARG BASE=golang:1.18-alpine3.16 [2023-01-23T06:07:48.683Z] Step 2/22 : FROM ${BASE} AS builder [2023-01-23T06:07:48.683Z] ---> 4beaed5e7c3e [2023-01-23T06:07:48.683Z] Step 3/22 : ARG ADD_BUILD_TAGS="" [2023-01-23T06:07:48.952Z] ---> Running in 64f74551a77e [2023-01-23T06:07:49.219Z] Removing intermediate container 64f74551a77e [2023-01-23T06:07:49.219Z] ---> 1a930d9b6753 [2023-01-23T06:07:49.219Z] Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-23T06:07:49.219Z] ---> Running in 30a17307dcc4 [2023-01-23T06:07:49.495Z] Removing intermediate container 30a17307dcc4 [2023-01-23T06:07:49.495Z] ---> 01619bf2c1d6 [2023-01-23T06:07:49.495Z] Step 5/22 : RUN apk add --update --no-cache make git openssh [2023-01-23T06:07:49.495Z] ---> Running in ac25e33fa854 [2023-01-23T06:07:50.462Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-23T06:07:51.047Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-23T06:07:52.011Z] OK: 228 MiB in 59 packages [2023-01-23T06:07:52.981Z] Removing intermediate container ac25e33fa854 [2023-01-23T06:07:52.981Z] ---> 5055a628fd31 [2023-01-23T06:07:52.981Z] Step 6/22 : WORKDIR /device-modbus-go [2023-01-23T06:07:52.981Z] ---> Running in aa536a481ab3 [2023-01-23T06:07:53.566Z] Removing intermediate container aa536a481ab3 [2023-01-23T06:07:53.566Z] ---> de2e8f08283c [2023-01-23T06:07:53.566Z] Step 7/22 : COPY go.mod vendor* ./ [2023-01-23T06:07:54.153Z] ---> 95138a9d00ba [2023-01-23T06:07:54.153Z] Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-23T06:07:54.153Z] ---> Running in 23bdcdee54c4 [2023-01-23T06:07:57.503Z] Removing intermediate container 23bdcdee54c4 [2023-01-23T06:07:57.503Z] ---> 7aa0b2dda9fe [2023-01-23T06:07:57.503Z] Step 9/22 : COPY . . [2023-01-23T06:07:59.456Z] ---> e91356e9e580 [2023-01-23T06:07:59.456Z] Step 10/22 : RUN ${MAKE} [2023-01-23T06:07:59.456Z] ---> Running in dca1f006635b [2023-01-23T06:08:00.416Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-modbus ./cmd [2023-01-23T06:10:22.163Z] Removing intermediate container dca1f006635b [2023-01-23T06:10:22.163Z] ---> 93652bc3ca82 [2023-01-23T06:10:22.163Z] Step 11/22 : FROM alpine:3.14 [2023-01-23T06:10:22.163Z] 3.14: Pulling from library/alpine [2023-01-23T06:10:22.163Z] 90cda3b7c325: Pulling fs layer [2023-01-23T06:10:22.163Z] 90cda3b7c325: Verifying Checksum [2023-01-23T06:10:22.163Z] 90cda3b7c325: Download complete [2023-01-23T06:10:22.163Z] 90cda3b7c325: Pull complete [2023-01-23T06:10:22.163Z] Digest: sha256:4c869a63e1b7c0722fed1e402a6466610327c3b83bdddb94bd94fb71da7f638a [2023-01-23T06:10:22.163Z] Status: Downloaded newer image for alpine:3.14 [2023-01-23T06:10:22.163Z] ---> 275902a1839d [2023-01-23T06:10:22.163Z] Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2023-01-23T06:10:22.163Z] ---> Running in 6db26ff52ea2 [2023-01-23T06:10:22.163Z] Removing intermediate container 6db26ff52ea2 [2023-01-23T06:10:22.163Z] ---> 811bb262f78c [2023-01-23T06:10:22.163Z] Step 13/22 : RUN apk add --update --no-cache dumb-init [2023-01-23T06:10:22.163Z] ---> Running in 206cf389e24f [2023-01-23T06:10:22.163Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2023-01-23T06:10:22.163Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2023-01-23T06:10:22.163Z] (1/1) Installing dumb-init (1.2.5-r1) [2023-01-23T06:10:22.163Z] Executing busybox-1.33.1-r8.trigger [2023-01-23T06:10:22.163Z] OK: 6 MiB in 15 packages [2023-01-23T06:10:22.163Z] Removing intermediate container 206cf389e24f [2023-01-23T06:10:22.163Z] ---> cca52e6168aa [2023-01-23T06:10:22.163Z] Step 14/22 : COPY --from=builder /device-modbus-go/cmd / [2023-01-23T06:10:23.125Z] ---> 45e64d4074e0 [2023-01-23T06:10:23.125Z] Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / [2023-01-23T06:10:23.392Z] ---> 47e2c31b137e [2023-01-23T06:10:23.392Z] Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / [2023-01-23T06:10:23.973Z] ---> b50c775e071a [2023-01-23T06:10:23.973Z] Step 17/22 : EXPOSE 59901 [2023-01-23T06:10:23.973Z] ---> Running in a887800cd5be [2023-01-23T06:10:24.240Z] Removing intermediate container a887800cd5be [2023-01-23T06:10:24.240Z] ---> 4b51cc681202 [2023-01-23T06:10:24.240Z] Step 18/22 : ENTRYPOINT ["/device-modbus"] [2023-01-23T06:10:24.240Z] ---> Running in 9ce5726973bf [2023-01-23T06:10:24.507Z] Removing intermediate container 9ce5726973bf [2023-01-23T06:10:24.507Z] ---> 8a914913f018 [2023-01-23T06:10:24.507Z] Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-01-23T06:10:24.507Z] ---> Running in 2d13466dd03d [2023-01-23T06:10:24.775Z] Removing intermediate container 2d13466dd03d [2023-01-23T06:10:24.775Z] ---> 2e5d900ca718 [2023-01-23T06:10:24.775Z] Step 20/22 : LABEL arch=arm64 [2023-01-23T06:10:25.041Z] ---> Running in 6db84e394964 [2023-01-23T06:10:25.309Z] Removing intermediate container 6db84e394964 [2023-01-23T06:10:25.309Z] ---> 4dd6c1997571 [2023-01-23T06:10:25.309Z] Step 21/22 : LABEL git_sha=ecb938cc6e0ff92e4325b5738b47da28efcebcfd [2023-01-23T06:10:25.309Z] ---> Running in e7e7e1a3cb8a [2023-01-23T06:10:25.576Z] Removing intermediate container e7e7e1a3cb8a [2023-01-23T06:10:25.576Z] ---> 1934eeed78cc [2023-01-23T06:10:25.576Z] Step 22/22 : LABEL version=0.0.0 [2023-01-23T06:10:25.576Z] ---> Running in 9ad407247825 [2023-01-23T06:10:25.842Z] Removing intermediate container 9ad407247825 [2023-01-23T06:10:25.842Z] ---> 0ad25b8a382f [2023-01-23T06:10:25.842Z] [Warning] One or more build-args [ARCH] were not consumed [2023-01-23T06:10:25.842Z] Successfully built 0ad25b8a382f [2023-01-23T06:10:25.842Z] 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-23T06:10:26.902Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-23T06:10:26.902Z] [2023-01-23T06:10:26.902Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-23T06:10:27.294Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-23T06:10:27.294Z] arm64: Pulling from edgex-lftools-log-publisher [2023-01-23T06:10:27.294Z] 8998bd30e6a1: Pulling fs layer [2023-01-23T06:10:27.294Z] 04944245beec: Pulling fs layer [2023-01-23T06:10:27.294Z] 699f458cf7ca: Pulling fs layer [2023-01-23T06:10:27.294Z] 765212b225bb: Pulling fs layer [2023-01-23T06:10:27.294Z] f23df028b6ca: Pulling fs layer [2023-01-23T06:10:27.294Z] d65c8cfc05b1: Pulling fs layer [2023-01-23T06:10:27.294Z] 2437ff75d9bd: Pulling fs layer [2023-01-23T06:10:27.294Z] 765212b225bb: Waiting [2023-01-23T06:10:27.294Z] f23df028b6ca: Waiting [2023-01-23T06:10:27.294Z] d65c8cfc05b1: Waiting [2023-01-23T06:10:27.577Z] 04944245beec: Verifying Checksum [2023-01-23T06:10:27.577Z] 04944245beec: Download complete [2023-01-23T06:10:27.577Z] 765212b225bb: Verifying Checksum [2023-01-23T06:10:27.577Z] 765212b225bb: Download complete [2023-01-23T06:10:27.577Z] f23df028b6ca: Verifying Checksum [2023-01-23T06:10:27.577Z] f23df028b6ca: Download complete [2023-01-23T06:10:27.577Z] d65c8cfc05b1: Verifying Checksum [2023-01-23T06:10:27.577Z] d65c8cfc05b1: Download complete [2023-01-23T06:10:27.855Z] 699f458cf7ca: Verifying Checksum [2023-01-23T06:10:27.855Z] 699f458cf7ca: Download complete [2023-01-23T06:10:28.123Z] 8998bd30e6a1: Verifying Checksum [2023-01-23T06:10:28.123Z] 8998bd30e6a1: Download complete [2023-01-23T06:10:30.710Z] 2437ff75d9bd: Verifying Checksum [2023-01-23T06:10:30.710Z] 2437ff75d9bd: Download complete [2023-01-23T06:10:32.121Z] 8998bd30e6a1: Pull complete [2023-01-23T06:10:32.703Z] 04944245beec: Pull complete [2023-01-23T06:10:33.670Z] 699f458cf7ca: Pull complete [2023-01-23T06:10:33.939Z] 765212b225bb: Pull complete [2023-01-23T06:10:34.899Z] f23df028b6ca: Pull complete [2023-01-23T06:10:34.899Z] d65c8cfc05b1: Pull complete [2023-01-23T06:10:49.897Z] 2437ff75d9bd: Pull complete [2023-01-23T06:10:49.897Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-01-23T06:10:49.897Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-23T06:10:49.897Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-23T06:10:50.202Z] prd-ubuntu20.04-docker-arm64-4c-16g-3338 does not seem to be running inside a container [2023-01-23T06:10:50.337Z] $ 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-23T06:10:52.964Z] $ docker top 2dd81ed31eb94a1cf32f22a7e6f3c29beb0529c7fe0699cdacb40290d7092468 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-23T06:10:53.943Z] ---> job-cost.sh [2023-01-23T06:10:53.943Z] lf-activate-venv: SKIPPING [2023-01-23T06:10:53.943Z] INFO: No Stack... [2023-01-23T06:10:54.226Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-01-23T06:10:55.206Z] INFO: Archiving Costs [Pipeline] sh [2023-01-23T06:10:57.073Z] + cat /w/workspace/device-modbus-go/1/archives/cost.csv [2023-01-23T06:10:57.073Z] + cut -d, -f6 [Pipeline] lock [2023-01-23T06:10:57.168Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-405-1-stack-cost] [2023-01-23T06:10:57.173Z] Resource [jenkins-edgexfoundry-device-modbus-go-PR-405-1-stack-cost] did not exist. Created. [2023-01-23T06:10:57.173Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-405-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-01-23T06:10:57.581Z] /w/workspace/device-modbus-go/1@tmp/durable-c4be369b/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-01-23T06:10:58.254Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-01-23T06:10:58.287Z] Warning: overwriting stash ‘stack-cost’ [2023-01-23T06:10:58.333Z] Stashed 1 file(s) [Pipeline] } [2023-01-23T06:10:58.347Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-405-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-01-23T06:10:58.420Z] $ docker stop --time=1 2dd81ed31eb94a1cf32f22a7e6f3c29beb0529c7fe0699cdacb40290d7092468 [2023-01-23T06:10:59.907Z] $ docker rm -f --volumes 2dd81ed31eb94a1cf32f22a7e6f3c29beb0529c7fe0699cdacb40290d7092468 [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-23T06:11:00.848Z] provisioning config files... [2023-01-23T06:11:00.855Z] copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-405@tmp/config5133911080055860591tmp [Pipeline] { [Pipeline] sh [2023-01-23T06:11:01.185Z] + set +x [2023-01-23T06:11:01.185Z] + curl -s https://codecov.io/bash [2023-01-23T06:11:01.185Z] + bash -s -- [2023-01-23T06:11:01.185Z] [2023-01-23T06:11:01.185Z] _____ _ [2023-01-23T06:11:01.185Z] / ____| | | [2023-01-23T06:11:01.185Z] | | ___ __| | ___ ___ _____ __ [2023-01-23T06:11:01.185Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-01-23T06:11:01.185Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-01-23T06:11:01.185Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-01-23T06:11:01.185Z] Bash-1.0.6 [2023-01-23T06:11:01.185Z] [2023-01-23T06:11:01.185Z] [2023-01-23T06:11:01.185Z] ==> git version 2.25.1 found [2023-01-23T06:11:01.185Z] ==> 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-23T06:11:01.185Z] Release-Date: 2020-01-08 [2023-01-23T06:11:01.185Z] 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-23T06:11:01.185Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-01-23T06:11:01.185Z] ==> Jenkins CI detected. [2023-01-23T06:11:01.185Z] current dir:  /w/workspace/xfoundry_device-modbus-go_PR-405 [2023-01-23T06:11:01.185Z] project root: . [2023-01-23T06:11:01.185Z] --> token set from env [2023-01-23T06:11:01.185Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-01-23T06:11:01.185Z] ==> Running gcov in . (disable via -X gcov) [2023-01-23T06:11:01.185Z] ==> Python coveragepy not found [2023-01-23T06:11:01.185Z] ==> Searching for coverage reports in: [2023-01-23T06:11:01.185Z] + . [2023-01-23T06:11:01.185Z] -> Found 1 reports [2023-01-23T06:11:01.185Z] ==> Detecting git/mercurial file structure [2023-01-23T06:11:01.185Z] ==> Reading reports [2023-01-23T06:11:01.185Z] + ./coverage.out bytes=23241 [2023-01-23T06:11:01.185Z] ==> Appending adjustments [2023-01-23T06:11:01.185Z] https://docs.codecov.io/docs/fixing-reports [2023-01-23T06:11:01.446Z] + Found adjustments [2023-01-23T06:11:01.446Z] ==> Gzipping contents [2023-01-23T06:11:01.446Z] 4.0K /tmp/codecov.c0RXYz.gz [2023-01-23T06:11:01.446Z] ==> Uploading reports [2023-01-23T06:11:01.446Z] url: https://codecov.io [2023-01-23T06:11:01.446Z] query: branch=PR-405&commit=ecb938cc6e0ff92e4325b5738b47da28efcebcfd&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-405%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=405&job=&cmd_args= [2023-01-23T06:11:01.446Z] -> Pinging Codecov [2023-01-23T06:11:01.446Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3a8d40b1-de00-4649-bfd4-bdc8ed99ae89&branch=PR-405&commit=ecb938cc6e0ff92e4325b5738b47da28efcebcfd&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-405%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=405&job=&cmd_args= [2023-01-23T06:11:02.014Z] -> Uploading to [2023-01-23T06:11:02.014Z] https://storage.googleapis.com/codecov/v4/raw/2023-01-23/55DBCA73C666E3227836607328DD7E49/ecb938cc6e0ff92e4325b5738b47da28efcebcfd/4aba2ea3-2c7b-4d22-8b09-7a027ec0b857.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230123%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230123T061101Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=5dc15e8e5051dd2c988e2abc9802b0c7f9ba1cc79cab9faca6b036da1dc04f34 [2023-01-23T06:11:02.014Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-01-23T06:11:02.014Z] Dload Upload Total Spent Left Speed [2023-01-23T06:11:02.014Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3907 0 0 100 3907 0 16913 --:--:-- --:--:-- --:--:-- 16913 [2023-01-23T06:11:02.014Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/ecb938cc6e0ff92e4325b5738b47da28efcebcfd [Pipeline] } [2023-01-23T06:11:02.043Z] 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-23T06:11:03.804Z] + [ -d /w/workspace/xfoundry_device-modbus-go_PR-405/archives ] [2023-01-23T06:11:03.804Z] + ls -al /w/workspace/xfoundry_device-modbus-go_PR-405/archives [2023-01-23T06:11:03.804Z] total 16 [2023-01-23T06:11:03.804Z] drwxr-xr-x 3 root root 4096 Jan 23 06:03 . [2023-01-23T06:11:03.804Z] drwxrwxr-x 11 jenkins jenkins 4096 Jan 23 06:03 .. [2023-01-23T06:11:03.804Z] drwxr-xr-x 2 root root 4096 Jan 23 06:03 cost [2023-01-23T06:11:03.804Z] -rw-r--r-- 1 root root 88 Jan 23 06:03 cost.csv [2023-01-23T06:11:03.804Z] + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-405/archives [2023-01-23T06:11:03.804Z] + ls -al /w/workspace/xfoundry_device-modbus-go_PR-405/archives [2023-01-23T06:11:03.804Z] total 16 [2023-01-23T06:11:03.804Z] drwxr-xr-x 3 jenkins jenkins 4096 Jan 23 06:03 . [2023-01-23T06:11:03.804Z] drwxrwxr-x 11 jenkins jenkins 4096 Jan 23 06:03 .. [2023-01-23T06:11:03.804Z] drwxr-xr-x 2 jenkins jenkins 4096 Jan 23 06:03 cost [2023-01-23T06:11:03.804Z] -rw-r--r-- 1 jenkins jenkins 88 Jan 23 06:03 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-01-23T06:11:04.128Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-23T06:11:05.017Z] ---> package-listing.sh [2023-01-23T06:11:05.017Z] ++ facter osfamily [2023-01-23T06:11:05.017Z] ++ tr '[:upper:]' '[:lower:]' [2023-01-23T06:11:05.276Z] + OS_FAMILY=debian [2023-01-23T06:11:05.276Z] + workspace=/w/workspace/xfoundry_device-modbus-go_PR-405 [2023-01-23T06:11:05.276Z] + START_PACKAGES=/tmp/packages_start.txt [2023-01-23T06:11:05.276Z] + END_PACKAGES=/tmp/packages_end.txt [2023-01-23T06:11:05.276Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-01-23T06:11:05.276Z] + PACKAGES=/tmp/packages_start.txt [2023-01-23T06:11:05.276Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-405 ']' [2023-01-23T06:11:05.276Z] + PACKAGES=/tmp/packages_end.txt [2023-01-23T06:11:05.276Z] + case "${OS_FAMILY}" in [2023-01-23T06:11:05.276Z] + dpkg -l [2023-01-23T06:11:05.276Z] + grep '^ii' [2023-01-23T06:11:05.276Z] + '[' -f /tmp/packages_start.txt ']' [2023-01-23T06:11:05.276Z] + '[' -f /tmp/packages_end.txt ']' [2023-01-23T06:11:05.276Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-01-23T06:11:05.276Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-405 ']' [2023-01-23T06:11:05.276Z] + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-405/archives/ [2023-01-23T06:11:05.276Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-405/archives/ [Pipeline] echo [2023-01-23T06:11:05.312Z] 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-405/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-01-23T06:11:05.603Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-23T06:11:05.974Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-23T06:11:05.974Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-23T06:11:06.118Z] prd-ubuntu20.04-docker-8c-8g-3336 does not seem to be running inside a container [2023-01-23T06:11:06.146Z] $ 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-405/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-405 -v /w/workspace/xfoundry_device-modbus-go_PR-405:/w/workspace/xfoundry_device-modbus-go_PR-405:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-405@tmp:/w/workspace/xfoundry_device-modbus-go_PR-405@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-23T06:11:06.397Z] $ docker top 97c58e189eb6a55d223387be2bc2638bb1eb965d876c21914f16b8539ad4b059 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-23T06:11:06.771Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-01-23T06:11:07.085Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-01-23T06:11:07.403Z] + ls /var/log/sa-host [2023-01-23T06:11:07.403Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-23T06:11:07.532Z] provisioning config files... [2023-01-23T06:11:07.543Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-405@tmp/config9358281331126476489tmp [Pipeline] { [Pipeline] echo [2023-01-23T06:11:07.592Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-23T06:11:07.909Z] ---> create-netrc.sh [Pipeline] } [2023-01-23T06:11:07.938Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-01-23T06:11:08.321Z] ---> python-tools-install.sh [Pipeline] echo [2023-01-23T06:11:08.353Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-23T06:11:08.667Z] ---> sudo-logs.sh [2023-01-23T06:11:08.667Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-01-23T06:11:08.750Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-23T06:11:09.060Z] ---> job-cost.sh [2023-01-23T06:11:09.060Z] lf-activate-venv: SKIPPING [2023-01-23T06:11:09.060Z] DEBUG: total: 0.2199999988079071 [2023-01-23T06:11:09.060Z] INFO: Retrieving Stack Cost... [2023-01-23T06:11:10.438Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-01-23T06:11:10.697Z] INFO: Archiving Costs [Pipeline] echo [2023-01-23T06:11:10.737Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-23T06:11:11.047Z] ---> logs-deploy.sh [2023-01-23T06:11:11.047Z] lf-activate-venv: SKIPPING [2023-01-23T06:11:11.047Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-405/1 [2023-01-23T06:11:11.047Z] INFO: archiving workspace using pattern(s): [2023-01-23T06:11:11.980Z] Archives upload complete. [2023-01-23T06:11:12.238Z] INFO: archiving logs to Nexus