Branch indexing 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 bnevis-i for edgexfoundry/device-modbus-go Loading trusted files from base branch main at def1cc71e63d04479355a5672fe2144ca0f9c836 rather than 5cba2203e71886d94050145eddf79272566091df Obtained Jenkinsfile from def1cc71e63d04479355a5672fe2144ca0f9c836 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-ssh16448046942522086675.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-ssh5070936478311084635.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-395/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > 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 > 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-395/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh457472780217059557.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 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-ssh6399266593310329360.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-395/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags 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-395/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh13329582656488796673.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 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 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-modbus-go, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-modbus-go-settings PROJECT: device-modbus-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-modbus DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-1788 in /w/workspace/xfoundry_device-modbus-go_PR-395 [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-395 # 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/395/head:refs/remotes/origin/PR-395 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit def1cc71e63d04479355a5672fe2144ca0f9c836 into PR head commit 5cba2203e71886d94050145eddf79272566091df Merge succeeded, producing 2e53366609a88afe850077b341c5c88929897cf0 Checking out Revision 2e53366609a88afe850077b341c5c88929897cf0 (PR-395) > git config core.sparsecheckout # timeout=10 > git checkout -f 5cba2203e71886d94050145eddf79272566091df # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge def1cc71e63d04479355a5672fe2144ca0f9c836 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 2e53366609a88afe850077b341c5c88929897cf0 # timeout=10 Commit message: "Merge commit 'def1cc71e63d04479355a5672fe2144ca0f9c836' into HEAD" > git rev-list --no-walk 5cba2203e71886d94050145eddf79272566091df # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-01-11T00:54:58.149Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-01-11T00:54:58.209Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-01-11T00:54:58.227Z] ========================================================= [2023-01-11T00:54:58.227Z] EdgeX Global Pipelines Version Info [2023-01-11T00:54:58.227Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-01-11T00:54:58.970Z] ------------------- [2023-01-11T00:54:58.970Z] stable info: [2023-01-11T00:54:58.970Z] ------------------- [2023-01-11T00:54:58.970Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-01-11T00:54:58.970Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-01-11T00:54:58.970Z] Message: update stable to v1.0.244 [2023-01-11T00:54:59.544Z] ------------------- [2023-01-11T00:54:59.544Z] experimental info: [2023-01-11T00:54:59.544Z] ------------------- [2023-01-11T00:54:59.544Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-01-11T00:54:59.544Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-01-11T00:54:59.544Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-01-11T00:54:59.722Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo [2023-01-11T00:54:59.732Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo [2023-01-11T00:54:59.740Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-01-11T00:54:59.749Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-01-11T00:54:59.759Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-01-11T00:54:59.778Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-01-11T00:54:59.787Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-01-11T00:54:59.796Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-01-11T00:54:59.804Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-01-11T00:54:59.813Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-01-11T00:54:59.825Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-01-11T00:54:59.841Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo [2023-01-11T00:54:59.858Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-01-11T00:54:59.868Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-01-11T00:54:59.883Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-01-11T00:54:59.894Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-01-11T00:54:59.906Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-01-11T00:54:59.920Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-01-11T00:54:59.931Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-01-11T00:54:59.945Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-01-11T00:54:59.963Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-01-11T00:54:59.975Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-01-11T00:54:59.985Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-01-11T00:54:59.996Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-01-11T00:55:00.011Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-01-11T00:55:00.024Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-01-11T00:55:00.042Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-01-11T00:55:00.058Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-395 [Pipeline] echo [2023-01-11T00:55:00.070Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-395 [Pipeline] echo [2023-01-11T00:55:00.086Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-395 [Pipeline] echo [2023-01-11T00:55:00.099Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 2e53366609a88afe850077b341c5c88929897cf0 [Pipeline] echo [2023-01-11T00:55:00.110Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 2e53366 [Pipeline] echo [2023-01-11T00:55:00.122Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-11T00:55:00.163Z] provisioning config files... [2023-01-11T00:55:00.180Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-395@tmp/config11563359791178798723tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-11T00:55:00.489Z] ---> docker-login.sh [2023-01-11T00:55:00.490Z] nexus3.edgexfoundry.org:10001 [2023-01-11T00:55:00.751Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-11T00:55:00.751Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-11T00:55:00.751Z] Configure a credential helper to remove this warning. See [2023-01-11T00:55:00.751Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-11T00:55:00.751Z] [2023-01-11T00:55:00.751Z] Login Succeeded [2023-01-11T00:55:00.751Z] nexus3.edgexfoundry.org:10002 [2023-01-11T00:55:01.010Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-11T00:55:01.010Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-11T00:55:01.010Z] Configure a credential helper to remove this warning. See [2023-01-11T00:55:01.010Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-11T00:55:01.010Z] [2023-01-11T00:55:01.010Z] Login Succeeded [2023-01-11T00:55:01.010Z] nexus3.edgexfoundry.org:10003 [2023-01-11T00:55:01.010Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-11T00:55:01.010Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-11T00:55:01.010Z] Configure a credential helper to remove this warning. See [2023-01-11T00:55:01.010Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-11T00:55:01.010Z] [2023-01-11T00:55:01.010Z] Login Succeeded [2023-01-11T00:55:01.010Z] nexus3.edgexfoundry.org:10004 [2023-01-11T00:55:01.270Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-11T00:55:01.270Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-11T00:55:01.270Z] Configure a credential helper to remove this warning. See [2023-01-11T00:55:01.270Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-11T00:55:01.270Z] [2023-01-11T00:55:01.270Z] Login Succeeded [2023-01-11T00:55:01.270Z] docker.io [2023-01-11T00:55:01.270Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-11T00:55:01.530Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-11T00:55:01.530Z] Configure a credential helper to remove this warning. See [2023-01-11T00:55:01.530Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-11T00:55:01.530Z] [2023-01-11T00:55:01.530Z] Login Succeeded [2023-01-11T00:55:01.530Z] ---> docker-login.sh ends [Pipeline] } [2023-01-11T00:55:01.537Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-01-11T00:55:01.914Z] + git rev-list -1 --merges 2e53366609a88afe850077b341c5c88929897cf0~1..2e53366609a88afe850077b341c5c88929897cf0 [Pipeline] echo [2023-01-11T00:55:01.949Z] -----------> git rev-list -1 --merges 2e53366609a88afe850077b341c5c88929897cf0~1..2e53366609a88afe850077b341c5c88929897cf0 2e53366609a88afe850077b341c5c88929897cf0 [2023-01-11T00:55:01.949Z] 2e53366609a88afe850077b341c5c88929897cf0 [false] [Pipeline] sh [2023-01-11T00:55:02.228Z] + git log --format=format:%s -1 2e53366609a88afe850077b341c5c88929897cf0 [Pipeline] echo [2023-01-11T00:55:02.239Z] ========================================================= [2023-01-11T00:55:02.239Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-01-11T00:55:02.239Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-11T00:55:02.550Z] + git log --format=format:%s -1 2e53366609a88afe850077b341c5c88929897cf0 [Pipeline] echo [2023-01-11T00:55:02.561Z] [semverPrep] GIT_COMMIT: 2e53366609a88afe850077b341c5c88929897cf0, Commit Message: Merge commit 'def1cc71e63d04479355a5672fe2144ca0f9c836' into HEAD [Pipeline] echo [2023-01-11T00:55:02.571Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-01-11T00:55:02.906Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-01-11T00:55:02.907Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-01-11T00:55:02.907Z] + [ -e /tmp/ssh_known_hosts ] [2023-01-11T00:55:02.907Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-01-11T00:55:02.907Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-01-11T00:55:02.907Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-01-11T00:55:02.907Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-11T00:55:03.242Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-11T00:55:03.242Z] [2023-01-11T00:55:03.242Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-11T00:55:03.546Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-11T00:55:03.546Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-01-11T00:55:03.546Z] b85a868b505f: Pulling fs layer [2023-01-11T00:55:03.546Z] e2be974225ed: Pulling fs layer [2023-01-11T00:55:03.546Z] 339a4e72a1f5: Pulling fs layer [2023-01-11T00:55:03.546Z] 988bab9f4d93: Pulling fs layer [2023-01-11T00:55:03.546Z] 1469e6f7b9e6: Pulling fs layer [2023-01-11T00:55:03.546Z] eaf3925da568: Pulling fs layer [2023-01-11T00:55:03.546Z] bab4dde63d76: Pulling fs layer [2023-01-11T00:55:03.546Z] bde34c3a00c8: Pulling fs layer [2023-01-11T00:55:03.546Z] b352a97aabf1: Pulling fs layer [2023-01-11T00:55:03.546Z] 4872d77fe225: Pulling fs layer [2023-01-11T00:55:03.546Z] 5851b861e8e6: Pulling fs layer [2023-01-11T00:55:03.546Z] 988bab9f4d93: Waiting [2023-01-11T00:55:03.546Z] 1469e6f7b9e6: Waiting [2023-01-11T00:55:03.546Z] eaf3925da568: Waiting [2023-01-11T00:55:03.546Z] bab4dde63d76: Waiting [2023-01-11T00:55:03.546Z] bde34c3a00c8: Waiting [2023-01-11T00:55:03.546Z] b352a97aabf1: Waiting [2023-01-11T00:55:03.546Z] 4872d77fe225: Waiting [2023-01-11T00:55:03.546Z] 5851b861e8e6: Waiting [2023-01-11T00:55:03.546Z] e2be974225ed: Verifying Checksum [2023-01-11T00:55:03.546Z] e2be974225ed: Download complete [2023-01-11T00:55:03.546Z] 988bab9f4d93: Verifying Checksum [2023-01-11T00:55:03.546Z] 988bab9f4d93: Download complete [2023-01-11T00:55:03.805Z] 339a4e72a1f5: Verifying Checksum [2023-01-11T00:55:03.805Z] 339a4e72a1f5: Download complete [2023-01-11T00:55:03.805Z] 1469e6f7b9e6: Verifying Checksum [2023-01-11T00:55:03.805Z] 1469e6f7b9e6: Download complete [2023-01-11T00:55:03.805Z] eaf3925da568: Verifying Checksum [2023-01-11T00:55:03.805Z] eaf3925da568: Download complete [2023-01-11T00:55:03.805Z] bde34c3a00c8: Verifying Checksum [2023-01-11T00:55:03.805Z] bde34c3a00c8: Download complete [2023-01-11T00:55:03.805Z] b352a97aabf1: Download complete [2023-01-11T00:55:03.805Z] 4872d77fe225: Verifying Checksum [2023-01-11T00:55:03.805Z] 4872d77fe225: Download complete [2023-01-11T00:55:03.805Z] 5851b861e8e6: Verifying Checksum [2023-01-11T00:55:03.805Z] 5851b861e8e6: Download complete [2023-01-11T00:55:03.805Z] b85a868b505f: Verifying Checksum [2023-01-11T00:55:03.805Z] b85a868b505f: Download complete [2023-01-11T00:55:04.063Z] bab4dde63d76: Verifying Checksum [2023-01-11T00:55:04.063Z] bab4dde63d76: Download complete [2023-01-11T00:55:05.440Z] b85a868b505f: Pull complete [2023-01-11T00:55:05.440Z] e2be974225ed: Pull complete [2023-01-11T00:55:06.006Z] 339a4e72a1f5: Pull complete [2023-01-11T00:55:06.006Z] 988bab9f4d93: Pull complete [2023-01-11T00:55:06.266Z] 1469e6f7b9e6: Pull complete [2023-01-11T00:55:06.266Z] eaf3925da568: Pull complete [2023-01-11T00:55:08.179Z] bab4dde63d76: Pull complete [2023-01-11T00:55:08.179Z] bde34c3a00c8: Pull complete [2023-01-11T00:55:08.439Z] b352a97aabf1: Pull complete [2023-01-11T00:55:08.439Z] 4872d77fe225: Pull complete [2023-01-11T00:55:08.439Z] 5851b861e8e6: Pull complete [2023-01-11T00:55:08.699Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-01-11T00:55:08.699Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-11T00:55:08.699Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-11T00:55:08.789Z] prd-ubuntu20.04-docker-8c-8g-1788 does not seem to be running inside a container [2023-01-11T00:55:08.816Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-395 -v /w/workspace/xfoundry_device-modbus-go_PR-395:/w/workspace/xfoundry_device-modbus-go_PR-395:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-395@tmp:/w/workspace/xfoundry_device-modbus-go_PR-395@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-devops/py-git-semver:0.1.4 cat [2023-01-11T00:55:10.935Z] $ docker top 9fa6c1533be247cc80d386ed734d946fe0755f67a413bb6c1e79942fe912c74a -eo pid,comm [2023-01-11T00:55:10.990Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-01-11T00:55:10.990Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-01-11T00:55:11.026Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-01-11T00:55:11.026Z] [ssh-agent] Looking for ssh-agent implementation... [2023-01-11T00:55:11.144Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-01-11T00:55:11.147Z] $ docker exec 9fa6c1533be247cc80d386ed734d946fe0755f67a413bb6c1e79942fe912c74a ssh-agent [2023-01-11T00:55:11.262Z] SSH_AUTH_SOCK=/tmp/ssh-QslefuRdGWMt/agent.33 [2023-01-11T00:55:11.262Z] SSH_AGENT_PID=39 [2023-01-11T00:55:11.268Z] Running ssh-add (command line suppressed) [2023-01-11T00:55:11.401Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-395@tmp/private_key_10075154413234109342.key (/w/workspace/xfoundry_device-modbus-go_PR-395@tmp/private_key_10075154413234109342.key) [2023-01-11T00:55:11.430Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-01-11T00:55:11.719Z] + git tag --points-at HEAD [Pipeline] } [2023-01-11T00:55:11.739Z] $ docker exec --env ******** --env ******** 9fa6c1533be247cc80d386ed734d946fe0755f67a413bb6c1e79942fe912c74a ssh-agent -k [2023-01-11T00:55:11.842Z] unset SSH_AUTH_SOCK; [2023-01-11T00:55:11.843Z] unset SSH_AGENT_PID; [2023-01-11T00:55:11.843Z] echo Agent pid 39 killed; [2023-01-11T00:55:11.863Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-01-11T00:55:11.884Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-01-11T00:55:11.884Z] [ssh-agent] Looking for ssh-agent implementation... [2023-01-11T00:55:12.023Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-01-11T00:55:12.027Z] $ docker exec 9fa6c1533be247cc80d386ed734d946fe0755f67a413bb6c1e79942fe912c74a ssh-agent [2023-01-11T00:55:12.137Z] SSH_AUTH_SOCK=/tmp/ssh-WrsrZWMrHTXk/agent.71 [2023-01-11T00:55:12.137Z] SSH_AGENT_PID=77 [2023-01-11T00:55:12.142Z] Running ssh-add (command line suppressed) [2023-01-11T00:55:12.244Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-395@tmp/private_key_16582108564403047462.key (/w/workspace/xfoundry_device-modbus-go_PR-395@tmp/private_key_16582108564403047462.key) [2023-01-11T00:55:12.261Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-01-11T00:55:12.548Z] + git semver init [2023-01-11T00:55:12.808Z] 2023-01-11 00:55:12,734 [run_init] DEBUG init version:0.0.0 force:False [2023-01-11T00:55:12.808Z] 2023-01-11 00:55:12,735 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-modbus-go_PR-395/.semver [2023-01-11T00:55:12.808Z] 2023-01-11 00:55:12,735 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/xfoundry_device-modbus-go_PR-395/.semver [2023-01-11T00:55:12.808Z] 2023-01-11 00:55:12,735 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/xfoundry_device-modbus-go_PR-395/.semver'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-395, universal_newlines=False, shell=None, istream=None) [2023-01-11T00:55:13.745Z] 2023-01-11 00:55:13,599 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-modbus-go_PR-395/.git/info/exclude [2023-01-11T00:55:13.745Z] 2023-01-11 00:55:13,599 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-modbus-go_PR-395/.semver/PR-395 with force:False [2023-01-11T00:55:13.745Z] 2023-01-11 00:55:13,599 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-modbus-go_PR-395/.semver/PR-395 [2023-01-11T00:55:13.745Z] 2023-01-11 00:55:13,604 [execute] INFO git cat-file --batch-check [2023-01-11T00:55:13.745Z] 2023-01-11 00:55:13,604 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-395/.semver, universal_newlines=False, shell=None, istream=) [2023-01-11T00:55:13.745Z] 2023-01-11 00:55:13,610 [execute] INFO git cat-file --batch [2023-01-11T00:55:13.745Z] 2023-01-11 00:55:13,610 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-395/.semver, universal_newlines=False, shell=None, istream=) [2023-01-11T00:55:13.745Z] 2023-01-11 00:55:13,615 [read_version] DEBUG read version from /w/workspace/xfoundry_device-modbus-go_PR-395/.semver/PR-395 [2023-01-11T00:55:13.745Z] 0.0.0 [Pipeline] } [2023-01-11T00:55:13.755Z] $ docker exec --env ******** --env ******** 9fa6c1533be247cc80d386ed734d946fe0755f67a413bb6c1e79942fe912c74a ssh-agent -k [2023-01-11T00:55:13.853Z] unset SSH_AUTH_SOCK; [2023-01-11T00:55:13.853Z] unset SSH_AGENT_PID; [2023-01-11T00:55:13.853Z] echo Agent pid 77 killed; [2023-01-11T00:55:13.859Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-01-11T00:55:14.181Z] + git semver [Pipeline] } [2023-01-11T00:55:14.454Z] $ docker stop --time=1 9fa6c1533be247cc80d386ed734d946fe0755f67a413bb6c1e79942fe912c74a [2023-01-11T00:55:15.747Z] $ docker rm -f --volumes 9fa6c1533be247cc80d386ed734d946fe0755f67a413bb6c1e79942fe912c74a [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-11T00:55:16.085Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-01-11T00:55:16.281Z] Stashed 1 file(s) [Pipeline] echo [2023-01-11T00:55:16.285Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-11T00:55:16.425Z] provisioning config files... [2023-01-11T00:55:16.433Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-395@tmp/config17108051768398310969tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-11T00:55:16.729Z] ---> docker-login.sh [2023-01-11T00:55:16.729Z] nexus3.edgexfoundry.org:10001 [2023-01-11T00:55:16.729Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-11T00:55:16.729Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-11T00:55:16.729Z] Configure a credential helper to remove this warning. See [2023-01-11T00:55:16.729Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-11T00:55:16.729Z] [2023-01-11T00:55:16.729Z] Login Succeeded [2023-01-11T00:55:16.729Z] nexus3.edgexfoundry.org:10002 [2023-01-11T00:55:16.729Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-11T00:55:16.729Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-11T00:55:16.729Z] Configure a credential helper to remove this warning. See [2023-01-11T00:55:16.729Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-11T00:55:16.729Z] [2023-01-11T00:55:16.729Z] Login Succeeded [2023-01-11T00:55:16.729Z] nexus3.edgexfoundry.org:10003 [2023-01-11T00:55:16.989Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-11T00:55:16.989Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-11T00:55:16.989Z] Configure a credential helper to remove this warning. See [2023-01-11T00:55:16.989Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-11T00:55:16.989Z] [2023-01-11T00:55:16.989Z] Login Succeeded [2023-01-11T00:55:16.989Z] nexus3.edgexfoundry.org:10004 [2023-01-11T00:55:16.989Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-11T00:55:16.989Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-11T00:55:16.989Z] Configure a credential helper to remove this warning. See [2023-01-11T00:55:16.989Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-11T00:55:16.989Z] [2023-01-11T00:55:16.989Z] Login Succeeded [2023-01-11T00:55:16.989Z] docker.io [2023-01-11T00:55:17.248Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-11T00:55:17.248Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-11T00:55:17.248Z] Configure a credential helper to remove this warning. See [2023-01-11T00:55:17.248Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-11T00:55:17.248Z] [2023-01-11T00:55:17.248Z] Login Succeeded [2023-01-11T00:55:17.248Z] ---> docker-login.sh ends [Pipeline] } [2023-01-11T00:55:17.254Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-01-11T00:55:17.315Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-11T00:55:17.332Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-11T00:55:17.340Z] ========================================================= [2023-01-11T00:55:17.340Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-01-11T00:55:17.340Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-11T00:55:17.651Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-01-11T00:55:17.651Z] Sending build context to Docker daemon 6.333MB [2023-01-11T00:55:17.651Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2023-01-11T00:55:17.651Z] Step 2/10 : FROM ${BASE} AS builder [2023-01-11T00:55:17.651Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-01-11T00:55:17.651Z] 213ec9aee27d: Pulling fs layer [2023-01-11T00:55:17.651Z] 4583459ba037: Pulling fs layer [2023-01-11T00:55:17.651Z] 93c1e223e6f2: Pulling fs layer [2023-01-11T00:55:17.651Z] 53926ce57604: Pulling fs layer [2023-01-11T00:55:17.651Z] 21b2b0c7a3f4: Pulling fs layer [2023-01-11T00:55:17.651Z] 22ff95d597cd: Pulling fs layer [2023-01-11T00:55:17.651Z] 12d6caf4c0d1: Pulling fs layer [2023-01-11T00:55:17.652Z] 96b7cbca73a9: Pulling fs layer [2023-01-11T00:55:17.652Z] a7acece74701: Pulling fs layer [2023-01-11T00:55:17.652Z] 53926ce57604: Waiting [2023-01-11T00:55:17.652Z] 21b2b0c7a3f4: Waiting [2023-01-11T00:55:17.652Z] 22ff95d597cd: Waiting [2023-01-11T00:55:17.652Z] 12d6caf4c0d1: Waiting [2023-01-11T00:55:17.652Z] a7acece74701: Waiting [2023-01-11T00:55:17.652Z] 96b7cbca73a9: Waiting [2023-01-11T00:55:17.652Z] 93c1e223e6f2: Verifying Checksum [2023-01-11T00:55:17.652Z] 93c1e223e6f2: Download complete [2023-01-11T00:55:17.652Z] 4583459ba037: Verifying Checksum [2023-01-11T00:55:17.652Z] 4583459ba037: Download complete [2023-01-11T00:55:17.915Z] 21b2b0c7a3f4: Verifying Checksum [2023-01-11T00:55:17.915Z] 21b2b0c7a3f4: Download complete [2023-01-11T00:55:17.915Z] 22ff95d597cd: Verifying Checksum [2023-01-11T00:55:17.915Z] 22ff95d597cd: Download complete [2023-01-11T00:55:17.915Z] 213ec9aee27d: Verifying Checksum [2023-01-11T00:55:17.915Z] 213ec9aee27d: Download complete [2023-01-11T00:55:17.915Z] 12d6caf4c0d1: Download complete [2023-01-11T00:55:17.915Z] 213ec9aee27d: Pull complete [2023-01-11T00:55:18.196Z] 4583459ba037: Pull complete [2023-01-11T00:55:18.196Z] 93c1e223e6f2: Pull complete [2023-01-11T00:55:18.796Z] a7acece74701: Verifying Checksum [2023-01-11T00:55:18.796Z] a7acece74701: Download complete [2023-01-11T00:55:19.057Z] 53926ce57604: Verifying Checksum [2023-01-11T00:55:19.057Z] 53926ce57604: Download complete [2023-01-11T00:55:19.057Z] 96b7cbca73a9: Verifying Checksum [2023-01-11T00:55:19.057Z] 96b7cbca73a9: Download complete [2023-01-11T00:55:23.240Z] 53926ce57604: Pull complete [2023-01-11T00:55:23.240Z] 21b2b0c7a3f4: Pull complete [2023-01-11T00:55:23.240Z] 22ff95d597cd: Pull complete [2023-01-11T00:55:23.240Z] 12d6caf4c0d1: Pull complete [2023-01-11T00:55:25.139Z] 96b7cbca73a9: Pull complete [2023-01-11T00:55:26.071Z] a7acece74701: Pull complete [2023-01-11T00:55:26.071Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-01-11T00:55:26.071Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-01-11T00:55:26.071Z] ---> db6d94c90886 [2023-01-11T00:55:26.071Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2023-01-11T00:55:29.428Z] ---> Running in bcfd87d2402f [2023-01-11T00:55:29.428Z] Removing intermediate container bcfd87d2402f [2023-01-11T00:55:29.428Z] ---> eb5192c738d0 [2023-01-11T00:55:29.428Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-11T00:55:29.428Z] ---> Running in 09952bf4528c [2023-01-11T00:55:29.428Z] Removing intermediate container 09952bf4528c [2023-01-11T00:55:29.428Z] ---> d88bc3446bda [2023-01-11T00:55:29.428Z] Step 5/10 : RUN apk add --update --no-cache make git openssh [2023-01-11T00:55:29.428Z] ---> Running in 936c843a8e1a [2023-01-11T00:55:29.687Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-11T00:55:29.945Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-11T00:55:30.203Z] (1/8) Installing openssh-keygen (9.0_p1-r2) [2023-01-11T00:55:30.203Z] (2/8) Installing libedit (20210910.3.1-r0) [2023-01-11T00:55:30.203Z] (3/8) Installing openssh-client-common (9.0_p1-r2) [2023-01-11T00:55:30.203Z] (4/8) Installing openssh-client-default (9.0_p1-r2) [2023-01-11T00:55:30.203Z] (5/8) Installing openssh-sftp-server (9.0_p1-r2) [2023-01-11T00:55:30.203Z] (6/8) Installing openssh-server-common (9.0_p1-r2) [2023-01-11T00:55:30.203Z] (7/8) Installing openssh-server (9.0_p1-r2) [2023-01-11T00:55:30.203Z] (8/8) Installing openssh (9.0_p1-r2) [2023-01-11T00:55:30.203Z] Executing busybox-1.35.0-r17.trigger [2023-01-11T00:55:30.203Z] OK: 217 MiB in 59 packages [2023-01-11T00:55:30.771Z] Removing intermediate container 936c843a8e1a [2023-01-11T00:55:30.771Z] ---> 382305505cd8 [2023-01-11T00:55:30.771Z] Step 6/10 : WORKDIR /device-modbus-go [2023-01-11T00:55:30.771Z] ---> Running in 8662c52aa38b [2023-01-11T00:55:30.771Z] Removing intermediate container 8662c52aa38b [2023-01-11T00:55:30.771Z] ---> 9755c3f97061 [2023-01-11T00:55:30.771Z] Step 7/10 : COPY go.mod vendor* ./ [2023-01-11T00:55:31.030Z] ---> 39434570450f [2023-01-11T00:55:31.030Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-11T00:55:31.030Z] ---> Running in b531c5b71df3 [2023-01-11T00:55:31.374Z] Still waiting to schedule task [2023-01-11T00:55:31.374Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-01-11T00:55:57.604Z] Removing intermediate container b531c5b71df3 [2023-01-11T00:55:57.604Z] ---> d2f4da4c210a [2023-01-11T00:55:57.604Z] Step 9/10 : COPY . . [2023-01-11T00:55:57.604Z] ---> fce94639745c [2023-01-11T00:55:57.604Z] Step 10/10 : RUN ${MAKE} [2023-01-11T00:55:57.604Z] ---> Running in 189e655d4006 [2023-01-11T00:55:57.604Z] noop [2023-01-11T00:55:57.604Z] Removing intermediate container 189e655d4006 [2023-01-11T00:55:57.604Z] ---> 0d16ecdeeee6 [2023-01-11T00:55:57.604Z] Successfully built 0d16ecdeeee6 [2023-01-11T00:55:57.604Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-11T00:55:57.923Z] + docker inspect -f . ci-base-image-x86_64 [2023-01-11T00:55:57.924Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-11T00:55:57.995Z] prd-ubuntu20.04-docker-8c-8g-1788 does not seem to be running inside a container [2023-01-11T00:55:58.025Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-395 -v /w/workspace/xfoundry_device-modbus-go_PR-395:/w/workspace/xfoundry_device-modbus-go_PR-395:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-395@tmp:/w/workspace/xfoundry_device-modbus-go_PR-395@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 ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-01-11T00:55:58.365Z] $ docker top 8ad7acd93e0bac5d0eed8598c73f33174d6869b42650615fc2a0aa0800157e9a -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-11T00:55:58.705Z] + go version [2023-01-11T00:55:58.705Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-01-11T00:55:58.721Z] $ docker stop --time=1 8ad7acd93e0bac5d0eed8598c73f33174d6869b42650615fc2a0aa0800157e9a [2023-01-11T00:56:00.030Z] $ docker rm -f --volumes 8ad7acd93e0bac5d0eed8598c73f33174d6869b42650615fc2a0aa0800157e9a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-11T00:56:00.444Z] + docker inspect -f . ci-base-image-x86_64 [2023-01-11T00:56:00.444Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-11T00:56:00.517Z] prd-ubuntu20.04-docker-8c-8g-1788 does not seem to be running inside a container [2023-01-11T00:56:00.550Z] $ 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-395 -v /w/workspace/xfoundry_device-modbus-go_PR-395:/w/workspace/xfoundry_device-modbus-go_PR-395:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-395@tmp:/w/workspace/xfoundry_device-modbus-go_PR-395@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 ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-01-11T00:56:00.907Z] $ docker top cc0d06f8a7d482b32b1e8e8901d357352dac6e78d2ed3ffbfd381fd4cb327f2a -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-11T00:56:01.253Z] + git config --global --add safe.directory /w/workspace/xfoundry_device-modbus-go_PR-395 [Pipeline] fileExists [Pipeline] sh [2023-01-11T00:56:01.548Z] + make test [2023-01-11T00:56:01.548Z] go test ./... -coverprofile=coverage.out [2023-01-11T00:56:01.806Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2023-01-11T00:56:11.773Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2023-01-11T00:56:11.773Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.011s coverage: 47.7% of statements [2023-01-11T00:56:18.325Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2023-01-11T00:56:18.326Z] go vet ./... [2023-01-11T00:56:20.854Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-01-11T00:56:20.854Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-01-11T00:56:20.854Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-01-11T00:56:20.869Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-01-11T00:56:20.888Z] $ docker stop --time=1 cc0d06f8a7d482b32b1e8e8901d357352dac6e78d2ed3ffbfd381fd4cb327f2a [2023-01-11T00:56:23.189Z] $ docker rm -f --volumes cc0d06f8a7d482b32b1e8e8901d357352dac6e78d2ed3ffbfd381fd4cb327f2a [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-11T00:56:23.649Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-01-11T00:56:23.697Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-01-11T00:56:24.132Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-01-11T00:56:24.415Z] + ls -al . [2023-01-11T00:56:24.415Z] total 196 [2023-01-11T00:56:24.415Z] drwxrwxr-x 10 jenkins jenkins 4096 Jan 11 00:56 . [2023-01-11T00:56:24.415Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 11 00:54 .. [2023-01-11T00:56:24.415Z] -rw-rw-r-- 1 jenkins jenkins 140 Jan 11 00:54 .dockerignore [2023-01-11T00:56:24.415Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 11 00:56 .git [2023-01-11T00:56:24.415Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 11 00:54 .github [2023-01-11T00:56:24.415Z] -rw-rw-r-- 1 jenkins jenkins 331 Jan 11 00:54 .gitignore [2023-01-11T00:56:24.415Z] -rw-rw-r-- 1 jenkins jenkins 41 Jan 11 00:54 .golangci.yml [2023-01-11T00:56:24.415Z] drwxr-xr-x 3 jenkins jenkins 4096 Jan 11 00:55 .semver [2023-01-11T00:56:24.415Z] -rw-rw-r-- 1 jenkins jenkins 10017 Jan 11 00:54 Attribution.txt [2023-01-11T00:56:24.415Z] -rw-rw-r-- 1 jenkins jenkins 11576 Jan 11 00:54 CHANGELOG.md [2023-01-11T00:56:24.415Z] -rw-rw-r-- 1 jenkins jenkins 1365 Jan 11 00:54 Dockerfile [2023-01-11T00:56:24.415Z] -rw-rw-r-- 1 jenkins jenkins 677 Jan 11 00:54 GOVERNANCE.md [2023-01-11T00:56:24.415Z] -rw-rw-r-- 1 jenkins jenkins 680 Jan 11 00:54 Jenkinsfile [2023-01-11T00:56:24.415Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jan 11 00:54 LICENSE [2023-01-11T00:56:24.415Z] -rw-rw-r-- 1 jenkins jenkins 1670 Jan 11 00:54 Makefile [2023-01-11T00:56:24.415Z] -rw-rw-r-- 1 jenkins jenkins 622 Jan 11 00:54 OWNERS.md [2023-01-11T00:56:24.415Z] -rw-rw-r-- 1 jenkins jenkins 4061 Jan 11 00:54 README.md [2023-01-11T00:56:24.415Z] -rw-rw-r-- 1 jenkins jenkins 5 Jan 11 00:55 VERSION [2023-01-11T00:56:24.415Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 11 00:54 bin [2023-01-11T00:56:24.415Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 11 00:54 cmd [2023-01-11T00:56:24.415Z] -rw-r--r-- 1 jenkins jenkins 23241 Jan 11 00:56 coverage.out [2023-01-11T00:56:24.415Z] -rw-rw-r-- 1 jenkins jenkins 3584 Jan 11 00:54 go.mod [2023-01-11T00:56:24.415Z] -rw-rw-r-- 1 jenkins jenkins 45355 Jan 11 00:54 go.sum [2023-01-11T00:56:24.415Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 11 00:54 internal [2023-01-11T00:56:24.415Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 11 00:54 simulator [2023-01-11T00:56:24.415Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 11 00:54 snap [2023-01-11T00:56:24.415Z] -rw-rw-r-- 1 jenkins jenkins 229 Jan 11 00:54 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-11T00:56:24.720Z] + 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=2e53366609a88afe850077b341c5c88929897cf0 --label arch=amd64 --label version=0.0.0 . [2023-01-11T00:56:24.720Z] Sending build context to Docker daemon 6.357MB [2023-01-11T00:56:24.720Z] Step 1/22 : ARG BASE=golang:1.18-alpine3.16 [2023-01-11T00:56:24.720Z] Step 2/22 : FROM ${BASE} AS builder [2023-01-11T00:56:24.720Z] ---> 0d16ecdeeee6 [2023-01-11T00:56:24.720Z] Step 3/22 : ARG ADD_BUILD_TAGS="" [2023-01-11T00:56:24.978Z] ---> Running in 6fa7667fce69 [2023-01-11T00:56:24.978Z] Removing intermediate container 6fa7667fce69 [2023-01-11T00:56:24.978Z] ---> 1ef6ceeaf1b2 [2023-01-11T00:56:24.978Z] Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-11T00:56:24.978Z] ---> Running in 20a334b6cc58 [2023-01-11T00:56:24.978Z] Removing intermediate container 20a334b6cc58 [2023-01-11T00:56:24.978Z] ---> 1a31fb83e488 [2023-01-11T00:56:24.978Z] Step 5/22 : RUN apk add --update --no-cache make git openssh [2023-01-11T00:56:24.978Z] ---> Running in b710c5ba0304 [2023-01-11T00:56:25.238Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-11T00:56:25.497Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-11T00:56:25.757Z] OK: 217 MiB in 59 packages [2023-01-11T00:56:26.016Z] Removing intermediate container b710c5ba0304 [2023-01-11T00:56:26.016Z] ---> 519a3e3223c8 [2023-01-11T00:56:26.016Z] Step 6/22 : WORKDIR /device-modbus-go [2023-01-11T00:56:26.016Z] ---> Running in d353c0a9f461 [2023-01-11T00:56:26.274Z] Removing intermediate container d353c0a9f461 [2023-01-11T00:56:26.274Z] ---> 1ca7f0ebac29 [2023-01-11T00:56:26.274Z] Step 7/22 : COPY go.mod vendor* ./ [2023-01-11T00:56:26.274Z] ---> c4f3405ed8f2 [2023-01-11T00:56:26.274Z] Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-11T00:56:26.274Z] ---> Running in 01d2da67d1c7 [2023-01-11T00:56:26.840Z] Removing intermediate container 01d2da67d1c7 [2023-01-11T00:56:26.840Z] ---> 7a71da6678a6 [2023-01-11T00:56:26.840Z] Step 9/22 : COPY . . [2023-01-11T00:56:27.406Z] ---> 05ada09272d8 [2023-01-11T00:56:27.406Z] Step 10/22 : RUN ${MAKE} [2023-01-11T00:56:27.406Z] ---> Running in 7792e3469c29 [2023-01-11T00:56:27.664Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-modbus ./cmd [2023-01-11T00:56:49.591Z] Removing intermediate container 7792e3469c29 [2023-01-11T00:56:49.591Z] ---> 82ab3cdf785f [2023-01-11T00:56:49.591Z] Step 11/22 : FROM alpine:3.14 [2023-01-11T00:56:49.591Z] 3.14: Pulling from library/alpine [2023-01-11T00:56:49.591Z] c7ed990a2339: Pulling fs layer [2023-01-11T00:56:49.591Z] c7ed990a2339: Verifying Checksum [2023-01-11T00:56:49.591Z] c7ed990a2339: Download complete [2023-01-11T00:56:49.591Z] c7ed990a2339: Pull complete [2023-01-11T00:56:49.591Z] Digest: sha256:4c869a63e1b7c0722fed1e402a6466610327c3b83bdddb94bd94fb71da7f638a [2023-01-11T00:56:49.591Z] Status: Downloaded newer image for alpine:3.14 [2023-01-11T00:56:49.591Z] ---> dd53f409bf0b [2023-01-11T00:56:49.591Z] Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2023-01-11T00:56:49.591Z] ---> Running in 88b5285003dc [2023-01-11T00:56:49.591Z] Removing intermediate container 88b5285003dc [2023-01-11T00:56:49.591Z] ---> f97fd1829b46 [2023-01-11T00:56:49.591Z] Step 13/22 : RUN apk add --update --no-cache dumb-init [2023-01-11T00:56:49.591Z] ---> Running in cc4f94c790ef [2023-01-11T00:56:49.591Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2023-01-11T00:56:49.591Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2023-01-11T00:56:49.591Z] (1/1) Installing dumb-init (1.2.5-r1) [2023-01-11T00:56:49.591Z] Executing busybox-1.33.1-r8.trigger [2023-01-11T00:56:49.591Z] OK: 6 MiB in 15 packages [2023-01-11T00:56:49.591Z] Removing intermediate container cc4f94c790ef [2023-01-11T00:56:49.591Z] ---> 065d6866ef0d [2023-01-11T00:56:49.591Z] Step 14/22 : COPY --from=builder /device-modbus-go/cmd / [2023-01-11T00:56:49.591Z] ---> 89459929424e [2023-01-11T00:56:49.591Z] Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / [2023-01-11T00:56:49.591Z] ---> 8a4979f7cc38 [2023-01-11T00:56:49.591Z] Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / [2023-01-11T00:56:49.849Z] ---> 6cccf32aba6e [2023-01-11T00:56:49.849Z] Step 17/22 : EXPOSE 59901 [2023-01-11T00:56:49.849Z] ---> Running in b7b3d61db2a4 [2023-01-11T00:56:49.849Z] Removing intermediate container b7b3d61db2a4 [2023-01-11T00:56:49.849Z] ---> 28ff7128e46c [2023-01-11T00:56:49.849Z] Step 18/22 : ENTRYPOINT ["/device-modbus"] [2023-01-11T00:56:49.849Z] ---> Running in 2960a5ebf8e5 [2023-01-11T00:56:50.108Z] Removing intermediate container 2960a5ebf8e5 [2023-01-11T00:56:50.108Z] ---> 11d72194f280 [2023-01-11T00:56:50.108Z] Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-01-11T00:56:50.108Z] ---> Running in 3401d930be6c [2023-01-11T00:56:50.108Z] Removing intermediate container 3401d930be6c [2023-01-11T00:56:50.108Z] ---> 9157cb56ee21 [2023-01-11T00:56:50.108Z] Step 20/22 : LABEL arch=amd64 [2023-01-11T00:56:50.108Z] ---> Running in d00a8cc8cdcb [2023-01-11T00:56:50.367Z] Removing intermediate container d00a8cc8cdcb [2023-01-11T00:56:50.367Z] ---> 331396b933bd [2023-01-11T00:56:50.367Z] Step 21/22 : LABEL git_sha=2e53366609a88afe850077b341c5c88929897cf0 [2023-01-11T00:56:50.367Z] ---> Running in fe915efe523a [2023-01-11T00:56:50.367Z] Removing intermediate container fe915efe523a [2023-01-11T00:56:50.367Z] ---> 6f2bf550d912 [2023-01-11T00:56:50.367Z] Step 22/22 : LABEL version=0.0.0 [2023-01-11T00:56:50.367Z] ---> Running in 54cfeb63608e [2023-01-11T00:56:50.367Z] Removing intermediate container 54cfeb63608e [2023-01-11T00:56:50.367Z] ---> 18981f29f1f7 [2023-01-11T00:56:50.367Z] [Warning] One or more build-args [ARCH] were not consumed [2023-01-11T00:56:50.367Z] Successfully built 18981f29f1f7 [2023-01-11T00:56:50.367Z] Successfully tagged device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-11T00:56:50.794Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-11T00:56:50.794Z] [2023-01-11T00:56:50.794Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-11T00:56:51.091Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-11T00:56:51.091Z] latest: Pulling from edgex-lftools-log-publisher [2023-01-11T00:56:51.091Z] 5eb5b503b376: Pulling fs layer [2023-01-11T00:56:51.091Z] 5c69ac0246d0: Pulling fs layer [2023-01-11T00:56:51.091Z] ec43610c2a17: Pulling fs layer [2023-01-11T00:56:51.091Z] 3a2ae6a8a46f: Pulling fs layer [2023-01-11T00:56:51.091Z] 33b1e0a273af: Pulling fs layer [2023-01-11T00:56:51.091Z] 5d3b04190fa2: Pulling fs layer [2023-01-11T00:56:51.091Z] 2f39f015ded8: Pulling fs layer [2023-01-11T00:56:51.091Z] 5d3b04190fa2: Waiting [2023-01-11T00:56:51.091Z] 33b1e0a273af: Waiting [2023-01-11T00:56:51.091Z] 2f39f015ded8: Waiting [2023-01-11T00:56:51.091Z] 3a2ae6a8a46f: Waiting [2023-01-11T00:56:51.091Z] 5c69ac0246d0: Download complete [2023-01-11T00:56:51.091Z] 3a2ae6a8a46f: Verifying Checksum [2023-01-11T00:56:51.091Z] 3a2ae6a8a46f: Download complete [2023-01-11T00:56:51.350Z] 33b1e0a273af: Verifying Checksum [2023-01-11T00:56:51.350Z] 33b1e0a273af: Download complete [2023-01-11T00:56:51.350Z] ec43610c2a17: Verifying Checksum [2023-01-11T00:56:51.350Z] ec43610c2a17: Download complete [2023-01-11T00:56:51.350Z] 5d3b04190fa2: Download complete [2023-01-11T00:56:51.350Z] 5eb5b503b376: Verifying Checksum [2023-01-11T00:56:51.350Z] 5eb5b503b376: Download complete [2023-01-11T00:56:51.921Z] 2f39f015ded8: Download complete [2023-01-11T00:56:52.499Z] 5eb5b503b376: Pull complete [2023-01-11T00:56:52.757Z] 5c69ac0246d0: Pull complete [2023-01-11T00:56:53.322Z] ec43610c2a17: Pull complete [2023-01-11T00:56:53.322Z] 3a2ae6a8a46f: Pull complete [2023-01-11T00:56:53.581Z] 33b1e0a273af: Pull complete [2023-01-11T00:56:53.581Z] 5d3b04190fa2: Pull complete [2023-01-11T00:56:57.774Z] 2f39f015ded8: Pull complete [2023-01-11T00:56:57.774Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-01-11T00:56:57.774Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-11T00:56:57.774Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-11T00:56:57.855Z] prd-ubuntu20.04-docker-8c-8g-1788 does not seem to be running inside a container [2023-01-11T00:56:57.886Z] $ 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-395 -v /w/workspace/xfoundry_device-modbus-go_PR-395:/w/workspace/xfoundry_device-modbus-go_PR-395:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-395@tmp:/w/workspace/xfoundry_device-modbus-go_PR-395@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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-01-11T00:57:00.846Z] $ docker top cd9205b4029bc1a40f7d582bc25bbee4c7f808da6ae4224a946b9be589c76dd0 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-11T00:57:01.238Z] ---> job-cost.sh [2023-01-11T00:57:01.238Z] lf-activate-venv: SKIPPING [2023-01-11T00:57:01.238Z] INFO: No Stack... [2023-01-11T00:57:01.498Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-01-11T00:57:01.757Z] INFO: Archiving Costs [Pipeline] sh [2023-01-11T00:57:02.049Z] + cat /w/workspace/xfoundry_device-modbus-go_PR-395/archives/cost.csv [2023-01-11T00:57:02.049Z] + cut -d, -f6 [Pipeline] lock [2023-01-11T00:57:02.064Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-395-2-stack-cost] [2023-01-11T00:57:02.070Z] Resource [jenkins-edgexfoundry-device-modbus-go-PR-395-2-stack-cost] did not exist. Created. [2023-01-11T00:57:02.070Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-395-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-01-11T00:57:02.364Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-01-11T00:57:02.395Z] Stashed 1 file(s) [Pipeline] } [2023-01-11T00:57:02.401Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-395-2-stack-cost] [Pipeline] // lock [Pipeline] } [2023-01-11T00:57:02.421Z] $ docker stop --time=1 cd9205b4029bc1a40f7d582bc25bbee4c7f808da6ae4224a946b9be589c76dd0 [2023-01-11T00:57:03.595Z] $ docker rm -f --volumes cd9205b4029bc1a40f7d582bc25bbee4c7f808da6ae4224a946b9be589c76dd0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-01-11T00:59:21.321Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-1789 in /w/workspace/xfoundry_device-modbus-go_PR-395 [Pipeline] { [Pipeline] ws [2023-01-11T00:59:21.334Z] Running in /w/workspace/device-modbus-go/2 [Pipeline] { [Pipeline] checkout [2023-01-11T00:59:21.375Z] Selected Git installation does not exist. Using Default [2023-01-11T00:59:21.375Z] The recommended git tool is: NONE [2023-01-11T00:59:26.717Z] using credential edgex-jenkins-ssh [2023-01-11T00:59:26.734Z] Cloning the remote Git repository [2023-01-11T00:59:26.779Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2023-01-11T00:59:26.848Z] > git init /w/workspace/device-modbus-go/2 # timeout=10 [2023-01-11T00:59:26.992Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2023-01-11T00:59:26.993Z] > git --version # timeout=10 [2023-01-11T00:59:27.011Z] > git --version # 'git version 2.25.1' [2023-01-11T00:59:27.013Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-11T00:59:27.069Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-01-11T00:59:28.170Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2023-01-11T00:59:28.193Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-01-11T00:59:29.738Z] Merging remotes/origin/main commit def1cc71e63d04479355a5672fe2144ca0f9c836 into PR head commit 5cba2203e71886d94050145eddf79272566091df [2023-01-11T00:59:30.010Z] Merge succeeded, producing d6f93ad6111a7a9ffab800ba0aa601794e82b2f8 [2023-01-11T00:59:30.010Z] Checking out Revision d6f93ad6111a7a9ffab800ba0aa601794e82b2f8 (PR-395) [2023-01-11T00:59:29.086Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2023-01-11T00:59:29.127Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2023-01-11T00:59:29.128Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-11T00:59:29.145Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/395/head:refs/remotes/origin/PR-395 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-01-11T00:59:29.756Z] > git config core.sparsecheckout # timeout=10 [2023-01-11T00:59:29.777Z] > git checkout -f 5cba2203e71886d94050145eddf79272566091df # timeout=10 [2023-01-11T00:59:29.864Z] > git remote # timeout=10 [2023-01-11T00:59:29.885Z] > git config --get remote.origin.url # timeout=10 [2023-01-11T00:59:29.901Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-11T00:59:29.917Z] > git merge def1cc71e63d04479355a5672fe2144ca0f9c836 # timeout=10 [2023-01-11T00:59:29.986Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-01-11T00:59:30.017Z] > git config core.sparsecheckout # timeout=10 [2023-01-11T00:59:30.032Z] > git checkout -f d6f93ad6111a7a9ffab800ba0aa601794e82b2f8 # timeout=10 [2023-01-11T00:59:33.580Z] Commit message: "Merge commit 'def1cc71e63d04479355a5672fe2144ca0f9c836' into HEAD" [2023-01-11T00:59:33.589Z] > git rev-list --no-walk 5cba2203e71886d94050145eddf79272566091df # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-11T00:59:34.606Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-01-11T00:59:34.606Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-01-11T00:59:34.606Z] Dload Upload Total Spent Left Speed [2023-01-11T00:59:34.606Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 87335 0 --:--:-- --:--:-- --:--:-- 87937 [Pipeline] sh [2023-01-11T00:59:35.270Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-01-11T00:59:35.603Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-01-11T00:59:35.603Z] + sudo tee /etc/docker/daemon.new [2023-01-11T00:59:35.603Z] { [2023-01-11T00:59:35.603Z] "registry-mirrors": [ [2023-01-11T00:59:35.603Z] "https://nexus3.edgexfoundry.org:10001" [2023-01-11T00:59:35.603Z] ], [2023-01-11T00:59:35.603Z] "bip": "10.250.0.254/24", [2023-01-11T00:59:35.603Z] "hosts": [ [2023-01-11T00:59:35.603Z] "tcp://0.0.0.0:5555", [2023-01-11T00:59:35.603Z] "unix:///var/run/docker.sock" [2023-01-11T00:59:35.603Z] ], [2023-01-11T00:59:35.603Z] "mtu": 1458, [2023-01-11T00:59:35.603Z] "selinux-enabled": true, [2023-01-11T00:59:35.603Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-01-11T00:59:35.603Z] } [Pipeline] sh [2023-01-11T00:59:35.934Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-01-11T00:59:36.265Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-11T00:59:54.547Z] provisioning config files... [2023-01-11T00:59:54.574Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/2@tmp/config12372182421957682794tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-11T00:59:54.939Z] ---> docker-login.sh [2023-01-11T00:59:54.939Z] nexus3.edgexfoundry.org:10001 [2023-01-11T00:59:55.532Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-11T00:59:55.532Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-11T00:59:55.532Z] Configure a credential helper to remove this warning. See [2023-01-11T00:59:55.532Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-11T00:59:55.532Z] [2023-01-11T00:59:55.533Z] Login Succeeded [2023-01-11T00:59:55.804Z] nexus3.edgexfoundry.org:10002 [2023-01-11T00:59:56.075Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-11T00:59:56.075Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-11T00:59:56.075Z] Configure a credential helper to remove this warning. See [2023-01-11T00:59:56.075Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-11T00:59:56.075Z] [2023-01-11T00:59:56.075Z] Login Succeeded [2023-01-11T00:59:56.075Z] nexus3.edgexfoundry.org:10003 [2023-01-11T00:59:56.347Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-11T00:59:56.347Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-11T00:59:56.347Z] Configure a credential helper to remove this warning. See [2023-01-11T00:59:56.347Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-11T00:59:56.347Z] [2023-01-11T00:59:56.347Z] Login Succeeded [2023-01-11T00:59:56.347Z] nexus3.edgexfoundry.org:10004 [2023-01-11T00:59:56.619Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-11T00:59:56.892Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-11T00:59:56.892Z] Configure a credential helper to remove this warning. See [2023-01-11T00:59:56.892Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-11T00:59:56.892Z] [2023-01-11T00:59:56.892Z] Login Succeeded [2023-01-11T00:59:56.892Z] docker.io [2023-01-11T00:59:57.162Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-11T00:59:57.434Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-11T00:59:57.434Z] Configure a credential helper to remove this warning. See [2023-01-11T00:59:57.434Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-11T00:59:57.434Z] [2023-01-11T00:59:57.434Z] Login Succeeded [2023-01-11T00:59:57.434Z] ---> docker-login.sh ends [Pipeline] } [2023-01-11T00:59:57.449Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-01-11T00:59:57.746Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-11T00:59:57.764Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-11T00:59:57.775Z] ========================================================= [2023-01-11T00:59:57.775Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-01-11T00:59:57.775Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-11T00:59:58.127Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-01-11T00:59:58.397Z] Sending build context to Docker daemon 3.306MB [2023-01-11T00:59:58.397Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2023-01-11T00:59:58.397Z] Step 2/10 : FROM ${BASE} AS builder [2023-01-11T00:59:58.670Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-01-11T00:59:58.670Z] 9b18e9b68314: Pulling fs layer [2023-01-11T00:59:58.670Z] 35d82f9e3411: Pulling fs layer [2023-01-11T00:59:58.670Z] e16973657156: Pulling fs layer [2023-01-11T00:59:58.670Z] fc693d55d65f: Pulling fs layer [2023-01-11T00:59:58.670Z] 7e9fc2657dce: Pulling fs layer [2023-01-11T00:59:58.670Z] dda99020689f: Pulling fs layer [2023-01-11T00:59:58.670Z] db1c61fa0a46: Pulling fs layer [2023-01-11T00:59:58.670Z] 891c053d2c06: Pulling fs layer [2023-01-11T00:59:58.670Z] fc693d55d65f: Waiting [2023-01-11T00:59:58.670Z] 7e9fc2657dce: Waiting [2023-01-11T00:59:58.670Z] dda99020689f: Waiting [2023-01-11T00:59:58.670Z] db1c61fa0a46: Waiting [2023-01-11T00:59:58.671Z] 891c053d2c06: Waiting [2023-01-11T00:59:58.671Z] e16973657156: Verifying Checksum [2023-01-11T00:59:58.671Z] e16973657156: Download complete [2023-01-11T00:59:58.671Z] 35d82f9e3411: Verifying Checksum [2023-01-11T00:59:58.671Z] 35d82f9e3411: Download complete [2023-01-11T00:59:58.671Z] 7e9fc2657dce: Verifying Checksum [2023-01-11T00:59:58.671Z] 7e9fc2657dce: Download complete [2023-01-11T00:59:58.671Z] dda99020689f: Verifying Checksum [2023-01-11T00:59:58.671Z] dda99020689f: Download complete [2023-01-11T00:59:58.671Z] 9b18e9b68314: Verifying Checksum [2023-01-11T00:59:59.671Z] 9b18e9b68314: Pull complete [2023-01-11T00:59:59.942Z] 891c053d2c06: Verifying Checksum [2023-01-11T00:59:59.942Z] 891c053d2c06: Download complete [2023-01-11T01:00:00.217Z] 35d82f9e3411: Pull complete [2023-01-11T01:00:00.490Z] e16973657156: Pull complete [2023-01-11T01:00:01.085Z] db1c61fa0a46: Verifying Checksum [2023-01-11T01:00:01.085Z] db1c61fa0a46: Download complete [2023-01-11T01:00:01.676Z] fc693d55d65f: Verifying Checksum [2023-01-11T01:00:01.676Z] fc693d55d65f: Download complete [2023-01-11T01:00:14.037Z] fc693d55d65f: Pull complete [2023-01-11T01:00:14.037Z] 7e9fc2657dce: Pull complete [2023-01-11T01:00:14.037Z] dda99020689f: Pull complete [2023-01-11T01:00:19.402Z] db1c61fa0a46: Pull complete [2023-01-11T01:00:22.006Z] 891c053d2c06: Pull complete [2023-01-11T01:00:22.006Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-01-11T01:00:22.006Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-01-11T01:00:22.006Z] ---> f96f9c87975a [2023-01-11T01:00:22.006Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2023-01-11T01:00:23.431Z] ---> Running in 945cd92b287c [2023-01-11T01:00:23.702Z] Removing intermediate container 945cd92b287c [2023-01-11T01:00:23.702Z] ---> 3a6d4132e353 [2023-01-11T01:00:23.702Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-11T01:00:23.702Z] ---> Running in e837ea83669a [2023-01-11T01:00:24.287Z] Removing intermediate container e837ea83669a [2023-01-11T01:00:24.287Z] ---> c7e44baf501d [2023-01-11T01:00:24.287Z] Step 5/10 : RUN apk add --update --no-cache make git openssh [2023-01-11T01:00:24.287Z] ---> Running in d3bc823fdd10 [2023-01-11T01:00:25.252Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-11T01:00:25.840Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-11T01:00:26.804Z] (1/8) Installing openssh-keygen (9.0_p1-r2) [2023-01-11T01:00:26.804Z] (2/8) Installing libedit (20210910.3.1-r0) [2023-01-11T01:00:26.804Z] (3/8) Installing openssh-client-common (9.0_p1-r2) [2023-01-11T01:00:26.804Z] (4/8) Installing openssh-client-default (9.0_p1-r2) [2023-01-11T01:00:27.085Z] (5/8) Installing openssh-sftp-server (9.0_p1-r2) [2023-01-11T01:00:27.085Z] (6/8) Installing openssh-server-common (9.0_p1-r2) [2023-01-11T01:00:27.085Z] (7/8) Installing openssh-server (9.0_p1-r2) [2023-01-11T01:00:27.085Z] (8/8) Installing openssh (9.0_p1-r2) [2023-01-11T01:00:27.085Z] Executing busybox-1.35.0-r17.trigger [2023-01-11T01:00:27.085Z] OK: 228 MiB in 59 packages [2023-01-11T01:00:28.050Z] Removing intermediate container d3bc823fdd10 [2023-01-11T01:00:28.050Z] ---> 9d55d39b4491 [2023-01-11T01:00:28.050Z] Step 6/10 : WORKDIR /device-modbus-go [2023-01-11T01:00:28.317Z] ---> Running in 25ca2e23f3a5 [2023-01-11T01:00:28.586Z] Removing intermediate container 25ca2e23f3a5 [2023-01-11T01:00:28.586Z] ---> 94073c77f072 [2023-01-11T01:00:28.586Z] Step 7/10 : COPY go.mod vendor* ./ [2023-01-11T01:00:29.172Z] ---> 33602efbdac3 [2023-01-11T01:00:29.172Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-11T01:00:29.172Z] ---> Running in e072307df9fe [2023-01-11T01:01:25.628Z] Removing intermediate container e072307df9fe [2023-01-11T01:01:25.628Z] ---> 94b6c0a363b1 [2023-01-11T01:01:25.628Z] Step 9/10 : COPY . . [2023-01-11T01:01:25.895Z] ---> ba98a5edf2d4 [2023-01-11T01:01:25.895Z] Step 10/10 : RUN ${MAKE} [2023-01-11T01:01:25.895Z] ---> Running in fd355d8152d9 [2023-01-11T01:01:26.853Z] noop [2023-01-11T01:01:27.438Z] Removing intermediate container fd355d8152d9 [2023-01-11T01:01:27.438Z] ---> 92ff1a3664d4 [2023-01-11T01:01:27.438Z] Successfully built 92ff1a3664d4 [2023-01-11T01:01:27.438Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-11T01:01:27.779Z] + docker inspect -f . ci-base-image-arm64 [2023-01-11T01:01:27.779Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-11T01:01:27.968Z] prd-ubuntu20.04-docker-arm64-4c-16g-1789 does not seem to be running inside a container [2023-01-11T01:01:28.032Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/2 -v /w/workspace/device-modbus-go/2:/w/workspace/device-modbus-go/2:rw,z -v /w/workspace/device-modbus-go/2@tmp:/w/workspace/device-modbus-go/2@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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-01-11T01:01:29.243Z] $ docker top 1c9afc1c71cc93d908791e8fb55233b0b1261765be7ce3cfba6acd9d8caa0467 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-11T01:01:30.078Z] + go version [2023-01-11T01:01:30.078Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-01-11T01:01:30.097Z] $ docker stop --time=1 1c9afc1c71cc93d908791e8fb55233b0b1261765be7ce3cfba6acd9d8caa0467 [2023-01-11T01:01:31.841Z] $ docker rm -f --volumes 1c9afc1c71cc93d908791e8fb55233b0b1261765be7ce3cfba6acd9d8caa0467 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-11T01:01:32.441Z] + docker inspect -f . ci-base-image-arm64 [2023-01-11T01:01:32.441Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-11T01:01:32.656Z] prd-ubuntu20.04-docker-arm64-4c-16g-1789 does not seem to be running inside a container [2023-01-11T01:01:32.727Z] $ 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/2 -v /w/workspace/device-modbus-go/2:/w/workspace/device-modbus-go/2:rw,z -v /w/workspace/device-modbus-go/2@tmp:/w/workspace/device-modbus-go/2@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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-01-11T01:01:34.914Z] $ docker top add76488fe53af7ae751e18d12af74ab255183dbd2196e1cf2c2374adb46992c -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-11T01:01:35.437Z] + git config --global --add safe.directory /w/workspace/device-modbus-go/2 [Pipeline] fileExists [Pipeline] sh [2023-01-11T01:01:36.380Z] + make test [2023-01-11T01:01:36.380Z] go test ./... -coverprofile=coverage.out [2023-01-11T01:01:38.331Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2023-01-11T01:03:01.191Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2023-01-11T01:03:01.191Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.061s coverage: 47.7% of statements [2023-01-11T01:03:01.191Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-01-11T01:03:01.191Z] go vet ./... [2023-01-11T01:03:23.278Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-01-11T01:03:23.278Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-01-11T01:03:23.278Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-01-11T01:03:23.302Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-01-11T01:03:23.317Z] $ docker stop --time=1 add76488fe53af7ae751e18d12af74ab255183dbd2196e1cf2c2374adb46992c [2023-01-11T01:03:25.104Z] $ docker rm -f --volumes add76488fe53af7ae751e18d12af74ab255183dbd2196e1cf2c2374adb46992c [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-11T01:03:26.022Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-01-11T01:03:26.044Z] Warning: overwriting stash ‘coverage-report’ [2023-01-11T01:03:26.486Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-11T01:03:26.859Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-01-11T01:03:27.188Z] + ls -al . [2023-01-11T01:03:27.188Z] total 192 [2023-01-11T01:03:27.188Z] drwxrwxr-x 9 jenkins jenkins 4096 Jan 11 01:01 . [2023-01-11T01:03:27.188Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 11 00:59 .. [2023-01-11T01:03:27.188Z] -rw-rw-r-- 1 jenkins jenkins 140 Jan 11 00:59 .dockerignore [2023-01-11T01:03:27.188Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 11 00:59 .git [2023-01-11T01:03:27.188Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 11 00:59 .github [2023-01-11T01:03:27.188Z] -rw-rw-r-- 1 jenkins jenkins 331 Jan 11 00:59 .gitignore [2023-01-11T01:03:27.188Z] -rw-rw-r-- 1 jenkins jenkins 41 Jan 11 00:59 .golangci.yml [2023-01-11T01:03:27.188Z] -rw-rw-r-- 1 jenkins jenkins 10017 Jan 11 00:59 Attribution.txt [2023-01-11T01:03:27.188Z] -rw-rw-r-- 1 jenkins jenkins 11576 Jan 11 00:59 CHANGELOG.md [2023-01-11T01:03:27.188Z] -rw-rw-r-- 1 jenkins jenkins 1365 Jan 11 00:59 Dockerfile [2023-01-11T01:03:27.188Z] -rw-rw-r-- 1 jenkins jenkins 677 Jan 11 00:59 GOVERNANCE.md [2023-01-11T01:03:27.188Z] -rw-rw-r-- 1 jenkins jenkins 680 Jan 11 00:59 Jenkinsfile [2023-01-11T01:03:27.188Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jan 11 00:59 LICENSE [2023-01-11T01:03:27.188Z] -rw-rw-r-- 1 jenkins jenkins 1670 Jan 11 00:59 Makefile [2023-01-11T01:03:27.188Z] -rw-rw-r-- 1 jenkins jenkins 622 Jan 11 00:59 OWNERS.md [2023-01-11T01:03:27.188Z] -rw-rw-r-- 1 jenkins jenkins 4061 Jan 11 00:59 README.md [2023-01-11T01:03:27.188Z] -rw-rw-r-- 1 jenkins jenkins 5 Jan 11 00:55 VERSION [2023-01-11T01:03:27.188Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 11 00:59 bin [2023-01-11T01:03:27.188Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 11 00:59 cmd [2023-01-11T01:03:27.188Z] -rw-r--r-- 1 jenkins jenkins 23241 Jan 11 01:02 coverage.out [2023-01-11T01:03:27.188Z] -rw-rw-r-- 1 jenkins jenkins 3584 Jan 11 00:59 go.mod [2023-01-11T01:03:27.188Z] -rw-rw-r-- 1 jenkins jenkins 45355 Jan 11 00:59 go.sum [2023-01-11T01:03:27.188Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 11 00:59 internal [2023-01-11T01:03:27.188Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 11 00:59 simulator [2023-01-11T01:03:27.188Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 11 00:59 snap [2023-01-11T01:03:27.188Z] -rw-rw-r-- 1 jenkins jenkins 229 Jan 11 00:59 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-11T01:03:27.525Z] + 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=d6f93ad6111a7a9ffab800ba0aa601794e82b2f8 --label arch=arm64 --label version=0.0.0 . [2023-01-11T01:03:27.791Z] Sending build context to Docker daemon 3.33MB [2023-01-11T01:03:27.791Z] Step 1/22 : ARG BASE=golang:1.18-alpine3.16 [2023-01-11T01:03:27.791Z] Step 2/22 : FROM ${BASE} AS builder [2023-01-11T01:03:27.791Z] ---> 92ff1a3664d4 [2023-01-11T01:03:27.791Z] Step 3/22 : ARG ADD_BUILD_TAGS="" [2023-01-11T01:03:28.060Z] ---> Running in 2102054d79b3 [2023-01-11T01:03:28.328Z] Removing intermediate container 2102054d79b3 [2023-01-11T01:03:28.328Z] ---> db89ca146629 [2023-01-11T01:03:28.328Z] Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-11T01:03:28.328Z] ---> Running in 84988a7ef1f2 [2023-01-11T01:03:28.598Z] Removing intermediate container 84988a7ef1f2 [2023-01-11T01:03:28.598Z] ---> 83809f0077f1 [2023-01-11T01:03:28.598Z] Step 5/22 : RUN apk add --update --no-cache make git openssh [2023-01-11T01:03:28.866Z] ---> Running in 6cd6de46daea [2023-01-11T01:03:29.830Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-11T01:03:30.098Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-11T01:03:31.059Z] OK: 228 MiB in 59 packages [2023-01-11T01:03:32.028Z] Removing intermediate container 6cd6de46daea [2023-01-11T01:03:32.028Z] ---> e7b111ff6b40 [2023-01-11T01:03:32.028Z] Step 6/22 : WORKDIR /device-modbus-go [2023-01-11T01:03:32.028Z] ---> Running in e66c0f88acf7 [2023-01-11T01:03:32.296Z] Removing intermediate container e66c0f88acf7 [2023-01-11T01:03:32.296Z] ---> aac71f2898c9 [2023-01-11T01:03:32.296Z] Step 7/22 : COPY go.mod vendor* ./ [2023-01-11T01:03:32.883Z] ---> a23b1df08f13 [2023-01-11T01:03:32.883Z] Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-11T01:03:32.883Z] ---> Running in 8771699af816 [2023-01-11T01:03:35.473Z] Removing intermediate container 8771699af816 [2023-01-11T01:03:35.473Z] ---> e0997a78e7a9 [2023-01-11T01:03:35.473Z] Step 9/22 : COPY . . [2023-01-11T01:03:36.067Z] ---> d13e28eb47d5 [2023-01-11T01:03:36.067Z] Step 10/22 : RUN ${MAKE} [2023-01-11T01:03:36.338Z] ---> Running in 3c5e06b7f738 [2023-01-11T01:03:37.310Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-modbus ./cmd [2023-01-11T01:05:59.034Z] Removing intermediate container 3c5e06b7f738 [2023-01-11T01:05:59.034Z] ---> 4a8bb1081e70 [2023-01-11T01:05:59.034Z] Step 11/22 : FROM alpine:3.14 [2023-01-11T01:05:59.034Z] 3.14: Pulling from library/alpine [2023-01-11T01:05:59.034Z] 90cda3b7c325: Pulling fs layer [2023-01-11T01:05:59.034Z] 90cda3b7c325: Verifying Checksum [2023-01-11T01:05:59.034Z] 90cda3b7c325: Download complete [2023-01-11T01:05:59.380Z] 90cda3b7c325: Pull complete [2023-01-11T01:05:59.380Z] Digest: sha256:4c869a63e1b7c0722fed1e402a6466610327c3b83bdddb94bd94fb71da7f638a [2023-01-11T01:05:59.380Z] Status: Downloaded newer image for alpine:3.14 [2023-01-11T01:05:59.380Z] ---> 275902a1839d [2023-01-11T01:05:59.380Z] Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2023-01-11T01:05:59.665Z] ---> Running in 880f585092b3 [2023-01-11T01:05:59.941Z] Removing intermediate container 880f585092b3 [2023-01-11T01:05:59.941Z] ---> 6dc6d0aa2b8f [2023-01-11T01:05:59.941Z] Step 13/22 : RUN apk add --update --no-cache dumb-init [2023-01-11T01:05:59.941Z] ---> Running in fa62b00ec624 [2023-01-11T01:06:00.944Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2023-01-11T01:06:01.221Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2023-01-11T01:06:02.207Z] (1/1) Installing dumb-init (1.2.5-r1) [2023-01-11T01:06:02.207Z] Executing busybox-1.33.1-r8.trigger [2023-01-11T01:06:02.207Z] OK: 6 MiB in 15 packages [2023-01-11T01:06:03.186Z] Removing intermediate container fa62b00ec624 [2023-01-11T01:06:03.186Z] ---> 7f00d52df873 [2023-01-11T01:06:03.186Z] Step 14/22 : COPY --from=builder /device-modbus-go/cmd / [2023-01-11T01:06:04.602Z] ---> 0fe5201e1618 [2023-01-11T01:06:04.602Z] Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / [2023-01-11T01:06:04.869Z] ---> 5b7560e84d64 [2023-01-11T01:06:04.869Z] Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / [2023-01-11T01:06:05.454Z] ---> 135b0786838a [2023-01-11T01:06:05.454Z] Step 17/22 : EXPOSE 59901 [2023-01-11T01:06:05.454Z] ---> Running in ceb1836272e1 [2023-01-11T01:06:05.722Z] Removing intermediate container ceb1836272e1 [2023-01-11T01:06:05.722Z] ---> 52afd15b6bcd [2023-01-11T01:06:05.722Z] Step 18/22 : ENTRYPOINT ["/device-modbus"] [2023-01-11T01:06:05.722Z] ---> Running in e89115e7b730 [2023-01-11T01:06:05.993Z] Removing intermediate container e89115e7b730 [2023-01-11T01:06:05.993Z] ---> 1d821f29a0e8 [2023-01-11T01:06:05.994Z] Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-01-11T01:06:06.264Z] ---> Running in 3fa6c6a436a2 [2023-01-11T01:06:06.532Z] Removing intermediate container 3fa6c6a436a2 [2023-01-11T01:06:06.532Z] ---> f79a5f82a7fe [2023-01-11T01:06:06.532Z] Step 20/22 : LABEL arch=arm64 [2023-01-11T01:06:06.532Z] ---> Running in 99be291e4df0 [2023-01-11T01:06:06.799Z] Removing intermediate container 99be291e4df0 [2023-01-11T01:06:06.799Z] ---> 340ec7f91279 [2023-01-11T01:06:06.799Z] Step 21/22 : LABEL git_sha=d6f93ad6111a7a9ffab800ba0aa601794e82b2f8 [2023-01-11T01:06:06.799Z] ---> Running in 033ae516bba9 [2023-01-11T01:06:07.070Z] Removing intermediate container 033ae516bba9 [2023-01-11T01:06:07.070Z] ---> 509009991932 [2023-01-11T01:06:07.070Z] Step 22/22 : LABEL version=0.0.0 [2023-01-11T01:06:07.338Z] ---> Running in 7b83e1561d92 [2023-01-11T01:06:07.604Z] Removing intermediate container 7b83e1561d92 [2023-01-11T01:06:07.604Z] ---> e19b54e023a3 [2023-01-11T01:06:07.604Z] [Warning] One or more build-args [ARCH] were not consumed [2023-01-11T01:06:07.604Z] Successfully built e19b54e023a3 [2023-01-11T01:06:07.604Z] Successfully tagged device-modbus-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-11T01:06:08.039Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-11T01:06:08.039Z] [2023-01-11T01:06:08.039Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-11T01:06:08.376Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-11T01:06:08.376Z] arm64: Pulling from edgex-lftools-log-publisher [2023-01-11T01:06:08.376Z] 8998bd30e6a1: Pulling fs layer [2023-01-11T01:06:08.376Z] 04944245beec: Pulling fs layer [2023-01-11T01:06:08.376Z] 699f458cf7ca: Pulling fs layer [2023-01-11T01:06:08.376Z] 765212b225bb: Pulling fs layer [2023-01-11T01:06:08.376Z] f23df028b6ca: Pulling fs layer [2023-01-11T01:06:08.376Z] d65c8cfc05b1: Pulling fs layer [2023-01-11T01:06:08.376Z] 2437ff75d9bd: Pulling fs layer [2023-01-11T01:06:08.376Z] f23df028b6ca: Waiting [2023-01-11T01:06:08.376Z] d65c8cfc05b1: Waiting [2023-01-11T01:06:08.376Z] 2437ff75d9bd: Waiting [2023-01-11T01:06:08.376Z] 765212b225bb: Waiting [2023-01-11T01:06:08.643Z] 04944245beec: Verifying Checksum [2023-01-11T01:06:08.643Z] 04944245beec: Download complete [2023-01-11T01:06:08.643Z] 765212b225bb: Verifying Checksum [2023-01-11T01:06:08.643Z] 765212b225bb: Download complete [2023-01-11T01:06:08.643Z] f23df028b6ca: Verifying Checksum [2023-01-11T01:06:08.643Z] f23df028b6ca: Download complete [2023-01-11T01:06:08.643Z] d65c8cfc05b1: Verifying Checksum [2023-01-11T01:06:08.643Z] d65c8cfc05b1: Download complete [2023-01-11T01:06:08.643Z] 699f458cf7ca: Verifying Checksum [2023-01-11T01:06:08.643Z] 699f458cf7ca: Download complete [2023-01-11T01:06:09.238Z] 8998bd30e6a1: Verifying Checksum [2023-01-11T01:06:09.238Z] 8998bd30e6a1: Download complete [2023-01-11T01:06:11.198Z] 2437ff75d9bd: Verifying Checksum [2023-01-11T01:06:11.198Z] 2437ff75d9bd: Download complete [2023-01-11T01:06:13.149Z] 8998bd30e6a1: Pull complete [2023-01-11T01:06:13.149Z] 04944245beec: Pull complete [2023-01-11T01:06:14.554Z] 699f458cf7ca: Pull complete [2023-01-11T01:06:14.820Z] 765212b225bb: Pull complete [2023-01-11T01:06:15.402Z] f23df028b6ca: Pull complete [2023-01-11T01:06:15.669Z] d65c8cfc05b1: Pull complete [2023-01-11T01:06:30.650Z] 2437ff75d9bd: Pull complete [2023-01-11T01:06:30.650Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-01-11T01:06:30.650Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-11T01:06:30.650Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-11T01:06:30.841Z] prd-ubuntu20.04-docker-arm64-4c-16g-1789 does not seem to be running inside a container [2023-01-11T01:06:30.896Z] $ 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/2 -v /w/workspace/device-modbus-go/2:/w/workspace/device-modbus-go/2:rw,z -v /w/workspace/device-modbus-go/2@tmp:/w/workspace/device-modbus-go/2@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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-01-11T01:06:33.447Z] $ docker top e5c7e9faf07f8b249ecebe5b731b314bc79b24f7a177304545c3301904ed184d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-11T01:06:33.964Z] ---> job-cost.sh [2023-01-11T01:06:34.231Z] lf-activate-venv: SKIPPING [2023-01-11T01:06:34.231Z] INFO: No Stack... [2023-01-11T01:06:34.497Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-01-11T01:06:35.456Z] INFO: Archiving Costs [Pipeline] sh [2023-01-11T01:06:35.779Z] + cut+ -d, -f6 [2023-01-11T01:06:35.779Z] cat /w/workspace/device-modbus-go/2/archives/cost.csv [Pipeline] lock [2023-01-11T01:06:35.817Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-395-2-stack-cost] [2023-01-11T01:06:35.823Z] Resource [jenkins-edgexfoundry-device-modbus-go-PR-395-2-stack-cost] did not exist. Created. [2023-01-11T01:06:35.823Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-395-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-01-11T01:06:36.160Z] /w/workspace/device-modbus-go/2@tmp/durable-4af08709/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-01-11T01:06:36.494Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-01-11T01:06:36.783Z] Warning: overwriting stash ‘stack-cost’ [2023-01-11T01:06:36.826Z] Stashed 1 file(s) [Pipeline] } [2023-01-11T01:06:36.832Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-395-2-stack-cost] [Pipeline] // lock [Pipeline] } [2023-01-11T01:06:36.843Z] $ docker stop --time=1 e5c7e9faf07f8b249ecebe5b731b314bc79b24f7a177304545c3301904ed184d [2023-01-11T01:06:38.349Z] $ docker rm -f --volumes e5c7e9faf07f8b249ecebe5b731b314bc79b24f7a177304545c3301904ed184d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2023-01-11T01:06:38.735Z] provisioning config files... [2023-01-11T01:06:38.743Z] copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-395@tmp/config12178942827856276359tmp [Pipeline] { [Pipeline] sh [2023-01-11T01:06:39.038Z] + set +x [2023-01-11T01:06:39.039Z] + + curl -s https://codecov.io/bashbash [2023-01-11T01:06:39.039Z] -s -- [2023-01-11T01:06:39.039Z] [2023-01-11T01:06:39.039Z] _____ _ [2023-01-11T01:06:39.039Z] / ____| | | [2023-01-11T01:06:39.039Z] | | ___ __| | ___ ___ _____ __ [2023-01-11T01:06:39.039Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-01-11T01:06:39.039Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-01-11T01:06:39.039Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-01-11T01:06:39.039Z] Bash-1.0.6 [2023-01-11T01:06:39.039Z] [2023-01-11T01:06:39.039Z] [2023-01-11T01:06:39.039Z] ==> git version 2.25.1 found [2023-01-11T01:06:39.039Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2023-01-11T01:06:39.039Z] Release-Date: 2020-01-08 [2023-01-11T01:06:39.039Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-01-11T01:06:39.039Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-01-11T01:06:39.039Z] ==> Jenkins CI detected. [2023-01-11T01:06:39.039Z] current dir:  /w/workspace/xfoundry_device-modbus-go_PR-395 [2023-01-11T01:06:39.039Z] project root: . [2023-01-11T01:06:39.039Z] --> token set from env [2023-01-11T01:06:39.039Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-01-11T01:06:39.039Z] ==> Running gcov in . (disable via -X gcov) [2023-01-11T01:06:39.039Z] ==> Python coveragepy not found [2023-01-11T01:06:39.039Z] ==> Searching for coverage reports in: [2023-01-11T01:06:39.039Z] + . [2023-01-11T01:06:39.039Z] -> Found 1 reports [2023-01-11T01:06:39.039Z] ==> Detecting git/mercurial file structure [2023-01-11T01:06:39.039Z] ==> Reading reports [2023-01-11T01:06:39.039Z] + ./coverage.out bytes=23241 [2023-01-11T01:06:39.297Z] ==> Appending adjustments [2023-01-11T01:06:39.297Z] https://docs.codecov.io/docs/fixing-reports [2023-01-11T01:06:39.297Z] + Found adjustments [2023-01-11T01:06:39.297Z] ==> Gzipping contents [2023-01-11T01:06:39.297Z] 4.0K /tmp/codecov.n2AoUP.gz [2023-01-11T01:06:39.297Z] ==> Uploading reports [2023-01-11T01:06:39.297Z] url: https://codecov.io [2023-01-11T01:06:39.297Z] query: branch=PR-395&commit=2e53366609a88afe850077b341c5c88929897cf0&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-395%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=395&job=&cmd_args= [2023-01-11T01:06:39.297Z] -> Pinging Codecov [2023-01-11T01:06:39.297Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3a8d40b1-de00-4649-bfd4-bdc8ed99ae89&branch=PR-395&commit=2e53366609a88afe850077b341c5c88929897cf0&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-395%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=395&job=&cmd_args= [2023-01-11T01:06:39.557Z] -> Uploading to [2023-01-11T01:06:39.557Z] https://storage.googleapis.com/codecov/v4/raw/2023-01-11/55DBCA73C666E3227836607328DD7E49/2e53366609a88afe850077b341c5c88929897cf0/263741ac-43e8-482e-943c-3d3523346e17.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230111%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230111T010639Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=efd59a4c6552c65a93fc753eae80be02b0de1f51a3aa784a9a88fdd7813a74e2 [2023-01-11T01:06:39.557Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-01-11T01:06:39.557Z] Dload Upload Total Spent Left Speed [2023-01-11T01:06:39.816Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3920 0 0 100 3920 0 17657 --:--:-- --:--:-- --:--:-- 17578 100 3920 0 0 100 3920 0 14518 --:--:-- --:--:-- --:--:-- 14464 [2023-01-11T01:06:39.816Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/2e53366609a88afe850077b341c5c88929897cf0 [Pipeline] } [2023-01-11T01:06:39.823Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-01-11T01:06:40.500Z] + [ -d /w/workspace/xfoundry_device-modbus-go_PR-395/archives ] [2023-01-11T01:06:40.500Z] + ls -al /w/workspace/xfoundry_device-modbus-go_PR-395/archives [2023-01-11T01:06:40.500Z] total 16 [2023-01-11T01:06:40.500Z] drwxr-xr-x 3 root root 4096 Jan 11 00:57 . [2023-01-11T01:06:40.500Z] drwxrwxr-x 11 jenkins jenkins 4096 Jan 11 00:57 .. [2023-01-11T01:06:40.500Z] drwxr-xr-x 2 root root 4096 Jan 11 00:57 cost [2023-01-11T01:06:40.500Z] -rw-r--r-- 1 root root 88 Jan 11 00:57 cost.csv [2023-01-11T01:06:40.500Z] + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-395/archives [2023-01-11T01:06:40.500Z] + ls -al /w/workspace/xfoundry_device-modbus-go_PR-395/archives [2023-01-11T01:06:40.500Z] total 16 [2023-01-11T01:06:40.500Z] drwxr-xr-x 3 jenkins jenkins 4096 Jan 11 00:57 . [2023-01-11T01:06:40.500Z] drwxrwxr-x 11 jenkins jenkins 4096 Jan 11 00:57 .. [2023-01-11T01:06:40.500Z] drwxr-xr-x 2 jenkins jenkins 4096 Jan 11 00:57 cost [2023-01-11T01:06:40.500Z] -rw-r--r-- 1 jenkins jenkins 88 Jan 11 00:57 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-01-11T01:06:40.792Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-11T01:06:41.646Z] ---> package-listing.sh [2023-01-11T01:06:41.646Z] ++ facter osfamily [2023-01-11T01:06:41.646Z] ++ tr '[:upper:]' '[:lower:]' [2023-01-11T01:06:41.905Z] + OS_FAMILY=debian [2023-01-11T01:06:41.905Z] + workspace=/w/workspace/xfoundry_device-modbus-go_PR-395 [2023-01-11T01:06:41.905Z] + START_PACKAGES=/tmp/packages_start.txt [2023-01-11T01:06:41.905Z] + END_PACKAGES=/tmp/packages_end.txt [2023-01-11T01:06:41.905Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-01-11T01:06:41.905Z] + PACKAGES=/tmp/packages_start.txt [2023-01-11T01:06:41.905Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-395 ']' [2023-01-11T01:06:41.905Z] + PACKAGES=/tmp/packages_end.txt [2023-01-11T01:06:41.905Z] + case "${OS_FAMILY}" in [2023-01-11T01:06:41.905Z] + dpkg -l [2023-01-11T01:06:41.905Z] + grep '^ii' [2023-01-11T01:06:41.905Z] + '[' -f /tmp/packages_start.txt ']' [2023-01-11T01:06:41.905Z] + '[' -f /tmp/packages_end.txt ']' [2023-01-11T01:06:41.905Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-01-11T01:06:41.905Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-395 ']' [2023-01-11T01:06:41.905Z] + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-395/archives/ [2023-01-11T01:06:41.905Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-395/archives/ [Pipeline] echo [2023-01-11T01:06:41.916Z] 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-395/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-01-11T01:06:42.192Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-11T01:06:42.747Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-11T01:06:42.747Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-11T01:06:42.817Z] prd-ubuntu20.04-docker-8c-8g-1788 does not seem to be running inside a container [2023-01-11T01:06:42.853Z] $ 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-395/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-395 -v /w/workspace/xfoundry_device-modbus-go_PR-395:/w/workspace/xfoundry_device-modbus-go_PR-395:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-395@tmp:/w/workspace/xfoundry_device-modbus-go_PR-395@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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-01-11T01:06:43.056Z] $ docker top b4496ad8d2101ba2d1a2d9d189e337ed4f4333e362952b90369e692e2c12b111 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-11T01:06:43.398Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-01-11T01:06:43.683Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-01-11T01:06:43.968Z] + ls /var/log/sa-host [2023-01-11T01:06:43.968Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-11T01:06:44.040Z] provisioning config files... [2023-01-11T01:06:44.049Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-395@tmp/config3371534465587886102tmp [Pipeline] { [Pipeline] echo [2023-01-11T01:06:44.066Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-11T01:06:44.345Z] ---> create-netrc.sh [Pipeline] } [2023-01-11T01:06:44.353Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-01-11T01:06:44.685Z] ---> python-tools-install.sh [Pipeline] echo [2023-01-11T01:06:44.694Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-11T01:06:44.976Z] ---> sudo-logs.sh [2023-01-11T01:06:44.976Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-01-11T01:06:44.999Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-11T01:06:45.282Z] ---> job-cost.sh [2023-01-11T01:06:45.282Z] lf-activate-venv: SKIPPING [2023-01-11T01:06:45.282Z] DEBUG: total: 0.2199999988079071 [2023-01-11T01:06:45.282Z] INFO: Retrieving Stack Cost... [2023-01-11T01:06:45.542Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-01-11T01:06:46.109Z] INFO: Archiving Costs [Pipeline] echo [2023-01-11T01:06:46.122Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-11T01:06:46.400Z] ---> logs-deploy.sh [2023-01-11T01:06:46.400Z] lf-activate-venv: SKIPPING [2023-01-11T01:06:46.400Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-395/2 [2023-01-11T01:06:46.400Z] INFO: archiving workspace using pattern(s): [2023-01-11T01:06:47.335Z] Archives upload complete. [2023-01-11T01:06:47.335Z] INFO: archiving logs to Nexus