Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 3a773cf0dc5b099a7cf24b47bf135fe824ab32ff+e3fb6b6c893123b5784ccc2dd10ff9f0848293eb (cd962a2977e910744e4ec03c8ce81edcf49b6f05) 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-ssh8453593551951950540.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-ssh13223790905003077168.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-416/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-416/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14143958536762528103.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-ssh4613591692625998444.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-416/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-416/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh16576512899101661372.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 ‘prd-ubuntu20.04-docker-8c-8g-6775’ Running on prd-ubuntu20.04-docker-8c-8g-6780 in /w/workspace/xfoundry_device-modbus-go_PR-416 [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-416 # 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 Merging remotes/origin/main commit e3fb6b6c893123b5784ccc2dd10ff9f0848293eb into PR head commit 3a773cf0dc5b099a7cf24b47bf135fe824ab32ff Merge succeeded, producing 3e95788e13dbae8256f25e5cf2807fb1424286e9 Checking out Revision 3e95788e13dbae8256f25e5cf2807fb1424286e9 (PR-416) > 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/416/head:refs/remotes/origin/PR-416 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 3a773cf0dc5b099a7cf24b47bf135fe824ab32ff # 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 e3fb6b6c893123b5784ccc2dd10ff9f0848293eb # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 3e95788e13dbae8256f25e5cf2807fb1424286e9 # timeout=10 Commit message: "Merge commit 'e3fb6b6c893123b5784ccc2dd10ff9f0848293eb' into HEAD" > git rev-list --no-walk 3a773cf0dc5b099a7cf24b47bf135fe824ab32ff # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-02-21T00:54:56.112Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-02-21T00:54:56.182Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-02-21T00:54:56.199Z] ========================================================= [2023-02-21T00:54:56.199Z] EdgeX Global Pipelines Version Info [2023-02-21T00:54:56.199Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-02-21T00:55:02.223Z] ------------------- [2023-02-21T00:55:02.223Z] stable info: [2023-02-21T00:55:02.223Z] ------------------- [2023-02-21T00:55:02.223Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-02-21T00:55:02.223Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-21T00:55:02.223Z] Message: update stable to v1.0.244 [2023-02-21T00:55:02.483Z] ------------------- [2023-02-21T00:55:02.483Z] experimental info: [2023-02-21T00:55:02.483Z] ------------------- [2023-02-21T00:55:02.483Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-02-21T00:55:02.483Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-21T00:55:02.483Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-02-21T00:55:02.671Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo [2023-02-21T00:55:02.683Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo [2023-02-21T00:55:02.694Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-02-21T00:55:02.703Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-02-21T00:55:02.711Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-02-21T00:55:02.719Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-02-21T00:55:02.727Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-02-21T00:55:02.736Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-02-21T00:55:02.744Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-02-21T00:55:02.752Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-02-21T00:55:02.760Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-02-21T00:55:02.769Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo [2023-02-21T00:55:02.777Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-02-21T00:55:02.785Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-02-21T00:55:02.795Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-02-21T00:55:02.811Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-02-21T00:55:02.827Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-02-21T00:55:02.839Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-02-21T00:55:02.850Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-02-21T00:55:02.862Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-02-21T00:55:02.873Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-02-21T00:55:02.887Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-02-21T00:55:02.898Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-02-21T00:55:02.910Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-02-21T00:55:02.924Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-02-21T00:55:02.934Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-02-21T00:55:02.946Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-02-21T00:55:02.957Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-416 [Pipeline] echo [2023-02-21T00:55:02.971Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-416 [Pipeline] echo [2023-02-21T00:55:02.981Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-416 [Pipeline] echo [2023-02-21T00:55:02.992Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 3e95788e13dbae8256f25e5cf2807fb1424286e9 [Pipeline] echo [2023-02-21T00:55:03.006Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 3e95788 [Pipeline] echo [2023-02-21T00:55:03.025Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-21T00:55:03.070Z] provisioning config files... [2023-02-21T00:55:03.083Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-416@tmp/config10463845056023428343tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-21T00:55:03.401Z] ---> docker-login.sh [2023-02-21T00:55:03.401Z] nexus3.edgexfoundry.org:10001 [2023-02-21T00:55:04.344Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-21T00:55:04.344Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-21T00:55:04.344Z] Configure a credential helper to remove this warning. See [2023-02-21T00:55:04.344Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-21T00:55:04.344Z] [2023-02-21T00:55:04.344Z] Login Succeeded [2023-02-21T00:55:04.344Z] nexus3.edgexfoundry.org:10002 [2023-02-21T00:55:04.344Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-21T00:55:04.604Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-21T00:55:04.604Z] Configure a credential helper to remove this warning. See [2023-02-21T00:55:04.604Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-21T00:55:04.604Z] [2023-02-21T00:55:04.604Z] Login Succeeded [2023-02-21T00:55:04.604Z] nexus3.edgexfoundry.org:10003 [2023-02-21T00:55:04.604Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-21T00:55:04.604Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-21T00:55:04.604Z] Configure a credential helper to remove this warning. See [2023-02-21T00:55:04.604Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-21T00:55:04.604Z] [2023-02-21T00:55:04.604Z] Login Succeeded [2023-02-21T00:55:04.604Z] nexus3.edgexfoundry.org:10004 [2023-02-21T00:55:04.604Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-21T00:55:04.604Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-21T00:55:04.604Z] Configure a credential helper to remove this warning. See [2023-02-21T00:55:04.604Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-21T00:55:04.604Z] [2023-02-21T00:55:04.604Z] Login Succeeded [2023-02-21T00:55:04.604Z] docker.io [2023-02-21T00:55:04.864Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-21T00:55:05.125Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-21T00:55:05.125Z] Configure a credential helper to remove this warning. See [2023-02-21T00:55:05.125Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-21T00:55:05.125Z] [2023-02-21T00:55:05.125Z] Login Succeeded [2023-02-21T00:55:05.125Z] ---> docker-login.sh ends [Pipeline] } [2023-02-21T00:55:05.134Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-02-21T00:55:05.495Z] + git rev-list -1 --merges 3e95788e13dbae8256f25e5cf2807fb1424286e9~1..3e95788e13dbae8256f25e5cf2807fb1424286e9 [Pipeline] echo [2023-02-21T00:55:05.538Z] -----------> git rev-list -1 --merges 3e95788e13dbae8256f25e5cf2807fb1424286e9~1..3e95788e13dbae8256f25e5cf2807fb1424286e9 3e95788e13dbae8256f25e5cf2807fb1424286e9 [2023-02-21T00:55:05.538Z] 3e95788e13dbae8256f25e5cf2807fb1424286e9 [false] [Pipeline] sh [2023-02-21T00:55:05.829Z] + git log --format=format:%s -1 3e95788e13dbae8256f25e5cf2807fb1424286e9 [Pipeline] echo [2023-02-21T00:55:05.847Z] ========================================================= [2023-02-21T00:55:05.848Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-02-21T00:55:05.848Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-21T00:55:06.166Z] + git log --format=format:%s -1 3e95788e13dbae8256f25e5cf2807fb1424286e9 [Pipeline] echo [2023-02-21T00:55:06.177Z] [semverPrep] GIT_COMMIT: 3e95788e13dbae8256f25e5cf2807fb1424286e9, Commit Message: Merge commit 'e3fb6b6c893123b5784ccc2dd10ff9f0848293eb' into HEAD [Pipeline] echo [2023-02-21T00:55:06.186Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-02-21T00:55:06.561Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-02-21T00:55:06.561Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-02-21T00:55:06.561Z] + [ -e /tmp/ssh_known_hosts ] [2023-02-21T00:55:06.561Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-02-21T00:55:06.561Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-02-21T00:55:06.561Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-02-21T00:55:06.561Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-21T00:55:07.010Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-21T00:55:07.010Z] [2023-02-21T00:55:07.010Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-21T00:55:07.310Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-21T00:55:07.573Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-02-21T00:55:07.573Z] b85a868b505f: Pulling fs layer [2023-02-21T00:55:07.573Z] e2be974225ed: Pulling fs layer [2023-02-21T00:55:07.573Z] 339a4e72a1f5: Pulling fs layer [2023-02-21T00:55:07.573Z] 988bab9f4d93: Pulling fs layer [2023-02-21T00:55:07.573Z] 1469e6f7b9e6: Pulling fs layer [2023-02-21T00:55:07.573Z] eaf3925da568: Pulling fs layer [2023-02-21T00:55:07.573Z] bab4dde63d76: Pulling fs layer [2023-02-21T00:55:07.573Z] 1469e6f7b9e6: Waiting [2023-02-21T00:55:07.573Z] bde34c3a00c8: Pulling fs layer [2023-02-21T00:55:07.573Z] b352a97aabf1: Pulling fs layer [2023-02-21T00:55:07.573Z] eaf3925da568: Waiting [2023-02-21T00:55:07.573Z] bab4dde63d76: Waiting [2023-02-21T00:55:07.573Z] 4872d77fe225: Pulling fs layer [2023-02-21T00:55:07.573Z] 5851b861e8e6: Pulling fs layer [2023-02-21T00:55:07.573Z] b352a97aabf1: Waiting [2023-02-21T00:55:07.573Z] bde34c3a00c8: Waiting [2023-02-21T00:55:07.573Z] 5851b861e8e6: Waiting [2023-02-21T00:55:07.573Z] 4872d77fe225: Waiting [2023-02-21T00:55:07.573Z] e2be974225ed: Download complete [2023-02-21T00:55:07.573Z] 988bab9f4d93: Verifying Checksum [2023-02-21T00:55:07.573Z] 988bab9f4d93: Download complete [2023-02-21T00:55:07.573Z] 339a4e72a1f5: Verifying Checksum [2023-02-21T00:55:07.573Z] 339a4e72a1f5: Download complete [2023-02-21T00:55:07.573Z] eaf3925da568: Download complete [2023-02-21T00:55:07.833Z] 1469e6f7b9e6: Verifying Checksum [2023-02-21T00:55:07.833Z] 1469e6f7b9e6: Download complete [2023-02-21T00:55:07.833Z] bde34c3a00c8: Download complete [2023-02-21T00:55:07.833Z] b352a97aabf1: Download complete [2023-02-21T00:55:07.833Z] 4872d77fe225: Verifying Checksum [2023-02-21T00:55:07.833Z] 4872d77fe225: Download complete [2023-02-21T00:55:07.833Z] 5851b861e8e6: Verifying Checksum [2023-02-21T00:55:07.833Z] 5851b861e8e6: Download complete [2023-02-21T00:55:07.833Z] b85a868b505f: Verifying Checksum [2023-02-21T00:55:07.833Z] b85a868b505f: Download complete [2023-02-21T00:55:08.091Z] bab4dde63d76: Verifying Checksum [2023-02-21T00:55:08.091Z] bab4dde63d76: Download complete [2023-02-21T00:55:09.028Z] b85a868b505f: Pull complete [2023-02-21T00:55:09.286Z] e2be974225ed: Pull complete [2023-02-21T00:55:09.853Z] 339a4e72a1f5: Pull complete [2023-02-21T00:55:09.853Z] 988bab9f4d93: Pull complete [2023-02-21T00:55:10.421Z] 1469e6f7b9e6: Pull complete [2023-02-21T00:55:10.421Z] eaf3925da568: Pull complete [2023-02-21T00:55:12.324Z] bab4dde63d76: Pull complete [2023-02-21T00:55:12.582Z] bde34c3a00c8: Pull complete [2023-02-21T00:55:12.841Z] b352a97aabf1: Pull complete [2023-02-21T00:55:12.841Z] 4872d77fe225: Pull complete [2023-02-21T00:55:13.101Z] 5851b861e8e6: Pull complete [2023-02-21T00:55:13.101Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-02-21T00:55:13.101Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-21T00:55:13.101Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-21T00:55:13.187Z] prd-ubuntu20.04-docker-8c-8g-6780 does not seem to be running inside a container [2023-02-21T00:55:13.222Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-416 -v /w/workspace/xfoundry_device-modbus-go_PR-416:/w/workspace/xfoundry_device-modbus-go_PR-416:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-416@tmp:/w/workspace/xfoundry_device-modbus-go_PR-416@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-02-21T00:55:16.440Z] $ docker top 58617da0c2d65be135958e6b0ec26511e495a7661a0325c2a7aa73f5f554c3ad -eo pid,comm [2023-02-21T00:55:16.507Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-02-21T00:55:16.507Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-02-21T00:55:16.551Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-21T00:55:16.551Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-21T00:55:16.682Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-21T00:55:16.690Z] $ docker exec 58617da0c2d65be135958e6b0ec26511e495a7661a0325c2a7aa73f5f554c3ad ssh-agent [2023-02-21T00:55:16.810Z] SSH_AUTH_SOCK=/tmp/ssh-OF7GxOkSQZCW/agent.33 [2023-02-21T00:55:16.811Z] SSH_AGENT_PID=39 [2023-02-21T00:55:16.817Z] Running ssh-add (command line suppressed) [2023-02-21T00:55:16.942Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-416@tmp/private_key_1453727893780108520.key (/w/workspace/xfoundry_device-modbus-go_PR-416@tmp/private_key_1453727893780108520.key) [2023-02-21T00:55:16.951Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-21T00:55:17.239Z] + git tag --points-at HEAD [Pipeline] } [2023-02-21T00:55:17.259Z] $ docker exec --env ******** --env ******** 58617da0c2d65be135958e6b0ec26511e495a7661a0325c2a7aa73f5f554c3ad ssh-agent -k [2023-02-21T00:55:17.365Z] unset SSH_AUTH_SOCK; [2023-02-21T00:55:17.365Z] unset SSH_AGENT_PID; [2023-02-21T00:55:17.365Z] echo Agent pid 39 killed; [2023-02-21T00:55:17.374Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-02-21T00:55:17.405Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-21T00:55:17.405Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-21T00:55:17.530Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-21T00:55:17.538Z] $ docker exec 58617da0c2d65be135958e6b0ec26511e495a7661a0325c2a7aa73f5f554c3ad ssh-agent [2023-02-21T00:55:17.655Z] SSH_AUTH_SOCK=/tmp/ssh-BnMXIO63tiWb/agent.71 [2023-02-21T00:55:17.655Z] SSH_AGENT_PID=77 [2023-02-21T00:55:17.659Z] Running ssh-add (command line suppressed) [2023-02-21T00:55:17.764Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-416@tmp/private_key_14189210573146964372.key (/w/workspace/xfoundry_device-modbus-go_PR-416@tmp/private_key_14189210573146964372.key) [2023-02-21T00:55:17.775Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-21T00:55:18.067Z] + git semver init [2023-02-21T00:55:18.329Z] 2023-02-21 00:55:18,287 [run_init] DEBUG init version:0.0.0 force:False [2023-02-21T00:55:18.329Z] 2023-02-21 00:55:18,288 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-modbus-go_PR-416/.semver [2023-02-21T00:55:18.329Z] 2023-02-21 00:55:18,289 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/xfoundry_device-modbus-go_PR-416/.semver [2023-02-21T00:55:18.329Z] 2023-02-21 00:55:18,289 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/xfoundry_device-modbus-go_PR-416/.semver'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-416, universal_newlines=False, shell=None, istream=None) [2023-02-21T00:55:19.269Z] 2023-02-21 00:55:19,223 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-modbus-go_PR-416/.git/info/exclude [2023-02-21T00:55:19.269Z] 2023-02-21 00:55:19,224 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-modbus-go_PR-416/.semver/PR-416 with force:False [2023-02-21T00:55:19.269Z] 2023-02-21 00:55:19,224 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-modbus-go_PR-416/.semver/PR-416 [2023-02-21T00:55:19.269Z] 2023-02-21 00:55:19,229 [execute] INFO git cat-file --batch-check [2023-02-21T00:55:19.269Z] 2023-02-21 00:55:19,229 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-416/.semver, universal_newlines=False, shell=None, istream=) [2023-02-21T00:55:19.269Z] 2023-02-21 00:55:19,235 [execute] INFO git cat-file --batch [2023-02-21T00:55:19.269Z] 2023-02-21 00:55:19,235 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-416/.semver, universal_newlines=False, shell=None, istream=) [2023-02-21T00:55:19.269Z] 2023-02-21 00:55:19,241 [read_version] DEBUG read version from /w/workspace/xfoundry_device-modbus-go_PR-416/.semver/PR-416 [2023-02-21T00:55:19.269Z] 0.0.0 [Pipeline] } [2023-02-21T00:55:19.283Z] $ docker exec --env ******** --env ******** 58617da0c2d65be135958e6b0ec26511e495a7661a0325c2a7aa73f5f554c3ad ssh-agent -k [2023-02-21T00:55:19.386Z] unset SSH_AUTH_SOCK; [2023-02-21T00:55:19.387Z] unset SSH_AGENT_PID; [2023-02-21T00:55:19.387Z] echo Agent pid 77 killed; [2023-02-21T00:55:19.391Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-02-21T00:55:19.690Z] + git semver [Pipeline] } [2023-02-21T00:55:19.967Z] $ docker stop --time=1 58617da0c2d65be135958e6b0ec26511e495a7661a0325c2a7aa73f5f554c3ad [2023-02-21T00:55:21.274Z] $ docker rm -f --volumes 58617da0c2d65be135958e6b0ec26511e495a7661a0325c2a7aa73f5f554c3ad [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-21T00:55:21.603Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-02-21T00:55:21.820Z] Stashed 1 file(s) [Pipeline] echo [2023-02-21T00:55:21.823Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-21T00:55:21.980Z] provisioning config files... [2023-02-21T00:55:21.991Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-416@tmp/config9149006089767090430tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-21T00:55:22.290Z] ---> docker-login.sh [2023-02-21T00:55:22.290Z] nexus3.edgexfoundry.org:10001 [2023-02-21T00:55:22.290Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-21T00:55:22.290Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-21T00:55:22.290Z] Configure a credential helper to remove this warning. See [2023-02-21T00:55:22.290Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-21T00:55:22.290Z] [2023-02-21T00:55:22.290Z] Login Succeeded [2023-02-21T00:55:22.290Z] nexus3.edgexfoundry.org:10002 [2023-02-21T00:55:22.290Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-21T00:55:22.290Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-21T00:55:22.290Z] Configure a credential helper to remove this warning. See [2023-02-21T00:55:22.290Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-21T00:55:22.290Z] [2023-02-21T00:55:22.290Z] Login Succeeded [2023-02-21T00:55:22.290Z] nexus3.edgexfoundry.org:10003 [2023-02-21T00:55:22.549Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-21T00:55:22.549Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-21T00:55:22.549Z] Configure a credential helper to remove this warning. See [2023-02-21T00:55:22.549Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-21T00:55:22.549Z] [2023-02-21T00:55:22.549Z] Login Succeeded [2023-02-21T00:55:22.549Z] nexus3.edgexfoundry.org:10004 [2023-02-21T00:55:22.550Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-21T00:55:22.550Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-21T00:55:22.550Z] Configure a credential helper to remove this warning. See [2023-02-21T00:55:22.550Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-21T00:55:22.550Z] [2023-02-21T00:55:22.550Z] Login Succeeded [2023-02-21T00:55:22.550Z] docker.io [2023-02-21T00:55:22.810Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-21T00:55:23.069Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-21T00:55:23.069Z] Configure a credential helper to remove this warning. See [2023-02-21T00:55:23.069Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-21T00:55:23.069Z] [2023-02-21T00:55:23.069Z] Login Succeeded [2023-02-21T00:55:23.069Z] ---> docker-login.sh ends [Pipeline] } [2023-02-21T00:55:23.076Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-02-21T00:55:23.141Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-21T00:55:23.152Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-21T00:55:23.159Z] ========================================================= [2023-02-21T00:55:23.159Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-02-21T00:55:23.159Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-21T00:55:23.467Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-02-21T00:55:23.467Z] Sending build context to Docker daemon 6.411MB [2023-02-21T00:55:23.467Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2023-02-21T00:55:23.467Z] Step 2/10 : FROM ${BASE} AS builder [2023-02-21T00:55:23.467Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-02-21T00:55:23.467Z] 213ec9aee27d: Pulling fs layer [2023-02-21T00:55:23.467Z] 4583459ba037: Pulling fs layer [2023-02-21T00:55:23.467Z] 93c1e223e6f2: Pulling fs layer [2023-02-21T00:55:23.467Z] 53926ce57604: Pulling fs layer [2023-02-21T00:55:23.467Z] 21b2b0c7a3f4: Pulling fs layer [2023-02-21T00:55:23.467Z] 22ff95d597cd: Pulling fs layer [2023-02-21T00:55:23.467Z] 12d6caf4c0d1: Pulling fs layer [2023-02-21T00:55:23.467Z] 96b7cbca73a9: Pulling fs layer [2023-02-21T00:55:23.467Z] a7acece74701: Pulling fs layer [2023-02-21T00:55:23.467Z] 53926ce57604: Waiting [2023-02-21T00:55:23.467Z] 96b7cbca73a9: Waiting [2023-02-21T00:55:23.467Z] 12d6caf4c0d1: Waiting [2023-02-21T00:55:23.467Z] 22ff95d597cd: Waiting [2023-02-21T00:55:23.468Z] 21b2b0c7a3f4: Waiting [2023-02-21T00:55:23.468Z] a7acece74701: Waiting [2023-02-21T00:55:23.468Z] 93c1e223e6f2: Verifying Checksum [2023-02-21T00:55:23.468Z] 93c1e223e6f2: Download complete [2023-02-21T00:55:23.468Z] 4583459ba037: Verifying Checksum [2023-02-21T00:55:23.468Z] 4583459ba037: Download complete [2023-02-21T00:55:23.735Z] 21b2b0c7a3f4: Verifying Checksum [2023-02-21T00:55:23.735Z] 21b2b0c7a3f4: Download complete [2023-02-21T00:55:23.735Z] 22ff95d597cd: Verifying Checksum [2023-02-21T00:55:23.735Z] 22ff95d597cd: Download complete [2023-02-21T00:55:23.735Z] 213ec9aee27d: Download complete [2023-02-21T00:55:23.735Z] 12d6caf4c0d1: Verifying Checksum [2023-02-21T00:55:23.735Z] 12d6caf4c0d1: Download complete [2023-02-21T00:55:23.735Z] 213ec9aee27d: Pull complete [2023-02-21T00:55:24.010Z] 4583459ba037: Pull complete [2023-02-21T00:55:24.010Z] 93c1e223e6f2: Pull complete [2023-02-21T00:55:24.605Z] a7acece74701: Verifying Checksum [2023-02-21T00:55:24.605Z] a7acece74701: Download complete [2023-02-21T00:55:24.605Z] 96b7cbca73a9: Verifying Checksum [2023-02-21T00:55:24.605Z] 96b7cbca73a9: Download complete [2023-02-21T00:55:24.605Z] 53926ce57604: Download complete [2023-02-21T00:55:28.791Z] 53926ce57604: Pull complete [2023-02-21T00:55:28.792Z] 21b2b0c7a3f4: Pull complete [2023-02-21T00:55:28.792Z] 22ff95d597cd: Pull complete [2023-02-21T00:55:28.792Z] 12d6caf4c0d1: Pull complete [2023-02-21T00:55:30.689Z] 96b7cbca73a9: Pull complete [2023-02-21T00:55:31.630Z] a7acece74701: Pull complete [2023-02-21T00:55:31.630Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-02-21T00:55:31.630Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-02-21T00:55:31.630Z] ---> db6d94c90886 [2023-02-21T00:55:31.630Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2023-02-21T00:55:34.169Z] ---> Running in 340d07c53e4c [2023-02-21T00:55:34.169Z] Removing intermediate container 340d07c53e4c [2023-02-21T00:55:34.169Z] ---> 3721f03fc38f [2023-02-21T00:55:34.169Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-21T00:55:34.169Z] ---> Running in a029db18fd48 [2023-02-21T00:55:34.169Z] Removing intermediate container a029db18fd48 [2023-02-21T00:55:34.169Z] ---> 4333d65e5f5b [2023-02-21T00:55:34.169Z] Step 5/10 : RUN apk add --update --no-cache make git openssh [2023-02-21T00:55:34.169Z] ---> Running in 0efcd5a69023 [2023-02-21T00:55:34.428Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-21T00:55:34.428Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-21T00:55:34.687Z] (1/8) Installing openssh-keygen (9.0_p1-r2) [2023-02-21T00:55:34.687Z] (2/8) Installing libedit (20210910.3.1-r0) [2023-02-21T00:55:34.687Z] (3/8) Installing openssh-client-common (9.0_p1-r2) [2023-02-21T00:55:34.945Z] (4/8) Installing openssh-client-default (9.0_p1-r2) [2023-02-21T00:55:34.945Z] (5/8) Installing openssh-sftp-server (9.0_p1-r2) [2023-02-21T00:55:34.945Z] (6/8) Installing openssh-server-common (9.0_p1-r2) [2023-02-21T00:55:34.945Z] (7/8) Installing openssh-server (9.0_p1-r2) [2023-02-21T00:55:34.945Z] (8/8) Installing openssh (9.0_p1-r2) [2023-02-21T00:55:34.945Z] Executing busybox-1.35.0-r17.trigger [2023-02-21T00:55:34.945Z] OK: 217 MiB in 59 packages [2023-02-21T00:55:35.516Z] Removing intermediate container 0efcd5a69023 [2023-02-21T00:55:35.516Z] ---> 90f7e01e04ae [2023-02-21T00:55:35.516Z] Step 6/10 : WORKDIR /device-modbus-go [2023-02-21T00:55:35.516Z] ---> Running in ad0878f349f1 [2023-02-21T00:55:35.516Z] Removing intermediate container ad0878f349f1 [2023-02-21T00:55:35.516Z] ---> 2b2f2dc11dc2 [2023-02-21T00:55:35.516Z] Step 7/10 : COPY go.mod vendor* ./ [2023-02-21T00:55:35.775Z] ---> 16da40d6006a [2023-02-21T00:55:35.775Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-21T00:55:35.775Z] ---> Running in d75481a61b48 [2023-02-21T00:55:36.939Z] Still waiting to schedule task [2023-02-21T00:55:36.939Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-6779’ [2023-02-21T00:56:07.865Z] Removing intermediate container d75481a61b48 [2023-02-21T00:56:07.865Z] ---> 43cd4280e19c [2023-02-21T00:56:07.865Z] Step 9/10 : COPY . . [2023-02-21T00:56:07.865Z] ---> bc85e54b8f59 [2023-02-21T00:56:07.865Z] Step 10/10 : RUN ${MAKE} [2023-02-21T00:56:07.865Z] ---> Running in 438b00f35232 [2023-02-21T00:56:07.865Z] noop [2023-02-21T00:56:07.865Z] Removing intermediate container 438b00f35232 [2023-02-21T00:56:07.865Z] ---> 951d6db1b739 [2023-02-21T00:56:07.865Z] Successfully built 951d6db1b739 [2023-02-21T00:56:07.865Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-21T00:56:08.168Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-21T00:56:08.168Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-21T00:56:08.234Z] prd-ubuntu20.04-docker-8c-8g-6780 does not seem to be running inside a container [2023-02-21T00:56:08.264Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-416 -v /w/workspace/xfoundry_device-modbus-go_PR-416:/w/workspace/xfoundry_device-modbus-go_PR-416:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-416@tmp:/w/workspace/xfoundry_device-modbus-go_PR-416@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-02-21T00:56:08.632Z] $ docker top da607c72228e9a691eb44f0a9eec2f4d37e66bdd594ca9682c62bac104224795 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-21T00:56:08.979Z] + go version [2023-02-21T00:56:08.979Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-02-21T00:56:08.992Z] $ docker stop --time=1 da607c72228e9a691eb44f0a9eec2f4d37e66bdd594ca9682c62bac104224795 [2023-02-21T00:56:10.269Z] $ docker rm -f --volumes da607c72228e9a691eb44f0a9eec2f4d37e66bdd594ca9682c62bac104224795 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-21T00:56:10.682Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-21T00:56:10.682Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-21T00:56:10.756Z] prd-ubuntu20.04-docker-8c-8g-6780 does not seem to be running inside a container [2023-02-21T00:56:10.824Z] $ 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-416 -v /w/workspace/xfoundry_device-modbus-go_PR-416:/w/workspace/xfoundry_device-modbus-go_PR-416:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-416@tmp:/w/workspace/xfoundry_device-modbus-go_PR-416@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-02-21T00:56:11.201Z] $ docker top 751521ffde00a854de35febb202b6b1b931916a01c35289d931db9cf5cd67199 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-21T00:56:11.562Z] + git config --global --add safe.directory /w/workspace/xfoundry_device-modbus-go_PR-416 [Pipeline] fileExists [Pipeline] sh [2023-02-21T00:56:11.863Z] + make test [2023-02-21T00:56:11.863Z] go test ./... -coverprofile=coverage.out [2023-02-21T00:56:12.432Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2023-02-21T00:56:22.586Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2023-02-21T00:56:22.586Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.015s coverage: 47.7% of statements [2023-02-21T00:56:29.235Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2023-02-21T00:56:29.235Z] go vet ./... [2023-02-21T00:56:32.532Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-02-21T00:56:32.532Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-02-21T00:56:32.532Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-02-21T00:56:32.547Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-02-21T00:56:32.566Z] $ docker stop --time=1 751521ffde00a854de35febb202b6b1b931916a01c35289d931db9cf5cd67199 [2023-02-21T00:56:34.259Z] $ docker rm -f --volumes 751521ffde00a854de35febb202b6b1b931916a01c35289d931db9cf5cd67199 [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-21T00:56:34.734Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-02-21T00:56:34.795Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-02-21T00:56:35.372Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-02-21T00:56:35.658Z] + ls -al . [2023-02-21T00:56:35.658Z] total 184 [2023-02-21T00:56:35.658Z] drwxrwxr-x 10 jenkins jenkins 4096 Feb 21 00:56 . [2023-02-21T00:56:35.658Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 21 00:54 .. [2023-02-21T00:56:35.658Z] -rw-rw-r-- 1 jenkins jenkins 140 Feb 21 00:54 .dockerignore [2023-02-21T00:56:35.658Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 21 00:56 .git [2023-02-21T00:56:35.658Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 21 00:54 .github [2023-02-21T00:56:35.658Z] -rw-rw-r-- 1 jenkins jenkins 331 Feb 21 00:54 .gitignore [2023-02-21T00:56:35.658Z] -rw-rw-r-- 1 jenkins jenkins 41 Feb 21 00:54 .golangci.yml [2023-02-21T00:56:35.658Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 21 00:55 .semver [2023-02-21T00:56:35.658Z] -rw-rw-r-- 1 jenkins jenkins 10236 Feb 21 00:54 Attribution.txt [2023-02-21T00:56:35.658Z] -rw-rw-r-- 1 jenkins jenkins 11576 Feb 21 00:54 CHANGELOG.md [2023-02-21T00:56:35.658Z] -rw-rw-r-- 1 jenkins jenkins 1365 Feb 21 00:54 Dockerfile [2023-02-21T00:56:35.658Z] -rw-rw-r-- 1 jenkins jenkins 677 Feb 21 00:54 GOVERNANCE.md [2023-02-21T00:56:35.658Z] -rw-rw-r-- 1 jenkins jenkins 680 Feb 21 00:54 Jenkinsfile [2023-02-21T00:56:35.658Z] -rw-rw-r-- 1 jenkins jenkins 11340 Feb 21 00:54 LICENSE [2023-02-21T00:56:35.658Z] -rw-rw-r-- 1 jenkins jenkins 1670 Feb 21 00:54 Makefile [2023-02-21T00:56:35.658Z] -rw-rw-r-- 1 jenkins jenkins 622 Feb 21 00:54 OWNERS.md [2023-02-21T00:56:35.658Z] -rw-rw-r-- 1 jenkins jenkins 4061 Feb 21 00:54 README.md [2023-02-21T00:56:35.658Z] -rw-rw-r-- 1 jenkins jenkins 5 Feb 21 00:55 VERSION [2023-02-21T00:56:35.658Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 21 00:54 bin [2023-02-21T00:56:35.658Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 21 00:54 cmd [2023-02-21T00:56:35.658Z] -rw-r--r-- 1 jenkins jenkins 23241 Feb 21 00:56 coverage.out [2023-02-21T00:56:35.658Z] -rw-rw-r-- 1 jenkins jenkins 3496 Feb 21 00:54 go.mod [2023-02-21T00:56:35.658Z] -rw-rw-r-- 1 jenkins jenkins 33621 Feb 21 00:54 go.sum [2023-02-21T00:56:35.658Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 21 00:54 internal [2023-02-21T00:56:35.658Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 21 00:54 simulator [2023-02-21T00:56:35.658Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 21 00:54 snap [2023-02-21T00:56:35.658Z] -rw-rw-r-- 1 jenkins jenkins 229 Feb 21 00:54 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-21T00:56:36.016Z] + 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=3e95788e13dbae8256f25e5cf2807fb1424286e9 --label arch=amd64 --label version=0.0.0 . [2023-02-21T00:56:36.016Z] Sending build context to Docker daemon 6.435MB [2023-02-21T00:56:36.016Z] Step 1/22 : ARG BASE=golang:1.18-alpine3.16 [2023-02-21T00:56:36.016Z] Step 2/22 : FROM ${BASE} AS builder [2023-02-21T00:56:36.016Z] ---> 951d6db1b739 [2023-02-21T00:56:36.016Z] Step 3/22 : ARG ADD_BUILD_TAGS="" [2023-02-21T00:56:36.016Z] ---> Running in c8d821fa7f30 [2023-02-21T00:56:36.300Z] Removing intermediate container c8d821fa7f30 [2023-02-21T00:56:36.300Z] ---> a4d0d46832ac [2023-02-21T00:56:36.300Z] Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-21T00:56:36.300Z] ---> Running in fbcdd8922634 [2023-02-21T00:56:36.300Z] Removing intermediate container fbcdd8922634 [2023-02-21T00:56:36.300Z] ---> 7896c970ca5b [2023-02-21T00:56:36.300Z] Step 5/22 : RUN apk add --update --no-cache make git openssh [2023-02-21T00:56:36.300Z] ---> Running in 71b45a67541a [2023-02-21T00:56:36.589Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-21T00:56:36.866Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-21T00:56:37.133Z] OK: 217 MiB in 59 packages [2023-02-21T00:56:37.726Z] Removing intermediate container 71b45a67541a [2023-02-21T00:56:37.727Z] ---> ae63b7d581a9 [2023-02-21T00:56:37.727Z] Step 6/22 : WORKDIR /device-modbus-go [2023-02-21T00:56:37.727Z] ---> Running in 9353914b898f [2023-02-21T00:56:37.727Z] Removing intermediate container 9353914b898f [2023-02-21T00:56:37.727Z] ---> b786d64bf500 [2023-02-21T00:56:37.727Z] Step 7/22 : COPY go.mod vendor* ./ [2023-02-21T00:56:37.727Z] ---> b716da0b86b0 [2023-02-21T00:56:37.727Z] Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-21T00:56:37.727Z] ---> Running in 157d342cec9d [2023-02-21T00:56:38.696Z] Removing intermediate container 157d342cec9d [2023-02-21T00:56:38.696Z] ---> 43deb50b042b [2023-02-21T00:56:38.696Z] Step 9/22 : COPY . . [2023-02-21T00:56:38.965Z] ---> 58cb6ca79ac5 [2023-02-21T00:56:38.965Z] Step 10/22 : RUN ${MAKE} [2023-02-21T00:56:39.236Z] ---> Running in 6016f1009124 [2023-02-21T00:56:39.515Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-modbus ./cmd [2023-02-21T00:57:06.216Z] Removing intermediate container 6016f1009124 [2023-02-21T00:57:06.216Z] ---> 2dd40a6afbee [2023-02-21T00:57:06.216Z] Step 11/22 : FROM alpine:3.14 [2023-02-21T00:57:06.216Z] 3.14: Pulling from library/alpine [2023-02-21T00:57:06.216Z] d261077062b2: Pulling fs layer [2023-02-21T00:57:06.216Z] d261077062b2: Verifying Checksum [2023-02-21T00:57:06.216Z] d261077062b2: Download complete [2023-02-21T00:57:06.216Z] d261077062b2: Pull complete [2023-02-21T00:57:06.216Z] Digest: sha256:560e7a4fa5c891d1830f5591c80b8e472fa6cd386b7254cdf65ccc3249292a34 [2023-02-21T00:57:06.216Z] Status: Downloaded newer image for alpine:3.14 [2023-02-21T00:57:06.216Z] ---> 6dff1269bc79 [2023-02-21T00:57:06.216Z] Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2023-02-21T00:57:06.216Z] ---> Running in db2ded31edfe [2023-02-21T00:57:06.216Z] Removing intermediate container db2ded31edfe [2023-02-21T00:57:06.216Z] ---> 99cfca60b4ec [2023-02-21T00:57:06.216Z] Step 13/22 : RUN apk add --update --no-cache dumb-init [2023-02-21T00:57:06.216Z] ---> Running in f22974eb0999 [2023-02-21T00:57:06.476Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2023-02-21T00:57:06.476Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2023-02-21T00:57:06.734Z] (1/1) Installing dumb-init (1.2.5-r1) [2023-02-21T00:57:06.734Z] Executing busybox-1.33.1-r8.trigger [2023-02-21T00:57:06.734Z] OK: 6 MiB in 15 packages [2023-02-21T00:57:07.302Z] Removing intermediate container f22974eb0999 [2023-02-21T00:57:07.302Z] ---> b928b3642c16 [2023-02-21T00:57:07.302Z] Step 14/22 : COPY --from=builder /device-modbus-go/cmd / [2023-02-21T00:57:07.560Z] ---> 256b4d82bf9e [2023-02-21T00:57:07.560Z] Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / [2023-02-21T00:57:07.818Z] ---> c62204a88a20 [2023-02-21T00:57:07.818Z] Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / [2023-02-21T00:57:08.077Z] ---> 18c8af27d2d7 [2023-02-21T00:57:08.077Z] Step 17/22 : EXPOSE 59901 [2023-02-21T00:57:08.077Z] ---> Running in ddbfe3f3bd7a [2023-02-21T00:57:08.077Z] Removing intermediate container ddbfe3f3bd7a [2023-02-21T00:57:08.077Z] ---> 11d069acc21d [2023-02-21T00:57:08.077Z] Step 18/22 : ENTRYPOINT ["/device-modbus"] [2023-02-21T00:57:08.077Z] ---> Running in 84cbcd9584f6 [2023-02-21T00:57:08.335Z] Removing intermediate container 84cbcd9584f6 [2023-02-21T00:57:08.335Z] ---> b49c60352f8e [2023-02-21T00:57:08.335Z] Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-02-21T00:57:08.335Z] ---> Running in 49b8edc8263a [2023-02-21T00:57:08.335Z] Removing intermediate container 49b8edc8263a [2023-02-21T00:57:08.335Z] ---> f86c0038cc63 [2023-02-21T00:57:08.335Z] Step 20/22 : LABEL arch=amd64 [2023-02-21T00:57:08.335Z] ---> Running in 2ca9f061a034 [2023-02-21T00:57:08.596Z] Removing intermediate container 2ca9f061a034 [2023-02-21T00:57:08.596Z] ---> 1f246bf6f71e [2023-02-21T00:57:08.596Z] Step 21/22 : LABEL git_sha=3e95788e13dbae8256f25e5cf2807fb1424286e9 [2023-02-21T00:57:08.596Z] ---> Running in 64951e23e17b [2023-02-21T00:57:08.596Z] Removing intermediate container 64951e23e17b [2023-02-21T00:57:08.596Z] ---> 78367be048ed [2023-02-21T00:57:08.596Z] Step 22/22 : LABEL version=0.0.0 [2023-02-21T00:57:08.856Z] ---> Running in f8a10fc92216 [2023-02-21T00:57:08.856Z] Removing intermediate container f8a10fc92216 [2023-02-21T00:57:08.856Z] ---> 128511ab6e2d [2023-02-21T00:57:08.856Z] [Warning] One or more build-args [ARCH] were not consumed [2023-02-21T00:57:08.856Z] Successfully built 128511ab6e2d [2023-02-21T00:57:08.856Z] Successfully tagged device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-21T00:57:09.306Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-21T00:57:09.306Z] [2023-02-21T00:57:09.306Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-21T00:57:09.609Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-21T00:57:09.609Z] latest: Pulling from edgex-lftools-log-publisher [2023-02-21T00:57:09.609Z] 5eb5b503b376: Pulling fs layer [2023-02-21T00:57:09.609Z] 5c69ac0246d0: Pulling fs layer [2023-02-21T00:57:09.609Z] ec43610c2a17: Pulling fs layer [2023-02-21T00:57:09.609Z] 3a2ae6a8a46f: Pulling fs layer [2023-02-21T00:57:09.609Z] 33b1e0a273af: Pulling fs layer [2023-02-21T00:57:09.609Z] 3a2ae6a8a46f: Waiting [2023-02-21T00:57:09.609Z] 5d3b04190fa2: Pulling fs layer [2023-02-21T00:57:09.609Z] 2f39f015ded8: Pulling fs layer [2023-02-21T00:57:09.609Z] 33b1e0a273af: Waiting [2023-02-21T00:57:09.609Z] 5d3b04190fa2: Waiting [2023-02-21T00:57:09.609Z] 2f39f015ded8: Waiting [2023-02-21T00:57:09.609Z] 5c69ac0246d0: Verifying Checksum [2023-02-21T00:57:09.609Z] 5c69ac0246d0: Download complete [2023-02-21T00:57:09.609Z] 3a2ae6a8a46f: Verifying Checksum [2023-02-21T00:57:09.609Z] 3a2ae6a8a46f: Download complete [2023-02-21T00:57:09.872Z] 33b1e0a273af: Verifying Checksum [2023-02-21T00:57:09.872Z] 33b1e0a273af: Download complete [2023-02-21T00:57:09.872Z] 5d3b04190fa2: Download complete [2023-02-21T00:57:09.872Z] ec43610c2a17: Verifying Checksum [2023-02-21T00:57:09.872Z] ec43610c2a17: Download complete [2023-02-21T00:57:09.872Z] 5eb5b503b376: Verifying Checksum [2023-02-21T00:57:09.872Z] 5eb5b503b376: Download complete [2023-02-21T00:57:10.443Z] 2f39f015ded8: Download complete [2023-02-21T00:57:11.378Z] 5eb5b503b376: Pull complete [2023-02-21T00:57:11.378Z] 5c69ac0246d0: Pull complete [2023-02-21T00:57:11.636Z] ec43610c2a17: Pull complete [2023-02-21T00:57:11.894Z] 3a2ae6a8a46f: Pull complete [2023-02-21T00:57:11.894Z] 33b1e0a273af: Pull complete [2023-02-21T00:57:12.153Z] 5d3b04190fa2: Pull complete [2023-02-21T00:57:16.336Z] 2f39f015ded8: Pull complete [2023-02-21T00:57:16.336Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-02-21T00:57:16.336Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-21T00:57:16.336Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-21T00:57:16.419Z] prd-ubuntu20.04-docker-8c-8g-6780 does not seem to be running inside a container [2023-02-21T00:57:16.457Z] $ 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-416 -v /w/workspace/xfoundry_device-modbus-go_PR-416:/w/workspace/xfoundry_device-modbus-go_PR-416:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-416@tmp:/w/workspace/xfoundry_device-modbus-go_PR-416@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-02-21T00:57:18.349Z] $ docker top 0823706c058a8046e0fca5eb6ca7d69e10c33e4ee1f90e81438d91b4abaa1c3f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-21T00:57:18.750Z] ---> job-cost.sh [2023-02-21T00:57:18.750Z] lf-activate-venv: SKIPPING [2023-02-21T00:57:18.750Z] INFO: No Stack... [2023-02-21T00:57:19.008Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-21T00:57:19.266Z] INFO: Archiving Costs [Pipeline] sh [2023-02-21T00:57:19.566Z] + cat /w/workspace/xfoundry_device-modbus-go_PR-416/archives/cost.csv [2023-02-21T00:57:19.566Z] + cut -d, -f6 [Pipeline] lock [2023-02-21T00:57:19.578Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-416-2-stack-cost] [2023-02-21T00:57:19.583Z] Resource [jenkins-edgexfoundry-device-modbus-go-PR-416-2-stack-cost] did not exist. Created. [2023-02-21T00:57:19.584Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-416-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-02-21T00:57:19.889Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-02-21T00:57:19.925Z] Stashed 1 file(s) [Pipeline] } [2023-02-21T00:57:19.935Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-416-2-stack-cost] [Pipeline] // lock [Pipeline] } [2023-02-21T00:57:19.954Z] $ docker stop --time=1 0823706c058a8046e0fca5eb6ca7d69e10c33e4ee1f90e81438d91b4abaa1c3f [2023-02-21T00:57:21.135Z] $ docker rm -f --volumes 0823706c058a8046e0fca5eb6ca7d69e10c33e4ee1f90e81438d91b4abaa1c3f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-02-21T00:59:04.189Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-6781 in /w/workspace/xfoundry_device-modbus-go_PR-416 [Pipeline] { [Pipeline] ws [2023-02-21T00:59:04.204Z] Running in /w/workspace/device-modbus-go/2 [Pipeline] { [Pipeline] checkout [2023-02-21T00:59:04.245Z] Selected Git installation does not exist. Using Default [2023-02-21T00:59:04.245Z] The recommended git tool is: NONE [2023-02-21T00:59:09.322Z] using credential edgex-jenkins-ssh [2023-02-21T00:59:09.342Z] Cloning the remote Git repository [2023-02-21T00:59:09.390Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2023-02-21T00:59:09.480Z] > git init /w/workspace/device-modbus-go/2 # timeout=10 [2023-02-21T00:59:09.644Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2023-02-21T00:59:09.645Z] > git --version # timeout=10 [2023-02-21T00:59:09.670Z] > git --version # 'git version 2.25.1' [2023-02-21T00:59:09.673Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-21T00:59:09.737Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-21T00:59:10.955Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2023-02-21T00:59:10.978Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-21T00:59:12.539Z] Merging remotes/origin/main commit e3fb6b6c893123b5784ccc2dd10ff9f0848293eb into PR head commit 3a773cf0dc5b099a7cf24b47bf135fe824ab32ff [2023-02-21T00:59:12.839Z] Merge succeeded, producing 9c7532e697bb451d979e44ec4ca8f580929dbc5e [2023-02-21T00:59:12.840Z] Checking out Revision 9c7532e697bb451d979e44ec4ca8f580929dbc5e (PR-416) [2023-02-21T00:59:11.934Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2023-02-21T00:59:11.971Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2023-02-21T00:59:11.972Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-21T00:59:11.989Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/416/head:refs/remotes/origin/PR-416 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-02-21T00:59:12.563Z] > git config core.sparsecheckout # timeout=10 [2023-02-21T00:59:12.582Z] > git checkout -f 3a773cf0dc5b099a7cf24b47bf135fe824ab32ff # timeout=10 [2023-02-21T00:59:12.680Z] > git remote # timeout=10 [2023-02-21T00:59:12.701Z] > git config --get remote.origin.url # timeout=10 [2023-02-21T00:59:12.727Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-21T00:59:12.742Z] > git merge e3fb6b6c893123b5784ccc2dd10ff9f0848293eb # timeout=10 [2023-02-21T00:59:12.816Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-02-21T00:59:12.848Z] > git config core.sparsecheckout # timeout=10 [2023-02-21T00:59:12.868Z] > git checkout -f 9c7532e697bb451d979e44ec4ca8f580929dbc5e # timeout=10 [2023-02-21T00:59:16.359Z] Commit message: "Merge commit 'e3fb6b6c893123b5784ccc2dd10ff9f0848293eb' into HEAD" [2023-02-21T00:59:16.368Z] > git rev-list --no-walk 3a773cf0dc5b099a7cf24b47bf135fe824ab32ff # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-21T00:59:17.393Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-02-21T00:59:17.393Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-21T00:59:17.393Z] Dload Upload Total Spent Left Speed [2023-02-21T00:59:17.393Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 90432 0 --:--:-- --:--:-- --:--:-- 90432 [Pipeline] sh [2023-02-21T00:59:18.215Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-02-21T00:59:18.546Z] + sudo tee /etc/docker/daemon.new [2023-02-21T00:59:18.546Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-02-21T00:59:18.546Z] { [2023-02-21T00:59:18.546Z] "registry-mirrors": [ [2023-02-21T00:59:18.546Z] "https://nexus3.edgexfoundry.org:10001" [2023-02-21T00:59:18.546Z] ], [2023-02-21T00:59:18.546Z] "bip": "10.250.0.254/24", [2023-02-21T00:59:18.546Z] "hosts": [ [2023-02-21T00:59:18.546Z] "tcp://0.0.0.0:5555", [2023-02-21T00:59:18.546Z] "unix:///var/run/docker.sock" [2023-02-21T00:59:18.546Z] ], [2023-02-21T00:59:18.546Z] "mtu": 1458, [2023-02-21T00:59:18.546Z] "selinux-enabled": true, [2023-02-21T00:59:18.546Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-02-21T00:59:18.546Z] } [Pipeline] sh [2023-02-21T00:59:18.885Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-02-21T00:59:19.219Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-21T00:59:37.488Z] provisioning config files... [2023-02-21T00:59:37.511Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/2@tmp/config5262584713153408507tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-21T00:59:37.854Z] ---> docker-login.sh [2023-02-21T00:59:37.854Z] nexus3.edgexfoundry.org:10001 [2023-02-21T00:59:38.444Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-21T00:59:38.444Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-21T00:59:38.444Z] Configure a credential helper to remove this warning. See [2023-02-21T00:59:38.444Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-21T00:59:38.444Z] [2023-02-21T00:59:38.444Z] Login Succeeded [2023-02-21T00:59:38.444Z] nexus3.edgexfoundry.org:10002 [2023-02-21T00:59:38.713Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-21T00:59:38.713Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-21T00:59:38.713Z] Configure a credential helper to remove this warning. See [2023-02-21T00:59:38.713Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-21T00:59:38.713Z] [2023-02-21T00:59:38.713Z] Login Succeeded [2023-02-21T00:59:38.713Z] nexus3.edgexfoundry.org:10003 [2023-02-21T00:59:38.984Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-21T00:59:39.254Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-21T00:59:39.254Z] Configure a credential helper to remove this warning. See [2023-02-21T00:59:39.254Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-21T00:59:39.254Z] [2023-02-21T00:59:39.254Z] Login Succeeded [2023-02-21T00:59:39.254Z] nexus3.edgexfoundry.org:10004 [2023-02-21T00:59:39.523Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-21T00:59:39.523Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-21T00:59:39.523Z] Configure a credential helper to remove this warning. See [2023-02-21T00:59:39.523Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-21T00:59:39.523Z] [2023-02-21T00:59:39.523Z] Login Succeeded [2023-02-21T00:59:39.523Z] docker.io [2023-02-21T00:59:39.794Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-21T00:59:40.064Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-21T00:59:40.064Z] Configure a credential helper to remove this warning. See [2023-02-21T00:59:40.064Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-21T00:59:40.064Z] [2023-02-21T00:59:40.064Z] Login Succeeded [2023-02-21T00:59:40.064Z] ---> docker-login.sh ends [Pipeline] } [2023-02-21T00:59:40.079Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-02-21T00:59:40.324Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-21T00:59:40.343Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-21T00:59:40.358Z] ========================================================= [2023-02-21T00:59:40.358Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-02-21T00:59:40.358Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-21T00:59:40.700Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-02-21T00:59:40.970Z] Sending build context to Docker daemon 3.349MB [2023-02-21T00:59:40.970Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2023-02-21T00:59:40.970Z] Step 2/10 : FROM ${BASE} AS builder [2023-02-21T00:59:41.248Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-02-21T00:59:41.248Z] 9b18e9b68314: Pulling fs layer [2023-02-21T00:59:41.248Z] 35d82f9e3411: Pulling fs layer [2023-02-21T00:59:41.248Z] e16973657156: Pulling fs layer [2023-02-21T00:59:41.248Z] fc693d55d65f: Pulling fs layer [2023-02-21T00:59:41.248Z] 7e9fc2657dce: Pulling fs layer [2023-02-21T00:59:41.248Z] dda99020689f: Pulling fs layer [2023-02-21T00:59:41.248Z] db1c61fa0a46: Pulling fs layer [2023-02-21T00:59:41.248Z] 891c053d2c06: Pulling fs layer [2023-02-21T00:59:41.248Z] fc693d55d65f: Waiting [2023-02-21T00:59:41.248Z] 7e9fc2657dce: Waiting [2023-02-21T00:59:41.248Z] dda99020689f: Waiting [2023-02-21T00:59:41.248Z] 891c053d2c06: Waiting [2023-02-21T00:59:41.248Z] db1c61fa0a46: Waiting [2023-02-21T00:59:41.248Z] e16973657156: Verifying Checksum [2023-02-21T00:59:41.248Z] e16973657156: Download complete [2023-02-21T00:59:41.248Z] 35d82f9e3411: Verifying Checksum [2023-02-21T00:59:41.248Z] 35d82f9e3411: Download complete [2023-02-21T00:59:41.248Z] 7e9fc2657dce: Verifying Checksum [2023-02-21T00:59:41.248Z] 7e9fc2657dce: Download complete [2023-02-21T00:59:41.248Z] dda99020689f: Verifying Checksum [2023-02-21T00:59:41.248Z] dda99020689f: Download complete [2023-02-21T00:59:41.248Z] 9b18e9b68314: Verifying Checksum [2023-02-21T00:59:41.248Z] 9b18e9b68314: Download complete [2023-02-21T00:59:42.694Z] 891c053d2c06: Verifying Checksum [2023-02-21T00:59:42.694Z] 891c053d2c06: Download complete [2023-02-21T00:59:43.677Z] db1c61fa0a46: Verifying Checksum [2023-02-21T00:59:43.677Z] db1c61fa0a46: Download complete [2023-02-21T00:59:43.949Z] 9b18e9b68314: Pull complete [2023-02-21T00:59:44.219Z] fc693d55d65f: Verifying Checksum [2023-02-21T00:59:44.219Z] fc693d55d65f: Download complete [2023-02-21T00:59:44.219Z] 35d82f9e3411: Pull complete [2023-02-21T00:59:44.488Z] e16973657156: Pull complete [2023-02-21T00:59:59.517Z] fc693d55d65f: Pull complete [2023-02-21T00:59:59.517Z] 7e9fc2657dce: Pull complete [2023-02-21T00:59:59.517Z] dda99020689f: Pull complete [2023-02-21T01:00:04.896Z] db1c61fa0a46: Pull complete [2023-02-21T01:00:06.336Z] 891c053d2c06: Pull complete [2023-02-21T01:00:06.336Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-02-21T01:00:06.336Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-02-21T01:00:06.336Z] ---> f96f9c87975a [2023-02-21T01:00:06.336Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2023-02-21T01:00:08.297Z] ---> Running in 596ffcd72c6a [2023-02-21T01:00:08.576Z] Removing intermediate container 596ffcd72c6a [2023-02-21T01:00:08.576Z] ---> 6f3d011a2861 [2023-02-21T01:00:08.576Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-21T01:00:08.846Z] ---> Running in 59f9bf0e8487 [2023-02-21T01:00:09.114Z] Removing intermediate container 59f9bf0e8487 [2023-02-21T01:00:09.114Z] ---> 00efe080ef6b [2023-02-21T01:00:09.114Z] Step 5/10 : RUN apk add --update --no-cache make git openssh [2023-02-21T01:00:09.114Z] ---> Running in 80d9682adcc4 [2023-02-21T01:00:10.523Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-21T01:00:10.523Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-21T01:00:11.934Z] (1/8) Installing openssh-keygen (9.0_p1-r2) [2023-02-21T01:00:11.934Z] (2/8) Installing libedit (20210910.3.1-r0) [2023-02-21T01:00:11.934Z] (3/8) Installing openssh-client-common (9.0_p1-r2) [2023-02-21T01:00:11.934Z] (4/8) Installing openssh-client-default (9.0_p1-r2) [2023-02-21T01:00:11.934Z] (5/8) Installing openssh-sftp-server (9.0_p1-r2) [2023-02-21T01:00:11.934Z] (6/8) Installing openssh-server-common (9.0_p1-r2) [2023-02-21T01:00:11.934Z] (7/8) Installing openssh-server (9.0_p1-r2) [2023-02-21T01:00:11.934Z] (8/8) Installing openssh (9.0_p1-r2) [2023-02-21T01:00:11.934Z] Executing busybox-1.35.0-r17.trigger [2023-02-21T01:00:11.934Z] OK: 228 MiB in 59 packages [2023-02-21T01:00:13.345Z] Removing intermediate container 80d9682adcc4 [2023-02-21T01:00:13.345Z] ---> 6279584c5d32 [2023-02-21T01:00:13.345Z] Step 6/10 : WORKDIR /device-modbus-go [2023-02-21T01:00:13.345Z] ---> Running in c72de249fda3 [2023-02-21T01:00:13.613Z] Removing intermediate container c72de249fda3 [2023-02-21T01:00:13.613Z] ---> 9a537ed68957 [2023-02-21T01:00:13.613Z] Step 7/10 : COPY go.mod vendor* ./ [2023-02-21T01:00:13.887Z] ---> 8da00346e498 [2023-02-21T01:00:13.887Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-21T01:00:14.157Z] ---> Running in 469c6a5cb807 [2023-02-21T01:01:35.800Z] Removing intermediate container 469c6a5cb807 [2023-02-21T01:01:35.800Z] ---> 4aa596a162d9 [2023-02-21T01:01:35.800Z] Step 9/10 : COPY . . [2023-02-21T01:01:35.800Z] ---> ff5f204796eb [2023-02-21T01:01:35.800Z] Step 10/10 : RUN ${MAKE} [2023-02-21T01:01:35.800Z] ---> Running in 5842cdf87c6e [2023-02-21T01:01:35.800Z] noop [2023-02-21T01:01:35.800Z] Removing intermediate container 5842cdf87c6e [2023-02-21T01:01:35.800Z] ---> e30bc6fb768e [2023-02-21T01:01:35.800Z] Successfully built e30bc6fb768e [2023-02-21T01:01:35.800Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-21T01:01:36.156Z] + docker inspect -f . ci-base-image-arm64 [2023-02-21T01:01:36.156Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-21T01:01:36.330Z] prd-ubuntu20.04-docker-arm64-4c-16g-6781 does not seem to be running inside a container [2023-02-21T01:01:36.389Z] $ 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 ******** ci-base-image-arm64 cat [2023-02-21T01:01:37.513Z] $ docker top 5d0e66483d8eaf3a7c2c26f46720d82c96d13fa9fbc5a61f6b0bab0c101ae8d2 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-21T01:01:38.335Z] + go version [2023-02-21T01:01:38.335Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-02-21T01:01:38.354Z] $ docker stop --time=1 5d0e66483d8eaf3a7c2c26f46720d82c96d13fa9fbc5a61f6b0bab0c101ae8d2 [2023-02-21T01:01:39.943Z] $ docker rm -f --volumes 5d0e66483d8eaf3a7c2c26f46720d82c96d13fa9fbc5a61f6b0bab0c101ae8d2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-21T01:01:40.500Z] + docker inspect -f . ci-base-image-arm64 [2023-02-21T01:01:40.500Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-21T01:01:40.669Z] prd-ubuntu20.04-docker-arm64-4c-16g-6781 does not seem to be running inside a container [2023-02-21T01:01:40.733Z] $ 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 ******** ci-base-image-arm64 cat [2023-02-21T01:01:41.818Z] $ docker top f3f1ec8c50c7f8c37728b016fb69ca2ff22fd249f3bf5c46455eaf3e3eead6f9 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-21T01:01:42.303Z] + git config --global --add safe.directory /w/workspace/device-modbus-go/2 [Pipeline] fileExists [Pipeline] sh [2023-02-21T01:01:42.629Z] + make test [2023-02-21T01:01:42.629Z] go test ./... -coverprofile=coverage.out [2023-02-21T01:01:44.567Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2023-02-21T01:03:06.204Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2023-02-21T01:03:06.204Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.073s coverage: 47.7% of statements [2023-02-21T01:03:06.204Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-02-21T01:03:06.204Z] go vet ./... [2023-02-21T01:03:28.280Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-02-21T01:03:28.280Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-02-21T01:03:28.280Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-02-21T01:03:28.578Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-02-21T01:03:28.593Z] $ docker stop --time=1 f3f1ec8c50c7f8c37728b016fb69ca2ff22fd249f3bf5c46455eaf3e3eead6f9 [2023-02-21T01:03:30.361Z] $ docker rm -f --volumes f3f1ec8c50c7f8c37728b016fb69ca2ff22fd249f3bf5c46455eaf3e3eead6f9 [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-21T01:03:31.293Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-02-21T01:03:31.315Z] Warning: overwriting stash ‘coverage-report’ [2023-02-21T01:03:31.847Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-21T01:03:32.222Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-02-21T01:03:32.543Z] + ls -al . [2023-02-21T01:03:32.543Z] total 180 [2023-02-21T01:03:32.543Z] drwxrwxr-x 9 jenkins jenkins 4096 Feb 21 01:01 . [2023-02-21T01:03:32.543Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 21 00:59 .. [2023-02-21T01:03:32.543Z] -rw-rw-r-- 1 jenkins jenkins 140 Feb 21 00:59 .dockerignore [2023-02-21T01:03:32.543Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 21 00:59 .git [2023-02-21T01:03:32.543Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 21 00:59 .github [2023-02-21T01:03:32.543Z] -rw-rw-r-- 1 jenkins jenkins 331 Feb 21 00:59 .gitignore [2023-02-21T01:03:32.543Z] -rw-rw-r-- 1 jenkins jenkins 41 Feb 21 00:59 .golangci.yml [2023-02-21T01:03:32.543Z] -rw-rw-r-- 1 jenkins jenkins 10236 Feb 21 00:59 Attribution.txt [2023-02-21T01:03:32.543Z] -rw-rw-r-- 1 jenkins jenkins 11576 Feb 21 00:59 CHANGELOG.md [2023-02-21T01:03:32.543Z] -rw-rw-r-- 1 jenkins jenkins 1365 Feb 21 00:59 Dockerfile [2023-02-21T01:03:32.543Z] -rw-rw-r-- 1 jenkins jenkins 677 Feb 21 00:59 GOVERNANCE.md [2023-02-21T01:03:32.543Z] -rw-rw-r-- 1 jenkins jenkins 680 Feb 21 00:59 Jenkinsfile [2023-02-21T01:03:32.543Z] -rw-rw-r-- 1 jenkins jenkins 11340 Feb 21 00:59 LICENSE [2023-02-21T01:03:32.543Z] -rw-rw-r-- 1 jenkins jenkins 1670 Feb 21 00:59 Makefile [2023-02-21T01:03:32.543Z] -rw-rw-r-- 1 jenkins jenkins 622 Feb 21 00:59 OWNERS.md [2023-02-21T01:03:32.543Z] -rw-rw-r-- 1 jenkins jenkins 4061 Feb 21 00:59 README.md [2023-02-21T01:03:32.543Z] -rw-rw-r-- 1 jenkins jenkins 5 Feb 21 00:55 VERSION [2023-02-21T01:03:32.543Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 21 00:59 bin [2023-02-21T01:03:32.544Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 21 00:59 cmd [2023-02-21T01:03:32.544Z] -rw-r--r-- 1 jenkins jenkins 23241 Feb 21 01:03 coverage.out [2023-02-21T01:03:32.544Z] -rw-rw-r-- 1 jenkins jenkins 3496 Feb 21 00:59 go.mod [2023-02-21T01:03:32.544Z] -rw-rw-r-- 1 jenkins jenkins 33621 Feb 21 00:59 go.sum [2023-02-21T01:03:32.544Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 21 00:59 internal [2023-02-21T01:03:32.544Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 21 00:59 simulator [2023-02-21T01:03:32.544Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 21 00:59 snap [2023-02-21T01:03:32.544Z] -rw-rw-r-- 1 jenkins jenkins 229 Feb 21 00:59 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-21T01:03:32.889Z] + 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=9c7532e697bb451d979e44ec4ca8f580929dbc5e --label arch=arm64 --label version=0.0.0 . [2023-02-21T01:03:33.158Z] Sending build context to Docker daemon 3.373MB [2023-02-21T01:03:33.428Z] Step 1/22 : ARG BASE=golang:1.18-alpine3.16 [2023-02-21T01:03:33.428Z] Step 2/22 : FROM ${BASE} AS builder [2023-02-21T01:03:33.428Z] ---> e30bc6fb768e [2023-02-21T01:03:33.428Z] Step 3/22 : ARG ADD_BUILD_TAGS="" [2023-02-21T01:03:33.428Z] ---> Running in 861bfb97efae [2023-02-21T01:03:33.707Z] Removing intermediate container 861bfb97efae [2023-02-21T01:03:33.707Z] ---> 95e18c4b1e7d [2023-02-21T01:03:33.707Z] Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-21T01:03:33.973Z] ---> Running in ecf439bacc45 [2023-02-21T01:03:34.240Z] Removing intermediate container ecf439bacc45 [2023-02-21T01:03:34.240Z] ---> 459f1a57dbaf [2023-02-21T01:03:34.240Z] Step 5/22 : RUN apk add --update --no-cache make git openssh [2023-02-21T01:03:34.240Z] ---> Running in 5fae84cdb152 [2023-02-21T01:03:35.657Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-21T01:03:35.657Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-21T01:03:36.623Z] OK: 228 MiB in 59 packages [2023-02-21T01:03:38.055Z] Removing intermediate container 5fae84cdb152 [2023-02-21T01:03:38.055Z] ---> 73aeca942e47 [2023-02-21T01:03:38.055Z] Step 6/22 : WORKDIR /device-modbus-go [2023-02-21T01:03:38.055Z] ---> Running in a8516dc3d39f [2023-02-21T01:03:38.330Z] Removing intermediate container a8516dc3d39f [2023-02-21T01:03:38.330Z] ---> af7328df2dee [2023-02-21T01:03:38.330Z] Step 7/22 : COPY go.mod vendor* ./ [2023-02-21T01:03:39.291Z] ---> b4fec8169e10 [2023-02-21T01:03:39.291Z] Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-21T01:03:39.291Z] ---> Running in cee12503adf0 [2023-02-21T01:03:42.632Z] Removing intermediate container cee12503adf0 [2023-02-21T01:03:42.632Z] ---> eb7093927616 [2023-02-21T01:03:42.632Z] Step 9/22 : COPY . . [2023-02-21T01:03:44.073Z] ---> 9f82775a6a70 [2023-02-21T01:03:44.074Z] Step 10/22 : RUN ${MAKE} [2023-02-21T01:03:44.074Z] ---> Running in 127e8aac3a1a [2023-02-21T01:03:45.043Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-modbus ./cmd [2023-02-21T01:06:07.074Z] Removing intermediate container 127e8aac3a1a [2023-02-21T01:06:07.074Z] ---> 7e9ba464a017 [2023-02-21T01:06:07.074Z] Step 11/22 : FROM alpine:3.14 [2023-02-21T01:06:07.074Z] 3.14: Pulling from library/alpine [2023-02-21T01:06:07.074Z] 6f0e733d82e2: Pulling fs layer [2023-02-21T01:06:07.074Z] 6f0e733d82e2: Download complete [2023-02-21T01:06:07.074Z] 6f0e733d82e2: Pull complete [2023-02-21T01:06:07.074Z] Digest: sha256:560e7a4fa5c891d1830f5591c80b8e472fa6cd386b7254cdf65ccc3249292a34 [2023-02-21T01:06:07.074Z] Status: Downloaded newer image for alpine:3.14 [2023-02-21T01:06:07.074Z] ---> bf97f6347a60 [2023-02-21T01:06:07.074Z] Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2023-02-21T01:06:07.074Z] ---> Running in 536e19d8eac7 [2023-02-21T01:06:07.074Z] Removing intermediate container 536e19d8eac7 [2023-02-21T01:06:07.074Z] ---> 22c63203d85b [2023-02-21T01:06:07.074Z] Step 13/22 : RUN apk add --update --no-cache dumb-init [2023-02-21T01:06:07.074Z] ---> Running in bdce675f1fbd [2023-02-21T01:06:07.074Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2023-02-21T01:06:07.074Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2023-02-21T01:06:07.074Z] (1/1) Installing dumb-init (1.2.5-r1) [2023-02-21T01:06:07.074Z] Executing busybox-1.33.1-r8.trigger [2023-02-21T01:06:07.074Z] OK: 6 MiB in 15 packages [2023-02-21T01:06:07.074Z] Removing intermediate container bdce675f1fbd [2023-02-21T01:06:07.074Z] ---> 0b2b7747c7f4 [2023-02-21T01:06:07.074Z] Step 14/22 : COPY --from=builder /device-modbus-go/cmd / [2023-02-21T01:06:07.074Z] ---> ac3191d288fc [2023-02-21T01:06:07.074Z] Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / [2023-02-21T01:06:07.074Z] ---> f6a531fff6b0 [2023-02-21T01:06:07.074Z] Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / [2023-02-21T01:06:07.075Z] ---> ed21526d93cf [2023-02-21T01:06:07.075Z] Step 17/22 : EXPOSE 59901 [2023-02-21T01:06:07.075Z] ---> Running in 1d2a3ad87ac8 [2023-02-21T01:06:07.075Z] Removing intermediate container 1d2a3ad87ac8 [2023-02-21T01:06:07.075Z] ---> ba74c0168bb9 [2023-02-21T01:06:07.075Z] Step 18/22 : ENTRYPOINT ["/device-modbus"] [2023-02-21T01:06:07.075Z] ---> Running in fb9209a1ec06 [2023-02-21T01:06:07.075Z] Removing intermediate container fb9209a1ec06 [2023-02-21T01:06:07.075Z] ---> d7827d16b9ff [2023-02-21T01:06:07.075Z] Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-02-21T01:06:07.075Z] ---> Running in d3f15023df69 [2023-02-21T01:06:07.075Z] Removing intermediate container d3f15023df69 [2023-02-21T01:06:07.075Z] ---> 12949ec22c85 [2023-02-21T01:06:07.075Z] Step 20/22 : LABEL arch=arm64 [2023-02-21T01:06:07.075Z] ---> Running in 9a3e2dc79e15 [2023-02-21T01:06:07.075Z] Removing intermediate container 9a3e2dc79e15 [2023-02-21T01:06:07.075Z] ---> 3abd91f7c1f3 [2023-02-21T01:06:07.075Z] Step 21/22 : LABEL git_sha=9c7532e697bb451d979e44ec4ca8f580929dbc5e [2023-02-21T01:06:07.342Z] ---> Running in 8b871fc89fd3 [2023-02-21T01:06:07.610Z] Removing intermediate container 8b871fc89fd3 [2023-02-21T01:06:07.610Z] ---> 5c5af46541d3 [2023-02-21T01:06:07.610Z] Step 22/22 : LABEL version=0.0.0 [2023-02-21T01:06:07.610Z] ---> Running in 3b530220a8f7 [2023-02-21T01:06:07.878Z] Removing intermediate container 3b530220a8f7 [2023-02-21T01:06:07.878Z] ---> 39ed29eb389a [2023-02-21T01:06:07.878Z] [Warning] One or more build-args [ARCH] were not consumed [2023-02-21T01:06:07.878Z] Successfully built 39ed29eb389a [2023-02-21T01:06:07.878Z] Successfully tagged device-modbus-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-21T01:06:08.342Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-21T01:06:08.342Z] [2023-02-21T01:06:08.342Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-21T01:06:08.682Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-21T01:06:08.683Z] arm64: Pulling from edgex-lftools-log-publisher [2023-02-21T01:06:08.683Z] 8998bd30e6a1: Pulling fs layer [2023-02-21T01:06:08.683Z] 04944245beec: Pulling fs layer [2023-02-21T01:06:08.683Z] 699f458cf7ca: Pulling fs layer [2023-02-21T01:06:08.683Z] 765212b225bb: Pulling fs layer [2023-02-21T01:06:08.683Z] f23df028b6ca: Pulling fs layer [2023-02-21T01:06:08.683Z] d65c8cfc05b1: Pulling fs layer [2023-02-21T01:06:08.683Z] 2437ff75d9bd: Pulling fs layer [2023-02-21T01:06:08.683Z] 765212b225bb: Waiting [2023-02-21T01:06:08.683Z] f23df028b6ca: Waiting [2023-02-21T01:06:08.683Z] d65c8cfc05b1: Waiting [2023-02-21T01:06:08.683Z] 2437ff75d9bd: Waiting [2023-02-21T01:06:08.961Z] 04944245beec: Verifying Checksum [2023-02-21T01:06:08.961Z] 04944245beec: Download complete [2023-02-21T01:06:08.961Z] 765212b225bb: Verifying Checksum [2023-02-21T01:06:08.961Z] 765212b225bb: Download complete [2023-02-21T01:06:08.961Z] f23df028b6ca: Verifying Checksum [2023-02-21T01:06:08.961Z] f23df028b6ca: Download complete [2023-02-21T01:06:08.961Z] d65c8cfc05b1: Verifying Checksum [2023-02-21T01:06:08.961Z] d65c8cfc05b1: Download complete [2023-02-21T01:06:09.231Z] 699f458cf7ca: Verifying Checksum [2023-02-21T01:06:09.231Z] 699f458cf7ca: Download complete [2023-02-21T01:06:09.498Z] 8998bd30e6a1: Verifying Checksum [2023-02-21T01:06:09.498Z] 8998bd30e6a1: Download complete [2023-02-21T01:06:12.083Z] 2437ff75d9bd: Verifying Checksum [2023-02-21T01:06:12.083Z] 2437ff75d9bd: Download complete [2023-02-21T01:06:13.500Z] 8998bd30e6a1: Pull complete [2023-02-21T01:06:13.768Z] 04944245beec: Pull complete [2023-02-21T01:06:15.177Z] 699f458cf7ca: Pull complete [2023-02-21T01:06:15.443Z] 765212b225bb: Pull complete [2023-02-21T01:06:16.038Z] f23df028b6ca: Pull complete [2023-02-21T01:06:16.305Z] d65c8cfc05b1: Pull complete [2023-02-21T01:06:31.306Z] 2437ff75d9bd: Pull complete [2023-02-21T01:06:31.306Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-02-21T01:06:31.306Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-21T01:06:31.306Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-21T01:06:31.487Z] prd-ubuntu20.04-docker-arm64-4c-16g-6781 does not seem to be running inside a container [2023-02-21T01:06:31.560Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-02-21T01:06:34.199Z] $ docker top aeb0ee695d2f5346583e3acc15417d906424e7e39e4e4d313e4ef63efff79358 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-21T01:06:35.052Z] ---> job-cost.sh [2023-02-21T01:06:35.052Z] lf-activate-venv: SKIPPING [2023-02-21T01:06:35.052Z] INFO: No Stack... [2023-02-21T01:06:35.318Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-02-21T01:06:36.276Z] INFO: Archiving Costs [Pipeline] sh [2023-02-21T01:06:36.913Z] + cut -d, -f6 [2023-02-21T01:06:36.913Z] + cat /w/workspace/device-modbus-go/2/archives/cost.csv [Pipeline] lock [2023-02-21T01:06:36.946Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-416-2-stack-cost] [2023-02-21T01:06:36.955Z] Resource [jenkins-edgexfoundry-device-modbus-go-PR-416-2-stack-cost] did not exist. Created. [2023-02-21T01:06:36.955Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-416-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-02-21T01:06:37.608Z] /w/workspace/device-modbus-go/2@tmp/durable-a5d0c31f/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-02-21T01:06:38.260Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-02-21T01:06:38.284Z] Warning: overwriting stash ‘stack-cost’ [2023-02-21T01:06:38.332Z] Stashed 1 file(s) [Pipeline] } [2023-02-21T01:06:38.339Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-416-2-stack-cost] [Pipeline] // lock [Pipeline] } [2023-02-21T01:06:38.363Z] $ docker stop --time=1 aeb0ee695d2f5346583e3acc15417d906424e7e39e4e4d313e4ef63efff79358 [2023-02-21T01:06:39.862Z] $ docker rm -f --volumes aeb0ee695d2f5346583e3acc15417d906424e7e39e4e4d313e4ef63efff79358 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2023-02-21T01:06:40.258Z] provisioning config files... [2023-02-21T01:06:40.265Z] copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-416@tmp/config12330150348190753881tmp [Pipeline] { [Pipeline] sh [2023-02-21T01:06:40.560Z] + set +x [2023-02-21T01:06:40.560Z] + curl -s https://codecov.io/bash [2023-02-21T01:06:40.560Z] + bash -s -- [2023-02-21T01:06:40.560Z] [2023-02-21T01:06:40.560Z] _____ _ [2023-02-21T01:06:40.560Z] / ____| | | [2023-02-21T01:06:40.560Z] | | ___ __| | ___ ___ _____ __ [2023-02-21T01:06:40.560Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-02-21T01:06:40.560Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-02-21T01:06:40.560Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-02-21T01:06:40.560Z] Bash-1.0.6 [2023-02-21T01:06:40.560Z] [2023-02-21T01:06:40.560Z] [2023-02-21T01:06:40.560Z] ==> git version 2.25.1 found [2023-02-21T01:06:40.560Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2023-02-21T01:06:40.560Z] Release-Date: 2020-01-08 [2023-02-21T01:06:40.560Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-02-21T01:06:40.560Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-02-21T01:06:40.560Z] ==> Jenkins CI detected. [2023-02-21T01:06:40.560Z] current dir:  /w/workspace/xfoundry_device-modbus-go_PR-416 [2023-02-21T01:06:40.560Z] project root: . [2023-02-21T01:06:40.560Z] --> token set from env [2023-02-21T01:06:40.560Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-02-21T01:06:40.819Z] ==> Running gcov in . (disable via -X gcov) [2023-02-21T01:06:40.819Z] ==> Python coveragepy not found [2023-02-21T01:06:40.819Z] ==> Searching for coverage reports in: [2023-02-21T01:06:40.819Z] + . [2023-02-21T01:06:40.819Z] -> Found 1 reports [2023-02-21T01:06:40.819Z] ==> Detecting git/mercurial file structure [2023-02-21T01:06:40.819Z] ==> Reading reports [2023-02-21T01:06:40.819Z] + ./coverage.out bytes=23241 [2023-02-21T01:06:40.819Z] ==> Appending adjustments [2023-02-21T01:06:40.819Z] https://docs.codecov.io/docs/fixing-reports [2023-02-21T01:06:40.819Z] + Found adjustments [2023-02-21T01:06:40.819Z] ==> Gzipping contents [2023-02-21T01:06:40.819Z] 4.0K /tmp/codecov.3tQsd5.gz [2023-02-21T01:06:40.819Z] ==> Uploading reports [2023-02-21T01:06:40.819Z] url: https://codecov.io [2023-02-21T01:06:40.820Z] query: branch=PR-416&commit=3e95788e13dbae8256f25e5cf2807fb1424286e9&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-416%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=416&job=&cmd_args= [2023-02-21T01:06:40.820Z] -> Pinging Codecov [2023-02-21T01:06:40.820Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3a8d40b1-de00-4649-bfd4-bdc8ed99ae89&branch=PR-416&commit=3e95788e13dbae8256f25e5cf2807fb1424286e9&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-416%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=416&job=&cmd_args= [2023-02-21T01:06:41.079Z] -> Uploading to [2023-02-21T01:06:41.079Z] https://storage.googleapis.com/codecov/v4/raw/2023-02-21/55DBCA73C666E3227836607328DD7E49/3e95788e13dbae8256f25e5cf2807fb1424286e9/6fcf932f-9e23-4610-829b-459412a178e5.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230221%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230221T010640Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=80e4cef3a45aa41f96b1e97de79f49c7c38f5fd1c330b33684618be788ecf4bd [2023-02-21T01:06:41.079Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-21T01:06:41.079Z] Dload Upload Total Spent Left Speed [2023-02-21T01:06:41.339Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3907 0 0 100 3907 0 17678 --:--:-- --:--:-- --:--:-- 17599 100 3907 0 0 100 3907 0 15084 --:--:-- --:--:-- --:--:-- 15026 [2023-02-21T01:06:41.339Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/3e95788e13dbae8256f25e5cf2807fb1424286e9 [Pipeline] } [2023-02-21T01:06:41.346Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-02-21T01:06:42.063Z] + [ -d /w/workspace/xfoundry_device-modbus-go_PR-416/archives ] [2023-02-21T01:06:42.063Z] + ls -al /w/workspace/xfoundry_device-modbus-go_PR-416/archives [2023-02-21T01:06:42.064Z] total 16 [2023-02-21T01:06:42.064Z] drwxr-xr-x 3 root root 4096 Feb 21 00:57 . [2023-02-21T01:06:42.064Z] drwxrwxr-x 11 jenkins jenkins 4096 Feb 21 00:57 .. [2023-02-21T01:06:42.064Z] drwxr-xr-x 2 root root 4096 Feb 21 00:57 cost [2023-02-21T01:06:42.064Z] -rw-r--r-- 1 root root 88 Feb 21 00:57 cost.csv [2023-02-21T01:06:42.064Z] + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-416/archives [2023-02-21T01:06:42.064Z] + ls -al /w/workspace/xfoundry_device-modbus-go_PR-416/archives [2023-02-21T01:06:42.064Z] total 16 [2023-02-21T01:06:42.064Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 21 00:57 . [2023-02-21T01:06:42.064Z] drwxrwxr-x 11 jenkins jenkins 4096 Feb 21 00:57 .. [2023-02-21T01:06:42.064Z] drwxr-xr-x 2 jenkins jenkins 4096 Feb 21 00:57 cost [2023-02-21T01:06:42.064Z] -rw-r--r-- 1 jenkins jenkins 88 Feb 21 00:57 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-02-21T01:06:42.357Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-21T01:06:43.221Z] ---> package-listing.sh [2023-02-21T01:06:43.221Z] ++ facter osfamily [2023-02-21T01:06:43.221Z] ++ tr '[:upper:]' '[:lower:]' [2023-02-21T01:06:43.481Z] + OS_FAMILY=debian [2023-02-21T01:06:43.481Z] + workspace=/w/workspace/xfoundry_device-modbus-go_PR-416 [2023-02-21T01:06:43.481Z] + START_PACKAGES=/tmp/packages_start.txt [2023-02-21T01:06:43.481Z] + END_PACKAGES=/tmp/packages_end.txt [2023-02-21T01:06:43.481Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-02-21T01:06:43.481Z] + PACKAGES=/tmp/packages_start.txt [2023-02-21T01:06:43.481Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-416 ']' [2023-02-21T01:06:43.481Z] + PACKAGES=/tmp/packages_end.txt [2023-02-21T01:06:43.481Z] + case "${OS_FAMILY}" in [2023-02-21T01:06:43.481Z] + dpkg -l [2023-02-21T01:06:43.481Z] + grep '^ii' [2023-02-21T01:06:43.481Z] + '[' -f /tmp/packages_start.txt ']' [2023-02-21T01:06:43.481Z] + '[' -f /tmp/packages_end.txt ']' [2023-02-21T01:06:43.481Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-02-21T01:06:43.481Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-416 ']' [2023-02-21T01:06:43.481Z] + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-416/archives/ [2023-02-21T01:06:43.481Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-416/archives/ [Pipeline] echo [2023-02-21T01:06:43.491Z] 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-416/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-02-21T01:06:43.769Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-21T01:06:44.328Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-21T01:06:44.328Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-21T01:06:44.396Z] prd-ubuntu20.04-docker-8c-8g-6780 does not seem to be running inside a container [2023-02-21T01:06:44.426Z] $ 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-416/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-416 -v /w/workspace/xfoundry_device-modbus-go_PR-416:/w/workspace/xfoundry_device-modbus-go_PR-416:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-416@tmp:/w/workspace/xfoundry_device-modbus-go_PR-416@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-02-21T01:06:44.686Z] $ docker top 6d3c1cb16da2ebf8496ce5112b5a676f9cce4f2d95e83d224eabf1d3285c1cd3 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-21T01:06:45.022Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-02-21T01:06:45.308Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-02-21T01:06:45.588Z] + ls /var/log/sa-host [2023-02-21T01:06:45.588Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-21T01:06:45.741Z] provisioning config files... [2023-02-21T01:06:45.748Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-416@tmp/config17327989406194566622tmp [Pipeline] { [Pipeline] echo [2023-02-21T01:06:45.764Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-21T01:06:46.048Z] ---> create-netrc.sh [Pipeline] } [2023-02-21T01:06:46.055Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-02-21T01:06:46.649Z] ---> python-tools-install.sh [Pipeline] echo [2023-02-21T01:06:46.658Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-21T01:06:46.948Z] ---> sudo-logs.sh [2023-02-21T01:06:46.948Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-02-21T01:06:46.976Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-21T01:06:47.267Z] ---> job-cost.sh [2023-02-21T01:06:47.267Z] lf-activate-venv: SKIPPING [2023-02-21T01:06:47.267Z] DEBUG: total: 0.2199999988079071 [2023-02-21T01:06:47.267Z] INFO: Retrieving Stack Cost... [2023-02-21T01:06:47.833Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-21T01:06:48.095Z] INFO: Archiving Costs [Pipeline] echo [2023-02-21T01:06:48.109Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-21T01:06:48.395Z] ---> logs-deploy.sh [2023-02-21T01:06:48.395Z] lf-activate-venv: SKIPPING [2023-02-21T01:06:48.395Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-416/2 [2023-02-21T01:06:48.395Z] INFO: archiving workspace using pattern(s): [2023-02-21T01:06:49.331Z] Archives upload complete. [2023-02-21T01:06:49.331Z] INFO: archiving logs to Nexus