Pull request #400 updated 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 farshidtz for edgexfoundry/device-modbus-go Obtained Jenkinsfile from 256f87db5fdfe07ed03426eac959ea24fa54efa6+8c18bb98ae9dac01b00ec9cd5d6b8c37f768cff1 (bfad43efae065a97c5afa50b7cc905166a46522b) 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-ssh6153007248877892558.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-ssh17706973029023566332.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-400/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-400/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6764485175032028520.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-ssh14339833015520390321.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-400/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-400/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh16604144326365765574.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-2227 in /w/workspace/xfoundry_device-modbus-go_PR-400 [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-400 # 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/400/head:refs/remotes/origin/PR-400 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 8c18bb98ae9dac01b00ec9cd5d6b8c37f768cff1 into PR head commit 256f87db5fdfe07ed03426eac959ea24fa54efa6 Merge succeeded, producing 256f87db5fdfe07ed03426eac959ea24fa54efa6 Checking out Revision 256f87db5fdfe07ed03426eac959ea24fa54efa6 (PR-400) > git config core.sparsecheckout # timeout=10 > git checkout -f 256f87db5fdfe07ed03426eac959ea24fa54efa6 # 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 8c18bb98ae9dac01b00ec9cd5d6b8c37f768cff1 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 256f87db5fdfe07ed03426eac959ea24fa54efa6 # timeout=10 Commit message: "fix: Remove unused imported module" > git rev-list --no-walk 34d1ea018a435b8e147222b7c7e3f3cc77e41815 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-01-13T16:31:49.854Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-01-13T16:31:49.916Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-01-13T16:31:49.932Z] ========================================================= [2023-01-13T16:31:49.932Z] EdgeX Global Pipelines Version Info [2023-01-13T16:31:49.932Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-01-13T16:31:50.644Z] ------------------- [2023-01-13T16:31:50.644Z] stable info: [2023-01-13T16:31:50.644Z] ------------------- [2023-01-13T16:31:50.644Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-01-13T16:31:50.644Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-01-13T16:31:50.644Z] Message: update stable to v1.0.244 [2023-01-13T16:31:51.218Z] ------------------- [2023-01-13T16:31:51.218Z] experimental info: [2023-01-13T16:31:51.218Z] ------------------- [2023-01-13T16:31:51.218Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-01-13T16:31:51.218Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-01-13T16:31:51.218Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-01-13T16:31:51.380Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo [2023-01-13T16:31:51.395Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo [2023-01-13T16:31:51.411Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-01-13T16:31:51.428Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-01-13T16:31:51.444Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-01-13T16:31:51.456Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-01-13T16:31:51.471Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-01-13T16:31:51.483Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-01-13T16:31:51.495Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-01-13T16:31:51.507Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-01-13T16:31:51.521Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-01-13T16:31:51.533Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo [2023-01-13T16:31:51.545Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-01-13T16:31:51.557Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-01-13T16:31:51.572Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-01-13T16:31:51.584Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-01-13T16:31:51.597Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-01-13T16:31:51.608Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-01-13T16:31:51.620Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-01-13T16:31:51.632Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-01-13T16:31:51.646Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-01-13T16:31:51.666Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-01-13T16:31:51.676Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-01-13T16:31:51.690Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-01-13T16:31:51.704Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-01-13T16:31:51.718Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-01-13T16:31:51.731Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-01-13T16:31:51.743Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-400 [Pipeline] echo [2023-01-13T16:31:51.755Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-400 [Pipeline] echo [2023-01-13T16:31:51.768Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-400 [Pipeline] echo [2023-01-13T16:31:51.780Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 256f87db5fdfe07ed03426eac959ea24fa54efa6 [Pipeline] echo [2023-01-13T16:31:51.791Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 256f87d [Pipeline] echo [2023-01-13T16:31:51.802Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-13T16:31:51.839Z] provisioning config files... [2023-01-13T16:31:51.853Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-400@tmp/config13625577632360904018tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-13T16:31:52.167Z] ---> docker-login.sh [2023-01-13T16:31:52.167Z] nexus3.edgexfoundry.org:10001 [2023-01-13T16:31:52.427Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-13T16:31:52.427Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-13T16:31:52.427Z] Configure a credential helper to remove this warning. See [2023-01-13T16:31:52.427Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-13T16:31:52.427Z] [2023-01-13T16:31:52.427Z] Login Succeeded [2023-01-13T16:31:52.687Z] nexus3.edgexfoundry.org:10002 [2023-01-13T16:31:52.687Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-13T16:31:52.687Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-13T16:31:52.687Z] Configure a credential helper to remove this warning. See [2023-01-13T16:31:52.687Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-13T16:31:52.687Z] [2023-01-13T16:31:52.687Z] Login Succeeded [2023-01-13T16:31:52.687Z] nexus3.edgexfoundry.org:10003 [2023-01-13T16:31:52.687Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-13T16:31:52.687Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-13T16:31:52.687Z] Configure a credential helper to remove this warning. See [2023-01-13T16:31:52.687Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-13T16:31:52.687Z] [2023-01-13T16:31:52.687Z] Login Succeeded [2023-01-13T16:31:52.949Z] nexus3.edgexfoundry.org:10004 [2023-01-13T16:31:52.949Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-13T16:31:52.949Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-13T16:31:52.949Z] Configure a credential helper to remove this warning. See [2023-01-13T16:31:52.949Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-13T16:31:52.949Z] [2023-01-13T16:31:52.949Z] Login Succeeded [2023-01-13T16:31:52.949Z] docker.io [2023-01-13T16:31:52.949Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-13T16:31:53.210Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-13T16:31:53.210Z] Configure a credential helper to remove this warning. See [2023-01-13T16:31:53.210Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-13T16:31:53.210Z] [2023-01-13T16:31:53.210Z] Login Succeeded [2023-01-13T16:31:53.210Z] ---> docker-login.sh ends [Pipeline] } [2023-01-13T16:31:53.218Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-01-13T16:31:53.578Z] + git rev-list -1 --merges 256f87db5fdfe07ed03426eac959ea24fa54efa6~1..256f87db5fdfe07ed03426eac959ea24fa54efa6 [Pipeline] echo [2023-01-13T16:31:53.632Z] -----------> git rev-list -1 --merges 256f87db5fdfe07ed03426eac959ea24fa54efa6~1..256f87db5fdfe07ed03426eac959ea24fa54efa6 256f87db5fdfe07ed03426eac959ea24fa54efa6 [false] [Pipeline] sh [2023-01-13T16:31:53.925Z] + git log --format=format:%s -1 256f87db5fdfe07ed03426eac959ea24fa54efa6 [Pipeline] echo [2023-01-13T16:31:53.937Z] ========================================================= [2023-01-13T16:31:53.937Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-01-13T16:31:53.937Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-13T16:31:54.327Z] + git log --format=format:%s -1 256f87db5fdfe07ed03426eac959ea24fa54efa6 [Pipeline] echo [2023-01-13T16:31:54.339Z] [semverPrep] GIT_COMMIT: 256f87db5fdfe07ed03426eac959ea24fa54efa6, Commit Message: fix: Remove unused imported module [Pipeline] echo [2023-01-13T16:31:54.349Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-01-13T16:31:54.693Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-01-13T16:31:54.693Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-01-13T16:31:54.693Z] + [ -e /tmp/ssh_known_hosts ] [2023-01-13T16:31:54.693Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-01-13T16:31:54.693Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-01-13T16:31:54.693Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-01-13T16:31:54.693Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-13T16:31:55.043Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-13T16:31:55.043Z] [2023-01-13T16:31:55.043Z] 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-13T16:31:55.344Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-13T16:31:55.344Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-01-13T16:31:55.344Z] b85a868b505f: Pulling fs layer [2023-01-13T16:31:55.344Z] e2be974225ed: Pulling fs layer [2023-01-13T16:31:55.344Z] 339a4e72a1f5: Pulling fs layer [2023-01-13T16:31:55.344Z] 988bab9f4d93: Pulling fs layer [2023-01-13T16:31:55.344Z] 1469e6f7b9e6: Pulling fs layer [2023-01-13T16:31:55.344Z] eaf3925da568: Pulling fs layer [2023-01-13T16:31:55.344Z] bab4dde63d76: Pulling fs layer [2023-01-13T16:31:55.344Z] bde34c3a00c8: Pulling fs layer [2023-01-13T16:31:55.344Z] b352a97aabf1: Pulling fs layer [2023-01-13T16:31:55.344Z] 4872d77fe225: Pulling fs layer [2023-01-13T16:31:55.344Z] 5851b861e8e6: Pulling fs layer [2023-01-13T16:31:55.344Z] eaf3925da568: Waiting [2023-01-13T16:31:55.344Z] bab4dde63d76: Waiting [2023-01-13T16:31:55.344Z] bde34c3a00c8: Waiting [2023-01-13T16:31:55.344Z] b352a97aabf1: Waiting [2023-01-13T16:31:55.344Z] 4872d77fe225: Waiting [2023-01-13T16:31:55.344Z] 5851b861e8e6: Waiting [2023-01-13T16:31:55.344Z] 988bab9f4d93: Waiting [2023-01-13T16:31:55.344Z] e2be974225ed: Verifying Checksum [2023-01-13T16:31:55.344Z] e2be974225ed: Download complete [2023-01-13T16:31:55.344Z] 988bab9f4d93: Download complete [2023-01-13T16:31:55.605Z] 339a4e72a1f5: Verifying Checksum [2023-01-13T16:31:55.605Z] 339a4e72a1f5: Download complete [2023-01-13T16:31:55.605Z] 1469e6f7b9e6: Verifying Checksum [2023-01-13T16:31:55.605Z] 1469e6f7b9e6: Download complete [2023-01-13T16:31:55.605Z] eaf3925da568: Download complete [2023-01-13T16:31:55.605Z] bde34c3a00c8: Verifying Checksum [2023-01-13T16:31:55.605Z] bde34c3a00c8: Download complete [2023-01-13T16:31:55.605Z] b352a97aabf1: Verifying Checksum [2023-01-13T16:31:55.605Z] b352a97aabf1: Download complete [2023-01-13T16:31:55.605Z] 4872d77fe225: Verifying Checksum [2023-01-13T16:31:55.605Z] 4872d77fe225: Download complete [2023-01-13T16:31:55.605Z] 5851b861e8e6: Verifying Checksum [2023-01-13T16:31:55.605Z] 5851b861e8e6: Download complete [2023-01-13T16:31:55.605Z] b85a868b505f: Verifying Checksum [2023-01-13T16:31:55.605Z] b85a868b505f: Download complete [2023-01-13T16:31:56.173Z] bab4dde63d76: Verifying Checksum [2023-01-13T16:31:56.173Z] bab4dde63d76: Download complete [2023-01-13T16:31:57.108Z] b85a868b505f: Pull complete [2023-01-13T16:31:57.108Z] e2be974225ed: Pull complete [2023-01-13T16:31:57.678Z] 339a4e72a1f5: Pull complete [2023-01-13T16:31:57.678Z] 988bab9f4d93: Pull complete [2023-01-13T16:31:57.938Z] 1469e6f7b9e6: Pull complete [2023-01-13T16:31:58.199Z] eaf3925da568: Pull complete [2023-01-13T16:32:00.106Z] bab4dde63d76: Pull complete [2023-01-13T16:32:00.106Z] bde34c3a00c8: Pull complete [2023-01-13T16:32:00.106Z] b352a97aabf1: Pull complete [2023-01-13T16:32:00.366Z] 4872d77fe225: Pull complete [2023-01-13T16:32:00.366Z] 5851b861e8e6: Pull complete [2023-01-13T16:32:00.366Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-01-13T16:32:00.366Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-13T16:32:00.366Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-13T16:32:00.465Z] prd-ubuntu20.04-docker-8c-8g-2227 does not seem to be running inside a container [2023-01-13T16:32:00.498Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-400 -v /w/workspace/xfoundry_device-modbus-go_PR-400:/w/workspace/xfoundry_device-modbus-go_PR-400:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-400@tmp:/w/workspace/xfoundry_device-modbus-go_PR-400@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-13T16:32:02.100Z] $ docker top 284d6c22d007e658298c48715fc91e3227db427b4a3609ddb06cb6c86e6c6749 -eo pid,comm [2023-01-13T16:32:02.162Z] 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-13T16:32:02.162Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-01-13T16:32:02.206Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-01-13T16:32:02.206Z] [ssh-agent] Looking for ssh-agent implementation... [2023-01-13T16:32:02.320Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-01-13T16:32:02.326Z] $ docker exec 284d6c22d007e658298c48715fc91e3227db427b4a3609ddb06cb6c86e6c6749 ssh-agent [2023-01-13T16:32:02.436Z] SSH_AUTH_SOCK=/tmp/ssh-wXpG3kmejWPw/agent.34 [2023-01-13T16:32:02.436Z] SSH_AGENT_PID=40 [2023-01-13T16:32:02.447Z] Running ssh-add (command line suppressed) [2023-01-13T16:32:02.560Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-400@tmp/private_key_9925284780592676496.key (/w/workspace/xfoundry_device-modbus-go_PR-400@tmp/private_key_9925284780592676496.key) [2023-01-13T16:32:02.582Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-01-13T16:32:02.877Z] + git tag --points-at HEAD [Pipeline] } [2023-01-13T16:32:02.892Z] $ docker exec --env ******** --env ******** 284d6c22d007e658298c48715fc91e3227db427b4a3609ddb06cb6c86e6c6749 ssh-agent -k [2023-01-13T16:32:03.000Z] unset SSH_AUTH_SOCK; [2023-01-13T16:32:03.000Z] unset SSH_AGENT_PID; [2023-01-13T16:32:03.000Z] echo Agent pid 40 killed; [2023-01-13T16:32:03.021Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-01-13T16:32:03.043Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-01-13T16:32:03.043Z] [ssh-agent] Looking for ssh-agent implementation... [2023-01-13T16:32:03.162Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-01-13T16:32:03.168Z] $ docker exec 284d6c22d007e658298c48715fc91e3227db427b4a3609ddb06cb6c86e6c6749 ssh-agent [2023-01-13T16:32:03.283Z] SSH_AUTH_SOCK=/tmp/ssh-N3JlP9PuU0H2/agent.72 [2023-01-13T16:32:03.283Z] SSH_AGENT_PID=78 [2023-01-13T16:32:03.289Z] Running ssh-add (command line suppressed) [2023-01-13T16:32:03.416Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-400@tmp/private_key_13404896631853794577.key (/w/workspace/xfoundry_device-modbus-go_PR-400@tmp/private_key_13404896631853794577.key) [2023-01-13T16:32:03.428Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-01-13T16:32:03.716Z] + git semver init [2023-01-13T16:32:03.975Z] 2023-01-13 16:32:03,911 [run_init] DEBUG init version:0.0.0 force:False [2023-01-13T16:32:03.975Z] 2023-01-13 16:32:03,911 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-modbus-go_PR-400/.semver [2023-01-13T16:32:03.975Z] 2023-01-13 16:32:03,912 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/xfoundry_device-modbus-go_PR-400/.semver [2023-01-13T16:32:03.975Z] 2023-01-13 16:32:03,912 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/xfoundry_device-modbus-go_PR-400/.semver'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-400, universal_newlines=False, shell=None, istream=None) [2023-01-13T16:32:04.917Z] 2023-01-13 16:32:04,788 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-modbus-go_PR-400/.git/info/exclude [2023-01-13T16:32:04.917Z] 2023-01-13 16:32:04,788 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-modbus-go_PR-400/.semver/PR-400 with force:False [2023-01-13T16:32:04.917Z] 2023-01-13 16:32:04,788 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-modbus-go_PR-400/.semver/PR-400 [2023-01-13T16:32:04.917Z] 2023-01-13 16:32:04,793 [execute] INFO git cat-file --batch-check [2023-01-13T16:32:04.917Z] 2023-01-13 16:32:04,793 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-400/.semver, universal_newlines=False, shell=None, istream=) [2023-01-13T16:32:04.917Z] 2023-01-13 16:32:04,802 [execute] INFO git cat-file --batch [2023-01-13T16:32:04.917Z] 2023-01-13 16:32:04,802 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-400/.semver, universal_newlines=False, shell=None, istream=) [2023-01-13T16:32:04.917Z] 2023-01-13 16:32:04,808 [read_version] DEBUG read version from /w/workspace/xfoundry_device-modbus-go_PR-400/.semver/PR-400 [2023-01-13T16:32:04.917Z] 0.0.0 [Pipeline] } [2023-01-13T16:32:04.930Z] $ docker exec --env ******** --env ******** 284d6c22d007e658298c48715fc91e3227db427b4a3609ddb06cb6c86e6c6749 ssh-agent -k [2023-01-13T16:32:05.035Z] unset SSH_AUTH_SOCK; [2023-01-13T16:32:05.035Z] unset SSH_AGENT_PID; [2023-01-13T16:32:05.036Z] echo Agent pid 78 killed; [2023-01-13T16:32:05.044Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-01-13T16:32:05.346Z] + git semver [Pipeline] } [2023-01-13T16:32:05.621Z] $ docker stop --time=1 284d6c22d007e658298c48715fc91e3227db427b4a3609ddb06cb6c86e6c6749 [2023-01-13T16:32:06.971Z] $ docker rm -f --volumes 284d6c22d007e658298c48715fc91e3227db427b4a3609ddb06cb6c86e6c6749 [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-13T16:32:07.307Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-01-13T16:32:07.525Z] Stashed 1 file(s) [Pipeline] echo [2023-01-13T16:32:07.528Z] [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-13T16:32:07.675Z] provisioning config files... [2023-01-13T16:32:07.683Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-400@tmp/config8859257506999522548tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-13T16:32:07.974Z] ---> docker-login.sh [2023-01-13T16:32:07.974Z] nexus3.edgexfoundry.org:10001 [2023-01-13T16:32:07.974Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-13T16:32:07.974Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-13T16:32:07.974Z] Configure a credential helper to remove this warning. See [2023-01-13T16:32:07.974Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-13T16:32:07.974Z] [2023-01-13T16:32:07.974Z] Login Succeeded [2023-01-13T16:32:07.974Z] nexus3.edgexfoundry.org:10002 [2023-01-13T16:32:07.974Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-13T16:32:07.974Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-13T16:32:07.974Z] Configure a credential helper to remove this warning. See [2023-01-13T16:32:07.974Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-13T16:32:07.974Z] [2023-01-13T16:32:07.974Z] Login Succeeded [2023-01-13T16:32:07.974Z] nexus3.edgexfoundry.org:10003 [2023-01-13T16:32:08.231Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-13T16:32:08.231Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-13T16:32:08.231Z] Configure a credential helper to remove this warning. See [2023-01-13T16:32:08.231Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-13T16:32:08.231Z] [2023-01-13T16:32:08.231Z] Login Succeeded [2023-01-13T16:32:08.231Z] nexus3.edgexfoundry.org:10004 [2023-01-13T16:32:08.231Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-13T16:32:08.231Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-13T16:32:08.231Z] Configure a credential helper to remove this warning. See [2023-01-13T16:32:08.231Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-13T16:32:08.231Z] [2023-01-13T16:32:08.231Z] Login Succeeded [2023-01-13T16:32:08.231Z] docker.io [2023-01-13T16:32:08.492Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-13T16:32:08.750Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-13T16:32:08.751Z] Configure a credential helper to remove this warning. See [2023-01-13T16:32:08.751Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-13T16:32:08.751Z] [2023-01-13T16:32:08.751Z] Login Succeeded [2023-01-13T16:32:08.751Z] ---> docker-login.sh ends [Pipeline] } [2023-01-13T16:32:08.758Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-01-13T16:32:08.823Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-13T16:32:08.834Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-13T16:32:08.840Z] ========================================================= [2023-01-13T16:32:08.840Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-01-13T16:32:08.840Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-13T16:32:09.143Z] + 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-13T16:32:09.143Z] Sending build context to Docker daemon 6.355MB [2023-01-13T16:32:09.143Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2023-01-13T16:32:09.143Z] Step 2/10 : FROM ${BASE} AS builder [2023-01-13T16:32:09.143Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-01-13T16:32:09.143Z] 213ec9aee27d: Pulling fs layer [2023-01-13T16:32:09.143Z] 4583459ba037: Pulling fs layer [2023-01-13T16:32:09.143Z] 93c1e223e6f2: Pulling fs layer [2023-01-13T16:32:09.143Z] 53926ce57604: Pulling fs layer [2023-01-13T16:32:09.143Z] 21b2b0c7a3f4: Pulling fs layer [2023-01-13T16:32:09.143Z] 22ff95d597cd: Pulling fs layer [2023-01-13T16:32:09.143Z] 12d6caf4c0d1: Pulling fs layer [2023-01-13T16:32:09.143Z] 96b7cbca73a9: Pulling fs layer [2023-01-13T16:32:09.143Z] a7acece74701: Pulling fs layer [2023-01-13T16:32:09.143Z] 22ff95d597cd: Waiting [2023-01-13T16:32:09.143Z] 12d6caf4c0d1: Waiting [2023-01-13T16:32:09.143Z] 96b7cbca73a9: Waiting [2023-01-13T16:32:09.143Z] a7acece74701: Waiting [2023-01-13T16:32:09.143Z] 21b2b0c7a3f4: Waiting [2023-01-13T16:32:09.143Z] 53926ce57604: Waiting [2023-01-13T16:32:09.403Z] 93c1e223e6f2: Verifying Checksum [2023-01-13T16:32:09.403Z] 93c1e223e6f2: Download complete [2023-01-13T16:32:09.403Z] 4583459ba037: Verifying Checksum [2023-01-13T16:32:09.403Z] 4583459ba037: Download complete [2023-01-13T16:32:09.403Z] 21b2b0c7a3f4: Verifying Checksum [2023-01-13T16:32:09.403Z] 21b2b0c7a3f4: Download complete [2023-01-13T16:32:09.403Z] 22ff95d597cd: Download complete [2023-01-13T16:32:09.403Z] 213ec9aee27d: Verifying Checksum [2023-01-13T16:32:09.403Z] 213ec9aee27d: Download complete [2023-01-13T16:32:09.403Z] 12d6caf4c0d1: Verifying Checksum [2023-01-13T16:32:09.403Z] 12d6caf4c0d1: Download complete [2023-01-13T16:32:09.403Z] 213ec9aee27d: Pull complete [2023-01-13T16:32:09.663Z] 4583459ba037: Pull complete [2023-01-13T16:32:09.663Z] 93c1e223e6f2: Pull complete [2023-01-13T16:32:10.233Z] a7acece74701: Verifying Checksum [2023-01-13T16:32:10.233Z] a7acece74701: Download complete [2023-01-13T16:32:10.491Z] 53926ce57604: Verifying Checksum [2023-01-13T16:32:10.491Z] 53926ce57604: Download complete [2023-01-13T16:32:10.491Z] 96b7cbca73a9: Verifying Checksum [2023-01-13T16:32:10.491Z] 96b7cbca73a9: Download complete [2023-01-13T16:32:14.678Z] 53926ce57604: Pull complete [2023-01-13T16:32:14.678Z] 21b2b0c7a3f4: Pull complete [2023-01-13T16:32:14.678Z] 22ff95d597cd: Pull complete [2023-01-13T16:32:14.678Z] 12d6caf4c0d1: Pull complete [2023-01-13T16:32:16.582Z] 96b7cbca73a9: Pull complete [2023-01-13T16:32:17.520Z] a7acece74701: Pull complete [2023-01-13T16:32:17.520Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-01-13T16:32:17.520Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-01-13T16:32:17.520Z] ---> db6d94c90886 [2023-01-13T16:32:17.520Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2023-01-13T16:32:19.433Z] ---> Running in 108447b5d8e4 [2023-01-13T16:32:19.693Z] Removing intermediate container 108447b5d8e4 [2023-01-13T16:32:19.693Z] ---> c79d656576a5 [2023-01-13T16:32:19.693Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-13T16:32:19.693Z] ---> Running in 74271001ed1e [2023-01-13T16:32:19.693Z] Removing intermediate container 74271001ed1e [2023-01-13T16:32:19.693Z] ---> c531a709775d [2023-01-13T16:32:19.693Z] Step 5/10 : RUN apk add --update --no-cache make git openssh [2023-01-13T16:32:19.952Z] ---> Running in c54378f67bc7 [2023-01-13T16:32:20.211Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-13T16:32:20.211Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-13T16:32:20.471Z] (1/8) Installing openssh-keygen (9.0_p1-r2) [2023-01-13T16:32:20.471Z] (2/8) Installing libedit (20210910.3.1-r0) [2023-01-13T16:32:20.471Z] (3/8) Installing openssh-client-common (9.0_p1-r2) [2023-01-13T16:32:20.471Z] (4/8) Installing openssh-client-default (9.0_p1-r2) [2023-01-13T16:32:20.471Z] (5/8) Installing openssh-sftp-server (9.0_p1-r2) [2023-01-13T16:32:20.471Z] (6/8) Installing openssh-server-common (9.0_p1-r2) [2023-01-13T16:32:20.471Z] (7/8) Installing openssh-server (9.0_p1-r2) [2023-01-13T16:32:20.471Z] (8/8) Installing openssh (9.0_p1-r2) [2023-01-13T16:32:20.471Z] Executing busybox-1.35.0-r17.trigger [2023-01-13T16:32:20.471Z] OK: 217 MiB in 59 packages [2023-01-13T16:32:21.039Z] Removing intermediate container c54378f67bc7 [2023-01-13T16:32:21.039Z] ---> 7f2e707e0f0c [2023-01-13T16:32:21.039Z] Step 6/10 : WORKDIR /device-modbus-go [2023-01-13T16:32:21.039Z] ---> Running in 16bd4daea1fd [2023-01-13T16:32:21.299Z] Removing intermediate container 16bd4daea1fd [2023-01-13T16:32:21.299Z] ---> bc49705a3be4 [2023-01-13T16:32:21.299Z] Step 7/10 : COPY go.mod vendor* ./ [2023-01-13T16:32:21.299Z] ---> 5981c0235fa4 [2023-01-13T16:32:21.299Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-13T16:32:21.557Z] ---> Running in 95fc2a8c0142 [2023-01-13T16:32:22.628Z] Still waiting to schedule task [2023-01-13T16:32:22.629Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-2226’ [2023-01-13T16:32:43.500Z] Removing intermediate container 95fc2a8c0142 [2023-01-13T16:32:43.501Z] ---> 322193918671 [2023-01-13T16:32:43.501Z] Step 9/10 : COPY . . [2023-01-13T16:32:43.501Z] ---> d5753247310c [2023-01-13T16:32:43.501Z] Step 10/10 : RUN ${MAKE} [2023-01-13T16:32:43.501Z] ---> Running in 91b1fd8405f4 [2023-01-13T16:32:43.501Z] noop [2023-01-13T16:32:43.501Z] Removing intermediate container 91b1fd8405f4 [2023-01-13T16:32:43.501Z] ---> 956f0010f342 [2023-01-13T16:32:43.501Z] Successfully built 956f0010f342 [2023-01-13T16:32:43.501Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-13T16:32:43.805Z] + docker inspect -f . ci-base-image-x86_64 [2023-01-13T16:32:43.805Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-13T16:32:43.874Z] prd-ubuntu20.04-docker-8c-8g-2227 does not seem to be running inside a container [2023-01-13T16:32:43.902Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-400 -v /w/workspace/xfoundry_device-modbus-go_PR-400:/w/workspace/xfoundry_device-modbus-go_PR-400:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-400@tmp:/w/workspace/xfoundry_device-modbus-go_PR-400@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-13T16:32:44.301Z] $ docker top 0a7b18c596a8d7f5ddc9bf10acbeca74c684ea3231779c0633a87269616281f5 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-13T16:32:44.646Z] + go version [2023-01-13T16:32:44.646Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-01-13T16:32:44.656Z] $ docker stop --time=1 0a7b18c596a8d7f5ddc9bf10acbeca74c684ea3231779c0633a87269616281f5 [2023-01-13T16:32:45.946Z] $ docker rm -f --volumes 0a7b18c596a8d7f5ddc9bf10acbeca74c684ea3231779c0633a87269616281f5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-13T16:32:46.332Z] + docker inspect -f . ci-base-image-x86_64 [2023-01-13T16:32:46.332Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-13T16:32:46.407Z] prd-ubuntu20.04-docker-8c-8g-2227 does not seem to be running inside a container [2023-01-13T16:32:46.433Z] $ 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-400 -v /w/workspace/xfoundry_device-modbus-go_PR-400:/w/workspace/xfoundry_device-modbus-go_PR-400:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-400@tmp:/w/workspace/xfoundry_device-modbus-go_PR-400@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-13T16:32:47.644Z] $ docker top 8c9b45af531d5c4350ae7f7aca34f09a33054f07bf93c60ee094be6c266610b5 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-13T16:32:47.993Z] + git config --global --add safe.directory /w/workspace/xfoundry_device-modbus-go_PR-400 [Pipeline] fileExists [Pipeline] sh [2023-01-13T16:32:48.287Z] + make test [2023-01-13T16:32:48.288Z] go test ./... -coverprofile=coverage.out [2023-01-13T16:32:48.546Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2023-01-13T16:32:58.512Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2023-01-13T16:32:58.512Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.015s coverage: 47.7% of statements [2023-01-13T16:33:05.069Z] 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-13T16:33:05.069Z] go vet ./... [2023-01-13T16:33:08.351Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-01-13T16:33:08.351Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-01-13T16:33:08.351Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-01-13T16:33:08.622Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-01-13T16:33:08.632Z] $ docker stop --time=1 8c9b45af531d5c4350ae7f7aca34f09a33054f07bf93c60ee094be6c266610b5 [2023-01-13T16:33:10.586Z] $ docker rm -f --volumes 8c9b45af531d5c4350ae7f7aca34f09a33054f07bf93c60ee094be6c266610b5 [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-13T16:33:11.024Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-01-13T16:33:11.069Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-01-13T16:33:11.681Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-01-13T16:33:11.964Z] + ls -al . [2023-01-13T16:33:11.964Z] total 196 [2023-01-13T16:33:11.964Z] drwxrwxr-x 10 jenkins jenkins 4096 Jan 13 16:32 . [2023-01-13T16:33:11.964Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 13 16:31 .. [2023-01-13T16:33:11.964Z] -rw-rw-r-- 1 jenkins jenkins 140 Jan 13 16:31 .dockerignore [2023-01-13T16:33:11.964Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 13 16:32 .git [2023-01-13T16:33:11.964Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 13 16:31 .github [2023-01-13T16:33:11.964Z] -rw-rw-r-- 1 jenkins jenkins 331 Jan 13 16:31 .gitignore [2023-01-13T16:33:11.964Z] -rw-rw-r-- 1 jenkins jenkins 41 Jan 13 16:31 .golangci.yml [2023-01-13T16:33:11.964Z] drwxr-xr-x 3 jenkins jenkins 4096 Jan 13 16:32 .semver [2023-01-13T16:33:11.964Z] -rw-rw-r-- 1 jenkins jenkins 10017 Jan 13 16:31 Attribution.txt [2023-01-13T16:33:11.964Z] -rw-rw-r-- 1 jenkins jenkins 11576 Jan 13 16:31 CHANGELOG.md [2023-01-13T16:33:11.964Z] -rw-rw-r-- 1 jenkins jenkins 1365 Jan 13 16:31 Dockerfile [2023-01-13T16:33:11.964Z] -rw-rw-r-- 1 jenkins jenkins 677 Jan 13 16:31 GOVERNANCE.md [2023-01-13T16:33:11.964Z] -rw-rw-r-- 1 jenkins jenkins 680 Jan 13 16:31 Jenkinsfile [2023-01-13T16:33:11.964Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jan 13 16:31 LICENSE [2023-01-13T16:33:11.964Z] -rw-rw-r-- 1 jenkins jenkins 1670 Jan 13 16:31 Makefile [2023-01-13T16:33:11.964Z] -rw-rw-r-- 1 jenkins jenkins 622 Jan 13 16:31 OWNERS.md [2023-01-13T16:33:11.964Z] -rw-rw-r-- 1 jenkins jenkins 4061 Jan 13 16:31 README.md [2023-01-13T16:33:11.964Z] -rw-rw-r-- 1 jenkins jenkins 5 Jan 13 16:32 VERSION [2023-01-13T16:33:11.964Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 13 16:31 bin [2023-01-13T16:33:11.964Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 13 16:31 cmd [2023-01-13T16:33:11.964Z] -rw-r--r-- 1 jenkins jenkins 23241 Jan 13 16:32 coverage.out [2023-01-13T16:33:11.964Z] -rw-rw-r-- 1 jenkins jenkins 3584 Jan 13 16:31 go.mod [2023-01-13T16:33:11.964Z] -rw-rw-r-- 1 jenkins jenkins 45355 Jan 13 16:31 go.sum [2023-01-13T16:33:11.964Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 13 16:31 internal [2023-01-13T16:33:11.964Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 13 16:31 simulator [2023-01-13T16:33:11.964Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 13 16:31 snap [2023-01-13T16:33:11.964Z] -rw-rw-r-- 1 jenkins jenkins 229 Jan 13 16:31 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-13T16:33:12.265Z] + 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=256f87db5fdfe07ed03426eac959ea24fa54efa6 --label arch=amd64 --label version=0.0.0 . [2023-01-13T16:33:12.266Z] Sending build context to Docker daemon 6.38MB [2023-01-13T16:33:12.266Z] Step 1/22 : ARG BASE=golang:1.18-alpine3.16 [2023-01-13T16:33:12.266Z] Step 2/22 : FROM ${BASE} AS builder [2023-01-13T16:33:12.266Z] ---> 956f0010f342 [2023-01-13T16:33:12.266Z] Step 3/22 : ARG ADD_BUILD_TAGS="" [2023-01-13T16:33:12.266Z] ---> Running in f1fc28853c2b [2023-01-13T16:33:12.536Z] Removing intermediate container f1fc28853c2b [2023-01-13T16:33:12.536Z] ---> 5130c1dda36b [2023-01-13T16:33:12.536Z] Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-13T16:33:12.536Z] ---> Running in 35487b99cbb2 [2023-01-13T16:33:12.536Z] Removing intermediate container 35487b99cbb2 [2023-01-13T16:33:12.536Z] ---> a996a706dc6e [2023-01-13T16:33:12.536Z] Step 5/22 : RUN apk add --update --no-cache make git openssh [2023-01-13T16:33:12.536Z] ---> Running in 2002d8f5e75b [2023-01-13T16:33:12.796Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-13T16:33:13.056Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-13T16:33:13.056Z] OK: 217 MiB in 59 packages [2023-01-13T16:33:13.622Z] Removing intermediate container 2002d8f5e75b [2023-01-13T16:33:13.622Z] ---> 29f56decd70f [2023-01-13T16:33:13.622Z] Step 6/22 : WORKDIR /device-modbus-go [2023-01-13T16:33:13.622Z] ---> Running in 4aa802c93f3d [2023-01-13T16:33:13.622Z] Removing intermediate container 4aa802c93f3d [2023-01-13T16:33:13.622Z] ---> bd7626814c81 [2023-01-13T16:33:13.622Z] Step 7/22 : COPY go.mod vendor* ./ [2023-01-13T16:33:13.881Z] ---> 81bf1f4f376c [2023-01-13T16:33:13.881Z] Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-13T16:33:13.881Z] ---> Running in 3b188c2bdae5 [2023-01-13T16:33:14.451Z] Removing intermediate container 3b188c2bdae5 [2023-01-13T16:33:14.452Z] ---> 52c7126c79e6 [2023-01-13T16:33:14.452Z] Step 9/22 : COPY . . [2023-01-13T16:33:15.024Z] ---> 1c6afb523636 [2023-01-13T16:33:15.024Z] Step 10/22 : RUN ${MAKE} [2023-01-13T16:33:15.024Z] ---> Running in 860c8751e85c [2023-01-13T16:33:15.282Z] 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-13T16:33:33.360Z] Removing intermediate container 860c8751e85c [2023-01-13T16:33:33.360Z] ---> 50e74a3d0468 [2023-01-13T16:33:33.360Z] Step 11/22 : FROM alpine:3.14 [2023-01-13T16:33:33.360Z] 3.14: Pulling from library/alpine [2023-01-13T16:33:33.360Z] c7ed990a2339: Pulling fs layer [2023-01-13T16:33:33.684Z] c7ed990a2339: Verifying Checksum [2023-01-13T16:33:33.684Z] c7ed990a2339: Download complete [2023-01-13T16:33:33.684Z] c7ed990a2339: Pull complete [2023-01-13T16:33:33.684Z] Digest: sha256:4c869a63e1b7c0722fed1e402a6466610327c3b83bdddb94bd94fb71da7f638a [2023-01-13T16:33:33.684Z] Status: Downloaded newer image for alpine:3.14 [2023-01-13T16:33:33.684Z] ---> dd53f409bf0b [2023-01-13T16:33:33.684Z] Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2023-01-13T16:33:33.943Z] ---> Running in 3ed7e483a10d [2023-01-13T16:33:33.943Z] Removing intermediate container 3ed7e483a10d [2023-01-13T16:33:33.943Z] ---> 2cda943f11bd [2023-01-13T16:33:33.943Z] Step 13/22 : RUN apk add --update --no-cache dumb-init [2023-01-13T16:33:33.943Z] ---> Running in 86eefcbac4e4 [2023-01-13T16:33:34.201Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2023-01-13T16:33:34.768Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2023-01-13T16:33:35.027Z] (1/1) Installing dumb-init (1.2.5-r1) [2023-01-13T16:33:35.027Z] Executing busybox-1.33.1-r8.trigger [2023-01-13T16:33:35.027Z] OK: 6 MiB in 15 packages [2023-01-13T16:33:35.285Z] Removing intermediate container 86eefcbac4e4 [2023-01-13T16:33:35.285Z] ---> 8701592e19fb [2023-01-13T16:33:35.285Z] Step 14/22 : COPY --from=builder /device-modbus-go/cmd / [2023-01-13T16:33:35.851Z] ---> 20284e2d0306 [2023-01-13T16:33:35.851Z] Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / [2023-01-13T16:33:36.113Z] ---> 7e174bb314ee [2023-01-13T16:33:36.113Z] Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / [2023-01-13T16:33:36.113Z] ---> dcdc96231d2c [2023-01-13T16:33:36.113Z] Step 17/22 : EXPOSE 59901 [2023-01-13T16:33:36.374Z] ---> Running in 3b8333b14920 [2023-01-13T16:33:36.374Z] Removing intermediate container 3b8333b14920 [2023-01-13T16:33:36.374Z] ---> da5081f19fc2 [2023-01-13T16:33:36.374Z] Step 18/22 : ENTRYPOINT ["/device-modbus"] [2023-01-13T16:33:36.374Z] ---> Running in de37aee27f72 [2023-01-13T16:33:36.633Z] Removing intermediate container de37aee27f72 [2023-01-13T16:33:36.634Z] ---> 7c8d36a84038 [2023-01-13T16:33:36.634Z] Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-01-13T16:33:36.634Z] ---> Running in 00e01a7b20b4 [2023-01-13T16:33:36.634Z] Removing intermediate container 00e01a7b20b4 [2023-01-13T16:33:36.634Z] ---> 39be5562c40b [2023-01-13T16:33:36.634Z] Step 20/22 : LABEL arch=amd64 [2023-01-13T16:33:36.634Z] ---> Running in 87f2bd4b45c7 [2023-01-13T16:33:36.893Z] Removing intermediate container 87f2bd4b45c7 [2023-01-13T16:33:36.893Z] ---> 4ce5e42718e5 [2023-01-13T16:33:36.893Z] Step 21/22 : LABEL git_sha=256f87db5fdfe07ed03426eac959ea24fa54efa6 [2023-01-13T16:33:36.893Z] ---> Running in 4724b486d050 [2023-01-13T16:33:36.893Z] Removing intermediate container 4724b486d050 [2023-01-13T16:33:36.893Z] ---> 2417bf930346 [2023-01-13T16:33:36.893Z] Step 22/22 : LABEL version=0.0.0 [2023-01-13T16:33:36.893Z] ---> Running in 55050456ccea [2023-01-13T16:33:37.153Z] Removing intermediate container 55050456ccea [2023-01-13T16:33:37.153Z] ---> f2edbd7649b4 [2023-01-13T16:33:37.153Z] [Warning] One or more build-args [ARCH] were not consumed [2023-01-13T16:33:37.153Z] Successfully built f2edbd7649b4 [2023-01-13T16:33:37.153Z] 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-13T16:33:37.565Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-13T16:33:37.565Z] [2023-01-13T16:33:37.565Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-13T16:33:37.866Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-13T16:33:37.866Z] latest: Pulling from edgex-lftools-log-publisher [2023-01-13T16:33:37.866Z] 5eb5b503b376: Pulling fs layer [2023-01-13T16:33:37.866Z] 5c69ac0246d0: Pulling fs layer [2023-01-13T16:33:37.866Z] ec43610c2a17: Pulling fs layer [2023-01-13T16:33:37.866Z] 3a2ae6a8a46f: Pulling fs layer [2023-01-13T16:33:37.866Z] 33b1e0a273af: Pulling fs layer [2023-01-13T16:33:37.866Z] 5d3b04190fa2: Pulling fs layer [2023-01-13T16:33:37.866Z] 2f39f015ded8: Pulling fs layer [2023-01-13T16:33:37.866Z] 33b1e0a273af: Waiting [2023-01-13T16:33:37.866Z] 5d3b04190fa2: Waiting [2023-01-13T16:33:37.866Z] 2f39f015ded8: Waiting [2023-01-13T16:33:37.866Z] 3a2ae6a8a46f: Waiting [2023-01-13T16:33:37.866Z] 5c69ac0246d0: Download complete [2023-01-13T16:33:37.866Z] 3a2ae6a8a46f: Verifying Checksum [2023-01-13T16:33:37.866Z] 3a2ae6a8a46f: Download complete [2023-01-13T16:33:38.126Z] 33b1e0a273af: Verifying Checksum [2023-01-13T16:33:38.126Z] 33b1e0a273af: Download complete [2023-01-13T16:33:38.126Z] 5d3b04190fa2: Download complete [2023-01-13T16:33:38.126Z] ec43610c2a17: Verifying Checksum [2023-01-13T16:33:38.126Z] ec43610c2a17: Download complete [2023-01-13T16:33:38.126Z] 5eb5b503b376: Verifying Checksum [2023-01-13T16:33:38.126Z] 5eb5b503b376: Download complete [2023-01-13T16:33:38.695Z] 2f39f015ded8: Download complete [2023-01-13T16:33:39.261Z] 5eb5b503b376: Pull complete [2023-01-13T16:33:39.519Z] 5c69ac0246d0: Pull complete [2023-01-13T16:33:39.777Z] ec43610c2a17: Pull complete [2023-01-13T16:33:39.777Z] 3a2ae6a8a46f: Pull complete [2023-01-13T16:33:40.035Z] 33b1e0a273af: Pull complete [2023-01-13T16:33:40.295Z] 5d3b04190fa2: Pull complete [2023-01-13T16:33:44.476Z] 2f39f015ded8: Pull complete [2023-01-13T16:33:44.476Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-01-13T16:33:44.476Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-13T16:33:44.476Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-13T16:33:44.549Z] prd-ubuntu20.04-docker-8c-8g-2227 does not seem to be running inside a container [2023-01-13T16:33:44.577Z] $ 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-400 -v /w/workspace/xfoundry_device-modbus-go_PR-400:/w/workspace/xfoundry_device-modbus-go_PR-400:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-400@tmp:/w/workspace/xfoundry_device-modbus-go_PR-400@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-13T16:33:46.628Z] $ docker top 12975f2150dc404ff905a824468f9fcdd8365f9997db013457412cd399f760a9 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-13T16:33:47.009Z] ---> job-cost.sh [2023-01-13T16:33:47.009Z] lf-activate-venv: SKIPPING [2023-01-13T16:33:47.009Z] INFO: No Stack... [2023-01-13T16:33:47.267Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-01-13T16:33:47.834Z] INFO: Archiving Costs [Pipeline] sh [2023-01-13T16:33:48.120Z] + cat /w/workspace/xfoundry_device-modbus-go_PR-400/archives/cost.csv [2023-01-13T16:33:48.120Z] + cut -d, -f6 [Pipeline] lock [2023-01-13T16:33:48.137Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-400-2-stack-cost] [2023-01-13T16:33:48.144Z] Resource [jenkins-edgexfoundry-device-modbus-go-PR-400-2-stack-cost] did not exist. Created. [2023-01-13T16:33:48.144Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-400-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-01-13T16:33:48.447Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-01-13T16:33:48.480Z] Stashed 1 file(s) [Pipeline] } [2023-01-13T16:33:48.487Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-400-2-stack-cost] [Pipeline] // lock [Pipeline] } [2023-01-13T16:33:48.504Z] $ docker stop --time=1 12975f2150dc404ff905a824468f9fcdd8365f9997db013457412cd399f760a9 [2023-01-13T16:33:49.662Z] $ docker rm -f --volumes 12975f2150dc404ff905a824468f9fcdd8365f9997db013457412cd399f760a9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-01-13T16:35:47.742Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-2228 in /w/workspace/xfoundry_device-modbus-go_PR-400 [Pipeline] { [Pipeline] ws [2023-01-13T16:35:47.756Z] Running in /w/workspace/device-modbus-go/2 [Pipeline] { [Pipeline] checkout [2023-01-13T16:35:47.786Z] Selected Git installation does not exist. Using Default [2023-01-13T16:35:47.786Z] The recommended git tool is: NONE [2023-01-13T16:35:53.208Z] using credential edgex-jenkins-ssh [2023-01-13T16:35:53.226Z] Cloning the remote Git repository [2023-01-13T16:35:53.274Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2023-01-13T16:35:53.352Z] > git init /w/workspace/device-modbus-go/2 # timeout=10 [2023-01-13T16:35:53.510Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2023-01-13T16:35:53.511Z] > git --version # timeout=10 [2023-01-13T16:35:53.529Z] > git --version # 'git version 2.25.1' [2023-01-13T16:35:53.531Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-13T16:35:53.593Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-01-13T16:35:54.646Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2023-01-13T16:35:54.685Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-01-13T16:35:56.197Z] Merging remotes/origin/main commit 8c18bb98ae9dac01b00ec9cd5d6b8c37f768cff1 into PR head commit 256f87db5fdfe07ed03426eac959ea24fa54efa6 [2023-01-13T16:35:56.419Z] Merge succeeded, producing 256f87db5fdfe07ed03426eac959ea24fa54efa6 [2023-01-13T16:35:56.419Z] Checking out Revision 256f87db5fdfe07ed03426eac959ea24fa54efa6 (PR-400) [2023-01-13T16:35:55.511Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2023-01-13T16:35:55.551Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2023-01-13T16:35:55.552Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-13T16:35:55.568Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/400/head:refs/remotes/origin/PR-400 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-01-13T16:35:56.218Z] > git config core.sparsecheckout # timeout=10 [2023-01-13T16:35:56.239Z] > git checkout -f 256f87db5fdfe07ed03426eac959ea24fa54efa6 # timeout=10 [2023-01-13T16:35:56.328Z] > git remote # timeout=10 [2023-01-13T16:35:56.346Z] > git config --get remote.origin.url # timeout=10 [2023-01-13T16:35:56.364Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-13T16:35:56.377Z] > git merge 8c18bb98ae9dac01b00ec9cd5d6b8c37f768cff1 # timeout=10 [2023-01-13T16:35:56.400Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-01-13T16:35:56.423Z] > git config core.sparsecheckout # timeout=10 [2023-01-13T16:35:56.437Z] > git checkout -f 256f87db5fdfe07ed03426eac959ea24fa54efa6 # timeout=10 [2023-01-13T16:35:59.967Z] Commit message: "fix: Remove unused imported module" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-13T16:36:00.948Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-01-13T16:36:00.948Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-01-13T16:36:00.948Z] Dload Upload Total Spent Left Speed [2023-01-13T16:36:00.948Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 75005 0 --:--:-- --:--:-- --:--:-- 75449 [Pipeline] sh [2023-01-13T16:36:01.731Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-01-13T16:36:02.060Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-01-13T16:36:02.060Z] + sudo tee /etc/docker/daemon.new [2023-01-13T16:36:02.060Z] { [2023-01-13T16:36:02.060Z] "registry-mirrors": [ [2023-01-13T16:36:02.060Z] "https://nexus3.edgexfoundry.org:10001" [2023-01-13T16:36:02.060Z] ], [2023-01-13T16:36:02.060Z] "bip": "10.250.0.254/24", [2023-01-13T16:36:02.060Z] "hosts": [ [2023-01-13T16:36:02.060Z] "tcp://0.0.0.0:5555", [2023-01-13T16:36:02.060Z] "unix:///var/run/docker.sock" [2023-01-13T16:36:02.060Z] ], [2023-01-13T16:36:02.060Z] "mtu": 1458, [2023-01-13T16:36:02.060Z] "selinux-enabled": true, [2023-01-13T16:36:02.060Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-01-13T16:36:02.060Z] } [Pipeline] sh [2023-01-13T16:36:02.390Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-01-13T16:36:02.732Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-13T16:36:21.000Z] provisioning config files... [2023-01-13T16:36:21.027Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/2@tmp/config13304349911696356219tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-13T16:36:21.383Z] ---> docker-login.sh [2023-01-13T16:36:21.383Z] nexus3.edgexfoundry.org:10001 [2023-01-13T16:36:21.969Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-13T16:36:21.969Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-13T16:36:21.969Z] Configure a credential helper to remove this warning. See [2023-01-13T16:36:21.969Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-13T16:36:21.969Z] [2023-01-13T16:36:21.969Z] Login Succeeded [2023-01-13T16:36:21.969Z] nexus3.edgexfoundry.org:10002 [2023-01-13T16:36:22.241Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-13T16:36:22.241Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-13T16:36:22.241Z] Configure a credential helper to remove this warning. See [2023-01-13T16:36:22.241Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-13T16:36:22.241Z] [2023-01-13T16:36:22.241Z] Login Succeeded [2023-01-13T16:36:22.510Z] nexus3.edgexfoundry.org:10003 [2023-01-13T16:36:22.510Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-13T16:36:22.780Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-13T16:36:22.780Z] Configure a credential helper to remove this warning. See [2023-01-13T16:36:22.780Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-13T16:36:22.780Z] [2023-01-13T16:36:22.780Z] Login Succeeded [2023-01-13T16:36:22.780Z] nexus3.edgexfoundry.org:10004 [2023-01-13T16:36:23.047Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-13T16:36:23.047Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-13T16:36:23.047Z] Configure a credential helper to remove this warning. See [2023-01-13T16:36:23.047Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-13T16:36:23.047Z] [2023-01-13T16:36:23.047Z] Login Succeeded [2023-01-13T16:36:23.047Z] docker.io [2023-01-13T16:36:23.315Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-13T16:36:23.580Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-13T16:36:23.580Z] Configure a credential helper to remove this warning. See [2023-01-13T16:36:23.580Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-13T16:36:23.580Z] [2023-01-13T16:36:23.580Z] Login Succeeded [2023-01-13T16:36:23.580Z] ---> docker-login.sh ends [Pipeline] } [2023-01-13T16:36:23.594Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-01-13T16:36:23.832Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-13T16:36:23.842Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-13T16:36:23.850Z] ========================================================= [2023-01-13T16:36:23.850Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-01-13T16:36:23.850Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-13T16:36:24.186Z] + 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-13T16:36:24.455Z] Sending build context to Docker daemon 3.327MB [2023-01-13T16:36:24.455Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2023-01-13T16:36:24.455Z] Step 2/10 : FROM ${BASE} AS builder [2023-01-13T16:36:25.877Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-01-13T16:36:25.877Z] 9b18e9b68314: Pulling fs layer [2023-01-13T16:36:25.877Z] 35d82f9e3411: Pulling fs layer [2023-01-13T16:36:25.877Z] e16973657156: Pulling fs layer [2023-01-13T16:36:25.877Z] fc693d55d65f: Pulling fs layer [2023-01-13T16:36:25.877Z] 7e9fc2657dce: Pulling fs layer [2023-01-13T16:36:25.877Z] dda99020689f: Pulling fs layer [2023-01-13T16:36:25.877Z] db1c61fa0a46: Pulling fs layer [2023-01-13T16:36:25.877Z] 891c053d2c06: Pulling fs layer [2023-01-13T16:36:25.877Z] fc693d55d65f: Waiting [2023-01-13T16:36:25.877Z] 7e9fc2657dce: Waiting [2023-01-13T16:36:25.877Z] db1c61fa0a46: Waiting [2023-01-13T16:36:25.877Z] dda99020689f: Waiting [2023-01-13T16:36:25.877Z] e16973657156: Verifying Checksum [2023-01-13T16:36:25.877Z] e16973657156: Download complete [2023-01-13T16:36:25.877Z] 35d82f9e3411: Verifying Checksum [2023-01-13T16:36:25.877Z] 35d82f9e3411: Download complete [2023-01-13T16:36:26.162Z] 7e9fc2657dce: Verifying Checksum [2023-01-13T16:36:26.162Z] 7e9fc2657dce: Download complete [2023-01-13T16:36:26.162Z] 9b18e9b68314: Verifying Checksum [2023-01-13T16:36:26.162Z] dda99020689f: Verifying Checksum [2023-01-13T16:36:26.162Z] dda99020689f: Download complete [2023-01-13T16:36:26.162Z] 9b18e9b68314: Download complete [2023-01-13T16:36:27.132Z] 9b18e9b68314: Pull complete [2023-01-13T16:36:27.403Z] 891c053d2c06: Verifying Checksum [2023-01-13T16:36:27.403Z] 891c053d2c06: Download complete [2023-01-13T16:36:27.675Z] 35d82f9e3411: Pull complete [2023-01-13T16:36:28.264Z] e16973657156: Pull complete [2023-01-13T16:36:28.531Z] db1c61fa0a46: Download complete [2023-01-13T16:36:29.116Z] fc693d55d65f: Verifying Checksum [2023-01-13T16:36:29.116Z] fc693d55d65f: Download complete [2023-01-13T16:36:41.436Z] fc693d55d65f: Pull complete [2023-01-13T16:36:41.436Z] 7e9fc2657dce: Pull complete [2023-01-13T16:36:41.436Z] dda99020689f: Pull complete [2023-01-13T16:36:46.797Z] db1c61fa0a46: Pull complete [2023-01-13T16:36:48.212Z] 891c053d2c06: Pull complete [2023-01-13T16:36:48.212Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-01-13T16:36:48.212Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-01-13T16:36:48.212Z] ---> f96f9c87975a [2023-01-13T16:36:48.212Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2023-01-13T16:36:50.173Z] ---> Running in 951d00606c65 [2023-01-13T16:36:50.439Z] Removing intermediate container 951d00606c65 [2023-01-13T16:36:50.439Z] ---> dff59d5dcda1 [2023-01-13T16:36:50.439Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-13T16:36:50.439Z] ---> Running in 32a5574cc1a5 [2023-01-13T16:36:50.708Z] Removing intermediate container 32a5574cc1a5 [2023-01-13T16:36:50.708Z] ---> 2549fc591848 [2023-01-13T16:36:50.708Z] Step 5/10 : RUN apk add --update --no-cache make git openssh [2023-01-13T16:36:50.976Z] ---> Running in 8b9a96835717 [2023-01-13T16:36:51.939Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-13T16:36:52.206Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-13T16:36:53.171Z] (1/8) Installing openssh-keygen (9.0_p1-r2) [2023-01-13T16:36:53.171Z] (2/8) Installing libedit (20210910.3.1-r0) [2023-01-13T16:36:53.171Z] (3/8) Installing openssh-client-common (9.0_p1-r2) [2023-01-13T16:36:53.444Z] (4/8) Installing openssh-client-default (9.0_p1-r2) [2023-01-13T16:36:53.444Z] (5/8) Installing openssh-sftp-server (9.0_p1-r2) [2023-01-13T16:36:53.444Z] (6/8) Installing openssh-server-common (9.0_p1-r2) [2023-01-13T16:36:53.444Z] (7/8) Installing openssh-server (9.0_p1-r2) [2023-01-13T16:36:53.444Z] (8/8) Installing openssh (9.0_p1-r2) [2023-01-13T16:36:53.444Z] Executing busybox-1.35.0-r17.trigger [2023-01-13T16:36:53.444Z] OK: 228 MiB in 59 packages [2023-01-13T16:36:54.854Z] Removing intermediate container 8b9a96835717 [2023-01-13T16:36:54.854Z] ---> d8316ee4a549 [2023-01-13T16:36:54.854Z] Step 6/10 : WORKDIR /device-modbus-go [2023-01-13T16:36:54.854Z] ---> Running in a2e118591dba [2023-01-13T16:36:54.854Z] Removing intermediate container a2e118591dba [2023-01-13T16:36:54.854Z] ---> 7801e4a91353 [2023-01-13T16:36:54.854Z] Step 7/10 : COPY go.mod vendor* ./ [2023-01-13T16:36:55.457Z] ---> 68e34764fc04 [2023-01-13T16:36:55.457Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-13T16:36:55.457Z] ---> Running in 344d8aca4b87 [2023-01-13T16:37:51.915Z] Removing intermediate container 344d8aca4b87 [2023-01-13T16:37:51.915Z] ---> 15d71ca7e2fd [2023-01-13T16:37:51.915Z] Step 9/10 : COPY . . [2023-01-13T16:37:51.915Z] ---> c21f833a6483 [2023-01-13T16:37:51.915Z] Step 10/10 : RUN ${MAKE} [2023-01-13T16:37:51.915Z] ---> Running in 88f0d075ced5 [2023-01-13T16:37:52.503Z] noop [2023-01-13T16:37:53.087Z] Removing intermediate container 88f0d075ced5 [2023-01-13T16:37:53.087Z] ---> 3ca42c83a383 [2023-01-13T16:37:53.087Z] Successfully built 3ca42c83a383 [2023-01-13T16:37:53.087Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-13T16:37:53.448Z] + docker inspect -f . ci-base-image-arm64 [2023-01-13T16:37:53.448Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-13T16:37:53.650Z] prd-ubuntu20.04-docker-arm64-4c-16g-2228 does not seem to be running inside a container [2023-01-13T16:37:53.726Z] $ 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-13T16:37:56.912Z] $ docker top e16854d6c5d0ae4e36b776fd139a720b66c8e52f7ece01a1368929ae08f710d7 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-13T16:37:57.729Z] + go version [2023-01-13T16:37:57.729Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-01-13T16:37:57.747Z] $ docker stop --time=1 e16854d6c5d0ae4e36b776fd139a720b66c8e52f7ece01a1368929ae08f710d7 [2023-01-13T16:37:59.371Z] $ docker rm -f --volumes e16854d6c5d0ae4e36b776fd139a720b66c8e52f7ece01a1368929ae08f710d7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-13T16:37:59.890Z] + docker inspect -f . ci-base-image-arm64 [2023-01-13T16:37:59.890Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-13T16:38:00.119Z] prd-ubuntu20.04-docker-arm64-4c-16g-2228 does not seem to be running inside a container [2023-01-13T16:38:00.254Z] $ 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-13T16:38:01.506Z] $ docker top 4d61677690137c22d0d38d7445178ef08e36375b74701b89cf5a7d26dd62df7f -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-13T16:38:02.015Z] + git config --global --add safe.directory /w/workspace/device-modbus-go/2 [Pipeline] fileExists [Pipeline] sh [2023-01-13T16:38:02.608Z] + make test [2023-01-13T16:38:02.608Z] go test ./... -coverprofile=coverage.out [2023-01-13T16:38:04.560Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2023-01-13T16:39:26.208Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2023-01-13T16:39:26.208Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.062s coverage: 47.7% of statements [2023-01-13T16:39:26.208Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-01-13T16:39:26.208Z] go vet ./... [2023-01-13T16:39:48.285Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-01-13T16:39:48.285Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-01-13T16:39:48.285Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-01-13T16:39:48.305Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-01-13T16:39:48.321Z] $ docker stop --time=1 4d61677690137c22d0d38d7445178ef08e36375b74701b89cf5a7d26dd62df7f [2023-01-13T16:39:50.104Z] $ docker rm -f --volumes 4d61677690137c22d0d38d7445178ef08e36375b74701b89cf5a7d26dd62df7f [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-13T16:39:51.015Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-01-13T16:39:51.031Z] Warning: overwriting stash ‘coverage-report’ [2023-01-13T16:39:51.473Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-13T16:39:51.858Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-01-13T16:39:52.173Z] + ls -al . [2023-01-13T16:39:52.173Z] total 192 [2023-01-13T16:39:52.173Z] drwxrwxr-x 9 jenkins jenkins 4096 Jan 13 16:38 . [2023-01-13T16:39:52.173Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 13 16:35 .. [2023-01-13T16:39:52.173Z] -rw-rw-r-- 1 jenkins jenkins 140 Jan 13 16:35 .dockerignore [2023-01-13T16:39:52.173Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 13 16:35 .git [2023-01-13T16:39:52.173Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 13 16:35 .github [2023-01-13T16:39:52.173Z] -rw-rw-r-- 1 jenkins jenkins 331 Jan 13 16:35 .gitignore [2023-01-13T16:39:52.173Z] -rw-rw-r-- 1 jenkins jenkins 41 Jan 13 16:35 .golangci.yml [2023-01-13T16:39:52.173Z] -rw-rw-r-- 1 jenkins jenkins 10017 Jan 13 16:35 Attribution.txt [2023-01-13T16:39:52.173Z] -rw-rw-r-- 1 jenkins jenkins 11576 Jan 13 16:35 CHANGELOG.md [2023-01-13T16:39:52.173Z] -rw-rw-r-- 1 jenkins jenkins 1365 Jan 13 16:35 Dockerfile [2023-01-13T16:39:52.173Z] -rw-rw-r-- 1 jenkins jenkins 677 Jan 13 16:35 GOVERNANCE.md [2023-01-13T16:39:52.173Z] -rw-rw-r-- 1 jenkins jenkins 680 Jan 13 16:35 Jenkinsfile [2023-01-13T16:39:52.173Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jan 13 16:35 LICENSE [2023-01-13T16:39:52.173Z] -rw-rw-r-- 1 jenkins jenkins 1670 Jan 13 16:35 Makefile [2023-01-13T16:39:52.173Z] -rw-rw-r-- 1 jenkins jenkins 622 Jan 13 16:35 OWNERS.md [2023-01-13T16:39:52.173Z] -rw-rw-r-- 1 jenkins jenkins 4061 Jan 13 16:35 README.md [2023-01-13T16:39:52.173Z] -rw-rw-r-- 1 jenkins jenkins 5 Jan 13 16:32 VERSION [2023-01-13T16:39:52.173Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 13 16:35 bin [2023-01-13T16:39:52.173Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 13 16:35 cmd [2023-01-13T16:39:52.173Z] -rw-r--r-- 1 jenkins jenkins 23241 Jan 13 16:39 coverage.out [2023-01-13T16:39:52.173Z] -rw-rw-r-- 1 jenkins jenkins 3584 Jan 13 16:35 go.mod [2023-01-13T16:39:52.173Z] -rw-rw-r-- 1 jenkins jenkins 45355 Jan 13 16:35 go.sum [2023-01-13T16:39:52.173Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 13 16:35 internal [2023-01-13T16:39:52.173Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 13 16:35 simulator [2023-01-13T16:39:52.173Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 13 16:35 snap [2023-01-13T16:39:52.173Z] -rw-rw-r-- 1 jenkins jenkins 229 Jan 13 16:35 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-13T16:39:52.510Z] + 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=256f87db5fdfe07ed03426eac959ea24fa54efa6 --label arch=arm64 --label version=0.0.0 . [2023-01-13T16:39:52.777Z] Sending build context to Docker daemon 3.351MB [2023-01-13T16:39:52.777Z] Step 1/22 : ARG BASE=golang:1.18-alpine3.16 [2023-01-13T16:39:52.777Z] Step 2/22 : FROM ${BASE} AS builder [2023-01-13T16:39:52.777Z] ---> 3ca42c83a383 [2023-01-13T16:39:52.777Z] Step 3/22 : ARG ADD_BUILD_TAGS="" [2023-01-13T16:39:53.049Z] ---> Running in 744d8cf5950c [2023-01-13T16:39:53.315Z] Removing intermediate container 744d8cf5950c [2023-01-13T16:39:53.315Z] ---> f354739397e8 [2023-01-13T16:39:53.315Z] Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-13T16:39:53.315Z] ---> Running in 47e8b68d8f2e [2023-01-13T16:39:53.583Z] Removing intermediate container 47e8b68d8f2e [2023-01-13T16:39:53.583Z] ---> 95e8c2b62fc1 [2023-01-13T16:39:53.583Z] Step 5/22 : RUN apk add --update --no-cache make git openssh [2023-01-13T16:39:53.583Z] ---> Running in 2cac8ed206db [2023-01-13T16:39:54.546Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-13T16:39:54.815Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-13T16:39:55.776Z] OK: 228 MiB in 59 packages [2023-01-13T16:39:56.735Z] Removing intermediate container 2cac8ed206db [2023-01-13T16:39:56.735Z] ---> 0ad7750e5af1 [2023-01-13T16:39:56.735Z] Step 6/22 : WORKDIR /device-modbus-go [2023-01-13T16:39:56.735Z] ---> Running in 0be30ed06a2c [2023-01-13T16:39:57.075Z] Removing intermediate container 0be30ed06a2c [2023-01-13T16:39:57.075Z] ---> 8cb1ee25e252 [2023-01-13T16:39:57.075Z] Step 7/22 : COPY go.mod vendor* ./ [2023-01-13T16:39:57.671Z] ---> 0910268e2679 [2023-01-13T16:39:57.671Z] Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-13T16:39:57.671Z] ---> Running in 59b181832a29 [2023-01-13T16:39:59.674Z] Removing intermediate container 59b181832a29 [2023-01-13T16:39:59.674Z] ---> 11c40c59be44 [2023-01-13T16:39:59.674Z] Step 9/22 : COPY . . [2023-01-13T16:40:02.280Z] ---> 6cc4af7fda1f [2023-01-13T16:40:02.280Z] Step 10/22 : RUN ${MAKE} [2023-01-13T16:40:02.280Z] ---> Running in 624caa5e3c5b [2023-01-13T16:40:03.244Z] 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-13T16:42:25.069Z] Removing intermediate container 624caa5e3c5b [2023-01-13T16:42:25.069Z] ---> 4641c8fafd91 [2023-01-13T16:42:25.069Z] Step 11/22 : FROM alpine:3.14 [2023-01-13T16:42:25.069Z] 3.14: Pulling from library/alpine [2023-01-13T16:42:25.069Z] 90cda3b7c325: Pulling fs layer [2023-01-13T16:42:25.069Z] 90cda3b7c325: Verifying Checksum [2023-01-13T16:42:25.069Z] 90cda3b7c325: Download complete [2023-01-13T16:42:25.069Z] 90cda3b7c325: Pull complete [2023-01-13T16:42:25.069Z] Digest: sha256:4c869a63e1b7c0722fed1e402a6466610327c3b83bdddb94bd94fb71da7f638a [2023-01-13T16:42:25.069Z] Status: Downloaded newer image for alpine:3.14 [2023-01-13T16:42:25.069Z] ---> 275902a1839d [2023-01-13T16:42:25.069Z] Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2023-01-13T16:42:25.069Z] ---> Running in 5ba131bfb30e [2023-01-13T16:42:25.069Z] Removing intermediate container 5ba131bfb30e [2023-01-13T16:42:25.069Z] ---> 675cc5536f41 [2023-01-13T16:42:25.069Z] Step 13/22 : RUN apk add --update --no-cache dumb-init [2023-01-13T16:42:25.069Z] ---> Running in 643199b3ede2 [2023-01-13T16:42:25.069Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2023-01-13T16:42:25.069Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2023-01-13T16:42:25.069Z] (1/1) Installing dumb-init (1.2.5-r1) [2023-01-13T16:42:25.069Z] Executing busybox-1.33.1-r8.trigger [2023-01-13T16:42:25.069Z] OK: 6 MiB in 15 packages [2023-01-13T16:42:25.069Z] Removing intermediate container 643199b3ede2 [2023-01-13T16:42:25.069Z] ---> fd82e6b5d390 [2023-01-13T16:42:25.069Z] Step 14/22 : COPY --from=builder /device-modbus-go/cmd / [2023-01-13T16:42:26.036Z] ---> e766efcc326b [2023-01-13T16:42:26.036Z] Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / [2023-01-13T16:42:26.304Z] ---> 8ee353855c5e [2023-01-13T16:42:26.304Z] Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / [2023-01-13T16:42:26.889Z] ---> 6ec67cb06252 [2023-01-13T16:42:26.889Z] Step 17/22 : EXPOSE 59901 [2023-01-13T16:42:26.889Z] ---> Running in cee0a5911eee [2023-01-13T16:42:27.160Z] Removing intermediate container cee0a5911eee [2023-01-13T16:42:27.160Z] ---> 1126c269a0ff [2023-01-13T16:42:27.160Z] Step 18/22 : ENTRYPOINT ["/device-modbus"] [2023-01-13T16:42:27.433Z] ---> Running in 9ff55505b954 [2023-01-13T16:42:27.703Z] Removing intermediate container 9ff55505b954 [2023-01-13T16:42:27.703Z] ---> 3f6d8011c983 [2023-01-13T16:42:27.703Z] Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-01-13T16:42:27.703Z] ---> Running in bf48d87a7d80 [2023-01-13T16:42:27.970Z] Removing intermediate container bf48d87a7d80 [2023-01-13T16:42:27.970Z] ---> d56cf3f6c780 [2023-01-13T16:42:27.970Z] Step 20/22 : LABEL arch=arm64 [2023-01-13T16:42:27.970Z] ---> Running in 7c424d8832af [2023-01-13T16:42:28.238Z] Removing intermediate container 7c424d8832af [2023-01-13T16:42:28.238Z] ---> df13d66d22d1 [2023-01-13T16:42:28.238Z] Step 21/22 : LABEL git_sha=256f87db5fdfe07ed03426eac959ea24fa54efa6 [2023-01-13T16:42:28.511Z] ---> Running in d5341af22491 [2023-01-13T16:42:28.785Z] Removing intermediate container d5341af22491 [2023-01-13T16:42:28.785Z] ---> a7afa4edb311 [2023-01-13T16:42:28.785Z] Step 22/22 : LABEL version=0.0.0 [2023-01-13T16:42:28.785Z] ---> Running in 24ef63756676 [2023-01-13T16:42:29.052Z] Removing intermediate container 24ef63756676 [2023-01-13T16:42:29.052Z] ---> 65699144c555 [2023-01-13T16:42:29.052Z] [Warning] One or more build-args [ARCH] were not consumed [2023-01-13T16:42:29.052Z] Successfully built 65699144c555 [2023-01-13T16:42:29.052Z] 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-13T16:42:29.494Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-13T16:42:29.494Z] [2023-01-13T16:42:29.494Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-13T16:42:29.827Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-13T16:42:29.827Z] arm64: Pulling from edgex-lftools-log-publisher [2023-01-13T16:42:29.827Z] 8998bd30e6a1: Pulling fs layer [2023-01-13T16:42:29.827Z] 04944245beec: Pulling fs layer [2023-01-13T16:42:29.827Z] 699f458cf7ca: Pulling fs layer [2023-01-13T16:42:29.827Z] 765212b225bb: Pulling fs layer [2023-01-13T16:42:29.827Z] f23df028b6ca: Pulling fs layer [2023-01-13T16:42:29.827Z] d65c8cfc05b1: Pulling fs layer [2023-01-13T16:42:29.827Z] 2437ff75d9bd: Pulling fs layer [2023-01-13T16:42:29.827Z] d65c8cfc05b1: Waiting [2023-01-13T16:42:29.827Z] f23df028b6ca: Waiting [2023-01-13T16:42:29.827Z] 2437ff75d9bd: Waiting [2023-01-13T16:42:29.827Z] 765212b225bb: Waiting [2023-01-13T16:42:30.094Z] 04944245beec: Verifying Checksum [2023-01-13T16:42:30.094Z] 04944245beec: Download complete [2023-01-13T16:42:30.094Z] 765212b225bb: Verifying Checksum [2023-01-13T16:42:30.094Z] 765212b225bb: Download complete [2023-01-13T16:42:30.094Z] f23df028b6ca: Verifying Checksum [2023-01-13T16:42:30.094Z] f23df028b6ca: Download complete [2023-01-13T16:42:30.094Z] d65c8cfc05b1: Verifying Checksum [2023-01-13T16:42:30.094Z] d65c8cfc05b1: Download complete [2023-01-13T16:42:30.367Z] 699f458cf7ca: Verifying Checksum [2023-01-13T16:42:30.367Z] 699f458cf7ca: Download complete [2023-01-13T16:42:30.639Z] 8998bd30e6a1: Verifying Checksum [2023-01-13T16:42:30.639Z] 8998bd30e6a1: Download complete [2023-01-13T16:42:33.239Z] 2437ff75d9bd: Verifying Checksum [2023-01-13T16:42:33.239Z] 2437ff75d9bd: Download complete [2023-01-13T16:42:34.656Z] 8998bd30e6a1: Pull complete [2023-01-13T16:42:34.924Z] 04944245beec: Pull complete [2023-01-13T16:42:36.337Z] 699f458cf7ca: Pull complete [2023-01-13T16:42:36.604Z] 765212b225bb: Pull complete [2023-01-13T16:42:37.566Z] f23df028b6ca: Pull complete [2023-01-13T16:42:37.566Z] d65c8cfc05b1: Pull complete [2023-01-13T16:42:52.565Z] 2437ff75d9bd: Pull complete [2023-01-13T16:42:52.565Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-01-13T16:42:52.565Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-13T16:42:52.565Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-13T16:42:52.765Z] prd-ubuntu20.04-docker-arm64-4c-16g-2228 does not seem to be running inside a container [2023-01-13T16:42:52.824Z] $ 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-13T16:42:55.423Z] $ docker top 1480ae728f76978a6e2fd047da114a8c8688843aaad826013130531b302e5fae -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-13T16:42:56.286Z] ---> job-cost.sh [2023-01-13T16:42:56.286Z] lf-activate-venv: SKIPPING [2023-01-13T16:42:56.286Z] INFO: No Stack... [2023-01-13T16:42:56.551Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-01-13T16:42:57.506Z] INFO: Archiving Costs [Pipeline] sh [2023-01-13T16:42:57.828Z] + + cut -d, -f6 [2023-01-13T16:42:57.828Z] cat /w/workspace/device-modbus-go/2/archives/cost.csv [Pipeline] lock [2023-01-13T16:42:58.160Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-400-2-stack-cost] [2023-01-13T16:42:58.167Z] Resource [jenkins-edgexfoundry-device-modbus-go-PR-400-2-stack-cost] did not exist. Created. [2023-01-13T16:42:58.167Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-400-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-01-13T16:42:58.490Z] /w/workspace/device-modbus-go/2@tmp/durable-de173165/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-01-13T16:42:59.145Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-01-13T16:42:59.169Z] Warning: overwriting stash ‘stack-cost’ [2023-01-13T16:42:59.213Z] Stashed 1 file(s) [Pipeline] } [2023-01-13T16:42:59.220Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-400-2-stack-cost] [Pipeline] // lock [Pipeline] } [2023-01-13T16:42:59.234Z] $ docker stop --time=1 1480ae728f76978a6e2fd047da114a8c8688843aaad826013130531b302e5fae [2023-01-13T16:43:00.715Z] $ docker rm -f --volumes 1480ae728f76978a6e2fd047da114a8c8688843aaad826013130531b302e5fae [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-13T16:43:01.077Z] provisioning config files... [2023-01-13T16:43:01.084Z] copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-400@tmp/config17998034928864724129tmp [Pipeline] { [Pipeline] sh [2023-01-13T16:43:01.372Z] + set +x [2023-01-13T16:43:01.372Z] + bash -s -- [2023-01-13T16:43:01.372Z] + curl -s https://codecov.io/bash [2023-01-13T16:43:01.372Z] [2023-01-13T16:43:01.372Z] _____ _ [2023-01-13T16:43:01.372Z] / ____| | | [2023-01-13T16:43:01.372Z] | | ___ __| | ___ ___ _____ __ [2023-01-13T16:43:01.372Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-01-13T16:43:01.372Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-01-13T16:43:01.372Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-01-13T16:43:01.372Z] Bash-1.0.6 [2023-01-13T16:43:01.372Z] [2023-01-13T16:43:01.372Z] [2023-01-13T16:43:01.372Z] ==> git version 2.25.1 found [2023-01-13T16:43:01.372Z] ==> 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-13T16:43:01.372Z] Release-Date: 2020-01-08 [2023-01-13T16:43:01.372Z] 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-13T16:43:01.372Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-01-13T16:43:01.372Z] ==> Jenkins CI detected. [2023-01-13T16:43:01.372Z] current dir:  /w/workspace/xfoundry_device-modbus-go_PR-400 [2023-01-13T16:43:01.372Z] project root: . [2023-01-13T16:43:01.372Z] --> token set from env [2023-01-13T16:43:01.372Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-01-13T16:43:01.372Z] ==> Running gcov in . (disable via -X gcov) [2023-01-13T16:43:01.372Z] ==> Python coveragepy not found [2023-01-13T16:43:01.372Z] ==> Searching for coverage reports in: [2023-01-13T16:43:01.372Z] + . [2023-01-13T16:43:01.372Z] -> Found 1 reports [2023-01-13T16:43:01.372Z] ==> Detecting git/mercurial file structure [2023-01-13T16:43:01.372Z] ==> Reading reports [2023-01-13T16:43:01.372Z] + ./coverage.out bytes=23241 [2023-01-13T16:43:01.372Z] ==> Appending adjustments [2023-01-13T16:43:01.372Z] https://docs.codecov.io/docs/fixing-reports [2023-01-13T16:43:01.632Z] + Found adjustments [2023-01-13T16:43:01.632Z] ==> Gzipping contents [2023-01-13T16:43:01.632Z] 4.0K /tmp/codecov.qA1fH1.gz [2023-01-13T16:43:01.632Z] ==> Uploading reports [2023-01-13T16:43:01.632Z] url: https://codecov.io [2023-01-13T16:43:01.632Z] query: branch=PR-400&commit=256f87db5fdfe07ed03426eac959ea24fa54efa6&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-400%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=400&job=&cmd_args= [2023-01-13T16:43:01.632Z] -> Pinging Codecov [2023-01-13T16:43:01.632Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3a8d40b1-de00-4649-bfd4-bdc8ed99ae89&branch=PR-400&commit=256f87db5fdfe07ed03426eac959ea24fa54efa6&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-400%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=400&job=&cmd_args= [2023-01-13T16:43:01.892Z] -> Uploading to [2023-01-13T16:43:01.892Z] https://storage.googleapis.com/codecov/v4/raw/2023-01-13/55DBCA73C666E3227836607328DD7E49/256f87db5fdfe07ed03426eac959ea24fa54efa6/c0da079d-e62a-4b54-922c-2b8cdcb33dc2.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230113%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230113T164301Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=5b27e64df5aec15281492b23234e77674e3d1d8577e5fb8af532ec46841ea1fe [2023-01-13T16:43:01.892Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-01-13T16:43:01.892Z] Dload Upload Total Spent Left Speed [2023-01-13T16:43:02.151Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3883 0 0 100 3883 0 44125 --:--:-- --:--:-- --:--:-- 43629 100 3883 0 0 100 3883 0 13917 --:--:-- --:--:-- --:--:-- 13867 [2023-01-13T16:43:02.151Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/256f87db5fdfe07ed03426eac959ea24fa54efa6 [Pipeline] } [2023-01-13T16:43:02.160Z] 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-13T16:43:02.851Z] + [ -d /w/workspace/xfoundry_device-modbus-go_PR-400/archives ] [2023-01-13T16:43:02.851Z] + ls -al /w/workspace/xfoundry_device-modbus-go_PR-400/archives [2023-01-13T16:43:02.851Z] total 16 [2023-01-13T16:43:02.851Z] drwxr-xr-x 3 root root 4096 Jan 13 16:33 . [2023-01-13T16:43:02.851Z] drwxrwxr-x 11 jenkins jenkins 4096 Jan 13 16:33 .. [2023-01-13T16:43:02.851Z] drwxr-xr-x 2 root root 4096 Jan 13 16:33 cost [2023-01-13T16:43:02.851Z] -rw-r--r-- 1 root root 88 Jan 13 16:33 cost.csv [2023-01-13T16:43:02.851Z] + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-400/archives [2023-01-13T16:43:02.851Z] + ls -al /w/workspace/xfoundry_device-modbus-go_PR-400/archives [2023-01-13T16:43:02.851Z] total 16 [2023-01-13T16:43:02.851Z] drwxr-xr-x 3 jenkins jenkins 4096 Jan 13 16:33 . [2023-01-13T16:43:02.851Z] drwxrwxr-x 11 jenkins jenkins 4096 Jan 13 16:33 .. [2023-01-13T16:43:02.851Z] drwxr-xr-x 2 jenkins jenkins 4096 Jan 13 16:33 cost [2023-01-13T16:43:02.851Z] -rw-r--r-- 1 jenkins jenkins 88 Jan 13 16:33 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-01-13T16:43:03.137Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-13T16:43:03.993Z] ---> package-listing.sh [2023-01-13T16:43:03.993Z] ++ facter osfamily [2023-01-13T16:43:03.993Z] ++ tr '[:upper:]' '[:lower:]' [2023-01-13T16:43:04.252Z] + OS_FAMILY=debian [2023-01-13T16:43:04.252Z] + workspace=/w/workspace/xfoundry_device-modbus-go_PR-400 [2023-01-13T16:43:04.252Z] + START_PACKAGES=/tmp/packages_start.txt [2023-01-13T16:43:04.252Z] + END_PACKAGES=/tmp/packages_end.txt [2023-01-13T16:43:04.252Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-01-13T16:43:04.252Z] + PACKAGES=/tmp/packages_start.txt [2023-01-13T16:43:04.252Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-400 ']' [2023-01-13T16:43:04.252Z] + PACKAGES=/tmp/packages_end.txt [2023-01-13T16:43:04.252Z] + case "${OS_FAMILY}" in [2023-01-13T16:43:04.252Z] + dpkg -l [2023-01-13T16:43:04.252Z] + grep '^ii' [2023-01-13T16:43:04.252Z] + '[' -f /tmp/packages_start.txt ']' [2023-01-13T16:43:04.252Z] + '[' -f /tmp/packages_end.txt ']' [2023-01-13T16:43:04.252Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-01-13T16:43:04.252Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-400 ']' [2023-01-13T16:43:04.252Z] + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-400/archives/ [2023-01-13T16:43:04.252Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-400/archives/ [Pipeline] echo [2023-01-13T16:43:04.262Z] 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-400/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-01-13T16:43:04.538Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-13T16:43:04.832Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-13T16:43:04.832Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-13T16:43:04.897Z] prd-ubuntu20.04-docker-8c-8g-2227 does not seem to be running inside a container [2023-01-13T16:43:04.927Z] $ 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-400/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-400 -v /w/workspace/xfoundry_device-modbus-go_PR-400:/w/workspace/xfoundry_device-modbus-go_PR-400:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-400@tmp:/w/workspace/xfoundry_device-modbus-go_PR-400@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-13T16:43:05.159Z] $ docker top 0ef03745b078e0954f03c53b3cfdbd5d04eda1ee09be7039e7880639a64e50b1 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-13T16:43:05.501Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-01-13T16:43:05.786Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-01-13T16:43:06.069Z] + ls /var/log/sa-host [2023-01-13T16:43:06.069Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-13T16:43:06.134Z] provisioning config files... [2023-01-13T16:43:06.141Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-400@tmp/config8671072954913318648tmp [Pipeline] { [Pipeline] echo [2023-01-13T16:43:06.152Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-13T16:43:06.437Z] ---> create-netrc.sh [Pipeline] } [2023-01-13T16:43:06.444Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-01-13T16:43:06.758Z] ---> python-tools-install.sh [Pipeline] echo [2023-01-13T16:43:06.766Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-13T16:43:07.047Z] ---> sudo-logs.sh [2023-01-13T16:43:07.047Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-01-13T16:43:07.077Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-13T16:43:07.361Z] ---> job-cost.sh [2023-01-13T16:43:07.361Z] lf-activate-venv: SKIPPING [2023-01-13T16:43:07.361Z] DEBUG: total: 0.2199999988079071 [2023-01-13T16:43:07.361Z] INFO: Retrieving Stack Cost... [2023-01-13T16:43:07.619Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-01-13T16:43:08.187Z] INFO: Archiving Costs [Pipeline] echo [2023-01-13T16:43:08.200Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-13T16:43:08.488Z] ---> logs-deploy.sh [2023-01-13T16:43:08.488Z] lf-activate-venv: SKIPPING [2023-01-13T16:43:08.488Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-400/2 [2023-01-13T16:43:08.488Z] INFO: archiving workspace using pattern(s): [2023-01-13T16:43:09.427Z] Archives upload complete. [2023-01-13T16:43:09.427Z] INFO: archiving logs to Nexus