Pull request #393 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 8c486bd52dafe3a5edac9ed89de69b65e36258c8+e06bb49e1a76cfe96378d9ace2c77329ab7864d7 (0f80d68d302e43d309e79bbdffc1c48e5b8964a0) 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-ssh4130729107446794782.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-ssh555808382623640648.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-393/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-393/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8732146644018195345.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-393/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14219675463450454142.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-ssh7808137445192113567.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-393/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-393/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh3012293047704276750.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-139 in /w/workspace/xfoundry_device-modbus-go_PR-393 [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-393 # 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 e06bb49e1a76cfe96378d9ace2c77329ab7864d7 into PR head commit 8c486bd52dafe3a5edac9ed89de69b65e36258c8 > 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/393/head:refs/remotes/origin/PR-393 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 8c486bd52dafe3a5edac9ed89de69b65e36258c8 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 Merge succeeded, producing 8c486bd52dafe3a5edac9ed89de69b65e36258c8 Checking out Revision 8c486bd52dafe3a5edac9ed89de69b65e36258c8 (PR-393) 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 [2022-12-19T05:02:08.615Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-12-19T05:02:08.795Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-12-19T05:02:08.895Z] ========================================================= [2022-12-19T05:02:08.895Z] EdgeX Global Pipelines Version Info [2022-12-19T05:02:08.895Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh using GIT_SSH to set credentials SSH Credentials for GitHub > git merge e06bb49e1a76cfe96378d9ace2c77329ab7864d7 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 8c486bd52dafe3a5edac9ed89de69b65e36258c8 # timeout=10 [2022-12-19T05:02:09.631Z] ------------------- [2022-12-19T05:02:09.631Z] stable info: [2022-12-19T05:02:09.631Z] ------------------- [2022-12-19T05:02:09.631Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-12-19T05:02:09.631Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2022-12-19T05:02:09.631Z] Message: update stable to v1.0.244 [2022-12-19T05:02:10.208Z] ------------------- [2022-12-19T05:02:10.208Z] experimental info: [2022-12-19T05:02:10.208Z] ------------------- [2022-12-19T05:02:10.208Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-12-19T05:02:10.208Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2022-12-19T05:02:10.208Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-12-19T05:02:10.530Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo [2022-12-19T05:02:10.573Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo [2022-12-19T05:02:10.691Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-12-19T05:02:10.739Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-12-19T05:02:10.780Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-12-19T05:02:10.820Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-12-19T05:02:10.858Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-12-19T05:02:10.896Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-12-19T05:02:10.929Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-12-19T05:02:10.969Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-12-19T05:02:11.009Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-12-19T05:02:11.044Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo [2022-12-19T05:02:11.079Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-12-19T05:02:11.119Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-12-19T05:02:11.157Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-12-19T05:02:11.200Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-12-19T05:02:11.236Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-12-19T05:02:11.278Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-12-19T05:02:11.313Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-12-19T05:02:11.352Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-12-19T05:02:11.394Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-12-19T05:02:11.434Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-12-19T05:02:11.479Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-12-19T05:02:11.519Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-12-19T05:02:11.560Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-12-19T05:02:11.600Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-12-19T05:02:11.638Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-12-19T05:02:11.677Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-393 [Pipeline] echo [2022-12-19T05:02:11.718Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-393 [Pipeline] echo [2022-12-19T05:02:11.759Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-393 [Pipeline] echo [2022-12-19T05:02:11.796Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 8c486bd52dafe3a5edac9ed89de69b65e36258c8 [Pipeline] echo [2022-12-19T05:02:11.834Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 8c486bd [Pipeline] echo [2022-12-19T05:02:11.875Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-12-19T05:02:11.986Z] provisioning config files... [2022-12-19T05:02:12.004Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-393@tmp/config14791112940010591350tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-12-19T05:02:12.358Z] ---> docker-login.sh [2022-12-19T05:02:12.358Z] nexus3.edgexfoundry.org:10001 [2022-12-19T05:02:12.619Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-19T05:02:12.619Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-19T05:02:12.619Z] Configure a credential helper to remove this warning. See [2022-12-19T05:02:12.619Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-19T05:02:12.619Z] [2022-12-19T05:02:12.619Z] Login Succeeded [2022-12-19T05:02:12.619Z] nexus3.edgexfoundry.org:10002 [2022-12-19T05:02:12.879Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-19T05:02:12.879Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-19T05:02:12.879Z] Configure a credential helper to remove this warning. See [2022-12-19T05:02:12.879Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-19T05:02:12.879Z] [2022-12-19T05:02:12.879Z] Login Succeeded [2022-12-19T05:02:12.879Z] nexus3.edgexfoundry.org:10003 [2022-12-19T05:02:12.879Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-19T05:02:12.879Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-19T05:02:12.879Z] Configure a credential helper to remove this warning. See [2022-12-19T05:02:12.879Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-19T05:02:12.879Z] [2022-12-19T05:02:12.879Z] Login Succeeded [2022-12-19T05:02:12.879Z] nexus3.edgexfoundry.org:10004 [2022-12-19T05:02:13.138Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-19T05:02:13.138Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-19T05:02:13.138Z] Configure a credential helper to remove this warning. See [2022-12-19T05:02:13.138Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-19T05:02:13.138Z] [2022-12-19T05:02:13.138Z] Login Succeeded [2022-12-19T05:02:13.138Z] docker.io [2022-12-19T05:02:13.138Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-19T05:02:13.398Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-19T05:02:13.398Z] Configure a credential helper to remove this warning. See [2022-12-19T05:02:13.398Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-19T05:02:13.398Z] [2022-12-19T05:02:13.398Z] Login Succeeded [2022-12-19T05:02:13.398Z] ---> docker-login.sh ends [Pipeline] } [2022-12-19T05:02:13.436Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-12-19T05:02:14.197Z] + git rev-list -1 --merges 8c486bd52dafe3a5edac9ed89de69b65e36258c8~1..8c486bd52dafe3a5edac9ed89de69b65e36258c8 [Pipeline] echo [2022-12-19T05:02:14.267Z] -----------> git rev-list -1 --merges 8c486bd52dafe3a5edac9ed89de69b65e36258c8~1..8c486bd52dafe3a5edac9ed89de69b65e36258c8 8c486bd52dafe3a5edac9ed89de69b65e36258c8 [false] [Pipeline] sh [2022-12-19T05:02:14.591Z] + git log --format=format:%s -1 8c486bd52dafe3a5edac9ed89de69b65e36258c8 [Pipeline] echo [2022-12-19T05:02:14.632Z] ========================================================= [2022-12-19T05:02:14.633Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-12-19T05:02:14.633Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-12-19T05:02:15.080Z] + git log --format=format:%s -1 8c486bd52dafe3a5edac9ed89de69b65e36258c8 [Pipeline] echo [2022-12-19T05:02:15.130Z] [semverPrep] GIT_COMMIT: 8c486bd52dafe3a5edac9ed89de69b65e36258c8, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo [2022-12-19T05:02:15.160Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-12-19T05:02:15.733Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-12-19T05:02:15.733Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-12-19T05:02:15.733Z] + [ -e /tmp/ssh_known_hosts ] [2022-12-19T05:02:15.733Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-12-19T05:02:15.733Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-12-19T05:02:15.733Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-12-19T05:02:15.733Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-19T05:02:16.212Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-12-19T05:02:16.212Z] [2022-12-19T05:02:16.212Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-19T05:02:16.581Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-12-19T05:02:16.581Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-12-19T05:02:16.581Z] b85a868b505f: Pulling fs layer [2022-12-19T05:02:16.581Z] e2be974225ed: Pulling fs layer [2022-12-19T05:02:16.581Z] 339a4e72a1f5: Pulling fs layer [2022-12-19T05:02:16.581Z] 988bab9f4d93: Pulling fs layer [2022-12-19T05:02:16.581Z] 1469e6f7b9e6: Pulling fs layer [2022-12-19T05:02:16.581Z] eaf3925da568: Pulling fs layer [2022-12-19T05:02:16.581Z] bab4dde63d76: Pulling fs layer [2022-12-19T05:02:16.581Z] bde34c3a00c8: Pulling fs layer [2022-12-19T05:02:16.581Z] b352a97aabf1: Pulling fs layer [2022-12-19T05:02:16.581Z] 4872d77fe225: Pulling fs layer [2022-12-19T05:02:16.581Z] 5851b861e8e6: Pulling fs layer [2022-12-19T05:02:16.581Z] 988bab9f4d93: Waiting [2022-12-19T05:02:16.581Z] 1469e6f7b9e6: Waiting [2022-12-19T05:02:16.581Z] eaf3925da568: Waiting [2022-12-19T05:02:16.581Z] bab4dde63d76: Waiting [2022-12-19T05:02:16.581Z] bde34c3a00c8: Waiting [2022-12-19T05:02:16.581Z] b352a97aabf1: Waiting [2022-12-19T05:02:16.581Z] 4872d77fe225: Waiting [2022-12-19T05:02:16.581Z] 5851b861e8e6: Waiting [2022-12-19T05:02:16.581Z] e2be974225ed: Verifying Checksum [2022-12-19T05:02:16.581Z] e2be974225ed: Download complete [2022-12-19T05:02:16.581Z] 988bab9f4d93: Verifying Checksum [2022-12-19T05:02:16.581Z] 988bab9f4d93: Download complete [2022-12-19T05:02:16.841Z] 1469e6f7b9e6: Verifying Checksum [2022-12-19T05:02:16.841Z] 1469e6f7b9e6: Download complete [2022-12-19T05:02:16.841Z] 339a4e72a1f5: Verifying Checksum [2022-12-19T05:02:16.841Z] 339a4e72a1f5: Download complete [2022-12-19T05:02:16.841Z] eaf3925da568: Verifying Checksum [2022-12-19T05:02:16.841Z] eaf3925da568: Download complete [2022-12-19T05:02:16.841Z] bde34c3a00c8: Verifying Checksum [2022-12-19T05:02:16.841Z] bde34c3a00c8: Download complete [2022-12-19T05:02:16.841Z] b352a97aabf1: Verifying Checksum [2022-12-19T05:02:16.841Z] b352a97aabf1: Download complete [2022-12-19T05:02:16.841Z] 4872d77fe225: Download complete [2022-12-19T05:02:16.841Z] 5851b861e8e6: Download complete [2022-12-19T05:02:16.841Z] b85a868b505f: Download complete [2022-12-19T05:02:17.103Z] bab4dde63d76: Verifying Checksum [2022-12-19T05:02:17.103Z] bab4dde63d76: Download complete [2022-12-19T05:02:18.040Z] b85a868b505f: Pull complete [2022-12-19T05:02:18.298Z] e2be974225ed: Pull complete [2022-12-19T05:02:18.557Z] 339a4e72a1f5: Pull complete [2022-12-19T05:02:18.815Z] 988bab9f4d93: Pull complete [2022-12-19T05:02:19.081Z] 1469e6f7b9e6: Pull complete [2022-12-19T05:02:19.081Z] eaf3925da568: Pull complete [2022-12-19T05:02:21.000Z] bab4dde63d76: Pull complete [2022-12-19T05:02:21.000Z] bde34c3a00c8: Pull complete [2022-12-19T05:02:21.000Z] b352a97aabf1: Pull complete [2022-12-19T05:02:21.000Z] 4872d77fe225: Pull complete [2022-12-19T05:02:21.262Z] 5851b861e8e6: Pull complete [2022-12-19T05:02:21.262Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-12-19T05:02:21.262Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-12-19T05:02:21.262Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-12-19T05:02:21.530Z] prd-ubuntu20.04-docker-8c-8g-139 does not seem to be running inside a container [2022-12-19T05:02:21.696Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-393 -v /w/workspace/xfoundry_device-modbus-go_PR-393:/w/workspace/xfoundry_device-modbus-go_PR-393:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-393@tmp:/w/workspace/xfoundry_device-modbus-go_PR-393@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 [2022-12-19T05:02:23.800Z] $ docker top d77736f6ac4da6935331158aa9c8f43e53ed07cdfb1ee4d541bfa33baf906b6f -eo pid,comm [2022-12-19T05:02:23.854Z] 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). [2022-12-19T05:02:23.854Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-12-19T05:02:23.993Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-12-19T05:02:23.993Z] [ssh-agent] Looking for ssh-agent implementation... [2022-12-19T05:02:24.096Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-12-19T05:02:24.102Z] $ docker exec d77736f6ac4da6935331158aa9c8f43e53ed07cdfb1ee4d541bfa33baf906b6f ssh-agent [2022-12-19T05:02:24.206Z] SSH_AUTH_SOCK=/tmp/ssh-7XfcnlXsWym4/agent.32 [2022-12-19T05:02:24.206Z] SSH_AGENT_PID=38 [2022-12-19T05:02:24.213Z] Running ssh-add (command line suppressed) [2022-12-19T05:02:24.324Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-393@tmp/private_key_12291679188345139981.key (/w/workspace/xfoundry_device-modbus-go_PR-393@tmp/private_key_12291679188345139981.key) [2022-12-19T05:02:24.335Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-12-19T05:02:24.665Z] + git tag --points-at HEAD [Pipeline] } [2022-12-19T05:02:24.695Z] $ docker exec --env ******** --env ******** d77736f6ac4da6935331158aa9c8f43e53ed07cdfb1ee4d541bfa33baf906b6f ssh-agent -k [2022-12-19T05:02:24.799Z] unset SSH_AUTH_SOCK; [2022-12-19T05:02:24.799Z] unset SSH_AGENT_PID; [2022-12-19T05:02:24.800Z] echo Agent pid 38 killed; [2022-12-19T05:02:24.807Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-12-19T05:02:24.898Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-12-19T05:02:24.898Z] [ssh-agent] Looking for ssh-agent implementation... [2022-12-19T05:02:25.010Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-12-19T05:02:25.016Z] $ docker exec d77736f6ac4da6935331158aa9c8f43e53ed07cdfb1ee4d541bfa33baf906b6f ssh-agent [2022-12-19T05:02:25.126Z] SSH_AUTH_SOCK=/tmp/ssh-D46yVIjoYW4C/agent.70 [2022-12-19T05:02:25.126Z] SSH_AGENT_PID=76 [2022-12-19T05:02:25.130Z] Running ssh-add (command line suppressed) [2022-12-19T05:02:25.252Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-393@tmp/private_key_1246126030059576485.key (/w/workspace/xfoundry_device-modbus-go_PR-393@tmp/private_key_1246126030059576485.key) [2022-12-19T05:02:25.262Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-12-19T05:02:25.596Z] + git semver init [2022-12-19T05:02:25.857Z] 2022-12-19 05:02:25,764 [run_init] DEBUG init version:0.0.0 force:False [2022-12-19T05:02:25.857Z] 2022-12-19 05:02:25,765 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-modbus-go_PR-393/.semver [2022-12-19T05:02:25.857Z] 2022-12-19 05:02:25,766 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/xfoundry_device-modbus-go_PR-393/.semver [2022-12-19T05:02:25.857Z] 2022-12-19 05:02:25,766 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/xfoundry_device-modbus-go_PR-393/.semver'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-393, universal_newlines=False, shell=None, istream=None) [2022-12-19T05:02:26.794Z] 2022-12-19 05:02:26,594 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-modbus-go_PR-393/.git/info/exclude [2022-12-19T05:02:26.794Z] 2022-12-19 05:02:26,595 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-modbus-go_PR-393/.semver/PR-393 with force:False [2022-12-19T05:02:26.794Z] 2022-12-19 05:02:26,595 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-modbus-go_PR-393/.semver/PR-393 [2022-12-19T05:02:26.794Z] 2022-12-19 05:02:26,599 [execute] INFO git cat-file --batch-check [2022-12-19T05:02:26.794Z] 2022-12-19 05:02:26,599 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-393/.semver, universal_newlines=False, shell=None, istream=) [2022-12-19T05:02:26.794Z] 2022-12-19 05:02:26,605 [execute] INFO git cat-file --batch [2022-12-19T05:02:26.794Z] 2022-12-19 05:02:26,605 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-393/.semver, universal_newlines=False, shell=None, istream=) [2022-12-19T05:02:26.794Z] 2022-12-19 05:02:26,610 [read_version] DEBUG read version from /w/workspace/xfoundry_device-modbus-go_PR-393/.semver/PR-393 [2022-12-19T05:02:26.794Z] 0.0.0 [Pipeline] } [2022-12-19T05:02:26.823Z] $ docker exec --env ******** --env ******** d77736f6ac4da6935331158aa9c8f43e53ed07cdfb1ee4d541bfa33baf906b6f ssh-agent -k [2022-12-19T05:02:26.931Z] unset SSH_AUTH_SOCK; [2022-12-19T05:02:26.931Z] unset SSH_AGENT_PID; [2022-12-19T05:02:26.931Z] echo Agent pid 76 killed; [2022-12-19T05:02:26.938Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-12-19T05:02:27.355Z] + git semver [Pipeline] } [2022-12-19T05:02:27.639Z] $ docker stop --time=1 d77736f6ac4da6935331158aa9c8f43e53ed07cdfb1ee4d541bfa33baf906b6f [2022-12-19T05:02:28.931Z] $ docker rm -f --volumes d77736f6ac4da6935331158aa9c8f43e53ed07cdfb1ee4d541bfa33baf906b6f [Pipeline] // withDockerContainer [Pipeline] sh [2022-12-19T05:02:29.331Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-12-19T05:02:29.895Z] Stashed 1 file(s) [Pipeline] echo [2022-12-19T05:02:29.912Z] [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 [2022-12-19T05:02:30.495Z] provisioning config files... [2022-12-19T05:02:30.506Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-393@tmp/config5569236186251590627tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-12-19T05:02:30.856Z] ---> docker-login.sh [2022-12-19T05:02:30.856Z] nexus3.edgexfoundry.org:10001 [2022-12-19T05:02:30.856Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-19T05:02:30.856Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-19T05:02:30.856Z] Configure a credential helper to remove this warning. See [2022-12-19T05:02:30.856Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-19T05:02:30.856Z] [2022-12-19T05:02:30.856Z] Login Succeeded [2022-12-19T05:02:30.856Z] nexus3.edgexfoundry.org:10002 [2022-12-19T05:02:30.856Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-19T05:02:30.856Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-19T05:02:30.856Z] Configure a credential helper to remove this warning. See [2022-12-19T05:02:30.856Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-19T05:02:30.856Z] [2022-12-19T05:02:30.856Z] Login Succeeded [2022-12-19T05:02:30.856Z] nexus3.edgexfoundry.org:10003 [2022-12-19T05:02:31.116Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-19T05:02:31.116Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-19T05:02:31.116Z] Configure a credential helper to remove this warning. See [2022-12-19T05:02:31.116Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-19T05:02:31.116Z] [2022-12-19T05:02:31.116Z] Login Succeeded [2022-12-19T05:02:31.116Z] nexus3.edgexfoundry.org:10004 [2022-12-19T05:02:31.116Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-19T05:02:31.116Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-19T05:02:31.116Z] Configure a credential helper to remove this warning. See [2022-12-19T05:02:31.116Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-19T05:02:31.116Z] [2022-12-19T05:02:31.116Z] Login Succeeded [2022-12-19T05:02:31.116Z] docker.io [2022-12-19T05:02:31.376Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-19T05:02:31.376Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-19T05:02:31.376Z] Configure a credential helper to remove this warning. See [2022-12-19T05:02:31.376Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-19T05:02:31.376Z] [2022-12-19T05:02:31.376Z] Login Succeeded [2022-12-19T05:02:31.376Z] ---> docker-login.sh ends [Pipeline] } [2022-12-19T05:02:31.407Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-12-19T05:02:31.594Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-12-19T05:02:31.625Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-12-19T05:02:31.654Z] ========================================================= [2022-12-19T05:02:31.654Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-12-19T05:02:31.654Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-19T05:02:32.108Z] + 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 . [2022-12-19T05:02:32.108Z] Sending build context to Docker daemon 6.297MB [2022-12-19T05:02:32.108Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2022-12-19T05:02:32.108Z] Step 2/10 : FROM ${BASE} AS builder [2022-12-19T05:02:32.108Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-12-19T05:02:32.108Z] 213ec9aee27d: Pulling fs layer [2022-12-19T05:02:32.108Z] 4583459ba037: Pulling fs layer [2022-12-19T05:02:32.108Z] 93c1e223e6f2: Pulling fs layer [2022-12-19T05:02:32.108Z] 53926ce57604: Pulling fs layer [2022-12-19T05:02:32.108Z] 21b2b0c7a3f4: Pulling fs layer [2022-12-19T05:02:32.108Z] 22ff95d597cd: Pulling fs layer [2022-12-19T05:02:32.108Z] 12d6caf4c0d1: Pulling fs layer [2022-12-19T05:02:32.108Z] 96b7cbca73a9: Pulling fs layer [2022-12-19T05:02:32.108Z] a7acece74701: Pulling fs layer [2022-12-19T05:02:32.108Z] 12d6caf4c0d1: Waiting [2022-12-19T05:02:32.108Z] 96b7cbca73a9: Waiting [2022-12-19T05:02:32.108Z] 53926ce57604: Waiting [2022-12-19T05:02:32.108Z] a7acece74701: Waiting [2022-12-19T05:02:32.108Z] 21b2b0c7a3f4: Waiting [2022-12-19T05:02:32.108Z] 22ff95d597cd: Waiting [2022-12-19T05:02:32.108Z] 93c1e223e6f2: Verifying Checksum [2022-12-19T05:02:32.108Z] 93c1e223e6f2: Download complete [2022-12-19T05:02:32.108Z] 4583459ba037: Download complete [2022-12-19T05:02:32.108Z] 21b2b0c7a3f4: Verifying Checksum [2022-12-19T05:02:32.108Z] 21b2b0c7a3f4: Download complete [2022-12-19T05:02:32.368Z] 22ff95d597cd: Verifying Checksum [2022-12-19T05:02:32.368Z] 22ff95d597cd: Download complete [2022-12-19T05:02:32.368Z] 213ec9aee27d: Verifying Checksum [2022-12-19T05:02:32.368Z] 213ec9aee27d: Download complete [2022-12-19T05:02:32.368Z] 12d6caf4c0d1: Verifying Checksum [2022-12-19T05:02:32.368Z] 12d6caf4c0d1: Download complete [2022-12-19T05:02:32.368Z] 213ec9aee27d: Pull complete [2022-12-19T05:02:32.629Z] 4583459ba037: Pull complete [2022-12-19T05:02:32.629Z] 93c1e223e6f2: Pull complete [2022-12-19T05:02:33.197Z] 53926ce57604: Verifying Checksum [2022-12-19T05:02:33.197Z] 53926ce57604: Download complete [2022-12-19T05:02:33.197Z] a7acece74701: Verifying Checksum [2022-12-19T05:02:33.197Z] a7acece74701: Download complete [2022-12-19T05:02:33.455Z] 96b7cbca73a9: Verifying Checksum [2022-12-19T05:02:33.455Z] 96b7cbca73a9: Download complete [2022-12-19T05:02:36.740Z] 53926ce57604: Pull complete [2022-12-19T05:02:36.740Z] 21b2b0c7a3f4: Pull complete [2022-12-19T05:02:36.740Z] 22ff95d597cd: Pull complete [2022-12-19T05:02:36.998Z] 12d6caf4c0d1: Pull complete [2022-12-19T05:02:38.898Z] 96b7cbca73a9: Pull complete [2022-12-19T05:02:39.465Z] a7acece74701: Pull complete [2022-12-19T05:02:39.465Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2022-12-19T05:02:39.465Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-12-19T05:02:39.465Z] ---> db6d94c90886 [2022-12-19T05:02:39.465Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2022-12-19T05:02:42.753Z] ---> Running in bca2e1e97e95 [2022-12-19T05:02:42.753Z] Removing intermediate container bca2e1e97e95 [2022-12-19T05:02:42.753Z] ---> 7c47454544a5 [2022-12-19T05:02:42.753Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-12-19T05:02:42.753Z] ---> Running in f8b805bf4c1a [2022-12-19T05:02:42.753Z] Removing intermediate container f8b805bf4c1a [2022-12-19T05:02:42.753Z] ---> ea4c643008e8 [2022-12-19T05:02:42.753Z] Step 5/10 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-12-19T05:02:42.753Z] ---> Running in af4834dc0fda [2022-12-19T05:02:42.753Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-12-19T05:02:43.011Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-12-19T05:02:43.271Z] (1/8) Installing openssh-keygen (9.0_p1-r2) [2022-12-19T05:02:43.271Z] (2/8) Installing libedit (20210910.3.1-r0) [2022-12-19T05:02:43.271Z] (3/8) Installing openssh-client-common (9.0_p1-r2) [2022-12-19T05:02:43.271Z] (4/8) Installing openssh-client-default (9.0_p1-r2) [2022-12-19T05:02:43.271Z] (5/8) Installing openssh-sftp-server (9.0_p1-r2) [2022-12-19T05:02:43.271Z] (6/8) Installing openssh-server-common (9.0_p1-r2) [2022-12-19T05:02:43.271Z] (7/8) Installing openssh-server (9.0_p1-r2) [2022-12-19T05:02:43.271Z] (8/8) Installing openssh (9.0_p1-r2) [2022-12-19T05:02:43.271Z] Executing busybox-1.35.0-r17.trigger [2022-12-19T05:02:43.271Z] OK: 217 MiB in 59 packages [2022-12-19T05:02:43.841Z] Removing intermediate container af4834dc0fda [2022-12-19T05:02:43.841Z] ---> a2a2e2452572 [2022-12-19T05:02:43.841Z] Step 6/10 : WORKDIR /device-modbus-go [2022-12-19T05:02:43.841Z] ---> Running in a5945e188634 [2022-12-19T05:02:43.841Z] Removing intermediate container a5945e188634 [2022-12-19T05:02:43.841Z] ---> a6958a0895a7 [2022-12-19T05:02:43.841Z] Step 7/10 : COPY go.mod vendor* ./ [2022-12-19T05:02:44.100Z] ---> 64710541d1b8 [2022-12-19T05:02:44.100Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-12-19T05:02:44.100Z] ---> Running in bdf609fe42fb [2022-12-19T05:02:45.309Z] Still waiting to schedule task [2022-12-19T05:02:45.309Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-12-19T05:03:10.670Z] Removing intermediate container bdf609fe42fb [2022-12-19T05:03:10.671Z] ---> ccace4b59bb4 [2022-12-19T05:03:10.671Z] Step 9/10 : COPY . . [2022-12-19T05:03:10.671Z] ---> 4b200a1a0202 [2022-12-19T05:03:10.671Z] Step 10/10 : RUN ${MAKE} [2022-12-19T05:03:10.671Z] ---> Running in 2c990e0424f3 [2022-12-19T05:03:10.671Z] noop [2022-12-19T05:03:10.671Z] Removing intermediate container 2c990e0424f3 [2022-12-19T05:03:10.671Z] ---> 5a8678f16c7c [2022-12-19T05:03:10.671Z] Successfully built 5a8678f16c7c [2022-12-19T05:03:10.671Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-19T05:03:11.142Z] + docker inspect -f . ci-base-image-x86_64 [2022-12-19T05:03:11.142Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-12-19T05:03:11.309Z] prd-ubuntu20.04-docker-8c-8g-139 does not seem to be running inside a container [2022-12-19T05:03:11.338Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-393 -v /w/workspace/xfoundry_device-modbus-go_PR-393:/w/workspace/xfoundry_device-modbus-go_PR-393:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-393@tmp:/w/workspace/xfoundry_device-modbus-go_PR-393@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 [2022-12-19T05:03:11.664Z] $ docker top a5e75b027a560a9619c9aade56f551c633ba2f98d721b749c43eabcb13acb027 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-12-19T05:03:12.058Z] + go version [2022-12-19T05:03:12.059Z] go version go1.18.7 linux/amd64 [Pipeline] } [2022-12-19T05:03:12.094Z] $ docker stop --time=1 a5e75b027a560a9619c9aade56f551c633ba2f98d721b749c43eabcb13acb027 [2022-12-19T05:03:13.364Z] $ docker rm -f --volumes a5e75b027a560a9619c9aade56f551c633ba2f98d721b749c43eabcb13acb027 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-19T05:03:14.068Z] + docker inspect -f . ci-base-image-x86_64 [2022-12-19T05:03:14.068Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-12-19T05:03:14.239Z] prd-ubuntu20.04-docker-8c-8g-139 does not seem to be running inside a container [2022-12-19T05:03:14.269Z] $ 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-393 -v /w/workspace/xfoundry_device-modbus-go_PR-393:/w/workspace/xfoundry_device-modbus-go_PR-393:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-393@tmp:/w/workspace/xfoundry_device-modbus-go_PR-393@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 [2022-12-19T05:03:14.579Z] $ docker top fef1928370bb3ff80cdfd1a68a8bed6d8c7fb3bce321f17ea5323297b66cd2e6 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-12-19T05:03:14.959Z] + git config --global --add safe.directory /w/workspace/xfoundry_device-modbus-go_PR-393 [Pipeline] fileExists [Pipeline] sh [2022-12-19T05:03:15.309Z] + make test [2022-12-19T05:03:15.309Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-12-19T05:03:15.567Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2022-12-19T05:03:25.529Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2022-12-19T05:03:25.529Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.009s coverage: 47.7% of statements [2022-12-19T05:03:32.101Z] 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." [2022-12-19T05:03:32.101Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-12-19T05:03:34.628Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-12-19T05:03:34.628Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-12-19T05:03:34.628Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-12-19T05:03:34.671Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-12-19T05:03:34.704Z] $ docker stop --time=1 fef1928370bb3ff80cdfd1a68a8bed6d8c7fb3bce321f17ea5323297b66cd2e6 [2022-12-19T05:03:36.946Z] $ docker rm -f --volumes fef1928370bb3ff80cdfd1a68a8bed6d8c7fb3bce321f17ea5323297b66cd2e6 [Pipeline] // withDockerContainer [Pipeline] sh [2022-12-19T05:03:37.462Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-12-19T05:03:37.530Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-12-19T05:03:38.167Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-12-19T05:03:38.474Z] + ls -al . [2022-12-19T05:03:38.474Z] total 196 [2022-12-19T05:03:38.474Z] drwxrwxr-x 10 jenkins jenkins 4096 Dec 19 05:03 . [2022-12-19T05:03:38.474Z] drwxrwxr-x 4 jenkins jenkins 4096 Dec 19 05:02 .. [2022-12-19T05:03:38.474Z] -rw-rw-r-- 1 jenkins jenkins 140 Dec 19 05:02 .dockerignore [2022-12-19T05:03:38.474Z] drwxrwxr-x 8 jenkins jenkins 4096 Dec 19 05:03 .git [2022-12-19T05:03:38.474Z] drwxrwxr-x 3 jenkins jenkins 4096 Dec 19 05:02 .github [2022-12-19T05:03:38.474Z] -rw-rw-r-- 1 jenkins jenkins 331 Dec 19 05:02 .gitignore [2022-12-19T05:03:38.474Z] -rw-rw-r-- 1 jenkins jenkins 41 Dec 19 05:02 .golangci.yml [2022-12-19T05:03:38.474Z] drwxr-xr-x 3 jenkins jenkins 4096 Dec 19 05:02 .semver [2022-12-19T05:03:38.474Z] -rw-rw-r-- 1 jenkins jenkins 10121 Dec 19 05:02 Attribution.txt [2022-12-19T05:03:38.474Z] -rw-rw-r-- 1 jenkins jenkins 11576 Dec 19 05:02 CHANGELOG.md [2022-12-19T05:03:38.474Z] -rw-rw-r-- 1 jenkins jenkins 1428 Dec 19 05:02 Dockerfile [2022-12-19T05:03:38.474Z] -rw-rw-r-- 1 jenkins jenkins 677 Dec 19 05:02 GOVERNANCE.md [2022-12-19T05:03:38.474Z] -rw-rw-r-- 1 jenkins jenkins 680 Dec 19 05:02 Jenkinsfile [2022-12-19T05:03:38.474Z] -rw-rw-r-- 1 jenkins jenkins 11340 Dec 19 05:02 LICENSE [2022-12-19T05:03:38.474Z] -rw-rw-r-- 1 jenkins jenkins 2101 Dec 19 05:02 Makefile [2022-12-19T05:03:38.474Z] -rw-rw-r-- 1 jenkins jenkins 622 Dec 19 05:02 OWNERS.md [2022-12-19T05:03:38.474Z] -rw-rw-r-- 1 jenkins jenkins 4061 Dec 19 05:02 README.md [2022-12-19T05:03:38.474Z] -rw-rw-r-- 1 jenkins jenkins 5 Dec 19 05:02 VERSION [2022-12-19T05:03:38.474Z] drwxrwxr-x 2 jenkins jenkins 4096 Dec 19 05:02 bin [2022-12-19T05:03:38.474Z] drwxrwxr-x 3 jenkins jenkins 4096 Dec 19 05:02 cmd [2022-12-19T05:03:38.474Z] -rw-r--r-- 1 jenkins jenkins 23241 Dec 19 05:03 coverage.out [2022-12-19T05:03:38.474Z] -rw-rw-r-- 1 jenkins jenkins 3584 Dec 19 05:02 go.mod [2022-12-19T05:03:38.474Z] -rw-rw-r-- 1 jenkins jenkins 45355 Dec 19 05:02 go.sum [2022-12-19T05:03:38.474Z] drwxrwxr-x 3 jenkins jenkins 4096 Dec 19 05:02 internal [2022-12-19T05:03:38.474Z] drwxrwxr-x 2 jenkins jenkins 4096 Dec 19 05:02 simulator [2022-12-19T05:03:38.474Z] drwxrwxr-x 4 jenkins jenkins 4096 Dec 19 05:02 snap [2022-12-19T05:03:38.474Z] -rw-rw-r-- 1 jenkins jenkins 229 Dec 19 05:02 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-19T05:03:38.852Z] + 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=8c486bd52dafe3a5edac9ed89de69b65e36258c8 --label arch=amd64 --label version=0.0.0 . [2022-12-19T05:03:38.853Z] Sending build context to Docker daemon 6.321MB [2022-12-19T05:03:38.853Z] Step 1/22 : ARG BASE=golang:1.18-alpine3.16 [2022-12-19T05:03:38.853Z] Step 2/22 : FROM ${BASE} AS builder [2022-12-19T05:03:38.853Z] ---> 5a8678f16c7c [2022-12-19T05:03:38.853Z] Step 3/22 : ARG ADD_BUILD_TAGS="" [2022-12-19T05:03:38.853Z] ---> Running in 7f3929f4b463 [2022-12-19T05:03:39.112Z] Removing intermediate container 7f3929f4b463 [2022-12-19T05:03:39.112Z] ---> da2a64adca9a [2022-12-19T05:03:39.112Z] Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-12-19T05:03:39.112Z] ---> Running in 47b836143c24 [2022-12-19T05:03:39.112Z] Removing intermediate container 47b836143c24 [2022-12-19T05:03:39.112Z] ---> 2cf6f57b2a55 [2022-12-19T05:03:39.112Z] Step 5/22 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-12-19T05:03:39.112Z] ---> Running in 3f4e0dd536cc [2022-12-19T05:03:39.371Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-12-19T05:03:39.631Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-12-19T05:03:39.891Z] OK: 217 MiB in 59 packages [2022-12-19T05:03:40.149Z] Removing intermediate container 3f4e0dd536cc [2022-12-19T05:03:40.149Z] ---> 505370d0f11f [2022-12-19T05:03:40.149Z] Step 6/22 : WORKDIR /device-modbus-go [2022-12-19T05:03:40.149Z] ---> Running in 2f856d36410c [2022-12-19T05:03:40.409Z] Removing intermediate container 2f856d36410c [2022-12-19T05:03:40.409Z] ---> b49e7f2259cf [2022-12-19T05:03:40.409Z] Step 7/22 : COPY go.mod vendor* ./ [2022-12-19T05:03:40.409Z] ---> b8037e293749 [2022-12-19T05:03:40.409Z] Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-12-19T05:03:40.409Z] ---> Running in a518bf460148 [2022-12-19T05:03:40.976Z] Removing intermediate container a518bf460148 [2022-12-19T05:03:40.976Z] ---> 4d30eca71a75 [2022-12-19T05:03:40.976Z] Step 9/22 : COPY . . [2022-12-19T05:03:41.546Z] ---> 860d8ac826ad [2022-12-19T05:03:41.546Z] Step 10/22 : RUN ${MAKE} [2022-12-19T05:03:41.546Z] ---> Running in 58e06b664bcf [2022-12-19T05:03:41.806Z] CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-modbus-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-modbus ./cmd [2022-12-19T05:04:03.876Z] Removing intermediate container 58e06b664bcf [2022-12-19T05:04:03.876Z] ---> fed53058bbd9 [2022-12-19T05:04:03.876Z] Step 11/22 : FROM alpine:3.14 [2022-12-19T05:04:03.876Z] 3.14: Pulling from library/alpine [2022-12-19T05:04:03.876Z] c7ed990a2339: Pulling fs layer [2022-12-19T05:04:03.876Z] c7ed990a2339: Verifying Checksum [2022-12-19T05:04:03.876Z] c7ed990a2339: Download complete [2022-12-19T05:04:03.876Z] c7ed990a2339: Pull complete [2022-12-19T05:04:03.876Z] Digest: sha256:4c869a63e1b7c0722fed1e402a6466610327c3b83bdddb94bd94fb71da7f638a [2022-12-19T05:04:03.876Z] Status: Downloaded newer image for alpine:3.14 [2022-12-19T05:04:03.876Z] ---> dd53f409bf0b [2022-12-19T05:04:03.876Z] Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2022-12-19T05:04:03.876Z] ---> Running in 5760e79b96a3 [2022-12-19T05:04:03.876Z] Removing intermediate container 5760e79b96a3 [2022-12-19T05:04:03.876Z] ---> 9fabb7850683 [2022-12-19T05:04:03.876Z] Step 13/22 : RUN apk add --update --no-cache zeromq dumb-init [2022-12-19T05:04:03.876Z] ---> Running in b1bc3495130f [2022-12-19T05:04:03.876Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-12-19T05:04:03.876Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-12-19T05:04:03.876Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-12-19T05:04:03.876Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-12-19T05:04:03.876Z] (3/6) Installing libsodium (1.0.18-r0) [2022-12-19T05:04:03.876Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-12-19T05:04:03.876Z] (5/6) Installing libzmq (4.3.4-r0) [2022-12-19T05:04:03.876Z] (6/6) Installing zeromq (4.3.4-r0) [2022-12-19T05:04:03.876Z] Executing busybox-1.33.1-r8.trigger [2022-12-19T05:04:03.876Z] OK: 8 MiB in 20 packages [2022-12-19T05:04:03.876Z] Removing intermediate container b1bc3495130f [2022-12-19T05:04:03.876Z] ---> c9b2f84c5726 [2022-12-19T05:04:03.876Z] Step 14/22 : COPY --from=builder /device-modbus-go/cmd / [2022-12-19T05:04:04.813Z] ---> d6b8cc16c9f7 [2022-12-19T05:04:04.813Z] Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / [2022-12-19T05:04:04.813Z] ---> a07df9e5619c [2022-12-19T05:04:04.813Z] Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / [2022-12-19T05:04:04.813Z] ---> 8a3ff744f551 [2022-12-19T05:04:04.813Z] Step 17/22 : EXPOSE 59901 [2022-12-19T05:04:04.813Z] ---> Running in b48a5228cb4b [2022-12-19T05:04:04.813Z] Removing intermediate container b48a5228cb4b [2022-12-19T05:04:04.813Z] ---> d7191d9de370 [2022-12-19T05:04:04.813Z] Step 18/22 : ENTRYPOINT ["/device-modbus"] [2022-12-19T05:04:04.813Z] ---> Running in 43a6ab39bbd1 [2022-12-19T05:04:05.072Z] Removing intermediate container 43a6ab39bbd1 [2022-12-19T05:04:05.072Z] ---> ff5d4d5d0ac7 [2022-12-19T05:04:05.072Z] Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-12-19T05:04:05.072Z] ---> Running in a163652557f5 [2022-12-19T05:04:05.072Z] Removing intermediate container a163652557f5 [2022-12-19T05:04:05.072Z] ---> 4fffa3748eaf [2022-12-19T05:04:05.072Z] Step 20/22 : LABEL arch=amd64 [2022-12-19T05:04:05.072Z] ---> Running in 2bceeccd90a8 [2022-12-19T05:04:05.072Z] Removing intermediate container 2bceeccd90a8 [2022-12-19T05:04:05.072Z] ---> 501b9c6a23ba [2022-12-19T05:04:05.072Z] Step 21/22 : LABEL git_sha=8c486bd52dafe3a5edac9ed89de69b65e36258c8 [2022-12-19T05:04:05.331Z] ---> Running in 3dc13672557a [2022-12-19T05:04:05.331Z] Removing intermediate container 3dc13672557a [2022-12-19T05:04:05.331Z] ---> f2276bb5a31d [2022-12-19T05:04:05.331Z] Step 22/22 : LABEL version=0.0.0 [2022-12-19T05:04:05.331Z] ---> Running in 2063ce8bbafd [2022-12-19T05:04:05.331Z] Removing intermediate container 2063ce8bbafd [2022-12-19T05:04:05.331Z] ---> c5d53ab3f33f [2022-12-19T05:04:05.331Z] [Warning] One or more build-args [ARCH] were not consumed [2022-12-19T05:04:05.331Z] Successfully built c5d53ab3f33f [2022-12-19T05:04:05.331Z] 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 [2022-12-19T05:04:06.175Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-12-19T05:04:06.175Z] [2022-12-19T05:04:06.175Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-19T05:04:06.556Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-12-19T05:04:06.556Z] latest: Pulling from edgex-lftools-log-publisher [2022-12-19T05:04:06.556Z] 5eb5b503b376: Pulling fs layer [2022-12-19T05:04:06.556Z] 5c69ac0246d0: Pulling fs layer [2022-12-19T05:04:06.556Z] ec43610c2a17: Pulling fs layer [2022-12-19T05:04:06.556Z] 3a2ae6a8a46f: Pulling fs layer [2022-12-19T05:04:06.556Z] 33b1e0a273af: Pulling fs layer [2022-12-19T05:04:06.556Z] 5d3b04190fa2: Pulling fs layer [2022-12-19T05:04:06.556Z] 2f39f015ded8: Pulling fs layer [2022-12-19T05:04:06.556Z] 33b1e0a273af: Waiting [2022-12-19T05:04:06.556Z] 5d3b04190fa2: Waiting [2022-12-19T05:04:06.556Z] 2f39f015ded8: Waiting [2022-12-19T05:04:06.556Z] 3a2ae6a8a46f: Waiting [2022-12-19T05:04:06.556Z] 5c69ac0246d0: Verifying Checksum [2022-12-19T05:04:06.556Z] 5c69ac0246d0: Download complete [2022-12-19T05:04:06.556Z] 3a2ae6a8a46f: Download complete [2022-12-19T05:04:06.556Z] 33b1e0a273af: Verifying Checksum [2022-12-19T05:04:06.556Z] 33b1e0a273af: Download complete [2022-12-19T05:04:06.814Z] 5d3b04190fa2: Verifying Checksum [2022-12-19T05:04:06.814Z] 5d3b04190fa2: Download complete [2022-12-19T05:04:06.814Z] ec43610c2a17: Verifying Checksum [2022-12-19T05:04:06.814Z] ec43610c2a17: Download complete [2022-12-19T05:04:06.814Z] 5eb5b503b376: Verifying Checksum [2022-12-19T05:04:06.814Z] 5eb5b503b376: Download complete [2022-12-19T05:04:07.380Z] 2f39f015ded8: Download complete [2022-12-19T05:04:07.948Z] 5eb5b503b376: Pull complete [2022-12-19T05:04:08.207Z] 5c69ac0246d0: Pull complete [2022-12-19T05:04:08.776Z] ec43610c2a17: Pull complete [2022-12-19T05:04:08.776Z] 3a2ae6a8a46f: Pull complete [2022-12-19T05:04:09.034Z] 33b1e0a273af: Pull complete [2022-12-19T05:04:09.034Z] 5d3b04190fa2: Pull complete [2022-12-19T05:04:13.251Z] 2f39f015ded8: Pull complete [2022-12-19T05:04:13.251Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-12-19T05:04:13.251Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-12-19T05:04:13.251Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-12-19T05:04:13.471Z] prd-ubuntu20.04-docker-8c-8g-139 does not seem to be running inside a container [2022-12-19T05:04:13.506Z] $ 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-393 -v /w/workspace/xfoundry_device-modbus-go_PR-393:/w/workspace/xfoundry_device-modbus-go_PR-393:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-393@tmp:/w/workspace/xfoundry_device-modbus-go_PR-393@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 [2022-12-19T05:04:15.948Z] $ docker top 84263c3e64a93939c87971338814a0f4b4e323332bb7f1ba8a8d4210a54f987a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-12-19T05:04:16.393Z] ---> job-cost.sh [2022-12-19T05:04:16.393Z] lf-activate-venv: SKIPPING [2022-12-19T05:04:16.393Z] INFO: No Stack... [2022-12-19T05:04:16.652Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-12-19T05:04:16.910Z] INFO: Archiving Costs [Pipeline] sh [2022-12-19T05:04:17.224Z] + cat /w/workspace/xfoundry_device-modbus-go_PR-393/archives/cost.csv [2022-12-19T05:04:17.224Z] + cut -d, -f6 [Pipeline] lock [2022-12-19T05:04:17.269Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-393-1-stack-cost] [2022-12-19T05:04:17.274Z] Resource [jenkins-edgexfoundry-device-modbus-go-PR-393-1-stack-cost] did not exist. Created. [2022-12-19T05:04:17.274Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-393-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-12-19T05:04:17.661Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-12-19T05:04:17.711Z] Stashed 1 file(s) [Pipeline] } [2022-12-19T05:04:17.735Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-393-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-12-19T05:04:17.810Z] $ docker stop --time=1 84263c3e64a93939c87971338814a0f4b4e323332bb7f1ba8a8d4210a54f987a [2022-12-19T05:04:18.967Z] $ docker rm -f --volumes 84263c3e64a93939c87971338814a0f4b4e323332bb7f1ba8a8d4210a54f987a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-12-19T05:04:23.761Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-140 in /w/workspace/xfoundry_device-modbus-go_PR-393 [Pipeline] { [Pipeline] ws [2022-12-19T05:04:23.816Z] Running in /w/workspace/device-modbus-go/1 [Pipeline] { [Pipeline] checkout [2022-12-19T05:04:23.902Z] Selected Git installation does not exist. Using Default [2022-12-19T05:04:23.902Z] The recommended git tool is: NONE [2022-12-19T05:04:29.088Z] using credential edgex-jenkins-ssh [2022-12-19T05:04:29.103Z] Cloning the remote Git repository [2022-12-19T05:04:29.142Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2022-12-19T05:04:29.216Z] > git init /w/workspace/device-modbus-go/1 # timeout=10 [2022-12-19T05:04:29.380Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2022-12-19T05:04:29.382Z] > git --version # timeout=10 [2022-12-19T05:04:29.404Z] > git --version # 'git version 2.25.1' [2022-12-19T05:04:29.405Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-12-19T05:04:29.468Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-12-19T05:04:30.502Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2022-12-19T05:04:30.532Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-12-19T05:04:31.284Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2022-12-19T05:04:31.326Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2022-12-19T05:04:31.327Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-12-19T05:04:31.342Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/393/head:refs/remotes/origin/PR-393 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-12-19T05:04:31.851Z] Merging remotes/origin/main commit e06bb49e1a76cfe96378d9ace2c77329ab7864d7 into PR head commit 8c486bd52dafe3a5edac9ed89de69b65e36258c8 [2022-12-19T05:04:32.033Z] Merge succeeded, producing 8c486bd52dafe3a5edac9ed89de69b65e36258c8 [2022-12-19T05:04:32.034Z] Checking out Revision 8c486bd52dafe3a5edac9ed89de69b65e36258c8 (PR-393) [2022-12-19T05:04:32.500Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" [2022-12-19T05:04:32.550Z] > git --version # timeout=10 [2022-12-19T05:04:32.566Z] > git --version # 'git version 2.25.1' [2022-12-19T05:04:32.581Z] fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2022-12-19T05:04:31.863Z] > git config core.sparsecheckout # timeout=10 [2022-12-19T05:04:31.878Z] > git checkout -f 8c486bd52dafe3a5edac9ed89de69b65e36258c8 # timeout=10 [2022-12-19T05:04:31.956Z] > git remote # timeout=10 [2022-12-19T05:04:31.972Z] > git config --get remote.origin.url # timeout=10 [2022-12-19T05:04:31.984Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-12-19T05:04:31.995Z] > git merge e06bb49e1a76cfe96378d9ace2c77329ab7864d7 # timeout=10 [2022-12-19T05:04:32.016Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-12-19T05:04:32.037Z] > git config core.sparsecheckout # timeout=10 [2022-12-19T05:04:32.050Z] > git checkout -f 8c486bd52dafe3a5edac9ed89de69b65e36258c8 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-12-19T05:04:33.859Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-12-19T05:04:33.860Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-12-19T05:04:33.860Z] Dload Upload Total Spent Left Speed [2022-12-19T05:04:33.860Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 98844 0 --:--:-- --:--:-- --:--:-- 98844 [Pipeline] sh [2022-12-19T05:04:34.460Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-12-19T05:04:34.807Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-12-19T05:04:34.807Z] + sudo tee /etc/docker/daemon.new [2022-12-19T05:04:34.807Z] { [2022-12-19T05:04:34.807Z] "registry-mirrors": [ [2022-12-19T05:04:34.807Z] "https://nexus3.edgexfoundry.org:10001" [2022-12-19T05:04:34.807Z] ], [2022-12-19T05:04:34.807Z] "bip": "10.250.0.254/24", [2022-12-19T05:04:34.807Z] "hosts": [ [2022-12-19T05:04:34.807Z] "tcp://0.0.0.0:5555", [2022-12-19T05:04:34.807Z] "unix:///var/run/docker.sock" [2022-12-19T05:04:34.807Z] ], [2022-12-19T05:04:34.807Z] "mtu": 1458, [2022-12-19T05:04:34.807Z] "selinux-enabled": true, [2022-12-19T05:04:34.807Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-12-19T05:04:34.807Z] } [Pipeline] sh [2022-12-19T05:04:35.152Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-12-19T05:04:35.492Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-12-19T05:04:53.812Z] provisioning config files... [2022-12-19T05:04:53.847Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/1@tmp/config968219364897047889tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-12-19T05:04:54.242Z] ---> docker-login.sh [2022-12-19T05:04:54.242Z] nexus3.edgexfoundry.org:10001 [2022-12-19T05:04:54.833Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-19T05:04:54.833Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-19T05:04:54.833Z] Configure a credential helper to remove this warning. See [2022-12-19T05:04:54.833Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-19T05:04:54.833Z] [2022-12-19T05:04:54.833Z] Login Succeeded [2022-12-19T05:04:54.833Z] nexus3.edgexfoundry.org:10002 [2022-12-19T05:04:55.102Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-19T05:04:55.371Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-19T05:04:55.371Z] Configure a credential helper to remove this warning. See [2022-12-19T05:04:55.371Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-19T05:04:55.371Z] [2022-12-19T05:04:55.371Z] Login Succeeded [2022-12-19T05:04:55.371Z] nexus3.edgexfoundry.org:10003 [2022-12-19T05:04:55.640Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-19T05:04:55.641Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-19T05:04:55.641Z] Configure a credential helper to remove this warning. See [2022-12-19T05:04:55.641Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-19T05:04:55.641Z] [2022-12-19T05:04:55.641Z] Login Succeeded [2022-12-19T05:04:55.641Z] nexus3.edgexfoundry.org:10004 [2022-12-19T05:04:55.915Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-19T05:04:55.915Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-19T05:04:55.915Z] Configure a credential helper to remove this warning. See [2022-12-19T05:04:55.915Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-19T05:04:55.915Z] [2022-12-19T05:04:55.915Z] Login Succeeded [2022-12-19T05:04:55.915Z] docker.io [2022-12-19T05:04:56.186Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-19T05:04:56.454Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-19T05:04:56.454Z] Configure a credential helper to remove this warning. See [2022-12-19T05:04:56.454Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-19T05:04:56.454Z] [2022-12-19T05:04:56.454Z] Login Succeeded [2022-12-19T05:04:56.454Z] ---> docker-login.sh ends [Pipeline] } [2022-12-19T05:04:56.486Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-12-19T05:04:56.847Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-12-19T05:04:56.879Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-12-19T05:04:56.918Z] ========================================================= [2022-12-19T05:04:56.919Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-12-19T05:04:56.919Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-19T05:04:57.413Z] + 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 . [2022-12-19T05:04:57.682Z] Sending build context to Docker daemon 3.279MB [2022-12-19T05:04:57.682Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2022-12-19T05:04:57.682Z] Step 2/10 : FROM ${BASE} AS builder [2022-12-19T05:04:57.953Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-12-19T05:04:57.953Z] 9b18e9b68314: Pulling fs layer [2022-12-19T05:04:57.953Z] 35d82f9e3411: Pulling fs layer [2022-12-19T05:04:57.953Z] e16973657156: Pulling fs layer [2022-12-19T05:04:57.953Z] fc693d55d65f: Pulling fs layer [2022-12-19T05:04:57.953Z] 7e9fc2657dce: Pulling fs layer [2022-12-19T05:04:57.953Z] dda99020689f: Pulling fs layer [2022-12-19T05:04:57.953Z] db1c61fa0a46: Pulling fs layer [2022-12-19T05:04:57.953Z] 891c053d2c06: Pulling fs layer [2022-12-19T05:04:57.953Z] 7e9fc2657dce: Waiting [2022-12-19T05:04:57.953Z] dda99020689f: Waiting [2022-12-19T05:04:57.953Z] db1c61fa0a46: Waiting [2022-12-19T05:04:57.953Z] 891c053d2c06: Waiting [2022-12-19T05:04:57.953Z] fc693d55d65f: Waiting [2022-12-19T05:04:57.953Z] e16973657156: Verifying Checksum [2022-12-19T05:04:57.953Z] e16973657156: Download complete [2022-12-19T05:04:57.953Z] 35d82f9e3411: Download complete [2022-12-19T05:04:57.953Z] 7e9fc2657dce: Verifying Checksum [2022-12-19T05:04:57.953Z] 7e9fc2657dce: Download complete [2022-12-19T05:04:57.953Z] dda99020689f: Verifying Checksum [2022-12-19T05:04:57.953Z] dda99020689f: Download complete [2022-12-19T05:04:57.953Z] 9b18e9b68314: Verifying Checksum [2022-12-19T05:04:57.954Z] 9b18e9b68314: Download complete [2022-12-19T05:04:58.932Z] 9b18e9b68314: Pull complete [2022-12-19T05:04:59.215Z] 891c053d2c06: Verifying Checksum [2022-12-19T05:04:59.215Z] 891c053d2c06: Download complete [2022-12-19T05:04:59.215Z] 35d82f9e3411: Pull complete [2022-12-19T05:04:59.808Z] e16973657156: Pull complete [2022-12-19T05:05:00.396Z] db1c61fa0a46: Verifying Checksum [2022-12-19T05:05:00.396Z] db1c61fa0a46: Download complete [2022-12-19T05:05:00.982Z] fc693d55d65f: Verifying Checksum [2022-12-19T05:05:00.982Z] fc693d55d65f: Download complete [2022-12-19T05:05:13.348Z] fc693d55d65f: Pull complete [2022-12-19T05:05:13.348Z] 7e9fc2657dce: Pull complete [2022-12-19T05:05:13.348Z] dda99020689f: Pull complete [2022-12-19T05:05:18.815Z] db1c61fa0a46: Pull complete [2022-12-19T05:05:20.780Z] 891c053d2c06: Pull complete [2022-12-19T05:05:20.780Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2022-12-19T05:05:20.780Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-12-19T05:05:20.780Z] ---> f96f9c87975a [2022-12-19T05:05:20.780Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2022-12-19T05:05:22.732Z] ---> Running in 92a4550bf1e8 [2022-12-19T05:05:22.732Z] Removing intermediate container 92a4550bf1e8 [2022-12-19T05:05:22.732Z] ---> aeb8a4a89cc7 [2022-12-19T05:05:22.732Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-12-19T05:05:22.732Z] ---> Running in a4ab843c7310 [2022-12-19T05:05:23.000Z] Removing intermediate container a4ab843c7310 [2022-12-19T05:05:23.000Z] ---> 5b97eebf1188 [2022-12-19T05:05:23.000Z] Step 5/10 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-12-19T05:05:23.268Z] ---> Running in 7a02866cdaef [2022-12-19T05:05:24.228Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-12-19T05:05:24.494Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-12-19T05:05:25.472Z] (1/8) Installing openssh-keygen (9.0_p1-r2) [2022-12-19T05:05:25.472Z] (2/8) Installing libedit (20210910.3.1-r0) [2022-12-19T05:05:25.472Z] (3/8) Installing openssh-client-common (9.0_p1-r2) [2022-12-19T05:05:25.739Z] (4/8) Installing openssh-client-default (9.0_p1-r2) [2022-12-19T05:05:25.739Z] (5/8) Installing openssh-sftp-server (9.0_p1-r2) [2022-12-19T05:05:25.739Z] (6/8) Installing openssh-server-common (9.0_p1-r2) [2022-12-19T05:05:25.739Z] (7/8) Installing openssh-server (9.0_p1-r2) [2022-12-19T05:05:25.739Z] (8/8) Installing openssh (9.0_p1-r2) [2022-12-19T05:05:25.739Z] Executing busybox-1.35.0-r17.trigger [2022-12-19T05:05:25.739Z] OK: 228 MiB in 59 packages [2022-12-19T05:05:26.702Z] Removing intermediate container 7a02866cdaef [2022-12-19T05:05:26.702Z] ---> 85aa6569060e [2022-12-19T05:05:26.702Z] Step 6/10 : WORKDIR /device-modbus-go [2022-12-19T05:05:26.969Z] ---> Running in de89f494af09 [2022-12-19T05:05:27.238Z] Removing intermediate container de89f494af09 [2022-12-19T05:05:27.238Z] ---> fe32694ba774 [2022-12-19T05:05:27.238Z] Step 7/10 : COPY go.mod vendor* ./ [2022-12-19T05:05:29.181Z] ---> dc4375cc4de3 [2022-12-19T05:05:29.181Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-12-19T05:05:29.181Z] ---> Running in 1dfb611e4475 [2022-12-19T05:06:25.598Z] Removing intermediate container 1dfb611e4475 [2022-12-19T05:06:25.598Z] ---> 95fb57f30311 [2022-12-19T05:06:25.598Z] Step 9/10 : COPY . . [2022-12-19T05:06:25.598Z] ---> 2e4c87f68191 [2022-12-19T05:06:25.598Z] Step 10/10 : RUN ${MAKE} [2022-12-19T05:06:25.598Z] ---> Running in 389f5c2ff0b3 [2022-12-19T05:06:25.598Z] noop [2022-12-19T05:06:25.598Z] Removing intermediate container 389f5c2ff0b3 [2022-12-19T05:06:25.598Z] ---> 6917549d5805 [2022-12-19T05:06:25.598Z] Successfully built 6917549d5805 [2022-12-19T05:06:25.598Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-19T05:06:26.080Z] + docker inspect -f . ci-base-image-arm64 [2022-12-19T05:06:26.080Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-12-19T05:06:26.343Z] prd-ubuntu20.04-docker-arm64-4c-16g-140 does not seem to be running inside a container [2022-12-19T05:06:26.412Z] $ 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 [2022-12-19T05:06:27.566Z] $ docker top 3cac40346f000fd1810b7fab6e6317a799fc34cd2df007916ed082aac6aa490f -eo pid,comm [Pipeline] { [Pipeline] sh [2022-12-19T05:06:28.435Z] + go version [2022-12-19T05:06:28.435Z] go version go1.18.7 linux/arm64 [Pipeline] } [2022-12-19T05:06:28.478Z] $ docker stop --time=1 3cac40346f000fd1810b7fab6e6317a799fc34cd2df007916ed082aac6aa490f [2022-12-19T05:06:30.098Z] $ docker rm -f --volumes 3cac40346f000fd1810b7fab6e6317a799fc34cd2df007916ed082aac6aa490f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-19T05:06:30.943Z] + docker inspect -f . ci-base-image-arm64 [2022-12-19T05:06:30.943Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-12-19T05:06:31.198Z] prd-ubuntu20.04-docker-arm64-4c-16g-140 does not seem to be running inside a container [2022-12-19T05:06:31.267Z] $ 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 [2022-12-19T05:06:32.457Z] $ docker top 84b47aa96811f766e1a679562211011f9a0aa0f69bf881711f98a3f9f995bd06 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-12-19T05:06:33.335Z] + git config --global --add safe.directory /w/workspace/device-modbus-go/1 [Pipeline] fileExists [Pipeline] sh [2022-12-19T05:06:34.043Z] + make test [2022-12-19T05:06:34.043Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-12-19T05:06:35.462Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2022-12-19T05:07:59.224Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2022-12-19T05:07:59.224Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.062s coverage: 47.7% of statements [2022-12-19T05:07:59.224Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-12-19T05:07:59.224Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-12-19T05:08:14.232Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-12-19T05:08:14.232Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-12-19T05:08:14.232Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-12-19T05:08:14.273Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-12-19T05:08:14.314Z] $ docker stop --time=1 84b47aa96811f766e1a679562211011f9a0aa0f69bf881711f98a3f9f995bd06 [2022-12-19T05:08:16.076Z] $ docker rm -f --volumes 84b47aa96811f766e1a679562211011f9a0aa0f69bf881711f98a3f9f995bd06 [Pipeline] // withDockerContainer [Pipeline] sh [2022-12-19T05:08:17.007Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-12-19T05:08:17.041Z] Warning: overwriting stash ‘coverage-report’ [2022-12-19T05:08:17.480Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-12-19T05:08:18.089Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-12-19T05:08:18.427Z] + ls -al . [2022-12-19T05:08:18.427Z] total 192 [2022-12-19T05:08:18.427Z] drwxrwxr-x 9 jenkins jenkins 4096 Dec 19 05:06 . [2022-12-19T05:08:18.427Z] drwxrwxr-x 4 jenkins jenkins 4096 Dec 19 05:04 .. [2022-12-19T05:08:18.427Z] -rw-rw-r-- 1 jenkins jenkins 140 Dec 19 05:04 .dockerignore [2022-12-19T05:08:18.427Z] drwxrwxr-x 8 jenkins jenkins 4096 Dec 19 05:04 .git [2022-12-19T05:08:18.427Z] drwxrwxr-x 3 jenkins jenkins 4096 Dec 19 05:04 .github [2022-12-19T05:08:18.427Z] -rw-rw-r-- 1 jenkins jenkins 331 Dec 19 05:04 .gitignore [2022-12-19T05:08:18.427Z] -rw-rw-r-- 1 jenkins jenkins 41 Dec 19 05:04 .golangci.yml [2022-12-19T05:08:18.427Z] -rw-rw-r-- 1 jenkins jenkins 10121 Dec 19 05:04 Attribution.txt [2022-12-19T05:08:18.427Z] -rw-rw-r-- 1 jenkins jenkins 11576 Dec 19 05:04 CHANGELOG.md [2022-12-19T05:08:18.427Z] -rw-rw-r-- 1 jenkins jenkins 1428 Dec 19 05:04 Dockerfile [2022-12-19T05:08:18.427Z] -rw-rw-r-- 1 jenkins jenkins 677 Dec 19 05:04 GOVERNANCE.md [2022-12-19T05:08:18.427Z] -rw-rw-r-- 1 jenkins jenkins 680 Dec 19 05:04 Jenkinsfile [2022-12-19T05:08:18.427Z] -rw-rw-r-- 1 jenkins jenkins 11340 Dec 19 05:04 LICENSE [2022-12-19T05:08:18.427Z] -rw-rw-r-- 1 jenkins jenkins 2101 Dec 19 05:04 Makefile [2022-12-19T05:08:18.427Z] -rw-rw-r-- 1 jenkins jenkins 622 Dec 19 05:04 OWNERS.md [2022-12-19T05:08:18.427Z] -rw-rw-r-- 1 jenkins jenkins 4061 Dec 19 05:04 README.md [2022-12-19T05:08:18.427Z] -rw-rw-r-- 1 jenkins jenkins 5 Dec 19 05:02 VERSION [2022-12-19T05:08:18.427Z] drwxrwxr-x 2 jenkins jenkins 4096 Dec 19 05:04 bin [2022-12-19T05:08:18.427Z] drwxrwxr-x 3 jenkins jenkins 4096 Dec 19 05:04 cmd [2022-12-19T05:08:18.427Z] -rw-r--r-- 1 jenkins jenkins 23241 Dec 19 05:07 coverage.out [2022-12-19T05:08:18.427Z] -rw-rw-r-- 1 jenkins jenkins 3584 Dec 19 05:04 go.mod [2022-12-19T05:08:18.427Z] -rw-rw-r-- 1 jenkins jenkins 45355 Dec 19 05:04 go.sum [2022-12-19T05:08:18.427Z] drwxrwxr-x 3 jenkins jenkins 4096 Dec 19 05:04 internal [2022-12-19T05:08:18.427Z] drwxrwxr-x 2 jenkins jenkins 4096 Dec 19 05:04 simulator [2022-12-19T05:08:18.427Z] drwxrwxr-x 4 jenkins jenkins 4096 Dec 19 05:04 snap [2022-12-19T05:08:18.427Z] -rw-rw-r-- 1 jenkins jenkins 229 Dec 19 05:04 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-19T05:08:18.846Z] + 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=8c486bd52dafe3a5edac9ed89de69b65e36258c8 --label arch=arm64 --label version=0.0.0 . [2022-12-19T05:08:19.114Z] Sending build context to Docker daemon 3.303MB [2022-12-19T05:08:19.114Z] Step 1/22 : ARG BASE=golang:1.18-alpine3.16 [2022-12-19T05:08:19.114Z] Step 2/22 : FROM ${BASE} AS builder [2022-12-19T05:08:19.114Z] ---> 6917549d5805 [2022-12-19T05:08:19.114Z] Step 3/22 : ARG ADD_BUILD_TAGS="" [2022-12-19T05:08:19.380Z] ---> Running in a83814339226 [2022-12-19T05:08:19.650Z] Removing intermediate container a83814339226 [2022-12-19T05:08:19.650Z] ---> 395db68f306f [2022-12-19T05:08:19.650Z] Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-12-19T05:08:19.650Z] ---> Running in fd92ca4080d1 [2022-12-19T05:08:19.919Z] Removing intermediate container fd92ca4080d1 [2022-12-19T05:08:19.919Z] ---> d6380ec8c176 [2022-12-19T05:08:19.919Z] Step 5/22 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-12-19T05:08:19.919Z] ---> Running in 4a4cee42d739 [2022-12-19T05:08:20.878Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-12-19T05:08:21.144Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-12-19T05:08:22.105Z] OK: 228 MiB in 59 packages [2022-12-19T05:08:23.069Z] Removing intermediate container 4a4cee42d739 [2022-12-19T05:08:23.069Z] ---> 961f809ffa7e [2022-12-19T05:08:23.069Z] Step 6/22 : WORKDIR /device-modbus-go [2022-12-19T05:08:23.069Z] ---> Running in 96cdee0f422d [2022-12-19T05:08:23.337Z] Removing intermediate container 96cdee0f422d [2022-12-19T05:08:23.337Z] ---> 8333d6a29ece [2022-12-19T05:08:23.337Z] Step 7/22 : COPY go.mod vendor* ./ [2022-12-19T05:08:23.923Z] ---> 00092a2047df [2022-12-19T05:08:23.923Z] Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-12-19T05:08:23.923Z] ---> Running in d685abcc4977 [2022-12-19T05:08:25.868Z] Removing intermediate container d685abcc4977 [2022-12-19T05:08:25.869Z] ---> db2ca9cd655b [2022-12-19T05:08:25.869Z] Step 9/22 : COPY . . [2022-12-19T05:08:26.454Z] ---> f689352190ba [2022-12-19T05:08:26.454Z] Step 10/22 : RUN ${MAKE} [2022-12-19T05:08:26.722Z] ---> Running in 4959e4760ba1 [2022-12-19T05:08:27.691Z] CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-modbus-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-modbus ./cmd [2022-12-19T05:11:04.469Z] Removing intermediate container 4959e4760ba1 [2022-12-19T05:11:04.469Z] ---> 0394aa761976 [2022-12-19T05:11:04.469Z] Step 11/22 : FROM alpine:3.14 [2022-12-19T05:11:04.469Z] 3.14: Pulling from library/alpine [2022-12-19T05:11:04.469Z] 90cda3b7c325: Pulling fs layer [2022-12-19T05:11:04.469Z] 90cda3b7c325: Verifying Checksum [2022-12-19T05:11:04.469Z] 90cda3b7c325: Download complete [2022-12-19T05:11:04.469Z] 90cda3b7c325: Pull complete [2022-12-19T05:11:04.469Z] Digest: sha256:4c869a63e1b7c0722fed1e402a6466610327c3b83bdddb94bd94fb71da7f638a [2022-12-19T05:11:04.469Z] Status: Downloaded newer image for alpine:3.14 [2022-12-19T05:11:04.469Z] ---> 275902a1839d [2022-12-19T05:11:04.469Z] Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2022-12-19T05:11:04.469Z] ---> Running in d56bc9c2d43e [2022-12-19T05:11:04.469Z] Removing intermediate container d56bc9c2d43e [2022-12-19T05:11:04.469Z] ---> 676e38156f86 [2022-12-19T05:11:04.469Z] Step 13/22 : RUN apk add --update --no-cache zeromq dumb-init [2022-12-19T05:11:04.469Z] ---> Running in 6c3a7aaa674c [2022-12-19T05:11:04.469Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-12-19T05:11:04.469Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-12-19T05:11:04.469Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-12-19T05:11:04.469Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-12-19T05:11:04.469Z] (3/6) Installing libsodium (1.0.18-r0) [2022-12-19T05:11:04.470Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-12-19T05:11:04.470Z] (5/6) Installing libzmq (4.3.4-r0) [2022-12-19T05:11:04.470Z] (6/6) Installing zeromq (4.3.4-r0) [2022-12-19T05:11:04.470Z] Executing busybox-1.33.1-r8.trigger [2022-12-19T05:11:04.470Z] OK: 8 MiB in 20 packages [2022-12-19T05:11:04.470Z] Removing intermediate container 6c3a7aaa674c [2022-12-19T05:11:04.470Z] ---> 27beb43c7327 [2022-12-19T05:11:04.470Z] Step 14/22 : COPY --from=builder /device-modbus-go/cmd / [2022-12-19T05:11:04.470Z] ---> 528c3cb279e2 [2022-12-19T05:11:04.470Z] Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / [2022-12-19T05:11:04.470Z] ---> a4590b10db07 [2022-12-19T05:11:04.470Z] Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / [2022-12-19T05:11:04.470Z] ---> a68b3d0eb5ea [2022-12-19T05:11:04.470Z] Step 17/22 : EXPOSE 59901 [2022-12-19T05:11:04.470Z] ---> Running in 3a90ed617e02 [2022-12-19T05:11:04.470Z] Removing intermediate container 3a90ed617e02 [2022-12-19T05:11:04.470Z] ---> 337f7263eef3 [2022-12-19T05:11:04.470Z] Step 18/22 : ENTRYPOINT ["/device-modbus"] [2022-12-19T05:11:04.470Z] ---> Running in 3c89c2d10fe2 [2022-12-19T05:11:04.470Z] Removing intermediate container 3c89c2d10fe2 [2022-12-19T05:11:04.470Z] ---> 9a0510dba476 [2022-12-19T05:11:04.470Z] Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-12-19T05:11:04.470Z] ---> Running in 8ee0ddd82f53 [2022-12-19T05:11:04.470Z] Removing intermediate container 8ee0ddd82f53 [2022-12-19T05:11:04.470Z] ---> ac9ed23b368e [2022-12-19T05:11:04.470Z] Step 20/22 : LABEL arch=arm64 [2022-12-19T05:11:04.470Z] ---> Running in be3c0205bb6e [2022-12-19T05:11:04.470Z] Removing intermediate container be3c0205bb6e [2022-12-19T05:11:04.470Z] ---> 64bc20747d3d [2022-12-19T05:11:04.470Z] Step 21/22 : LABEL git_sha=8c486bd52dafe3a5edac9ed89de69b65e36258c8 [2022-12-19T05:11:04.470Z] ---> Running in ecb387dccbdb [2022-12-19T05:11:04.470Z] Removing intermediate container ecb387dccbdb [2022-12-19T05:11:04.470Z] ---> e05d29b85297 [2022-12-19T05:11:04.470Z] Step 22/22 : LABEL version=0.0.0 [2022-12-19T05:11:04.470Z] ---> Running in f99e42ca40f8 [2022-12-19T05:11:04.470Z] Removing intermediate container f99e42ca40f8 [2022-12-19T05:11:04.470Z] ---> 341987c16d76 [2022-12-19T05:11:04.470Z] [Warning] One or more build-args [ARCH] were not consumed [2022-12-19T05:11:04.470Z] Successfully built 341987c16d76 [2022-12-19T05:11:04.470Z] 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 [2022-12-19T05:11:05.261Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-12-19T05:11:05.261Z] [2022-12-19T05:11:05.261Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-19T05:11:05.666Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-12-19T05:11:05.667Z] arm64: Pulling from edgex-lftools-log-publisher [2022-12-19T05:11:05.667Z] 8998bd30e6a1: Pulling fs layer [2022-12-19T05:11:05.667Z] 04944245beec: Pulling fs layer [2022-12-19T05:11:05.667Z] 699f458cf7ca: Pulling fs layer [2022-12-19T05:11:05.667Z] 765212b225bb: Pulling fs layer [2022-12-19T05:11:05.667Z] f23df028b6ca: Pulling fs layer [2022-12-19T05:11:05.667Z] d65c8cfc05b1: Pulling fs layer [2022-12-19T05:11:05.667Z] 2437ff75d9bd: Pulling fs layer [2022-12-19T05:11:05.667Z] 765212b225bb: Waiting [2022-12-19T05:11:05.667Z] f23df028b6ca: Waiting [2022-12-19T05:11:05.667Z] d65c8cfc05b1: Waiting [2022-12-19T05:11:05.667Z] 2437ff75d9bd: Waiting [2022-12-19T05:11:05.938Z] 04944245beec: Verifying Checksum [2022-12-19T05:11:05.938Z] 04944245beec: Download complete [2022-12-19T05:11:05.938Z] 765212b225bb: Verifying Checksum [2022-12-19T05:11:05.938Z] 765212b225bb: Download complete [2022-12-19T05:11:05.938Z] f23df028b6ca: Download complete [2022-12-19T05:11:05.938Z] d65c8cfc05b1: Verifying Checksum [2022-12-19T05:11:05.938Z] d65c8cfc05b1: Download complete [2022-12-19T05:11:05.938Z] 699f458cf7ca: Verifying Checksum [2022-12-19T05:11:05.938Z] 699f458cf7ca: Download complete [2022-12-19T05:11:06.526Z] 8998bd30e6a1: Verifying Checksum [2022-12-19T05:11:06.526Z] 8998bd30e6a1: Download complete [2022-12-19T05:11:08.478Z] 2437ff75d9bd: Verifying Checksum [2022-12-19T05:11:08.478Z] 2437ff75d9bd: Download complete [2022-12-19T05:11:10.419Z] 8998bd30e6a1: Pull complete [2022-12-19T05:11:10.688Z] 04944245beec: Pull complete [2022-12-19T05:11:12.099Z] 699f458cf7ca: Pull complete [2022-12-19T05:11:12.368Z] 765212b225bb: Pull complete [2022-12-19T05:11:14.311Z] f23df028b6ca: Pull complete [2022-12-19T05:11:14.311Z] d65c8cfc05b1: Pull complete [2022-12-19T05:11:29.314Z] 2437ff75d9bd: Pull complete [2022-12-19T05:11:29.314Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-12-19T05:11:29.314Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-12-19T05:11:29.314Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-12-19T05:11:29.636Z] prd-ubuntu20.04-docker-arm64-4c-16g-140 does not seem to be running inside a container [2022-12-19T05:11:29.713Z] $ 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 [2022-12-19T05:11:32.230Z] $ docker top 9902faec83a1a392bbdea8988eeebf2e7114490ffd2ddd0f496850323a5abf4d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-12-19T05:11:33.124Z] ---> job-cost.sh [2022-12-19T05:11:33.124Z] lf-activate-venv: SKIPPING [2022-12-19T05:11:33.124Z] INFO: No Stack... [2022-12-19T05:11:33.389Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-12-19T05:11:34.349Z] INFO: Archiving Costs [Pipeline] sh [2022-12-19T05:11:35.009Z] + cat /w/workspace/device-modbus-go/1/archives/cost.csv [2022-12-19T05:11:35.009Z] + cut -d, -f6 [Pipeline] lock [2022-12-19T05:11:35.088Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-393-1-stack-cost] [2022-12-19T05:11:35.095Z] Resource [jenkins-edgexfoundry-device-modbus-go-PR-393-1-stack-cost] did not exist. Created. [2022-12-19T05:11:35.095Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-393-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-12-19T05:11:35.898Z] /w/workspace/device-modbus-go/1@tmp/durable-63eeb41f/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-12-19T05:11:36.611Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-12-19T05:11:36.650Z] Warning: overwriting stash ‘stack-cost’ [2022-12-19T05:11:36.698Z] Stashed 1 file(s) [Pipeline] } [2022-12-19T05:11:36.712Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-393-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-12-19T05:11:36.794Z] $ docker stop --time=1 9902faec83a1a392bbdea8988eeebf2e7114490ffd2ddd0f496850323a5abf4d [2022-12-19T05:11:38.791Z] $ docker rm -f --volumes 9902faec83a1a392bbdea8988eeebf2e7114490ffd2ddd0f496850323a5abf4d [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 [2022-12-19T05:11:39.768Z] provisioning config files... [2022-12-19T05:11:39.775Z] copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-393@tmp/config2199100309962560682tmp [Pipeline] { [Pipeline] sh [2022-12-19T05:11:40.115Z] + set +x [2022-12-19T05:11:40.115Z] + curl -s https://codecov.io/bash [2022-12-19T05:11:40.115Z] + bash -s -- [2022-12-19T05:11:40.115Z] [2022-12-19T05:11:40.115Z] _____ _ [2022-12-19T05:11:40.115Z] / ____| | | [2022-12-19T05:11:40.115Z] | | ___ __| | ___ ___ _____ __ [2022-12-19T05:11:40.115Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-12-19T05:11:40.115Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-12-19T05:11:40.115Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-12-19T05:11:40.115Z] Bash-1.0.6 [2022-12-19T05:11:40.115Z] [2022-12-19T05:11:40.115Z] [2022-12-19T05:11:40.115Z] ==> git version 2.25.1 found [2022-12-19T05:11:40.115Z] ==> 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 [2022-12-19T05:11:40.115Z] Release-Date: 2020-01-08 [2022-12-19T05:11:40.115Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-12-19T05:11:40.115Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-12-19T05:11:40.115Z] ==> Jenkins CI detected. [2022-12-19T05:11:40.115Z] current dir:  /w/workspace/xfoundry_device-modbus-go_PR-393 [2022-12-19T05:11:40.115Z] project root: . [2022-12-19T05:11:40.115Z] --> token set from env [2022-12-19T05:11:40.115Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-12-19T05:11:40.115Z] ==> Running gcov in . (disable via -X gcov) [2022-12-19T05:11:40.115Z] ==> Python coveragepy not found [2022-12-19T05:11:40.115Z] ==> Searching for coverage reports in: [2022-12-19T05:11:40.115Z] + . [2022-12-19T05:11:40.115Z] -> Found 1 reports [2022-12-19T05:11:40.115Z] ==> Detecting git/mercurial file structure [2022-12-19T05:11:40.115Z] ==> Reading reports [2022-12-19T05:11:40.376Z] + ./coverage.out bytes=23241 [2022-12-19T05:11:40.376Z] ==> Appending adjustments [2022-12-19T05:11:40.376Z] https://docs.codecov.io/docs/fixing-reports [2022-12-19T05:11:40.376Z] + Found adjustments [2022-12-19T05:11:40.376Z] ==> Gzipping contents [2022-12-19T05:11:40.376Z] 4.0K /tmp/codecov.ixGDp1.gz [2022-12-19T05:11:40.376Z] ==> Uploading reports [2022-12-19T05:11:40.376Z] url: https://codecov.io [2022-12-19T05:11:40.376Z] query: branch=PR-393&commit=8c486bd52dafe3a5edac9ed89de69b65e36258c8&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-393%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=393&job=&cmd_args= [2022-12-19T05:11:40.376Z] -> Pinging Codecov [2022-12-19T05:11:40.376Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3a8d40b1-de00-4649-bfd4-bdc8ed99ae89&branch=PR-393&commit=8c486bd52dafe3a5edac9ed89de69b65e36258c8&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-393%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=393&job=&cmd_args= [2022-12-19T05:11:40.636Z] -> Uploading to [2022-12-19T05:11:40.636Z] https://storage.googleapis.com/codecov/v4/raw/2022-12-19/55DBCA73C666E3227836607328DD7E49/8c486bd52dafe3a5edac9ed89de69b65e36258c8/68a93cb4-de11-477f-95ac-6e84b7fb213c.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221219%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221219T051140Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=644dd057b64802a2760ef196272cb31a19a9a32cb7c90677152766323ffd23e0 [2022-12-19T05:11:40.636Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-12-19T05:11:40.636Z] Dload Upload Total Spent Left Speed [2022-12-19T05:11:40.896Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3907 0 0 100 3907 0 17599 --:--:-- --:--:-- --:--:-- 17678 [2022-12-19T05:11:40.896Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/8c486bd52dafe3a5edac9ed89de69b65e36258c8 [Pipeline] } [2022-12-19T05:11:40.927Z] 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 [2022-12-19T05:11:42.731Z] + [ -d /w/workspace/xfoundry_device-modbus-go_PR-393/archives ] [2022-12-19T05:11:42.731Z] + ls -al /w/workspace/xfoundry_device-modbus-go_PR-393/archives [2022-12-19T05:11:42.731Z] total 16 [2022-12-19T05:11:42.731Z] drwxr-xr-x 3 root root 4096 Dec 19 05:04 . [2022-12-19T05:11:42.731Z] drwxrwxr-x 11 jenkins jenkins 4096 Dec 19 05:04 .. [2022-12-19T05:11:42.731Z] drwxr-xr-x 2 root root 4096 Dec 19 05:04 cost [2022-12-19T05:11:42.731Z] -rw-r--r-- 1 root root 88 Dec 19 05:04 cost.csv [2022-12-19T05:11:42.731Z] + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-393/archives [2022-12-19T05:11:42.731Z] + ls -al /w/workspace/xfoundry_device-modbus-go_PR-393/archives [2022-12-19T05:11:42.731Z] total 16 [2022-12-19T05:11:42.731Z] drwxr-xr-x 3 jenkins jenkins 4096 Dec 19 05:04 . [2022-12-19T05:11:42.731Z] drwxrwxr-x 11 jenkins jenkins 4096 Dec 19 05:04 .. [2022-12-19T05:11:42.731Z] drwxr-xr-x 2 jenkins jenkins 4096 Dec 19 05:04 cost [2022-12-19T05:11:42.731Z] -rw-r--r-- 1 jenkins jenkins 88 Dec 19 05:04 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-12-19T05:11:43.061Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-12-19T05:11:43.955Z] ---> package-listing.sh [2022-12-19T05:11:43.955Z] ++ facter osfamily [2022-12-19T05:11:43.955Z] ++ tr '[:upper:]' '[:lower:]' [2022-12-19T05:11:44.214Z] + OS_FAMILY=debian [2022-12-19T05:11:44.214Z] + workspace=/w/workspace/xfoundry_device-modbus-go_PR-393 [2022-12-19T05:11:44.214Z] + START_PACKAGES=/tmp/packages_start.txt [2022-12-19T05:11:44.214Z] + END_PACKAGES=/tmp/packages_end.txt [2022-12-19T05:11:44.214Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-12-19T05:11:44.214Z] + PACKAGES=/tmp/packages_start.txt [2022-12-19T05:11:44.214Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-393 ']' [2022-12-19T05:11:44.214Z] + PACKAGES=/tmp/packages_end.txt [2022-12-19T05:11:44.214Z] + case "${OS_FAMILY}" in [2022-12-19T05:11:44.214Z] + dpkg -l [2022-12-19T05:11:44.214Z] + grep '^ii' [2022-12-19T05:11:44.214Z] + '[' -f /tmp/packages_start.txt ']' [2022-12-19T05:11:44.214Z] + '[' -f /tmp/packages_end.txt ']' [2022-12-19T05:11:44.214Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-12-19T05:11:44.214Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-393 ']' [2022-12-19T05:11:44.214Z] + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-393/archives/ [2022-12-19T05:11:44.214Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-393/archives/ [Pipeline] echo [2022-12-19T05:11:44.252Z] 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-393/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-12-19T05:11:44.551Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-19T05:11:45.189Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-12-19T05:11:45.189Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-12-19T05:11:45.343Z] prd-ubuntu20.04-docker-8c-8g-139 does not seem to be running inside a container [2022-12-19T05:11:45.373Z] $ 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-393/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-393 -v /w/workspace/xfoundry_device-modbus-go_PR-393:/w/workspace/xfoundry_device-modbus-go_PR-393:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-393@tmp:/w/workspace/xfoundry_device-modbus-go_PR-393@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 [2022-12-19T05:11:45.575Z] $ docker top 34bc4de3de7de9ba5775505f08b46118ba5ff786c304fde22b45e505a632a598 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-12-19T05:11:45.978Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-12-19T05:11:46.294Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-12-19T05:11:46.608Z] + ls /var/log/sa-host [2022-12-19T05:11:46.608Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-12-19T05:11:46.813Z] provisioning config files... [2022-12-19T05:11:46.823Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-393@tmp/config9684500595886632051tmp [Pipeline] { [Pipeline] echo [2022-12-19T05:11:46.870Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-12-19T05:11:47.182Z] ---> create-netrc.sh [Pipeline] } [2022-12-19T05:11:47.213Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-12-19T05:11:47.617Z] ---> python-tools-install.sh [Pipeline] echo [2022-12-19T05:11:47.653Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-12-19T05:11:47.966Z] ---> sudo-logs.sh [2022-12-19T05:11:47.967Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-12-19T05:11:48.054Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-12-19T05:11:48.366Z] ---> job-cost.sh [2022-12-19T05:11:48.366Z] lf-activate-venv: SKIPPING [2022-12-19T05:11:48.366Z] DEBUG: total: 0.2199999988079071 [2022-12-19T05:11:48.366Z] INFO: Retrieving Stack Cost... [2022-12-19T05:11:48.626Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-12-19T05:11:49.195Z] INFO: Archiving Costs [Pipeline] echo [2022-12-19T05:11:49.235Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-12-19T05:11:49.550Z] ---> logs-deploy.sh [2022-12-19T05:11:49.550Z] lf-activate-venv: SKIPPING [2022-12-19T05:11:49.550Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-393/1 [2022-12-19T05:11:49.550Z] INFO: archiving workspace using pattern(s): [2022-12-19T05:11:50.487Z] Archives upload complete. [2022-12-19T05:11:50.487Z] INFO: archiving logs to Nexus