Pull request #414 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/device-modbus-go Obtained Jenkinsfile from 2629dc372e066b6c036fb6770d771e1fe4beb6c3+a7c1c71285625bfb1e0a432bdc9f3a4a8aef6f4f (5e8422a2a8f09988639ca566a8ab71691043ca77) 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-ssh3166223438323573878.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-ssh4382540540704216138.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-414/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-414/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10481378012637132438.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-414/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh16073081527687424841.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-ssh2332992439724139046.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-414/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-414/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh3206071867551921857.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-modbus-go, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-modbus-go-settings PROJECT: device-modbus-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-modbus DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-6154’ Running on prd-ubuntu20.04-docker-8c-8g-6156 in /w/workspace/xfoundry_device-modbus-go_PR-414 [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-414 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/414/head:refs/remotes/origin/PR-414 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit a7c1c71285625bfb1e0a432bdc9f3a4a8aef6f4f into PR head commit 2629dc372e066b6c036fb6770d771e1fe4beb6c3 Merge succeeded, producing 2629dc372e066b6c036fb6770d771e1fe4beb6c3 Checking out Revision 2629dc372e066b6c036fb6770d771e1fe4beb6c3 (PR-414) > git config core.sparsecheckout # timeout=10 > git checkout -f 2629dc372e066b6c036fb6770d771e1fe4beb6c3 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge a7c1c71285625bfb1e0a432bdc9f3a4a8aef6f4f # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 2629dc372e066b6c036fb6770d771e1fe4beb6c3 # timeout=10 Commit message: "refactor!: Replace internal topics from config with new constants" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-02-15T17:55:40.257Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-02-15T17:55:40.436Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-02-15T17:55:40.525Z] ========================================================= [2023-02-15T17:55:40.525Z] EdgeX Global Pipelines Version Info [2023-02-15T17:55:40.525Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-02-15T17:55:41.263Z] ------------------- [2023-02-15T17:55:41.263Z] stable info: [2023-02-15T17:55:41.263Z] ------------------- [2023-02-15T17:55:41.263Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-02-15T17:55:41.263Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-15T17:55:41.263Z] Message: update stable to v1.0.244 [2023-02-15T17:55:41.837Z] ------------------- [2023-02-15T17:55:41.837Z] experimental info: [2023-02-15T17:55:41.837Z] ------------------- [2023-02-15T17:55:41.837Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-02-15T17:55:41.837Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-15T17:55:41.837Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-02-15T17:55:42.124Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo [2023-02-15T17:55:42.169Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo [2023-02-15T17:55:42.213Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-02-15T17:55:42.253Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-02-15T17:55:42.292Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-02-15T17:55:42.331Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-02-15T17:55:42.377Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-02-15T17:55:42.423Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-02-15T17:55:42.465Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-02-15T17:55:42.503Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-02-15T17:55:42.542Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-02-15T17:55:42.582Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo [2023-02-15T17:55:42.623Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-02-15T17:55:42.662Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-02-15T17:55:42.702Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-02-15T17:55:42.744Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-02-15T17:55:42.783Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-02-15T17:55:42.826Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-02-15T17:55:42.867Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-02-15T17:55:42.905Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-02-15T17:55:42.943Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-02-15T17:55:42.990Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-02-15T17:55:43.030Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-02-15T17:55:43.069Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-02-15T17:55:43.106Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-02-15T17:55:43.146Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-02-15T17:55:43.184Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-02-15T17:55:43.220Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-414 [Pipeline] echo [2023-02-15T17:55:43.258Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-414 [Pipeline] echo [2023-02-15T17:55:43.297Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-414 [Pipeline] echo [2023-02-15T17:55:43.338Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 2629dc372e066b6c036fb6770d771e1fe4beb6c3 [Pipeline] echo [2023-02-15T17:55:43.380Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 2629dc3 [Pipeline] echo [2023-02-15T17:55:43.422Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-15T17:55:43.534Z] provisioning config files... [2023-02-15T17:55:43.554Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-414@tmp/config9347531617927390172tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-15T17:55:43.899Z] ---> docker-login.sh [2023-02-15T17:55:43.899Z] nexus3.edgexfoundry.org:10001 [2023-02-15T17:55:44.159Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T17:55:44.159Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T17:55:44.159Z] Configure a credential helper to remove this warning. See [2023-02-15T17:55:44.159Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T17:55:44.159Z] [2023-02-15T17:55:44.159Z] Login Succeeded [2023-02-15T17:55:44.159Z] nexus3.edgexfoundry.org:10002 [2023-02-15T17:55:44.159Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T17:55:44.419Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T17:55:44.419Z] Configure a credential helper to remove this warning. See [2023-02-15T17:55:44.419Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T17:55:44.419Z] [2023-02-15T17:55:44.419Z] Login Succeeded [2023-02-15T17:55:44.419Z] nexus3.edgexfoundry.org:10003 [2023-02-15T17:55:44.419Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T17:55:44.419Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T17:55:44.419Z] Configure a credential helper to remove this warning. See [2023-02-15T17:55:44.419Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T17:55:44.419Z] [2023-02-15T17:55:44.419Z] Login Succeeded [2023-02-15T17:55:44.419Z] nexus3.edgexfoundry.org:10004 [2023-02-15T17:55:44.419Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T17:55:44.680Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T17:55:44.680Z] Configure a credential helper to remove this warning. See [2023-02-15T17:55:44.680Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T17:55:44.680Z] [2023-02-15T17:55:44.680Z] Login Succeeded [2023-02-15T17:55:44.680Z] docker.io [2023-02-15T17:55:44.680Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T17:55:44.941Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T17:55:44.941Z] Configure a credential helper to remove this warning. See [2023-02-15T17:55:44.941Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T17:55:44.941Z] [2023-02-15T17:55:44.941Z] Login Succeeded [2023-02-15T17:55:44.941Z] ---> docker-login.sh ends [Pipeline] } [2023-02-15T17:55:44.969Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-02-15T17:55:45.591Z] + git rev-list -1 --merges 2629dc372e066b6c036fb6770d771e1fe4beb6c3~1..2629dc372e066b6c036fb6770d771e1fe4beb6c3 [Pipeline] echo [2023-02-15T17:55:45.659Z] -----------> git rev-list -1 --merges 2629dc372e066b6c036fb6770d771e1fe4beb6c3~1..2629dc372e066b6c036fb6770d771e1fe4beb6c3 2629dc372e066b6c036fb6770d771e1fe4beb6c3 [false] [Pipeline] sh [2023-02-15T17:55:45.990Z] + git log --format=format:%s -1 2629dc372e066b6c036fb6770d771e1fe4beb6c3 [Pipeline] echo [2023-02-15T17:55:46.036Z] ========================================================= [2023-02-15T17:55:46.036Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-02-15T17:55:46.036Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-15T17:55:46.479Z] + git log --format=format:%s -1 2629dc372e066b6c036fb6770d771e1fe4beb6c3 [Pipeline] echo [2023-02-15T17:55:46.512Z] [semverPrep] GIT_COMMIT: 2629dc372e066b6c036fb6770d771e1fe4beb6c3, Commit Message: refactor!: Replace internal topics from config with new constants [Pipeline] echo [2023-02-15T17:55:46.540Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-02-15T17:55:46.941Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-02-15T17:55:46.941Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-02-15T17:55:46.941Z] + [ -e /tmp/ssh_known_hosts ] [2023-02-15T17:55:46.941Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-02-15T17:55:46.941Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-02-15T17:55:46.941Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-02-15T17:55:46.941Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T17:55:47.437Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-15T17:55:47.437Z] [2023-02-15T17:55:47.437Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T17:55:47.816Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-15T17:55:47.816Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-02-15T17:55:47.816Z] b85a868b505f: Pulling fs layer [2023-02-15T17:55:47.816Z] e2be974225ed: Pulling fs layer [2023-02-15T17:55:47.816Z] 339a4e72a1f5: Pulling fs layer [2023-02-15T17:55:47.816Z] 988bab9f4d93: Pulling fs layer [2023-02-15T17:55:47.816Z] 1469e6f7b9e6: Pulling fs layer [2023-02-15T17:55:47.816Z] eaf3925da568: Pulling fs layer [2023-02-15T17:55:47.816Z] bab4dde63d76: Pulling fs layer [2023-02-15T17:55:47.816Z] 988bab9f4d93: Waiting [2023-02-15T17:55:47.816Z] bde34c3a00c8: Pulling fs layer [2023-02-15T17:55:47.816Z] b352a97aabf1: Pulling fs layer [2023-02-15T17:55:47.816Z] 1469e6f7b9e6: Waiting [2023-02-15T17:55:47.816Z] eaf3925da568: Waiting [2023-02-15T17:55:47.816Z] bab4dde63d76: Waiting [2023-02-15T17:55:47.816Z] 4872d77fe225: Pulling fs layer [2023-02-15T17:55:47.816Z] 5851b861e8e6: Pulling fs layer [2023-02-15T17:55:47.816Z] b352a97aabf1: Waiting [2023-02-15T17:55:47.816Z] bde34c3a00c8: Waiting [2023-02-15T17:55:47.816Z] e2be974225ed: Download complete [2023-02-15T17:55:47.816Z] 988bab9f4d93: Verifying Checksum [2023-02-15T17:55:47.816Z] 988bab9f4d93: Download complete [2023-02-15T17:55:48.083Z] 1469e6f7b9e6: Verifying Checksum [2023-02-15T17:55:48.083Z] 1469e6f7b9e6: Download complete [2023-02-15T17:55:48.083Z] eaf3925da568: Verifying Checksum [2023-02-15T17:55:48.083Z] eaf3925da568: Download complete [2023-02-15T17:55:48.083Z] 339a4e72a1f5: Verifying Checksum [2023-02-15T17:55:48.083Z] 339a4e72a1f5: Download complete [2023-02-15T17:55:48.083Z] bde34c3a00c8: Verifying Checksum [2023-02-15T17:55:48.083Z] bde34c3a00c8: Download complete [2023-02-15T17:55:48.350Z] b352a97aabf1: Verifying Checksum [2023-02-15T17:55:48.350Z] b352a97aabf1: Download complete [2023-02-15T17:55:48.350Z] 4872d77fe225: Verifying Checksum [2023-02-15T17:55:48.350Z] 4872d77fe225: Download complete [2023-02-15T17:55:48.350Z] 5851b861e8e6: Download complete [2023-02-15T17:55:48.350Z] b85a868b505f: Verifying Checksum [2023-02-15T17:55:48.350Z] b85a868b505f: Download complete [2023-02-15T17:55:48.922Z] bab4dde63d76: Verifying Checksum [2023-02-15T17:55:48.922Z] bab4dde63d76: Download complete [2023-02-15T17:55:49.860Z] b85a868b505f: Pull complete [2023-02-15T17:55:49.860Z] e2be974225ed: Pull complete [2023-02-15T17:55:50.429Z] 339a4e72a1f5: Pull complete [2023-02-15T17:55:50.429Z] 988bab9f4d93: Pull complete [2023-02-15T17:55:50.689Z] 1469e6f7b9e6: Pull complete [2023-02-15T17:55:50.689Z] eaf3925da568: Pull complete [2023-02-15T17:55:52.596Z] bab4dde63d76: Pull complete [2023-02-15T17:55:52.596Z] bde34c3a00c8: Pull complete [2023-02-15T17:55:52.596Z] b352a97aabf1: Pull complete [2023-02-15T17:55:52.596Z] 4872d77fe225: Pull complete [2023-02-15T17:55:52.596Z] 5851b861e8e6: Pull complete [2023-02-15T17:55:52.596Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-02-15T17:55:52.596Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-15T17:55:52.596Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-15T17:55:52.819Z] prd-ubuntu20.04-docker-8c-8g-6156 does not seem to be running inside a container [2023-02-15T17:55:52.854Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-414 -v /w/workspace/xfoundry_device-modbus-go_PR-414:/w/workspace/xfoundry_device-modbus-go_PR-414:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-414@tmp:/w/workspace/xfoundry_device-modbus-go_PR-414@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-devops/py-git-semver:0.1.4 cat [2023-02-15T17:55:55.142Z] $ docker top 480b451143e1985fa11619a884b0b2dcf965b33de6cf69e6d8c453aed3d63375 -eo pid,comm [2023-02-15T17:55:55.199Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-02-15T17:55:55.199Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-02-15T17:55:55.322Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-15T17:55:55.322Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-15T17:55:55.429Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-15T17:55:55.431Z] $ docker exec 480b451143e1985fa11619a884b0b2dcf965b33de6cf69e6d8c453aed3d63375 ssh-agent [2023-02-15T17:55:55.557Z] SSH_AUTH_SOCK=/tmp/ssh-2vrADH25H5Vh/agent.32 [2023-02-15T17:55:55.557Z] SSH_AGENT_PID=38 [2023-02-15T17:55:55.564Z] Running ssh-add (command line suppressed) [2023-02-15T17:55:55.658Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-414@tmp/private_key_14347583392955498335.key (/w/workspace/xfoundry_device-modbus-go_PR-414@tmp/private_key_14347583392955498335.key) [2023-02-15T17:55:55.672Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-15T17:55:56.002Z] + git tag --points-at HEAD [Pipeline] } [2023-02-15T17:55:56.026Z] $ docker exec --env ******** --env ******** 480b451143e1985fa11619a884b0b2dcf965b33de6cf69e6d8c453aed3d63375 ssh-agent -k [2023-02-15T17:55:56.130Z] unset SSH_AUTH_SOCK; [2023-02-15T17:55:56.131Z] unset SSH_AGENT_PID; [2023-02-15T17:55:56.131Z] echo Agent pid 38 killed; [2023-02-15T17:55:56.141Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-02-15T17:55:56.240Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-15T17:55:56.240Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-15T17:55:56.352Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-15T17:55:56.354Z] $ docker exec 480b451143e1985fa11619a884b0b2dcf965b33de6cf69e6d8c453aed3d63375 ssh-agent [2023-02-15T17:55:56.457Z] SSH_AUTH_SOCK=/tmp/ssh-nvH8ee8EyXkS/agent.70 [2023-02-15T17:55:56.457Z] SSH_AGENT_PID=76 [2023-02-15T17:55:56.462Z] Running ssh-add (command line suppressed) [2023-02-15T17:55:56.575Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-414@tmp/private_key_2320375970169198012.key (/w/workspace/xfoundry_device-modbus-go_PR-414@tmp/private_key_2320375970169198012.key) [2023-02-15T17:55:56.590Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-15T17:55:56.923Z] + git semver init [2023-02-15T17:55:57.183Z] 2023-02-15 17:55:57,105 [run_init] DEBUG init version:0.0.0 force:False [2023-02-15T17:55:57.183Z] 2023-02-15 17:55:57,105 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-modbus-go_PR-414/.semver [2023-02-15T17:55:57.183Z] 2023-02-15 17:55:57,106 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/xfoundry_device-modbus-go_PR-414/.semver [2023-02-15T17:55:57.183Z] 2023-02-15 17:55:57,106 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/xfoundry_device-modbus-go_PR-414/.semver'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-414, universal_newlines=False, shell=None, istream=None) [2023-02-15T17:55:58.124Z] 2023-02-15 17:55:58,066 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-modbus-go_PR-414/.git/info/exclude [2023-02-15T17:55:58.124Z] 2023-02-15 17:55:58,067 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-modbus-go_PR-414/.semver/PR-414 with force:False [2023-02-15T17:55:58.124Z] 2023-02-15 17:55:58,067 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-modbus-go_PR-414/.semver/PR-414 [2023-02-15T17:55:58.124Z] 2023-02-15 17:55:58,070 [execute] INFO git cat-file --batch-check [2023-02-15T17:55:58.124Z] 2023-02-15 17:55:58,070 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-414/.semver, universal_newlines=False, shell=None, istream=) [2023-02-15T17:55:58.124Z] 2023-02-15 17:55:58,077 [execute] INFO git cat-file --batch [2023-02-15T17:55:58.124Z] 2023-02-15 17:55:58,077 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-414/.semver, universal_newlines=False, shell=None, istream=) [2023-02-15T17:55:58.124Z] 2023-02-15 17:55:58,085 [read_version] DEBUG read version from /w/workspace/xfoundry_device-modbus-go_PR-414/.semver/PR-414 [2023-02-15T17:55:58.124Z] 0.0.0 [Pipeline] } [2023-02-15T17:55:58.150Z] $ docker exec --env ******** --env ******** 480b451143e1985fa11619a884b0b2dcf965b33de6cf69e6d8c453aed3d63375 ssh-agent -k [2023-02-15T17:55:58.252Z] unset SSH_AUTH_SOCK; [2023-02-15T17:55:58.252Z] unset SSH_AGENT_PID; [2023-02-15T17:55:58.253Z] echo Agent pid 76 killed; [2023-02-15T17:55:58.263Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-02-15T17:55:58.677Z] + git semver [Pipeline] } [2023-02-15T17:55:58.958Z] $ docker stop --time=1 480b451143e1985fa11619a884b0b2dcf965b33de6cf69e6d8c453aed3d63375 [2023-02-15T17:56:00.236Z] $ docker rm -f --volumes 480b451143e1985fa11619a884b0b2dcf965b33de6cf69e6d8c453aed3d63375 [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-15T17:56:00.688Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-02-15T17:56:00.941Z] Stashed 1 file(s) [Pipeline] echo [2023-02-15T17:56:00.974Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-15T17:56:01.694Z] provisioning config files... [2023-02-15T17:56:01.703Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-414@tmp/config1299887000706380200tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-15T17:56:02.050Z] ---> docker-login.sh [2023-02-15T17:56:02.050Z] nexus3.edgexfoundry.org:10001 [2023-02-15T17:56:02.050Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T17:56:02.050Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T17:56:02.050Z] Configure a credential helper to remove this warning. See [2023-02-15T17:56:02.050Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T17:56:02.050Z] [2023-02-15T17:56:02.050Z] Login Succeeded [2023-02-15T17:56:02.050Z] nexus3.edgexfoundry.org:10002 [2023-02-15T17:56:02.050Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T17:56:02.050Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T17:56:02.050Z] Configure a credential helper to remove this warning. See [2023-02-15T17:56:02.050Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T17:56:02.050Z] [2023-02-15T17:56:02.050Z] Login Succeeded [2023-02-15T17:56:02.050Z] nexus3.edgexfoundry.org:10003 [2023-02-15T17:56:02.309Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T17:56:02.309Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T17:56:02.309Z] Configure a credential helper to remove this warning. See [2023-02-15T17:56:02.309Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T17:56:02.309Z] [2023-02-15T17:56:02.309Z] Login Succeeded [2023-02-15T17:56:02.309Z] nexus3.edgexfoundry.org:10004 [2023-02-15T17:56:02.309Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T17:56:02.309Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T17:56:02.309Z] Configure a credential helper to remove this warning. See [2023-02-15T17:56:02.309Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T17:56:02.309Z] [2023-02-15T17:56:02.309Z] Login Succeeded [2023-02-15T17:56:02.309Z] docker.io [2023-02-15T17:56:02.568Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T17:56:02.828Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T17:56:02.828Z] Configure a credential helper to remove this warning. See [2023-02-15T17:56:02.828Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T17:56:02.828Z] [2023-02-15T17:56:02.828Z] Login Succeeded [2023-02-15T17:56:02.828Z] ---> docker-login.sh ends [Pipeline] } [2023-02-15T17:56:02.858Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-02-15T17:56:03.119Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-15T17:56:03.159Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-15T17:56:03.188Z] ========================================================= [2023-02-15T17:56:03.188Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-02-15T17:56:03.188Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T17:56:03.658Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-02-15T17:56:03.658Z] Sending build context to Docker daemon 6.383MB [2023-02-15T17:56:03.658Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2023-02-15T17:56:03.658Z] Step 2/10 : FROM ${BASE} AS builder [2023-02-15T17:56:03.658Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-02-15T17:56:03.658Z] 213ec9aee27d: Pulling fs layer [2023-02-15T17:56:03.658Z] 4583459ba037: Pulling fs layer [2023-02-15T17:56:03.658Z] 93c1e223e6f2: Pulling fs layer [2023-02-15T17:56:03.658Z] 53926ce57604: Pulling fs layer [2023-02-15T17:56:03.658Z] 21b2b0c7a3f4: Pulling fs layer [2023-02-15T17:56:03.658Z] 22ff95d597cd: Pulling fs layer [2023-02-15T17:56:03.658Z] 12d6caf4c0d1: Pulling fs layer [2023-02-15T17:56:03.658Z] 96b7cbca73a9: Pulling fs layer [2023-02-15T17:56:03.658Z] a7acece74701: Pulling fs layer [2023-02-15T17:56:03.658Z] 96b7cbca73a9: Waiting [2023-02-15T17:56:03.658Z] 12d6caf4c0d1: Waiting [2023-02-15T17:56:03.658Z] 53926ce57604: Waiting [2023-02-15T17:56:03.658Z] 21b2b0c7a3f4: Waiting [2023-02-15T17:56:03.658Z] 22ff95d597cd: Waiting [2023-02-15T17:56:03.658Z] a7acece74701: Waiting [2023-02-15T17:56:03.658Z] 93c1e223e6f2: Download complete [2023-02-15T17:56:03.920Z] 4583459ba037: Verifying Checksum [2023-02-15T17:56:03.920Z] 4583459ba037: Download complete [2023-02-15T17:56:03.920Z] 21b2b0c7a3f4: Verifying Checksum [2023-02-15T17:56:03.920Z] 21b2b0c7a3f4: Download complete [2023-02-15T17:56:03.920Z] 22ff95d597cd: Verifying Checksum [2023-02-15T17:56:03.920Z] 22ff95d597cd: Download complete [2023-02-15T17:56:03.920Z] 213ec9aee27d: Verifying Checksum [2023-02-15T17:56:03.920Z] 213ec9aee27d: Download complete [2023-02-15T17:56:03.920Z] 12d6caf4c0d1: Download complete [2023-02-15T17:56:03.920Z] 213ec9aee27d: Pull complete [2023-02-15T17:56:04.187Z] 4583459ba037: Pull complete [2023-02-15T17:56:04.187Z] 93c1e223e6f2: Pull complete [2023-02-15T17:56:04.802Z] a7acece74701: Verifying Checksum [2023-02-15T17:56:04.802Z] a7acece74701: Download complete [2023-02-15T17:56:05.401Z] 53926ce57604: Verifying Checksum [2023-02-15T17:56:05.402Z] 53926ce57604: Download complete [2023-02-15T17:56:05.402Z] 96b7cbca73a9: Verifying Checksum [2023-02-15T17:56:05.402Z] 96b7cbca73a9: Download complete [2023-02-15T17:56:09.611Z] 53926ce57604: Pull complete [2023-02-15T17:56:09.611Z] 21b2b0c7a3f4: Pull complete [2023-02-15T17:56:09.611Z] 22ff95d597cd: Pull complete [2023-02-15T17:56:09.611Z] 12d6caf4c0d1: Pull complete [2023-02-15T17:56:11.518Z] 96b7cbca73a9: Pull complete [2023-02-15T17:56:12.454Z] a7acece74701: Pull complete [2023-02-15T17:56:12.454Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-02-15T17:56:12.454Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-02-15T17:56:12.454Z] ---> db6d94c90886 [2023-02-15T17:56:12.454Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2023-02-15T17:56:16.517Z] Still waiting to schedule task [2023-02-15T17:56:16.517Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-6155’ [2023-02-15T17:56:20.614Z] ---> Running in 001d5c135979 [2023-02-15T17:56:20.614Z] Removing intermediate container 001d5c135979 [2023-02-15T17:56:20.614Z] ---> 7c0c1e85b044 [2023-02-15T17:56:20.614Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-15T17:56:20.614Z] ---> Running in 1a664aa4dced [2023-02-15T17:56:20.614Z] Removing intermediate container 1a664aa4dced [2023-02-15T17:56:20.614Z] ---> a84a8c93ba86 [2023-02-15T17:56:20.614Z] Step 5/10 : RUN apk add --update --no-cache make git openssh [2023-02-15T17:56:20.614Z] ---> Running in 7a198d5c2679 [2023-02-15T17:56:20.614Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-15T17:56:20.614Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-15T17:56:20.614Z] (1/8) Installing openssh-keygen (9.0_p1-r2) [2023-02-15T17:56:20.614Z] (2/8) Installing libedit (20210910.3.1-r0) [2023-02-15T17:56:20.614Z] (3/8) Installing openssh-client-common (9.0_p1-r2) [2023-02-15T17:56:20.614Z] (4/8) Installing openssh-client-default (9.0_p1-r2) [2023-02-15T17:56:20.874Z] (5/8) Installing openssh-sftp-server (9.0_p1-r2) [2023-02-15T17:56:20.874Z] (6/8) Installing openssh-server-common (9.0_p1-r2) [2023-02-15T17:56:20.874Z] (7/8) Installing openssh-server (9.0_p1-r2) [2023-02-15T17:56:20.874Z] (8/8) Installing openssh (9.0_p1-r2) [2023-02-15T17:56:20.874Z] Executing busybox-1.35.0-r17.trigger [2023-02-15T17:56:20.874Z] OK: 217 MiB in 59 packages [2023-02-15T17:56:21.443Z] Removing intermediate container 7a198d5c2679 [2023-02-15T17:56:21.443Z] ---> 2bb976e816d1 [2023-02-15T17:56:21.443Z] Step 6/10 : WORKDIR /device-modbus-go [2023-02-15T17:56:21.443Z] ---> Running in 6bc5e006a8c9 [2023-02-15T17:56:21.443Z] Removing intermediate container 6bc5e006a8c9 [2023-02-15T17:56:21.443Z] ---> 5b0bf15b4843 [2023-02-15T17:56:21.443Z] Step 7/10 : COPY go.mod vendor* ./ [2023-02-15T17:56:21.443Z] ---> 9f1bac861cfe [2023-02-15T17:56:21.443Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-15T17:56:21.443Z] ---> Running in 158764a1d43d [2023-02-15T17:57:08.231Z] Removing intermediate container 158764a1d43d [2023-02-15T17:57:08.231Z] ---> 3da780c33a89 [2023-02-15T17:57:08.231Z] Step 9/10 : COPY . . [2023-02-15T17:57:08.231Z] ---> cdc07598f323 [2023-02-15T17:57:08.231Z] Step 10/10 : RUN ${MAKE} [2023-02-15T17:57:08.231Z] ---> Running in 55be38bada2e [2023-02-15T17:57:08.231Z] noop [2023-02-15T17:57:08.231Z] Removing intermediate container 55be38bada2e [2023-02-15T17:57:08.231Z] ---> de2a90d3a501 [2023-02-15T17:57:08.231Z] Successfully built de2a90d3a501 [2023-02-15T17:57:08.231Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T17:57:08.675Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-15T17:57:08.676Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-15T17:57:08.821Z] prd-ubuntu20.04-docker-8c-8g-6156 does not seem to be running inside a container [2023-02-15T17:57:08.855Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-414 -v /w/workspace/xfoundry_device-modbus-go_PR-414:/w/workspace/xfoundry_device-modbus-go_PR-414:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-414@tmp:/w/workspace/xfoundry_device-modbus-go_PR-414@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-02-15T17:57:09.226Z] $ docker top 1320f5ccae106831ecc8518e79c71e0dcd65c15e6b3fa5da2340353149012a6d -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-15T17:57:09.614Z] + go version [2023-02-15T17:57:09.614Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-02-15T17:57:09.643Z] $ docker stop --time=1 1320f5ccae106831ecc8518e79c71e0dcd65c15e6b3fa5da2340353149012a6d [2023-02-15T17:57:10.876Z] $ docker rm -f --volumes 1320f5ccae106831ecc8518e79c71e0dcd65c15e6b3fa5da2340353149012a6d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T17:57:11.568Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-15T17:57:11.568Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-15T17:57:11.732Z] prd-ubuntu20.04-docker-8c-8g-6156 does not seem to be running inside a container [2023-02-15T17:57:11.767Z] $ 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-414 -v /w/workspace/xfoundry_device-modbus-go_PR-414:/w/workspace/xfoundry_device-modbus-go_PR-414:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-414@tmp:/w/workspace/xfoundry_device-modbus-go_PR-414@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-02-15T17:57:12.120Z] $ docker top b4e79ea6be56ca9a07060220c88ba631e266e598743f050ffc9269dcb58884bb -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-15T17:57:12.516Z] + git config --global --add safe.directory /w/workspace/xfoundry_device-modbus-go_PR-414 [Pipeline] fileExists [Pipeline] sh [2023-02-15T17:57:12.875Z] + make test [2023-02-15T17:57:12.875Z] go test ./... -coverprofile=coverage.out [2023-02-15T17:57:13.134Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2023-02-15T17:57:23.100Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2023-02-15T17:57:23.100Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.013s coverage: 47.7% of statements [2023-02-15T17:57:28.364Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2023-02-15T17:57:28.364Z] go vet ./... [2023-02-15T17:57:31.676Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-02-15T17:57:31.676Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-02-15T17:57:31.676Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-02-15T17:57:31.712Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-02-15T17:57:31.738Z] $ docker stop --time=1 b4e79ea6be56ca9a07060220c88ba631e266e598743f050ffc9269dcb58884bb [2023-02-15T17:57:34.990Z] $ docker rm -f --volumes b4e79ea6be56ca9a07060220c88ba631e266e598743f050ffc9269dcb58884bb [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-15T17:57:35.482Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-02-15T17:57:35.550Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-02-15T17:57:36.242Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-02-15T17:57:36.558Z] + ls -al . [2023-02-15T17:57:36.558Z] total 184 [2023-02-15T17:57:36.558Z] drwxrwxr-x 10 jenkins jenkins 4096 Feb 15 17:57 . [2023-02-15T17:57:36.558Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 15 17:55 .. [2023-02-15T17:57:36.558Z] -rw-rw-r-- 1 jenkins jenkins 140 Feb 15 17:55 .dockerignore [2023-02-15T17:57:36.558Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 15 17:57 .git [2023-02-15T17:57:36.558Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 15 17:55 .github [2023-02-15T17:57:36.558Z] -rw-rw-r-- 1 jenkins jenkins 331 Feb 15 17:55 .gitignore [2023-02-15T17:57:36.558Z] -rw-rw-r-- 1 jenkins jenkins 41 Feb 15 17:55 .golangci.yml [2023-02-15T17:57:36.558Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 15 17:55 .semver [2023-02-15T17:57:36.558Z] -rw-rw-r-- 1 jenkins jenkins 10236 Feb 15 17:55 Attribution.txt [2023-02-15T17:57:36.558Z] -rw-rw-r-- 1 jenkins jenkins 11576 Feb 15 17:55 CHANGELOG.md [2023-02-15T17:57:36.558Z] -rw-rw-r-- 1 jenkins jenkins 1365 Feb 15 17:55 Dockerfile [2023-02-15T17:57:36.558Z] -rw-rw-r-- 1 jenkins jenkins 677 Feb 15 17:55 GOVERNANCE.md [2023-02-15T17:57:36.558Z] -rw-rw-r-- 1 jenkins jenkins 680 Feb 15 17:55 Jenkinsfile [2023-02-15T17:57:36.558Z] -rw-rw-r-- 1 jenkins jenkins 11340 Feb 15 17:55 LICENSE [2023-02-15T17:57:36.558Z] -rw-rw-r-- 1 jenkins jenkins 1670 Feb 15 17:55 Makefile [2023-02-15T17:57:36.558Z] -rw-rw-r-- 1 jenkins jenkins 622 Feb 15 17:55 OWNERS.md [2023-02-15T17:57:36.558Z] -rw-rw-r-- 1 jenkins jenkins 4061 Feb 15 17:55 README.md [2023-02-15T17:57:36.558Z] -rw-rw-r-- 1 jenkins jenkins 5 Feb 15 17:56 VERSION [2023-02-15T17:57:36.558Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 15 17:55 bin [2023-02-15T17:57:36.558Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 15 17:55 cmd [2023-02-15T17:57:36.558Z] -rw-r--r-- 1 jenkins jenkins 23241 Feb 15 17:57 coverage.out [2023-02-15T17:57:36.558Z] -rw-rw-r-- 1 jenkins jenkins 3496 Feb 15 17:55 go.mod [2023-02-15T17:57:36.558Z] -rw-rw-r-- 1 jenkins jenkins 33621 Feb 15 17:55 go.sum [2023-02-15T17:57:36.558Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 15 17:55 internal [2023-02-15T17:57:36.558Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 15 17:55 simulator [2023-02-15T17:57:36.558Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 15 17:55 snap [2023-02-15T17:57:36.558Z] -rw-rw-r-- 1 jenkins jenkins 229 Feb 15 17:55 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T17:57:36.957Z] + 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=2629dc372e066b6c036fb6770d771e1fe4beb6c3 --label arch=amd64 --label version=0.0.0 . [2023-02-15T17:57:36.957Z] Sending build context to Docker daemon 6.407MB [2023-02-15T17:57:36.957Z] Step 1/22 : ARG BASE=golang:1.18-alpine3.16 [2023-02-15T17:57:36.957Z] Step 2/22 : FROM ${BASE} AS builder [2023-02-15T17:57:36.957Z] ---> de2a90d3a501 [2023-02-15T17:57:36.957Z] Step 3/22 : ARG ADD_BUILD_TAGS="" [2023-02-15T17:57:37.526Z] ---> Running in 032eb380688d [2023-02-15T17:57:37.526Z] Removing intermediate container 032eb380688d [2023-02-15T17:57:37.526Z] ---> 89262b59de95 [2023-02-15T17:57:37.526Z] Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-15T17:57:37.526Z] ---> Running in 4a00c8587177 [2023-02-15T17:57:37.785Z] Removing intermediate container 4a00c8587177 [2023-02-15T17:57:37.785Z] ---> 978c76ec5c9f [2023-02-15T17:57:37.785Z] Step 5/22 : RUN apk add --update --no-cache make git openssh [2023-02-15T17:57:38.045Z] ---> Running in e60535e8ce12 [2023-02-15T17:57:38.980Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-15T17:57:39.239Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-15T17:57:39.501Z] OK: 217 MiB in 59 packages [2023-02-15T17:57:39.761Z] Removing intermediate container e60535e8ce12 [2023-02-15T17:57:39.761Z] ---> a35289598b4c [2023-02-15T17:57:39.761Z] Step 6/22 : WORKDIR /device-modbus-go [2023-02-15T17:57:39.761Z] ---> Running in 48a3410f506f [2023-02-15T17:57:39.761Z] Removing intermediate container 48a3410f506f [2023-02-15T17:57:39.761Z] ---> 93b53c50f309 [2023-02-15T17:57:39.761Z] Step 7/22 : COPY go.mod vendor* ./ [2023-02-15T17:57:40.027Z] ---> 4c07ed4e0a5e [2023-02-15T17:57:40.027Z] Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-15T17:57:40.027Z] ---> Running in fbf1468a7f1c [2023-02-15T17:57:41.068Z] Removing intermediate container fbf1468a7f1c [2023-02-15T17:57:41.069Z] ---> 708358d9a321 [2023-02-15T17:57:41.069Z] Step 9/22 : COPY . . [2023-02-15T17:57:41.327Z] ---> ac8ba2915dfe [2023-02-15T17:57:41.327Z] Step 10/22 : RUN ${MAKE} [2023-02-15T17:57:41.328Z] ---> Running in c926a32cc0e7 [2023-02-15T17:57:41.588Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-modbus ./cmd [2023-02-15T17:58:08.176Z] Removing intermediate container c926a32cc0e7 [2023-02-15T17:58:08.176Z] ---> 5af0bcaf74be [2023-02-15T17:58:08.176Z] Step 11/22 : FROM alpine:3.14 [2023-02-15T17:58:08.742Z] 3.14: Pulling from library/alpine [2023-02-15T17:58:09.308Z] d261077062b2: Pulling fs layer [2023-02-15T17:58:09.308Z] d261077062b2: Verifying Checksum [2023-02-15T17:58:09.308Z] d261077062b2: Download complete [2023-02-15T17:58:09.875Z] d261077062b2: Pull complete [2023-02-15T17:58:09.875Z] Digest: sha256:560e7a4fa5c891d1830f5591c80b8e472fa6cd386b7254cdf65ccc3249292a34 [2023-02-15T17:58:09.875Z] Status: Downloaded newer image for alpine:3.14 [2023-02-15T17:58:09.875Z] ---> 6dff1269bc79 [2023-02-15T17:58:09.875Z] Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2023-02-15T17:58:10.481Z] ---> Running in 94dcdea3a78d [2023-02-15T17:58:10.750Z] Removing intermediate container 94dcdea3a78d [2023-02-15T17:58:10.750Z] ---> c01224ac3f65 [2023-02-15T17:58:10.750Z] Step 13/22 : RUN apk add --update --no-cache dumb-init [2023-02-15T17:58:11.009Z] ---> Running in f045c07129b3 [2023-02-15T17:58:11.576Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2023-02-15T17:58:11.576Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2023-02-15T17:58:11.576Z] (1/1) Installing dumb-init (1.2.5-r1) [2023-02-15T17:58:11.835Z] Executing busybox-1.33.1-r8.trigger [2023-02-15T17:58:11.835Z] OK: 6 MiB in 15 packages [2023-02-15T17:58:12.782Z] Removing intermediate container f045c07129b3 [2023-02-15T17:58:12.782Z] ---> 8039f82dbe4f [2023-02-15T17:58:12.782Z] Step 14/22 : COPY --from=builder /device-modbus-go/cmd / [2023-02-15T17:58:13.719Z] ---> 4733672ce851 [2023-02-15T17:58:13.719Z] Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / [2023-02-15T17:58:13.978Z] ---> 01a9d7a0d912 [2023-02-15T17:58:13.978Z] Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / [2023-02-15T17:58:14.236Z] ---> 9d40e2580292 [2023-02-15T17:58:14.236Z] Step 17/22 : EXPOSE 59901 [2023-02-15T17:58:14.236Z] ---> Running in 4dc3fd8bc061 [2023-02-15T17:58:14.495Z] Removing intermediate container 4dc3fd8bc061 [2023-02-15T17:58:14.495Z] ---> 9f12b258ab4e [2023-02-15T17:58:14.495Z] Step 18/22 : ENTRYPOINT ["/device-modbus"] [2023-02-15T17:58:14.752Z] ---> Running in 558f05e45fa7 [2023-02-15T17:58:15.011Z] Removing intermediate container 558f05e45fa7 [2023-02-15T17:58:15.011Z] ---> 5f7827dd94d3 [2023-02-15T17:58:15.011Z] Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-02-15T17:58:15.269Z] ---> Running in 02a04b46e446 [2023-02-15T17:58:15.269Z] Removing intermediate container 02a04b46e446 [2023-02-15T17:58:15.269Z] ---> 266f2e409ec8 [2023-02-15T17:58:15.269Z] Step 20/22 : LABEL arch=amd64 [2023-02-15T17:58:15.527Z] ---> Running in 0cde6f69906c [2023-02-15T17:58:15.786Z] Removing intermediate container 0cde6f69906c [2023-02-15T17:58:15.786Z] ---> 0095c843b096 [2023-02-15T17:58:15.786Z] Step 21/22 : LABEL git_sha=2629dc372e066b6c036fb6770d771e1fe4beb6c3 [2023-02-15T17:58:15.786Z] ---> Running in 4bf7ce472e7c [2023-02-15T17:58:16.045Z] Removing intermediate container 4bf7ce472e7c [2023-02-15T17:58:16.045Z] ---> e343ffc7837d [2023-02-15T17:58:16.045Z] Step 22/22 : LABEL version=0.0.0 [2023-02-15T17:58:16.045Z] ---> Running in d7967cda86d0 [2023-02-15T17:58:16.045Z] Removing intermediate container d7967cda86d0 [2023-02-15T17:58:16.045Z] ---> 7f2a9b47fe82 [2023-02-15T17:58:16.045Z] [Warning] One or more build-args [ARCH] were not consumed [2023-02-15T17:58:16.045Z] Successfully built 7f2a9b47fe82 [2023-02-15T17:58:16.045Z] Successfully tagged device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T17:58:16.901Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-15T17:58:16.902Z] [2023-02-15T17:58:16.902Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T17:58:17.286Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-15T17:58:17.286Z] latest: Pulling from edgex-lftools-log-publisher [2023-02-15T17:58:17.286Z] 5eb5b503b376: Pulling fs layer [2023-02-15T17:58:17.286Z] 5c69ac0246d0: Pulling fs layer [2023-02-15T17:58:17.286Z] ec43610c2a17: Pulling fs layer [2023-02-15T17:58:17.286Z] 3a2ae6a8a46f: Pulling fs layer [2023-02-15T17:58:17.286Z] 33b1e0a273af: Pulling fs layer [2023-02-15T17:58:17.286Z] 5d3b04190fa2: Pulling fs layer [2023-02-15T17:58:17.286Z] 2f39f015ded8: Pulling fs layer [2023-02-15T17:58:17.286Z] 3a2ae6a8a46f: Waiting [2023-02-15T17:58:17.286Z] 5d3b04190fa2: Waiting [2023-02-15T17:58:17.286Z] 33b1e0a273af: Waiting [2023-02-15T17:58:17.286Z] 2f39f015ded8: Waiting [2023-02-15T17:58:17.286Z] 5c69ac0246d0: Verifying Checksum [2023-02-15T17:58:17.286Z] 5c69ac0246d0: Download complete [2023-02-15T17:58:17.286Z] 3a2ae6a8a46f: Verifying Checksum [2023-02-15T17:58:17.286Z] 3a2ae6a8a46f: Download complete [2023-02-15T17:58:17.558Z] 33b1e0a273af: Verifying Checksum [2023-02-15T17:58:17.558Z] 33b1e0a273af: Download complete [2023-02-15T17:58:17.558Z] 5d3b04190fa2: Download complete [2023-02-15T17:58:17.558Z] ec43610c2a17: Download complete [2023-02-15T17:58:17.828Z] 5eb5b503b376: Download complete [2023-02-15T17:58:18.416Z] 2f39f015ded8: Download complete [2023-02-15T17:58:18.982Z] 5eb5b503b376: Pull complete [2023-02-15T17:58:18.982Z] 5c69ac0246d0: Pull complete [2023-02-15T17:58:19.546Z] ec43610c2a17: Pull complete [2023-02-15T17:58:19.546Z] 3a2ae6a8a46f: Pull complete [2023-02-15T17:58:19.546Z] 33b1e0a273af: Pull complete [2023-02-15T17:58:19.804Z] 5d3b04190fa2: Pull complete [2023-02-15T17:58:23.983Z] 2f39f015ded8: Pull complete [2023-02-15T17:58:23.983Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-02-15T17:58:23.983Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-15T17:58:23.983Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-15T17:58:24.202Z] prd-ubuntu20.04-docker-8c-8g-6156 does not seem to be running inside a container [2023-02-15T17:58:24.229Z] $ 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-414 -v /w/workspace/xfoundry_device-modbus-go_PR-414:/w/workspace/xfoundry_device-modbus-go_PR-414:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-414@tmp:/w/workspace/xfoundry_device-modbus-go_PR-414@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-02-15T17:58:29.784Z] $ docker top eca4c55dcc6a21e257c968be603e92a80a3b91dc2fbf5dd71daaa85a9fdb4630 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-15T17:58:30.346Z] ---> job-cost.sh [2023-02-15T17:58:30.346Z] lf-activate-venv: SKIPPING [2023-02-15T17:58:30.346Z] INFO: No Stack... [2023-02-15T17:58:36.924Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-15T17:58:36.924Z] INFO: Archiving Costs [Pipeline] sh [2023-02-15T17:58:37.242Z] + cat /w/workspace/xfoundry_device-modbus-go_PR-414/archives/cost.csv [2023-02-15T17:58:37.242Z] + cut -d, -f6 [Pipeline] lock [2023-02-15T17:58:37.290Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-414-1-stack-cost] [2023-02-15T17:58:37.294Z] Resource [jenkins-edgexfoundry-device-modbus-go-PR-414-1-stack-cost] did not exist. Created. [2023-02-15T17:58:37.295Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-414-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-02-15T17:58:37.681Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-02-15T17:58:37.734Z] Stashed 1 file(s) [Pipeline] } [2023-02-15T17:58:37.771Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-414-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-02-15T17:58:37.835Z] $ docker stop --time=1 eca4c55dcc6a21e257c968be603e92a80a3b91dc2fbf5dd71daaa85a9fdb4630 [2023-02-15T17:58:38.979Z] $ docker rm -f --volumes eca4c55dcc6a21e257c968be603e92a80a3b91dc2fbf5dd71daaa85a9fdb4630 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-02-15T17:59:38.384Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-6157 in /w/workspace/xfoundry_device-modbus-go_PR-414 [Pipeline] { [Pipeline] ws [2023-02-15T17:59:38.442Z] Running in /w/workspace/device-modbus-go/1 [Pipeline] { [Pipeline] checkout [2023-02-15T17:59:38.519Z] Selected Git installation does not exist. Using Default [2023-02-15T17:59:38.519Z] The recommended git tool is: NONE [2023-02-15T17:59:44.154Z] using credential edgex-jenkins-ssh [2023-02-15T17:59:44.170Z] Cloning the remote Git repository [2023-02-15T17:59:44.224Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2023-02-15T17:59:44.309Z] > git init /w/workspace/device-modbus-go/1 # timeout=10 [2023-02-15T17:59:44.490Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2023-02-15T17:59:44.491Z] > git --version # timeout=10 [2023-02-15T17:59:44.512Z] > git --version # 'git version 2.25.1' [2023-02-15T17:59:44.514Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-15T17:59:44.586Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-15T17:59:47.742Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2023-02-15T17:59:47.764Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-15T17:59:49.392Z] Merging remotes/origin/main commit a7c1c71285625bfb1e0a432bdc9f3a4a8aef6f4f into PR head commit 2629dc372e066b6c036fb6770d771e1fe4beb6c3 [2023-02-15T17:59:49.626Z] Merge succeeded, producing 2629dc372e066b6c036fb6770d771e1fe4beb6c3 [2023-02-15T17:59:49.626Z] Checking out Revision 2629dc372e066b6c036fb6770d771e1fe4beb6c3 (PR-414) [2023-02-15T17:59:48.689Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2023-02-15T17:59:48.736Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2023-02-15T17:59:48.737Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-15T17:59:48.754Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/414/head:refs/remotes/origin/PR-414 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-02-15T17:59:49.413Z] > git config core.sparsecheckout # timeout=10 [2023-02-15T17:59:49.435Z] > git checkout -f 2629dc372e066b6c036fb6770d771e1fe4beb6c3 # timeout=10 [2023-02-15T17:59:49.518Z] > git remote # timeout=10 [2023-02-15T17:59:49.541Z] > git config --get remote.origin.url # timeout=10 [2023-02-15T17:59:49.561Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-15T17:59:49.576Z] > git merge a7c1c71285625bfb1e0a432bdc9f3a4a8aef6f4f # timeout=10 [2023-02-15T17:59:49.607Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-02-15T17:59:49.635Z] > git config core.sparsecheckout # timeout=10 [2023-02-15T17:59:49.649Z] > git checkout -f 2629dc372e066b6c036fb6770d771e1fe4beb6c3 # timeout=10 [2023-02-15T17:59:53.133Z] Commit message: "refactor!: Replace internal topics from config with new constants" [2023-02-15T17:59:53.193Z] > git --version # timeout=10 [2023-02-15T17:59:53.206Z] > git --version # 'git version 2.25.1' [2023-02-15T17:59:53.224Z] fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-15T17:59:54.432Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-02-15T17:59:54.432Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-15T17:59:54.432Z] Dload Upload Total Spent Left Speed [2023-02-15T17:59:54.432Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 98k 0 --:--:-- --:--:-- --:--:-- 98k [Pipeline] sh [2023-02-15T17:59:55.241Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-02-15T17:59:55.581Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-02-15T17:59:55.581Z] + sudo tee /etc/docker/daemon.new [2023-02-15T17:59:55.581Z] { [2023-02-15T17:59:55.581Z] "registry-mirrors": [ [2023-02-15T17:59:55.581Z] "https://nexus3.edgexfoundry.org:10001" [2023-02-15T17:59:55.581Z] ], [2023-02-15T17:59:55.581Z] "bip": "10.250.0.254/24", [2023-02-15T17:59:55.581Z] "hosts": [ [2023-02-15T17:59:55.581Z] "tcp://0.0.0.0:5555", [2023-02-15T17:59:55.581Z] "unix:///var/run/docker.sock" [2023-02-15T17:59:55.581Z] ], [2023-02-15T17:59:55.581Z] "mtu": 1458, [2023-02-15T17:59:55.581Z] "selinux-enabled": true, [2023-02-15T17:59:55.581Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-02-15T17:59:55.581Z] } [Pipeline] sh [2023-02-15T17:59:55.928Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-02-15T17:59:56.269Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-15T18:00:14.577Z] provisioning config files... [2023-02-15T18:00:14.605Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/1@tmp/config10945176427548157129tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-15T18:00:14.991Z] ---> docker-login.sh [2023-02-15T18:00:14.991Z] nexus3.edgexfoundry.org:10001 [2023-02-15T18:00:15.259Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T18:00:15.529Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T18:00:15.529Z] Configure a credential helper to remove this warning. See [2023-02-15T18:00:15.529Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T18:00:15.529Z] [2023-02-15T18:00:15.529Z] Login Succeeded [2023-02-15T18:00:15.529Z] nexus3.edgexfoundry.org:10002 [2023-02-15T18:00:15.797Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T18:00:15.797Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T18:00:15.797Z] Configure a credential helper to remove this warning. See [2023-02-15T18:00:15.797Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T18:00:15.797Z] [2023-02-15T18:00:15.797Z] Login Succeeded [2023-02-15T18:00:15.797Z] nexus3.edgexfoundry.org:10003 [2023-02-15T18:00:16.063Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T18:00:16.331Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T18:00:16.331Z] Configure a credential helper to remove this warning. See [2023-02-15T18:00:16.331Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T18:00:16.331Z] [2023-02-15T18:00:16.331Z] Login Succeeded [2023-02-15T18:00:16.331Z] nexus3.edgexfoundry.org:10004 [2023-02-15T18:00:16.601Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T18:00:16.601Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T18:00:16.601Z] Configure a credential helper to remove this warning. See [2023-02-15T18:00:16.601Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T18:00:16.601Z] [2023-02-15T18:00:16.601Z] Login Succeeded [2023-02-15T18:00:16.601Z] docker.io [2023-02-15T18:00:16.868Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T18:00:17.828Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T18:00:17.828Z] Configure a credential helper to remove this warning. See [2023-02-15T18:00:17.828Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T18:00:17.828Z] [2023-02-15T18:00:17.828Z] Login Succeeded [2023-02-15T18:00:17.828Z] ---> docker-login.sh ends [Pipeline] } [2023-02-15T18:00:17.858Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-02-15T18:00:18.214Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-15T18:00:18.254Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-15T18:00:18.286Z] ========================================================= [2023-02-15T18:00:18.286Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-02-15T18:00:18.286Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T18:00:18.784Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-02-15T18:00:19.067Z] Sending build context to Docker daemon 3.333MB [2023-02-15T18:00:19.067Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2023-02-15T18:00:19.067Z] Step 2/10 : FROM ${BASE} AS builder [2023-02-15T18:00:19.348Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-02-15T18:00:19.348Z] 9b18e9b68314: Pulling fs layer [2023-02-15T18:00:19.348Z] 35d82f9e3411: Pulling fs layer [2023-02-15T18:00:19.348Z] e16973657156: Pulling fs layer [2023-02-15T18:00:19.348Z] fc693d55d65f: Pulling fs layer [2023-02-15T18:00:19.348Z] 7e9fc2657dce: Pulling fs layer [2023-02-15T18:00:19.348Z] dda99020689f: Pulling fs layer [2023-02-15T18:00:19.348Z] db1c61fa0a46: Pulling fs layer [2023-02-15T18:00:19.348Z] 891c053d2c06: Pulling fs layer [2023-02-15T18:00:19.348Z] dda99020689f: Waiting [2023-02-15T18:00:19.348Z] fc693d55d65f: Waiting [2023-02-15T18:00:19.348Z] 7e9fc2657dce: Waiting [2023-02-15T18:00:19.348Z] db1c61fa0a46: Waiting [2023-02-15T18:00:19.348Z] 891c053d2c06: Waiting [2023-02-15T18:00:19.348Z] e16973657156: Verifying Checksum [2023-02-15T18:00:19.348Z] e16973657156: Download complete [2023-02-15T18:00:19.348Z] 35d82f9e3411: Verifying Checksum [2023-02-15T18:00:19.348Z] 35d82f9e3411: Download complete [2023-02-15T18:00:19.348Z] 7e9fc2657dce: Verifying Checksum [2023-02-15T18:00:19.348Z] 7e9fc2657dce: Download complete [2023-02-15T18:00:19.348Z] dda99020689f: Verifying Checksum [2023-02-15T18:00:19.348Z] dda99020689f: Download complete [2023-02-15T18:00:19.348Z] 9b18e9b68314: Download complete [2023-02-15T18:00:20.336Z] 9b18e9b68314: Pull complete [2023-02-15T18:00:20.336Z] 891c053d2c06: Verifying Checksum [2023-02-15T18:00:20.336Z] 891c053d2c06: Download complete [2023-02-15T18:00:20.930Z] 35d82f9e3411: Pull complete [2023-02-15T18:00:21.205Z] e16973657156: Pull complete [2023-02-15T18:00:21.476Z] db1c61fa0a46: Verifying Checksum [2023-02-15T18:00:21.476Z] db1c61fa0a46: Download complete [2023-02-15T18:00:22.070Z] fc693d55d65f: Verifying Checksum [2023-02-15T18:00:22.070Z] fc693d55d65f: Download complete [2023-02-15T18:00:34.901Z] fc693d55d65f: Pull complete [2023-02-15T18:00:34.901Z] 7e9fc2657dce: Pull complete [2023-02-15T18:00:34.901Z] dda99020689f: Pull complete [2023-02-15T18:00:40.253Z] db1c61fa0a46: Pull complete [2023-02-15T18:00:41.687Z] 891c053d2c06: Pull complete [2023-02-15T18:00:41.687Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-02-15T18:00:41.687Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-02-15T18:00:41.687Z] ---> f96f9c87975a [2023-02-15T18:00:41.687Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2023-02-15T18:00:43.629Z] ---> Running in 55cca884dd12 [2023-02-15T18:00:43.897Z] Removing intermediate container 55cca884dd12 [2023-02-15T18:00:43.897Z] ---> e92efa18a9f2 [2023-02-15T18:00:43.897Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-15T18:00:43.897Z] ---> Running in dbe3da8e850c [2023-02-15T18:00:44.166Z] Removing intermediate container dbe3da8e850c [2023-02-15T18:00:44.166Z] ---> 858061dfd86d [2023-02-15T18:00:44.166Z] Step 5/10 : RUN apk add --update --no-cache make git openssh [2023-02-15T18:00:44.432Z] ---> Running in 0dd04407e925 [2023-02-15T18:00:45.392Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-15T18:00:45.659Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-15T18:00:46.616Z] (1/8) Installing openssh-keygen (9.0_p1-r2) [2023-02-15T18:00:46.616Z] (2/8) Installing libedit (20210910.3.1-r0) [2023-02-15T18:00:46.616Z] (3/8) Installing openssh-client-common (9.0_p1-r2) [2023-02-15T18:00:46.885Z] (4/8) Installing openssh-client-default (9.0_p1-r2) [2023-02-15T18:00:46.885Z] (5/8) Installing openssh-sftp-server (9.0_p1-r2) [2023-02-15T18:00:46.885Z] (6/8) Installing openssh-server-common (9.0_p1-r2) [2023-02-15T18:00:46.885Z] (7/8) Installing openssh-server (9.0_p1-r2) [2023-02-15T18:00:46.885Z] (8/8) Installing openssh (9.0_p1-r2) [2023-02-15T18:00:46.885Z] Executing busybox-1.35.0-r17.trigger [2023-02-15T18:00:46.885Z] OK: 228 MiB in 59 packages [2023-02-15T18:00:47.845Z] Removing intermediate container 0dd04407e925 [2023-02-15T18:00:47.845Z] ---> 8fbaf75056d5 [2023-02-15T18:00:47.845Z] Step 6/10 : WORKDIR /device-modbus-go [2023-02-15T18:00:48.116Z] ---> Running in b3e8398898ba [2023-02-15T18:00:48.384Z] Removing intermediate container b3e8398898ba [2023-02-15T18:00:48.384Z] ---> fda07822aab5 [2023-02-15T18:00:48.384Z] Step 7/10 : COPY go.mod vendor* ./ [2023-02-15T18:00:48.968Z] ---> 2bc5c6d23fdc [2023-02-15T18:00:48.968Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-15T18:00:48.968Z] ---> Running in ef7301ebcd84 [2023-02-15T18:01:57.025Z] Removing intermediate container ef7301ebcd84 [2023-02-15T18:01:57.025Z] ---> cecf21e5fb8f [2023-02-15T18:01:57.025Z] Step 9/10 : COPY . . [2023-02-15T18:01:57.025Z] ---> 4f10491447e9 [2023-02-15T18:01:57.025Z] Step 10/10 : RUN ${MAKE} [2023-02-15T18:01:57.025Z] ---> Running in 1d3b37c26c83 [2023-02-15T18:01:57.025Z] noop [2023-02-15T18:01:57.619Z] Removing intermediate container 1d3b37c26c83 [2023-02-15T18:01:57.619Z] ---> 7459a3b2fa63 [2023-02-15T18:01:57.619Z] Successfully built 7459a3b2fa63 [2023-02-15T18:01:57.619Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T18:01:58.082Z] + docker inspect -f . ci-base-image-arm64 [2023-02-15T18:01:58.082Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-15T18:01:58.332Z] prd-ubuntu20.04-docker-arm64-4c-16g-6157 does not seem to be running inside a container [2023-02-15T18:01:58.390Z] $ 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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-02-15T18:01:59.493Z] $ docker top 135ca3498c7dbb105be3221a34218bd806a7d9014f48b0be0dc623a20fc0bd3f -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-15T18:02:00.355Z] + go version [2023-02-15T18:02:00.356Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-02-15T18:02:00.388Z] $ docker stop --time=1 135ca3498c7dbb105be3221a34218bd806a7d9014f48b0be0dc623a20fc0bd3f [2023-02-15T18:02:01.995Z] $ docker rm -f --volumes 135ca3498c7dbb105be3221a34218bd806a7d9014f48b0be0dc623a20fc0bd3f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T18:02:02.819Z] + docker inspect -f . ci-base-image-arm64 [2023-02-15T18:02:02.819Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-15T18:02:03.074Z] prd-ubuntu20.04-docker-arm64-4c-16g-6157 does not seem to be running inside a container [2023-02-15T18:02:03.141Z] $ 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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-02-15T18:02:04.258Z] $ docker top a8adcc74c4ec07313b046c6a2b48e4789d29b6f6ea2e0a93c63bb8c17df7069c -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-15T18:02:04.807Z] + git config --global --add safe.directory /w/workspace/device-modbus-go/1 [Pipeline] fileExists [Pipeline] sh [2023-02-15T18:02:05.191Z] + make test [2023-02-15T18:02:05.191Z] go test ./... -coverprofile=coverage.out [2023-02-15T18:02:07.138Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2023-02-15T18:03:28.811Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2023-02-15T18:03:28.811Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.058s coverage: 47.7% of statements [2023-02-15T18:03:28.811Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-02-15T18:03:28.811Z] go vet ./... [2023-02-15T18:03:43.795Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-02-15T18:03:43.795Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-02-15T18:03:43.795Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-02-15T18:03:43.834Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-02-15T18:03:43.865Z] $ docker stop --time=1 a8adcc74c4ec07313b046c6a2b48e4789d29b6f6ea2e0a93c63bb8c17df7069c [2023-02-15T18:03:45.582Z] $ docker rm -f --volumes a8adcc74c4ec07313b046c6a2b48e4789d29b6f6ea2e0a93c63bb8c17df7069c [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-15T18:03:46.517Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-02-15T18:03:46.552Z] Warning: overwriting stash ‘coverage-report’ [2023-02-15T18:03:46.977Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-15T18:03:47.582Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-02-15T18:03:47.919Z] + ls -al . [2023-02-15T18:03:47.919Z] total 180 [2023-02-15T18:03:47.919Z] drwxrwxr-x 9 jenkins jenkins 4096 Feb 15 18:02 . [2023-02-15T18:03:47.919Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 15 17:59 .. [2023-02-15T18:03:47.919Z] -rw-rw-r-- 1 jenkins jenkins 140 Feb 15 17:59 .dockerignore [2023-02-15T18:03:47.919Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 15 17:59 .git [2023-02-15T18:03:47.919Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 15 17:59 .github [2023-02-15T18:03:47.919Z] -rw-rw-r-- 1 jenkins jenkins 331 Feb 15 17:59 .gitignore [2023-02-15T18:03:47.919Z] -rw-rw-r-- 1 jenkins jenkins 41 Feb 15 17:59 .golangci.yml [2023-02-15T18:03:47.919Z] -rw-rw-r-- 1 jenkins jenkins 10236 Feb 15 17:59 Attribution.txt [2023-02-15T18:03:47.919Z] -rw-rw-r-- 1 jenkins jenkins 11576 Feb 15 17:59 CHANGELOG.md [2023-02-15T18:03:47.919Z] -rw-rw-r-- 1 jenkins jenkins 1365 Feb 15 17:59 Dockerfile [2023-02-15T18:03:47.919Z] -rw-rw-r-- 1 jenkins jenkins 677 Feb 15 17:59 GOVERNANCE.md [2023-02-15T18:03:47.919Z] -rw-rw-r-- 1 jenkins jenkins 680 Feb 15 17:59 Jenkinsfile [2023-02-15T18:03:47.919Z] -rw-rw-r-- 1 jenkins jenkins 11340 Feb 15 17:59 LICENSE [2023-02-15T18:03:47.919Z] -rw-rw-r-- 1 jenkins jenkins 1670 Feb 15 17:59 Makefile [2023-02-15T18:03:47.919Z] -rw-rw-r-- 1 jenkins jenkins 622 Feb 15 17:59 OWNERS.md [2023-02-15T18:03:47.919Z] -rw-rw-r-- 1 jenkins jenkins 4061 Feb 15 17:59 README.md [2023-02-15T18:03:47.919Z] -rw-rw-r-- 1 jenkins jenkins 5 Feb 15 17:56 VERSION [2023-02-15T18:03:47.919Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 15 17:59 bin [2023-02-15T18:03:47.919Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 15 17:59 cmd [2023-02-15T18:03:47.919Z] -rw-r--r-- 1 jenkins jenkins 23241 Feb 15 18:03 coverage.out [2023-02-15T18:03:47.919Z] -rw-rw-r-- 1 jenkins jenkins 3496 Feb 15 17:59 go.mod [2023-02-15T18:03:47.919Z] -rw-rw-r-- 1 jenkins jenkins 33621 Feb 15 17:59 go.sum [2023-02-15T18:03:47.919Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 15 17:59 internal [2023-02-15T18:03:47.919Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 15 17:59 simulator [2023-02-15T18:03:47.919Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 15 17:59 snap [2023-02-15T18:03:47.919Z] -rw-rw-r-- 1 jenkins jenkins 229 Feb 15 17:59 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T18:03:48.330Z] + 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=2629dc372e066b6c036fb6770d771e1fe4beb6c3 --label arch=arm64 --label version=0.0.0 . [2023-02-15T18:03:48.594Z] Sending build context to Docker daemon 3.357MB [2023-02-15T18:03:48.595Z] Step 1/22 : ARG BASE=golang:1.18-alpine3.16 [2023-02-15T18:03:48.595Z] Step 2/22 : FROM ${BASE} AS builder [2023-02-15T18:03:48.595Z] ---> 7459a3b2fa63 [2023-02-15T18:03:48.595Z] Step 3/22 : ARG ADD_BUILD_TAGS="" [2023-02-15T18:03:50.611Z] ---> Running in cadd9107684d [2023-02-15T18:03:50.611Z] Removing intermediate container cadd9107684d [2023-02-15T18:03:50.611Z] ---> 6f681e6a6991 [2023-02-15T18:03:50.611Z] Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-15T18:03:50.877Z] ---> Running in 08f5a00c6e22 [2023-02-15T18:03:50.877Z] Removing intermediate container 08f5a00c6e22 [2023-02-15T18:03:50.877Z] ---> 9190c0a12f04 [2023-02-15T18:03:50.877Z] Step 5/22 : RUN apk add --update --no-cache make git openssh [2023-02-15T18:03:51.144Z] ---> Running in 92384040adba [2023-02-15T18:03:52.104Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-15T18:03:52.371Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-15T18:03:53.324Z] OK: 228 MiB in 59 packages [2023-02-15T18:03:54.279Z] Removing intermediate container 92384040adba [2023-02-15T18:03:54.279Z] ---> 6eaa764da360 [2023-02-15T18:03:54.279Z] Step 6/22 : WORKDIR /device-modbus-go [2023-02-15T18:03:54.279Z] ---> Running in 360d433da060 [2023-02-15T18:03:54.558Z] Removing intermediate container 360d433da060 [2023-02-15T18:03:54.558Z] ---> 472ee16bfa04 [2023-02-15T18:03:54.558Z] Step 7/22 : COPY go.mod vendor* ./ [2023-02-15T18:03:55.139Z] ---> b4b5d694c749 [2023-02-15T18:03:55.139Z] Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-15T18:03:55.139Z] ---> Running in 583ee3b1a2cd [2023-02-15T18:03:57.740Z] Removing intermediate container 583ee3b1a2cd [2023-02-15T18:03:57.740Z] ---> 9917fda42452 [2023-02-15T18:03:57.740Z] Step 9/22 : COPY . . [2023-02-15T18:03:58.322Z] ---> 34e3c7dd2f2e [2023-02-15T18:03:58.322Z] Step 10/22 : RUN ${MAKE} [2023-02-15T18:03:58.590Z] ---> Running in 1e15b1fb8ef7 [2023-02-15T18:03:59.551Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-modbus ./cmd [2023-02-15T18:06:06.554Z] Removing intermediate container 1e15b1fb8ef7 [2023-02-15T18:06:06.554Z] ---> aeefd4fb91d0 [2023-02-15T18:06:06.554Z] Step 11/22 : FROM alpine:3.14 [2023-02-15T18:06:06.554Z] 3.14: Pulling from library/alpine [2023-02-15T18:06:06.554Z] 6f0e733d82e2: Pulling fs layer [2023-02-15T18:06:06.554Z] 6f0e733d82e2: Download complete [2023-02-15T18:06:06.554Z] 6f0e733d82e2: Pull complete [2023-02-15T18:06:06.554Z] Digest: sha256:560e7a4fa5c891d1830f5591c80b8e472fa6cd386b7254cdf65ccc3249292a34 [2023-02-15T18:06:06.554Z] Status: Downloaded newer image for alpine:3.14 [2023-02-15T18:06:06.554Z] ---> bf97f6347a60 [2023-02-15T18:06:06.554Z] Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2023-02-15T18:06:06.554Z] ---> Running in ac5e259721d3 [2023-02-15T18:06:06.554Z] Removing intermediate container ac5e259721d3 [2023-02-15T18:06:06.554Z] ---> d01a5e025d12 [2023-02-15T18:06:06.554Z] Step 13/22 : RUN apk add --update --no-cache dumb-init [2023-02-15T18:06:06.554Z] ---> Running in 75113aa098cc [2023-02-15T18:06:06.554Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2023-02-15T18:06:06.554Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2023-02-15T18:06:06.554Z] (1/1) Installing dumb-init (1.2.5-r1) [2023-02-15T18:06:06.554Z] Executing busybox-1.33.1-r8.trigger [2023-02-15T18:06:06.554Z] OK: 6 MiB in 15 packages [2023-02-15T18:06:06.554Z] Removing intermediate container 75113aa098cc [2023-02-15T18:06:06.554Z] ---> fb7b1848d296 [2023-02-15T18:06:06.554Z] Step 14/22 : COPY --from=builder /device-modbus-go/cmd / [2023-02-15T18:06:06.554Z] ---> 9504d10c3fdc [2023-02-15T18:06:06.554Z] Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / [2023-02-15T18:06:06.554Z] ---> d8ea542d22ae [2023-02-15T18:06:06.554Z] Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / [2023-02-15T18:06:06.554Z] ---> f882cdcd3d51 [2023-02-15T18:06:06.554Z] Step 17/22 : EXPOSE 59901 [2023-02-15T18:06:06.824Z] ---> Running in 714d76d5966e [2023-02-15T18:06:07.091Z] Removing intermediate container 714d76d5966e [2023-02-15T18:06:07.091Z] ---> 2bdfaed04382 [2023-02-15T18:06:07.091Z] Step 18/22 : ENTRYPOINT ["/device-modbus"] [2023-02-15T18:06:07.091Z] ---> Running in a37d937f038b [2023-02-15T18:06:07.358Z] Removing intermediate container a37d937f038b [2023-02-15T18:06:07.358Z] ---> 8470f94894c5 [2023-02-15T18:06:07.358Z] Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-02-15T18:06:07.358Z] ---> Running in d9e76c9bb4cf [2023-02-15T18:06:07.625Z] Removing intermediate container d9e76c9bb4cf [2023-02-15T18:06:07.625Z] ---> 5ac1b6f27888 [2023-02-15T18:06:07.625Z] Step 20/22 : LABEL arch=arm64 [2023-02-15T18:06:07.625Z] ---> Running in 55ae352048b8 [2023-02-15T18:06:07.894Z] Removing intermediate container 55ae352048b8 [2023-02-15T18:06:07.894Z] ---> 0bf6497cdd63 [2023-02-15T18:06:07.894Z] Step 21/22 : LABEL git_sha=2629dc372e066b6c036fb6770d771e1fe4beb6c3 [2023-02-15T18:06:08.162Z] ---> Running in 7fafc6dc5d9d [2023-02-15T18:06:08.432Z] Removing intermediate container 7fafc6dc5d9d [2023-02-15T18:06:08.432Z] ---> b15c3a43e973 [2023-02-15T18:06:08.432Z] Step 22/22 : LABEL version=0.0.0 [2023-02-15T18:06:08.432Z] ---> Running in 6d531a9f78dd [2023-02-15T18:06:08.702Z] Removing intermediate container 6d531a9f78dd [2023-02-15T18:06:08.702Z] ---> 9198e229b86f [2023-02-15T18:06:08.702Z] [Warning] One or more build-args [ARCH] were not consumed [2023-02-15T18:06:08.702Z] Successfully built 9198e229b86f [2023-02-15T18:06:08.702Z] Successfully tagged device-modbus-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T18:06:09.534Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-15T18:06:09.534Z] [2023-02-15T18:06:09.534Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T18:06:09.959Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-15T18:06:09.959Z] arm64: Pulling from edgex-lftools-log-publisher [2023-02-15T18:06:09.959Z] 8998bd30e6a1: Pulling fs layer [2023-02-15T18:06:09.959Z] 04944245beec: Pulling fs layer [2023-02-15T18:06:09.959Z] 699f458cf7ca: Pulling fs layer [2023-02-15T18:06:09.959Z] 765212b225bb: Pulling fs layer [2023-02-15T18:06:09.959Z] f23df028b6ca: Pulling fs layer [2023-02-15T18:06:09.959Z] d65c8cfc05b1: Pulling fs layer [2023-02-15T18:06:09.959Z] 2437ff75d9bd: Pulling fs layer [2023-02-15T18:06:09.959Z] d65c8cfc05b1: Waiting [2023-02-15T18:06:09.959Z] 765212b225bb: Waiting [2023-02-15T18:06:09.959Z] 2437ff75d9bd: Waiting [2023-02-15T18:06:09.959Z] f23df028b6ca: Waiting [2023-02-15T18:06:10.231Z] 04944245beec: Verifying Checksum [2023-02-15T18:06:10.231Z] 04944245beec: Download complete [2023-02-15T18:06:10.231Z] f23df028b6ca: Verifying Checksum [2023-02-15T18:06:10.231Z] f23df028b6ca: Download complete [2023-02-15T18:06:10.502Z] d65c8cfc05b1: Verifying Checksum [2023-02-15T18:06:10.502Z] d65c8cfc05b1: Download complete [2023-02-15T18:06:10.502Z] 699f458cf7ca: Verifying Checksum [2023-02-15T18:06:10.502Z] 699f458cf7ca: Download complete [2023-02-15T18:06:10.774Z] 8998bd30e6a1: Verifying Checksum [2023-02-15T18:06:10.774Z] 8998bd30e6a1: Download complete [2023-02-15T18:06:13.393Z] 2437ff75d9bd: Verifying Checksum [2023-02-15T18:06:13.393Z] 2437ff75d9bd: Download complete [2023-02-15T18:06:14.808Z] 8998bd30e6a1: Pull complete [2023-02-15T18:06:15.395Z] 04944245beec: Pull complete [2023-02-15T18:06:16.816Z] 699f458cf7ca: Pull complete [2023-02-15T18:06:17.085Z] 765212b225bb: Pull complete [2023-02-15T18:06:18.054Z] f23df028b6ca: Pull complete [2023-02-15T18:06:18.054Z] d65c8cfc05b1: Pull complete [2023-02-15T18:06:33.059Z] 2437ff75d9bd: Pull complete [2023-02-15T18:06:33.059Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-02-15T18:06:33.059Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-15T18:06:33.059Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-15T18:06:33.376Z] prd-ubuntu20.04-docker-arm64-4c-16g-6157 does not seem to be running inside a container [2023-02-15T18:06:33.450Z] $ 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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-02-15T18:06:36.224Z] $ docker top 25bc3bb8e48a89014fe702948243b2428508e48814b16ad665fee4bab9817f5b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-15T18:06:37.151Z] ---> job-cost.sh [2023-02-15T18:06:37.151Z] lf-activate-venv: SKIPPING [2023-02-15T18:06:37.151Z] INFO: No Stack... [2023-02-15T18:06:37.418Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-02-15T18:06:38.380Z] INFO: Archiving Costs [Pipeline] sh [2023-02-15T18:06:39.038Z] + cat /w/workspace/device-modbus-go/1/archives/cost.csv [2023-02-15T18:06:39.038Z] + cut -d, -f6 [Pipeline] lock [2023-02-15T18:06:39.129Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-414-1-stack-cost] [2023-02-15T18:06:39.134Z] Resource [jenkins-edgexfoundry-device-modbus-go-PR-414-1-stack-cost] did not exist. Created. [2023-02-15T18:06:39.134Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-414-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-02-15T18:06:39.874Z] /w/workspace/device-modbus-go/1@tmp/durable-a029404e/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-02-15T18:06:40.553Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-02-15T18:06:40.589Z] Warning: overwriting stash ‘stack-cost’ [2023-02-15T18:06:40.641Z] Stashed 1 file(s) [Pipeline] } [2023-02-15T18:06:40.656Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-414-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-02-15T18:06:40.738Z] $ docker stop --time=1 25bc3bb8e48a89014fe702948243b2428508e48814b16ad665fee4bab9817f5b [2023-02-15T18:06:42.236Z] $ docker rm -f --volumes 25bc3bb8e48a89014fe702948243b2428508e48814b16ad665fee4bab9817f5b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2023-02-15T18:06:43.224Z] provisioning config files... [2023-02-15T18:06:43.231Z] copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-414@tmp/config9331588306945527186tmp [Pipeline] { [Pipeline] sh [2023-02-15T18:06:43.563Z] + set +x [2023-02-15T18:06:43.563Z] + curl -s https://codecov.io/bash [2023-02-15T18:06:43.563Z] + bash -s -- [2023-02-15T18:06:43.563Z] [2023-02-15T18:06:43.563Z] _____ _ [2023-02-15T18:06:43.563Z] / ____| | | [2023-02-15T18:06:43.563Z] | | ___ __| | ___ ___ _____ __ [2023-02-15T18:06:43.563Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-02-15T18:06:43.563Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-02-15T18:06:43.563Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-02-15T18:06:43.563Z] Bash-1.0.6 [2023-02-15T18:06:43.563Z] [2023-02-15T18:06:43.563Z] [2023-02-15T18:06:43.563Z] ==> git version 2.25.1 found [2023-02-15T18:06:43.563Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2023-02-15T18:06:43.563Z] Release-Date: 2020-01-08 [2023-02-15T18:06:43.563Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-02-15T18:06:43.563Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-02-15T18:06:43.563Z] ==> Jenkins CI detected. [2023-02-15T18:06:43.563Z] current dir:  /w/workspace/xfoundry_device-modbus-go_PR-414 [2023-02-15T18:06:43.563Z] project root: . [2023-02-15T18:06:43.563Z] --> token set from env [2023-02-15T18:06:43.563Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-02-15T18:06:43.822Z] ==> Running gcov in . (disable via -X gcov) [2023-02-15T18:06:43.822Z] ==> Python coveragepy not found [2023-02-15T18:06:43.822Z] ==> Searching for coverage reports in: [2023-02-15T18:06:43.822Z] + . [2023-02-15T18:06:43.822Z] -> Found 1 reports [2023-02-15T18:06:43.822Z] ==> Detecting git/mercurial file structure [2023-02-15T18:06:43.822Z] ==> Reading reports [2023-02-15T18:06:43.822Z] + ./coverage.out bytes=23241 [2023-02-15T18:06:43.822Z] ==> Appending adjustments [2023-02-15T18:06:43.822Z] https://docs.codecov.io/docs/fixing-reports [2023-02-15T18:06:43.822Z] + Found adjustments [2023-02-15T18:06:43.822Z] ==> Gzipping contents [2023-02-15T18:06:43.822Z] 4.0K /tmp/codecov.SHa0w8.gz [2023-02-15T18:06:43.822Z] ==> Uploading reports [2023-02-15T18:06:43.822Z] url: https://codecov.io [2023-02-15T18:06:43.822Z] query: branch=PR-414&commit=2629dc372e066b6c036fb6770d771e1fe4beb6c3&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-414%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=414&job=&cmd_args= [2023-02-15T18:06:43.822Z] -> Pinging Codecov [2023-02-15T18:06:43.822Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3a8d40b1-de00-4649-bfd4-bdc8ed99ae89&branch=PR-414&commit=2629dc372e066b6c036fb6770d771e1fe4beb6c3&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-414%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=414&job=&cmd_args= [2023-02-15T18:06:44.082Z] -> Uploading to [2023-02-15T18:06:44.083Z] https://storage.googleapis.com/codecov/v4/raw/2023-02-15/55DBCA73C666E3227836607328DD7E49/2629dc372e066b6c036fb6770d771e1fe4beb6c3/a60d7f92-1400-48c0-bc40-d43f58c2666e.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230215%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230215T180643Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=1ba44d6bd78ab27cc7b32ea547661aa0c6ed16770124bc252abd0af2775450f0 [2023-02-15T18:06:44.083Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-15T18:06:44.083Z] Dload Upload Total Spent Left Speed [2023-02-15T18:06:44.342Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3879 0 0 100 3879 0 14105 --:--:-- --:--:-- --:--:-- 14105 [2023-02-15T18:06:44.342Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/2629dc372e066b6c036fb6770d771e1fe4beb6c3 [Pipeline] } [2023-02-15T18:06:44.369Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-02-15T18:06:46.174Z] + [ -d /w/workspace/xfoundry_device-modbus-go_PR-414/archives ] [2023-02-15T18:06:46.175Z] + ls -al /w/workspace/xfoundry_device-modbus-go_PR-414/archives [2023-02-15T18:06:46.175Z] total 16 [2023-02-15T18:06:46.175Z] drwxr-xr-x 3 root root 4096 Feb 15 17:58 . [2023-02-15T18:06:46.175Z] drwxrwxr-x 11 jenkins jenkins 4096 Feb 15 17:58 .. [2023-02-15T18:06:46.175Z] drwxr-xr-x 2 root root 4096 Feb 15 17:58 cost [2023-02-15T18:06:46.175Z] -rw-r--r-- 1 root root 88 Feb 15 17:58 cost.csv [2023-02-15T18:06:46.175Z] + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-414/archives [2023-02-15T18:06:46.175Z] + ls -al /w/workspace/xfoundry_device-modbus-go_PR-414/archives [2023-02-15T18:06:46.175Z] total 16 [2023-02-15T18:06:46.175Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 15 17:58 . [2023-02-15T18:06:46.175Z] drwxrwxr-x 11 jenkins jenkins 4096 Feb 15 17:58 .. [2023-02-15T18:06:46.175Z] drwxr-xr-x 2 jenkins jenkins 4096 Feb 15 17:58 cost [2023-02-15T18:06:46.175Z] -rw-r--r-- 1 jenkins jenkins 88 Feb 15 17:58 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-02-15T18:06:46.501Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-15T18:06:47.394Z] ---> package-listing.sh [2023-02-15T18:06:47.394Z] ++ facter osfamily [2023-02-15T18:06:47.394Z] ++ tr '[:upper:]' '[:lower:]' [2023-02-15T18:06:47.653Z] + OS_FAMILY=debian [2023-02-15T18:06:47.654Z] + workspace=/w/workspace/xfoundry_device-modbus-go_PR-414 [2023-02-15T18:06:47.654Z] + START_PACKAGES=/tmp/packages_start.txt [2023-02-15T18:06:47.654Z] + END_PACKAGES=/tmp/packages_end.txt [2023-02-15T18:06:47.654Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-02-15T18:06:47.654Z] + PACKAGES=/tmp/packages_start.txt [2023-02-15T18:06:47.654Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-414 ']' [2023-02-15T18:06:47.654Z] + PACKAGES=/tmp/packages_end.txt [2023-02-15T18:06:47.654Z] + case "${OS_FAMILY}" in [2023-02-15T18:06:47.654Z] + dpkg -l [2023-02-15T18:06:47.654Z] + grep '^ii' [2023-02-15T18:06:47.654Z] + '[' -f /tmp/packages_start.txt ']' [2023-02-15T18:06:47.654Z] + '[' -f /tmp/packages_end.txt ']' [2023-02-15T18:06:47.654Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-02-15T18:06:47.654Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-414 ']' [2023-02-15T18:06:47.654Z] + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-414/archives/ [2023-02-15T18:06:47.654Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-414/archives/ [Pipeline] echo [2023-02-15T18:06:47.688Z] 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-414/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-02-15T18:06:47.987Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T18:06:48.614Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-15T18:06:48.614Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-15T18:06:48.762Z] prd-ubuntu20.04-docker-8c-8g-6156 does not seem to be running inside a container [2023-02-15T18:06:48.792Z] $ 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-414/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-414 -v /w/workspace/xfoundry_device-modbus-go_PR-414:/w/workspace/xfoundry_device-modbus-go_PR-414:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-414@tmp:/w/workspace/xfoundry_device-modbus-go_PR-414@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-02-15T18:06:48.984Z] $ docker top 99ae3fd589e9cff767d4ae1b3fa9df767ee5eaaba54e52bed4d1221b04d48bd1 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-15T18:06:49.379Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-02-15T18:06:49.691Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-02-15T18:06:50.001Z] + ls /var/log/sa-host [2023-02-15T18:06:50.002Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-15T18:06:50.222Z] provisioning config files... [2023-02-15T18:06:50.231Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-414@tmp/config2091447361408654922tmp [Pipeline] { [Pipeline] echo [2023-02-15T18:06:50.283Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-15T18:06:50.605Z] ---> create-netrc.sh [Pipeline] } [2023-02-15T18:06:50.632Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-02-15T18:06:51.042Z] ---> python-tools-install.sh [Pipeline] echo [2023-02-15T18:06:51.072Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-15T18:06:51.394Z] ---> sudo-logs.sh [2023-02-15T18:06:51.394Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-02-15T18:06:51.480Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-15T18:06:51.793Z] ---> job-cost.sh [2023-02-15T18:06:51.793Z] lf-activate-venv: SKIPPING [2023-02-15T18:06:51.793Z] DEBUG: total: 0.2199999988079071 [2023-02-15T18:06:51.793Z] INFO: Retrieving Stack Cost... [2023-02-15T18:06:52.052Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-15T18:06:52.619Z] INFO: Archiving Costs [Pipeline] echo [2023-02-15T18:06:52.651Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-15T18:06:52.969Z] ---> logs-deploy.sh [2023-02-15T18:06:52.969Z] lf-activate-venv: SKIPPING [2023-02-15T18:06:52.969Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-414/1 [2023-02-15T18:06:52.969Z] INFO: archiving workspace using pattern(s): [2023-02-15T18:06:53.904Z] Archives upload complete. [2023-02-15T18:06:54.163Z] INFO: archiving logs to Nexus