Pull request #476 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 4faafaebf0b69f3d8ae8c7b75fa1bf49cc321e61+8b019029337577f55c3ddf5891f69e829d86b4f5 (3e91ee1f099b1ae75237c2344be48ad22a5d2e0a) 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-ssh1220419021044198455.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 4fc256d9079ed2258907e613f84b1b8da264a4bd 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-ssh3529446963968327913.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 4fc256d9079ed2258907e613f84b1b8da264a4bd The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-476/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-476/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh2376703592779460032.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-476/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh11720441757403417519.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 4fc256d9079ed2258907e613f84b1b8da264a4bd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 4fc256d9079ed2258907e613f84b1b8da264a4bd # timeout=10 Commit message: "Merge pull request #430 from ernestojeda/release-lock" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh12165177931980004083.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-476/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-476/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh6644451773963382603.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 4fc256d9079ed2258907e613f84b1b8da264a4bd 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.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-modbus DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-14817 in /w/workspace/xfoundry_device-modbus-go_PR-476 [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-476 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/476/head:refs/remotes/origin/PR-476 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 8b019029337577f55c3ddf5891f69e829d86b4f5 into PR head commit 4faafaebf0b69f3d8ae8c7b75fa1bf49cc321e61 Merge succeeded, producing 4faafaebf0b69f3d8ae8c7b75fa1bf49cc321e61 Checking out Revision 4faafaebf0b69f3d8ae8c7b75fa1bf49cc321e61 (PR-476) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 4fc256d9079ed2258907e613f84b1b8da264a4bd [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-05-09T23:41:29.999Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-05-09T23:41:30.179Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-05-09T23:41:30.283Z] ========================================================= [2023-05-09T23:41:30.283Z] EdgeX Global Pipelines Version Info [2023-05-09T23:41:30.283Z] ========================================================= [Pipeline] libraryResource > git config core.sparsecheckout # timeout=10 > git checkout -f 4faafaebf0b69f3d8ae8c7b75fa1bf49cc321e61 # 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 8b019029337577f55c3ddf5891f69e829d86b4f5 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 4faafaebf0b69f3d8ae8c7b75fa1bf49cc321e61 # timeout=10 [Pipeline] sh [2023-05-09T23:41:31.038Z] ------------------- [2023-05-09T23:41:31.038Z] stable info: [2023-05-09T23:41:31.038Z] ------------------- [2023-05-09T23:41:31.038Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-05-09T23:41:31.038Z] Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd [2023-05-09T23:41:31.038Z] Message: update stable to v1.0.249 [2023-05-09T23:41:31.611Z] ------------------- [2023-05-09T23:41:31.611Z] experimental info: [2023-05-09T23:41:31.611Z] ------------------- [2023-05-09T23:41:31.611Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-05-09T23:41:31.611Z] Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd [2023-05-09T23:41:31.611Z] Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-05-09T23:41:31.920Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo [2023-05-09T23:41:31.964Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo [2023-05-09T23:41:32.003Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-05-09T23:41:32.043Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-05-09T23:41:32.082Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-05-09T23:41:32.124Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-05-09T23:41:32.167Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-05-09T23:41:32.208Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-05-09T23:41:32.256Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-05-09T23:41:32.297Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-05-09T23:41:32.342Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-05-09T23:41:32.388Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo [2023-05-09T23:41:32.425Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-05-09T23:41:32.467Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-05-09T23:41:32.508Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-05-09T23:41:32.548Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-05-09T23:41:32.586Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-05-09T23:41:32.625Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-05-09T23:41:32.667Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-05-09T23:41:32.706Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-05-09T23:41:32.750Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-05-09T23:41:32.787Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-05-09T23:41:32.822Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-05-09T23:41:32.870Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-05-09T23:41:32.918Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-05-09T23:41:32.958Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-05-09T23:41:33.001Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-05-09T23:41:33.042Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-476 [Pipeline] echo [2023-05-09T23:41:33.088Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-476 [Pipeline] echo [2023-05-09T23:41:33.133Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-476 [Pipeline] echo [2023-05-09T23:41:33.179Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 4faafaebf0b69f3d8ae8c7b75fa1bf49cc321e61 [Pipeline] echo [2023-05-09T23:41:33.223Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 4faafae [Pipeline] echo [2023-05-09T23:41:33.273Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-09T23:41:33.392Z] provisioning config files... [2023-05-09T23:41:33.408Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-476@tmp/config18004469150732704893tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-09T23:41:33.780Z] ---> docker-login.sh [2023-05-09T23:41:33.781Z] nexus3.edgexfoundry.org:10001 [2023-05-09T23:41:34.043Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-09T23:41:34.043Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-09T23:41:34.043Z] Configure a credential helper to remove this warning. See [2023-05-09T23:41:34.043Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-09T23:41:34.043Z] [2023-05-09T23:41:34.043Z] Login Succeeded [2023-05-09T23:41:34.043Z] nexus3.edgexfoundry.org:10002 [2023-05-09T23:41:34.043Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-09T23:41:34.043Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-09T23:41:34.043Z] Configure a credential helper to remove this warning. See [2023-05-09T23:41:34.043Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-09T23:41:34.043Z] [2023-05-09T23:41:34.043Z] Login Succeeded [2023-05-09T23:41:34.043Z] nexus3.edgexfoundry.org:10003 [2023-05-09T23:41:34.304Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-09T23:41:34.304Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-09T23:41:34.304Z] Configure a credential helper to remove this warning. See [2023-05-09T23:41:34.304Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-09T23:41:34.304Z] [2023-05-09T23:41:34.304Z] Login Succeeded [2023-05-09T23:41:34.304Z] nexus3.edgexfoundry.org:10004 [2023-05-09T23:41:34.304Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-09T23:41:34.304Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-09T23:41:34.304Z] Configure a credential helper to remove this warning. See [2023-05-09T23:41:34.304Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-09T23:41:34.304Z] [2023-05-09T23:41:34.304Z] Login Succeeded [2023-05-09T23:41:34.304Z] docker.io [2023-05-09T23:41:34.564Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-09T23:41:34.564Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-09T23:41:34.564Z] Configure a credential helper to remove this warning. See [2023-05-09T23:41:34.564Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-09T23:41:34.564Z] [2023-05-09T23:41:34.564Z] Login Succeeded [2023-05-09T23:41:34.564Z] ---> docker-login.sh ends [Pipeline] } [2023-05-09T23:41:34.592Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-05-09T23:41:35.250Z] + git rev-list -1 --merges 4faafaebf0b69f3d8ae8c7b75fa1bf49cc321e61~1..4faafaebf0b69f3d8ae8c7b75fa1bf49cc321e61 [Pipeline] echo [2023-05-09T23:41:35.321Z] -----------> git rev-list -1 --merges 4faafaebf0b69f3d8ae8c7b75fa1bf49cc321e61~1..4faafaebf0b69f3d8ae8c7b75fa1bf49cc321e61 4faafaebf0b69f3d8ae8c7b75fa1bf49cc321e61 [false] [Pipeline] sh [2023-05-09T23:41:35.629Z] + git log --format=format:%s -1 4faafaebf0b69f3d8ae8c7b75fa1bf49cc321e61 [Pipeline] echo [2023-05-09T23:41:35.665Z] ========================================================= [2023-05-09T23:41:35.665Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-05-09T23:41:35.665Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-09T23:41:36.088Z] + git log --format=format:%s -1 4faafaebf0b69f3d8ae8c7b75fa1bf49cc321e61 [Pipeline] echo [2023-05-09T23:41:36.122Z] [semverPrep] GIT_COMMIT: 4faafaebf0b69f3d8ae8c7b75fa1bf49cc321e61, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo [2023-05-09T23:41:36.152Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-05-09T23:41:36.528Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-05-09T23:41:36.528Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-05-09T23:41:36.528Z] + [ -e /tmp/ssh_known_hosts ] [2023-05-09T23:41:36.528Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-05-09T23:41:36.528Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-05-09T23:41:36.528Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-05-09T23:41:36.528Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-09T23:41:36.957Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-09T23:41:36.957Z] [2023-05-09T23:41:36.957Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-09T23:41:37.333Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-09T23:41:37.333Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-05-09T23:41:37.333Z] b85a868b505f: Pulling fs layer [2023-05-09T23:41:37.333Z] e2be974225ed: Pulling fs layer [2023-05-09T23:41:37.333Z] 339a4e72a1f5: Pulling fs layer [2023-05-09T23:41:37.333Z] 988bab9f4d93: Pulling fs layer [2023-05-09T23:41:37.333Z] 1469e6f7b9e6: Pulling fs layer [2023-05-09T23:41:37.333Z] eaf3925da568: Pulling fs layer [2023-05-09T23:41:37.333Z] bab4dde63d76: Pulling fs layer [2023-05-09T23:41:37.333Z] bde34c3a00c8: Pulling fs layer [2023-05-09T23:41:37.333Z] b352a97aabf1: Pulling fs layer [2023-05-09T23:41:37.333Z] 4872d77fe225: Pulling fs layer [2023-05-09T23:41:37.333Z] 5851b861e8e6: Pulling fs layer [2023-05-09T23:41:37.333Z] 988bab9f4d93: Waiting [2023-05-09T23:41:37.333Z] b352a97aabf1: Waiting [2023-05-09T23:41:37.333Z] 4872d77fe225: Waiting [2023-05-09T23:41:37.333Z] 5851b861e8e6: Waiting [2023-05-09T23:41:37.333Z] 1469e6f7b9e6: Waiting [2023-05-09T23:41:37.333Z] eaf3925da568: Waiting [2023-05-09T23:41:37.333Z] bab4dde63d76: Waiting [2023-05-09T23:41:37.333Z] bde34c3a00c8: Waiting [2023-05-09T23:41:37.333Z] e2be974225ed: Verifying Checksum [2023-05-09T23:41:37.333Z] e2be974225ed: Download complete [2023-05-09T23:41:37.333Z] 988bab9f4d93: Download complete [2023-05-09T23:41:37.333Z] 1469e6f7b9e6: Verifying Checksum [2023-05-09T23:41:37.333Z] 1469e6f7b9e6: Download complete [2023-05-09T23:41:37.591Z] 339a4e72a1f5: Verifying Checksum [2023-05-09T23:41:37.591Z] 339a4e72a1f5: Download complete [2023-05-09T23:41:37.591Z] eaf3925da568: Download complete [2023-05-09T23:41:37.591Z] bde34c3a00c8: Download complete [2023-05-09T23:41:37.591Z] b352a97aabf1: Verifying Checksum [2023-05-09T23:41:37.591Z] b352a97aabf1: Download complete [2023-05-09T23:41:37.591Z] 4872d77fe225: Verifying Checksum [2023-05-09T23:41:37.591Z] 4872d77fe225: Download complete [2023-05-09T23:41:37.591Z] 5851b861e8e6: Verifying Checksum [2023-05-09T23:41:37.591Z] 5851b861e8e6: Download complete [2023-05-09T23:41:37.591Z] b85a868b505f: Verifying Checksum [2023-05-09T23:41:37.591Z] b85a868b505f: Download complete [2023-05-09T23:41:38.297Z] bab4dde63d76: Verifying Checksum [2023-05-09T23:41:38.297Z] bab4dde63d76: Download complete [2023-05-09T23:41:38.557Z] b85a868b505f: Pull complete [2023-05-09T23:41:38.818Z] e2be974225ed: Pull complete [2023-05-09T23:41:39.389Z] 339a4e72a1f5: Pull complete [2023-05-09T23:41:39.389Z] 988bab9f4d93: Pull complete [2023-05-09T23:41:39.389Z] 1469e6f7b9e6: Pull complete [2023-05-09T23:41:39.649Z] eaf3925da568: Pull complete [2023-05-09T23:41:41.029Z] bab4dde63d76: Pull complete [2023-05-09T23:41:41.288Z] bde34c3a00c8: Pull complete [2023-05-09T23:41:41.288Z] b352a97aabf1: Pull complete [2023-05-09T23:41:41.288Z] 4872d77fe225: Pull complete [2023-05-09T23:41:41.765Z] 5851b861e8e6: Pull complete [2023-05-09T23:41:41.765Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-05-09T23:41:41.765Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-09T23:41:41.765Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-09T23:41:42.002Z] prd-ubuntu20.04-docker-8c-8g-14817 does not seem to be running inside a container [2023-05-09T23:41:42.032Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-476 -v /w/workspace/xfoundry_device-modbus-go_PR-476:/w/workspace/xfoundry_device-modbus-go_PR-476:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-476@tmp:/w/workspace/xfoundry_device-modbus-go_PR-476@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-05-09T23:41:44.379Z] $ docker top e8c8720d0ce06edaf10c574557659bdba61d60742a22a06fce2f6dd23919af64 -eo pid,comm [2023-05-09T23:41:44.445Z] 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-05-09T23:41:44.445Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-05-09T23:41:44.576Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-09T23:41:44.576Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-09T23:41:44.687Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-09T23:41:44.689Z] $ docker exec e8c8720d0ce06edaf10c574557659bdba61d60742a22a06fce2f6dd23919af64 ssh-agent [2023-05-09T23:41:44.795Z] SSH_AUTH_SOCK=/tmp/ssh-N71TcLRVPPfh/agent.32 [2023-05-09T23:41:44.795Z] SSH_AGENT_PID=39 [2023-05-09T23:41:44.804Z] Running ssh-add (command line suppressed) [2023-05-09T23:41:44.897Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-476@tmp/private_key_7955066932509292436.key (/w/workspace/xfoundry_device-modbus-go_PR-476@tmp/private_key_7955066932509292436.key) [2023-05-09T23:41:44.913Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-09T23:41:45.242Z] + git tag --points-at HEAD [Pipeline] } [2023-05-09T23:41:45.269Z] $ docker exec --env ******** --env ******** e8c8720d0ce06edaf10c574557659bdba61d60742a22a06fce2f6dd23919af64 ssh-agent -k [2023-05-09T23:41:45.358Z] unset SSH_AUTH_SOCK; [2023-05-09T23:41:45.358Z] unset SSH_AGENT_PID; [2023-05-09T23:41:45.359Z] echo Agent pid 39 killed; [2023-05-09T23:41:45.372Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-05-09T23:41:45.465Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-09T23:41:45.465Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-09T23:41:45.591Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-09T23:41:45.593Z] $ docker exec e8c8720d0ce06edaf10c574557659bdba61d60742a22a06fce2f6dd23919af64 ssh-agent [2023-05-09T23:41:45.716Z] SSH_AUTH_SOCK=/tmp/ssh-lIbun65NLt1V/agent.72 [2023-05-09T23:41:45.716Z] SSH_AGENT_PID=78 [2023-05-09T23:41:45.723Z] Running ssh-add (command line suppressed) [2023-05-09T23:41:45.821Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-476@tmp/private_key_17158431665743452447.key (/w/workspace/xfoundry_device-modbus-go_PR-476@tmp/private_key_17158431665743452447.key) [2023-05-09T23:41:45.839Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-09T23:41:46.173Z] + git semver init [2023-05-09T23:41:46.434Z] 2023-05-09 23:41:46,332 [run_init] DEBUG init version:0.0.0 force:False [2023-05-09T23:41:46.434Z] 2023-05-09 23:41:46,333 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-modbus-go_PR-476/.semver [2023-05-09T23:41:46.434Z] 2023-05-09 23:41:46,334 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/xfoundry_device-modbus-go_PR-476/.semver [2023-05-09T23:41:46.434Z] 2023-05-09 23:41:46,334 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/xfoundry_device-modbus-go_PR-476/.semver'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-476, universal_newlines=False, shell=None, istream=None) [2023-05-09T23:41:47.388Z] 2023-05-09 23:41:47,116 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-modbus-go_PR-476/.git/info/exclude [2023-05-09T23:41:47.388Z] 2023-05-09 23:41:47,117 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-modbus-go_PR-476/.semver/PR-476 with force:False [2023-05-09T23:41:47.388Z] 2023-05-09 23:41:47,117 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-modbus-go_PR-476/.semver/PR-476 [2023-05-09T23:41:47.388Z] 2023-05-09 23:41:47,121 [execute] INFO git cat-file --batch-check [2023-05-09T23:41:47.388Z] 2023-05-09 23:41:47,122 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-476/.semver, universal_newlines=False, shell=None, istream=) [2023-05-09T23:41:47.388Z] 2023-05-09 23:41:47,129 [execute] INFO git cat-file --batch [2023-05-09T23:41:47.388Z] 2023-05-09 23:41:47,129 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-476/.semver, universal_newlines=False, shell=None, istream=) [2023-05-09T23:41:47.388Z] 2023-05-09 23:41:47,134 [read_version] DEBUG read version from /w/workspace/xfoundry_device-modbus-go_PR-476/.semver/PR-476 [2023-05-09T23:41:47.388Z] 0.0.0 [Pipeline] } [2023-05-09T23:41:47.419Z] $ docker exec --env ******** --env ******** e8c8720d0ce06edaf10c574557659bdba61d60742a22a06fce2f6dd23919af64 ssh-agent -k [2023-05-09T23:41:47.529Z] unset SSH_AUTH_SOCK; [2023-05-09T23:41:47.529Z] unset SSH_AGENT_PID; [2023-05-09T23:41:47.529Z] echo Agent pid 78 killed; [2023-05-09T23:41:47.542Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-05-09T23:41:47.968Z] + git semver [Pipeline] } [2023-05-09T23:41:48.254Z] $ docker stop --time=1 e8c8720d0ce06edaf10c574557659bdba61d60742a22a06fce2f6dd23919af64 [2023-05-09T23:41:49.516Z] $ docker rm -f --volumes e8c8720d0ce06edaf10c574557659bdba61d60742a22a06fce2f6dd23919af64 [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-09T23:41:49.919Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-05-09T23:41:50.185Z] Stashed 1 file(s) [Pipeline] echo [2023-05-09T23:41:50.202Z] [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-05-09T23:41:50.747Z] provisioning config files... [2023-05-09T23:41:50.757Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-476@tmp/config4697657788070145614tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-09T23:41:51.104Z] ---> docker-login.sh [2023-05-09T23:41:51.104Z] nexus3.edgexfoundry.org:10001 [2023-05-09T23:41:51.104Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-09T23:41:51.104Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-09T23:41:51.104Z] Configure a credential helper to remove this warning. See [2023-05-09T23:41:51.104Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-09T23:41:51.104Z] [2023-05-09T23:41:51.104Z] Login Succeeded [2023-05-09T23:41:51.104Z] nexus3.edgexfoundry.org:10002 [2023-05-09T23:41:51.104Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-09T23:41:51.104Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-09T23:41:51.104Z] Configure a credential helper to remove this warning. See [2023-05-09T23:41:51.104Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-09T23:41:51.104Z] [2023-05-09T23:41:51.104Z] Login Succeeded [2023-05-09T23:41:51.104Z] nexus3.edgexfoundry.org:10003 [2023-05-09T23:41:51.364Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-09T23:41:51.364Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-09T23:41:51.364Z] Configure a credential helper to remove this warning. See [2023-05-09T23:41:51.364Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-09T23:41:51.364Z] [2023-05-09T23:41:51.364Z] Login Succeeded [2023-05-09T23:41:51.364Z] nexus3.edgexfoundry.org:10004 [2023-05-09T23:41:51.364Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-09T23:41:51.364Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-09T23:41:51.364Z] Configure a credential helper to remove this warning. See [2023-05-09T23:41:51.364Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-09T23:41:51.364Z] [2023-05-09T23:41:51.364Z] Login Succeeded [2023-05-09T23:41:51.364Z] docker.io [2023-05-09T23:41:51.624Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-09T23:41:51.624Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-09T23:41:51.624Z] Configure a credential helper to remove this warning. See [2023-05-09T23:41:51.624Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-09T23:41:51.624Z] [2023-05-09T23:41:51.624Z] Login Succeeded [2023-05-09T23:41:51.624Z] ---> docker-login.sh ends [Pipeline] } [2023-05-09T23:41:51.649Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-05-09T23:41:51.852Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-09T23:41:51.887Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-09T23:41:51.920Z] ========================================================= [2023-05-09T23:41:51.920Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-05-09T23:41:51.920Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-09T23:41:52.399Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-05-09T23:41:52.399Z] Sending build context to Docker daemon 6.503MB [2023-05-09T23:41:52.399Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-05-09T23:41:52.399Z] Step 2/10 : FROM ${BASE} AS builder [2023-05-09T23:41:52.399Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-05-09T23:41:52.399Z] f56be85fc22e: Pulling fs layer [2023-05-09T23:41:52.399Z] 85791d961cd3: Pulling fs layer [2023-05-09T23:41:52.399Z] d694b5ae8c79: Pulling fs layer [2023-05-09T23:41:52.399Z] 9f32a84ed3da: Pulling fs layer [2023-05-09T23:41:52.399Z] 4d19c01a9841: Pulling fs layer [2023-05-09T23:41:52.399Z] 9325e15d5711: Pulling fs layer [2023-05-09T23:41:52.399Z] 556b6ee489ea: Pulling fs layer [2023-05-09T23:41:52.399Z] c5a4b2cf53e6: Pulling fs layer [2023-05-09T23:41:52.399Z] 9325e15d5711: Waiting [2023-05-09T23:41:52.399Z] 9f32a84ed3da: Waiting [2023-05-09T23:41:52.399Z] 556b6ee489ea: Waiting [2023-05-09T23:41:52.399Z] 4d19c01a9841: Waiting [2023-05-09T23:41:52.399Z] c5a4b2cf53e6: Waiting [2023-05-09T23:41:52.399Z] 85791d961cd3: Download complete [2023-05-09T23:41:52.399Z] 9f32a84ed3da: Download complete [2023-05-09T23:41:52.663Z] 4d19c01a9841: Verifying Checksum [2023-05-09T23:41:52.663Z] 4d19c01a9841: Download complete [2023-05-09T23:41:52.663Z] f56be85fc22e: Verifying Checksum [2023-05-09T23:41:52.663Z] f56be85fc22e: Download complete [2023-05-09T23:41:52.663Z] 9325e15d5711: Verifying Checksum [2023-05-09T23:41:52.663Z] 9325e15d5711: Download complete [2023-05-09T23:41:52.663Z] f56be85fc22e: Pull complete [2023-05-09T23:41:52.927Z] 85791d961cd3: Pull complete [2023-05-09T23:41:53.187Z] c5a4b2cf53e6: Verifying Checksum [2023-05-09T23:41:53.187Z] c5a4b2cf53e6: Download complete [2023-05-09T23:41:53.187Z] d694b5ae8c79: Verifying Checksum [2023-05-09T23:41:53.187Z] d694b5ae8c79: Download complete [2023-05-09T23:41:53.447Z] 556b6ee489ea: Verifying Checksum [2023-05-09T23:41:53.447Z] 556b6ee489ea: Download complete [2023-05-09T23:41:56.730Z] d694b5ae8c79: Pull complete [2023-05-09T23:41:56.730Z] 9f32a84ed3da: Pull complete [2023-05-09T23:41:56.730Z] 4d19c01a9841: Pull complete [2023-05-09T23:41:56.730Z] 9325e15d5711: Pull complete [2023-05-09T23:41:59.259Z] 556b6ee489ea: Pull complete [2023-05-09T23:41:59.824Z] c5a4b2cf53e6: Pull complete [2023-05-09T23:41:59.824Z] Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b [2023-05-09T23:41:59.824Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-05-09T23:41:59.824Z] ---> c4be618373d6 [2023-05-09T23:41:59.824Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2023-05-09T23:42:03.124Z] ---> Running in 1ba6ddaa665f [2023-05-09T23:42:03.125Z] Removing intermediate container 1ba6ddaa665f [2023-05-09T23:42:03.125Z] ---> ec3fe9feeb38 [2023-05-09T23:42:03.125Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-09T23:42:03.125Z] ---> Running in 2a55d44b335e [2023-05-09T23:42:03.125Z] Removing intermediate container 2a55d44b335e [2023-05-09T23:42:03.125Z] ---> 5f14fbf2b72a [2023-05-09T23:42:03.125Z] Step 5/10 : RUN apk add --update --no-cache make git openssh [2023-05-09T23:42:03.125Z] ---> Running in ceecdff6028f [2023-05-09T23:42:03.384Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-05-09T23:42:03.384Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-05-09T23:42:03.645Z] (1/8) Installing openssh-keygen (9.1_p1-r2) [2023-05-09T23:42:03.646Z] (2/8) Installing libedit (20221030.3.1-r0) [2023-05-09T23:42:03.646Z] (3/8) Installing openssh-client-common (9.1_p1-r2) [2023-05-09T23:42:03.646Z] (4/8) Installing openssh-client-default (9.1_p1-r2) [2023-05-09T23:42:03.646Z] (5/8) Installing openssh-sftp-server (9.1_p1-r2) [2023-05-09T23:42:03.646Z] (6/8) Installing openssh-server-common (9.1_p1-r2) [2023-05-09T23:42:03.646Z] (7/8) Installing openssh-server (9.1_p1-r2) [2023-05-09T23:42:03.646Z] (8/8) Installing openssh (9.1_p1-r2) [2023-05-09T23:42:03.646Z] Executing busybox-1.35.0-r29.trigger [2023-05-09T23:42:03.646Z] OK: 270 MiB in 61 packages [2023-05-09T23:42:04.213Z] Removing intermediate container ceecdff6028f [2023-05-09T23:42:04.213Z] ---> bacb8cf11040 [2023-05-09T23:42:04.213Z] Step 6/10 : WORKDIR /device-modbus-go [2023-05-09T23:42:04.213Z] ---> Running in 0f67d765d994 [2023-05-09T23:42:04.213Z] Removing intermediate container 0f67d765d994 [2023-05-09T23:42:04.213Z] ---> 1c370d066cf4 [2023-05-09T23:42:04.213Z] Step 7/10 : COPY go.mod vendor* ./ [2023-05-09T23:42:04.474Z] ---> 28fcde79b48c [2023-05-09T23:42:04.474Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-09T23:42:04.474Z] ---> Running in ab569533038b [2023-05-09T23:42:05.566Z] Still waiting to schedule task [2023-05-09T23:42:05.566Z] ‘prd-centos7-blackbox-4c-2g-14349’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-05-09T23:42:05.566Z] ‘prd-centos7-blackbox-4c-2g-14350’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-05-09T23:42:05.566Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-14818’ is offline [2023-05-09T23:42:26.422Z] Removing intermediate container ab569533038b [2023-05-09T23:42:26.422Z] ---> a76f67c25025 [2023-05-09T23:42:26.422Z] Step 9/10 : COPY . . [2023-05-09T23:42:26.682Z] ---> 28eb3ba34317 [2023-05-09T23:42:26.682Z] Step 10/10 : RUN ${MAKE} [2023-05-09T23:42:26.682Z] ---> Running in 715de592c0a2 [2023-05-09T23:42:26.945Z] noop [2023-05-09T23:42:27.203Z] Removing intermediate container 715de592c0a2 [2023-05-09T23:42:27.203Z] ---> 7f60730f240d [2023-05-09T23:42:27.203Z] Successfully built 7f60730f240d [2023-05-09T23:42:27.203Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-09T23:42:27.643Z] + docker inspect -f . ci-base-image-x86_64 [2023-05-09T23:42:27.643Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-09T23:42:27.800Z] prd-ubuntu20.04-docker-8c-8g-14817 does not seem to be running inside a container [2023-05-09T23:42:27.826Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-476 -v /w/workspace/xfoundry_device-modbus-go_PR-476:/w/workspace/xfoundry_device-modbus-go_PR-476:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-476@tmp:/w/workspace/xfoundry_device-modbus-go_PR-476@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-05-09T23:42:28.146Z] $ docker top 45e396f35cc1bc118934abe8fc7ca4663a71450e981c8ea9460b96e011a25c62 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-09T23:42:28.546Z] + go version [2023-05-09T23:42:28.546Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-05-09T23:42:28.576Z] $ docker stop --time=1 45e396f35cc1bc118934abe8fc7ca4663a71450e981c8ea9460b96e011a25c62 [2023-05-09T23:42:29.883Z] $ docker rm -f --volumes 45e396f35cc1bc118934abe8fc7ca4663a71450e981c8ea9460b96e011a25c62 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-09T23:42:30.596Z] + docker inspect -f . ci-base-image-x86_64 [2023-05-09T23:42:30.596Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-09T23:42:30.748Z] prd-ubuntu20.04-docker-8c-8g-14817 does not seem to be running inside a container [2023-05-09T23:42:30.778Z] $ 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-476 -v /w/workspace/xfoundry_device-modbus-go_PR-476:/w/workspace/xfoundry_device-modbus-go_PR-476:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-476@tmp:/w/workspace/xfoundry_device-modbus-go_PR-476@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-05-09T23:42:31.090Z] $ docker top 1664b643c235c324dc585f4bea62c5d7da1c96bf9e865a1474579b1a738c0319 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-09T23:42:31.497Z] + git config --global --add safe.directory /w/workspace/xfoundry_device-modbus-go_PR-476 [Pipeline] fileExists [Pipeline] sh [2023-05-09T23:42:31.850Z] + make test [2023-05-09T23:42:31.850Z] go test ./... -coverprofile=coverage.out [2023-05-09T23:42:36.032Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2023-05-09T23:42:46.194Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2023-05-09T23:42:46.195Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.012s coverage: 47.4% of statements [2023-05-09T23:42:51.455Z] go vet ./... [2023-05-09T23:42:53.984Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-05-09T23:42:53.984Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-05-09T23:42:53.984Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-05-09T23:42:54.029Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-05-09T23:42:54.059Z] $ docker stop --time=1 1664b643c235c324dc585f4bea62c5d7da1c96bf9e865a1474579b1a738c0319 [2023-05-09T23:42:56.945Z] $ docker rm -f --volumes 1664b643c235c324dc585f4bea62c5d7da1c96bf9e865a1474579b1a738c0319 [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-09T23:42:57.572Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-05-09T23:42:57.643Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-05-09T23:42:58.338Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-05-09T23:42:58.648Z] + ls -al . [2023-05-09T23:42:58.648Z] total 180 [2023-05-09T23:42:58.648Z] drwxrwxr-x 10 jenkins jenkins 4096 May 9 23:42 . [2023-05-09T23:42:58.648Z] drwxrwxr-x 4 jenkins jenkins 4096 May 9 23:41 .. [2023-05-09T23:42:58.648Z] -rw-rw-r-- 1 jenkins jenkins 140 May 9 23:41 .dockerignore [2023-05-09T23:42:58.648Z] drwxrwxr-x 8 jenkins jenkins 4096 May 9 23:41 .git [2023-05-09T23:42:58.648Z] drwxrwxr-x 3 jenkins jenkins 4096 May 9 23:41 .github [2023-05-09T23:42:58.648Z] -rw-rw-r-- 1 jenkins jenkins 331 May 9 23:41 .gitignore [2023-05-09T23:42:58.648Z] -rw-rw-r-- 1 jenkins jenkins 41 May 9 23:41 .golangci.yml [2023-05-09T23:42:58.648Z] drwxr-xr-x 3 jenkins jenkins 4096 May 9 23:41 .semver [2023-05-09T23:42:58.648Z] -rw-rw-r-- 1 jenkins jenkins 10132 May 9 23:41 Attribution.txt [2023-05-09T23:42:58.648Z] -rw-rw-r-- 1 jenkins jenkins 11576 May 9 23:41 CHANGELOG.md [2023-05-09T23:42:58.648Z] -rw-rw-r-- 1 jenkins jenkins 1365 May 9 23:41 Dockerfile [2023-05-09T23:42:58.648Z] -rw-rw-r-- 1 jenkins jenkins 677 May 9 23:41 GOVERNANCE.md [2023-05-09T23:42:58.648Z] -rw-rw-r-- 1 jenkins jenkins 680 May 9 23:41 Jenkinsfile [2023-05-09T23:42:58.648Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 9 23:41 LICENSE [2023-05-09T23:42:58.648Z] -rw-rw-r-- 1 jenkins jenkins 1705 May 9 23:41 Makefile [2023-05-09T23:42:58.648Z] -rw-rw-r-- 1 jenkins jenkins 622 May 9 23:41 OWNERS.md [2023-05-09T23:42:58.648Z] -rw-rw-r-- 1 jenkins jenkins 4045 May 9 23:41 README.md [2023-05-09T23:42:58.648Z] -rw-rw-r-- 1 jenkins jenkins 5 May 9 23:41 VERSION [2023-05-09T23:42:58.648Z] drwxrwxr-x 2 jenkins jenkins 4096 May 9 23:41 bin [2023-05-09T23:42:58.648Z] drwxrwxr-x 3 jenkins jenkins 4096 May 9 23:41 cmd [2023-05-09T23:42:58.648Z] -rw-r--r-- 1 jenkins jenkins 24160 May 9 23:42 coverage.out [2023-05-09T23:42:58.648Z] -rw-rw-r-- 1 jenkins jenkins 3453 May 9 23:41 go.mod [2023-05-09T23:42:58.648Z] -rw-rw-r-- 1 jenkins jenkins 31670 May 9 23:41 go.sum [2023-05-09T23:42:58.648Z] drwxrwxr-x 3 jenkins jenkins 4096 May 9 23:41 internal [2023-05-09T23:42:58.648Z] drwxrwxr-x 2 jenkins jenkins 4096 May 9 23:41 simulator [2023-05-09T23:42:58.648Z] drwxrwxr-x 4 jenkins jenkins 4096 May 9 23:41 snap [2023-05-09T23:42:58.648Z] -rw-rw-r-- 1 jenkins jenkins 229 May 9 23:41 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-09T23:42:59.315Z] + 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=4faafaebf0b69f3d8ae8c7b75fa1bf49cc321e61 --label arch=amd64 --label version=0.0.0 . [2023-05-09T23:42:59.316Z] Sending build context to Docker daemon 6.528MB [2023-05-09T23:42:59.316Z] Step 1/22 : ARG BASE=golang:1.20-alpine3.17 [2023-05-09T23:42:59.316Z] Step 2/22 : FROM ${BASE} AS builder [2023-05-09T23:42:59.316Z] ---> 7f60730f240d [2023-05-09T23:42:59.316Z] Step 3/22 : ARG ADD_BUILD_TAGS="" [2023-05-09T23:42:59.316Z] ---> Running in 8f67a6bb64dd [2023-05-09T23:42:59.574Z] Removing intermediate container 8f67a6bb64dd [2023-05-09T23:42:59.574Z] ---> dd4cdf489c2f [2023-05-09T23:42:59.574Z] Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-09T23:42:59.574Z] ---> Running in d10198885719 [2023-05-09T23:42:59.574Z] Removing intermediate container d10198885719 [2023-05-09T23:42:59.574Z] ---> 24c771d10f31 [2023-05-09T23:42:59.574Z] Step 5/22 : RUN apk add --update --no-cache make git openssh [2023-05-09T23:42:59.574Z] ---> Running in 896d15b7e14d [2023-05-09T23:42:59.835Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-05-09T23:42:59.835Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-05-09T23:43:00.095Z] OK: 270 MiB in 61 packages [2023-05-09T23:43:00.456Z] Removing intermediate container 896d15b7e14d [2023-05-09T23:43:00.456Z] ---> 9a90c729a0f6 [2023-05-09T23:43:00.456Z] Step 6/22 : WORKDIR /device-modbus-go [2023-05-09T23:43:00.456Z] ---> Running in 39e795fff153 [2023-05-09T23:43:00.456Z] Removing intermediate container 39e795fff153 [2023-05-09T23:43:00.456Z] ---> 72b7585b2d5c [2023-05-09T23:43:00.456Z] Step 7/22 : COPY go.mod vendor* ./ [2023-05-09T23:43:00.719Z] ---> 7b0e53c2e332 [2023-05-09T23:43:00.719Z] Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-09T23:43:00.719Z] ---> Running in 1ea0597af4bc [2023-05-09T23:43:01.285Z] Removing intermediate container 1ea0597af4bc [2023-05-09T23:43:01.285Z] ---> d6833a5fbd35 [2023-05-09T23:43:01.285Z] Step 9/22 : COPY . . [2023-05-09T23:43:01.855Z] ---> 9026615b6d53 [2023-05-09T23:43:01.855Z] Step 10/22 : RUN ${MAKE} [2023-05-09T23:43:01.855Z] ---> Running in 72f2a6821602 [2023-05-09T23:43:01.855Z] 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-05-09T23:43:19.934Z] Removing intermediate container 72f2a6821602 [2023-05-09T23:43:19.934Z] ---> c9d60826730c [2023-05-09T23:43:19.934Z] Step 11/22 : FROM alpine:3.17 [2023-05-09T23:43:19.934Z] 3.17: Pulling from library/alpine [2023-05-09T23:43:19.934Z] f56be85fc22e: Already exists [2023-05-09T23:43:19.934Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-05-09T23:43:19.934Z] Status: Downloaded newer image for alpine:3.17 [2023-05-09T23:43:19.934Z] ---> 9ed4aefc74f6 [2023-05-09T23:43:19.934Z] Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2023-05-09T23:43:19.934Z] ---> Running in 2f1d8a28bec4 [2023-05-09T23:43:19.934Z] Removing intermediate container 2f1d8a28bec4 [2023-05-09T23:43:19.934Z] ---> 5efb32f5e3f9 [2023-05-09T23:43:19.934Z] Step 13/22 : RUN apk add --update --no-cache dumb-init [2023-05-09T23:43:19.934Z] ---> Running in b629cfc4c529 [2023-05-09T23:43:19.934Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-05-09T23:43:19.934Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-05-09T23:43:19.934Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-05-09T23:43:19.934Z] Executing busybox-1.35.0-r29.trigger [2023-05-09T23:43:19.934Z] OK: 7 MiB in 16 packages [2023-05-09T23:43:19.934Z] Removing intermediate container b629cfc4c529 [2023-05-09T23:43:19.934Z] ---> c9bd3f0e0cec [2023-05-09T23:43:19.934Z] Step 14/22 : COPY --from=builder /device-modbus-go/cmd / [2023-05-09T23:43:20.502Z] ---> 60516aeb7da8 [2023-05-09T23:43:20.502Z] Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / [2023-05-09T23:43:20.760Z] ---> b6f2d62ec2cb [2023-05-09T23:43:20.760Z] Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / [2023-05-09T23:43:20.760Z] ---> 11080adb841f [2023-05-09T23:43:20.760Z] Step 17/22 : EXPOSE 59901 [2023-05-09T23:43:20.760Z] ---> Running in 56111086b56c [2023-05-09T23:43:20.760Z] Removing intermediate container 56111086b56c [2023-05-09T23:43:20.760Z] ---> 821b24a1c3a2 [2023-05-09T23:43:20.760Z] Step 18/22 : ENTRYPOINT ["/device-modbus"] [2023-05-09T23:43:20.760Z] ---> Running in 40580d589520 [2023-05-09T23:43:21.019Z] Removing intermediate container 40580d589520 [2023-05-09T23:43:21.019Z] ---> fefed8a8c6df [2023-05-09T23:43:21.019Z] Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-05-09T23:43:21.019Z] ---> Running in 335fc5be59a8 [2023-05-09T23:43:21.019Z] Removing intermediate container 335fc5be59a8 [2023-05-09T23:43:21.019Z] ---> 004356cef7b9 [2023-05-09T23:43:21.019Z] Step 20/22 : LABEL arch=amd64 [2023-05-09T23:43:21.019Z] ---> Running in fcb029b9e393 [2023-05-09T23:43:21.019Z] Removing intermediate container fcb029b9e393 [2023-05-09T23:43:21.019Z] ---> bc4a94fa01e3 [2023-05-09T23:43:21.019Z] Step 21/22 : LABEL git_sha=4faafaebf0b69f3d8ae8c7b75fa1bf49cc321e61 [2023-05-09T23:43:21.019Z] ---> Running in c391598409e6 [2023-05-09T23:43:21.278Z] Removing intermediate container c391598409e6 [2023-05-09T23:43:21.278Z] ---> a7a00846278b [2023-05-09T23:43:21.278Z] Step 22/22 : LABEL version=0.0.0 [2023-05-09T23:43:21.278Z] ---> Running in 95efc7af666c [2023-05-09T23:43:21.278Z] Removing intermediate container 95efc7af666c [2023-05-09T23:43:21.278Z] ---> a623acb92d44 [2023-05-09T23:43:21.278Z] [Warning] One or more build-args [ARCH] were not consumed [2023-05-09T23:43:21.278Z] Successfully built a623acb92d44 [2023-05-09T23:43:21.278Z] 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-05-09T23:43:22.198Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-09T23:43:22.198Z] [2023-05-09T23:43:22.198Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-09T23:43:22.572Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-09T23:43:22.573Z] latest: Pulling from edgex-lftools-log-publisher [2023-05-09T23:43:22.573Z] 5eb5b503b376: Pulling fs layer [2023-05-09T23:43:22.573Z] 5c69ac0246d0: Pulling fs layer [2023-05-09T23:43:22.573Z] ec43610c2a17: Pulling fs layer [2023-05-09T23:43:22.573Z] 3a2ae6a8a46f: Pulling fs layer [2023-05-09T23:43:22.573Z] 33b1e0a273af: Pulling fs layer [2023-05-09T23:43:22.573Z] 5d3b04190fa2: Pulling fs layer [2023-05-09T23:43:22.573Z] 2f39f015ded8: Pulling fs layer [2023-05-09T23:43:22.573Z] 3a2ae6a8a46f: Waiting [2023-05-09T23:43:22.573Z] 2f39f015ded8: Waiting [2023-05-09T23:43:22.573Z] 33b1e0a273af: Waiting [2023-05-09T23:43:22.573Z] 5d3b04190fa2: Waiting [2023-05-09T23:43:22.573Z] 5c69ac0246d0: Verifying Checksum [2023-05-09T23:43:22.573Z] 5c69ac0246d0: Download complete [2023-05-09T23:43:22.573Z] 3a2ae6a8a46f: Verifying Checksum [2023-05-09T23:43:22.573Z] 3a2ae6a8a46f: Download complete [2023-05-09T23:43:22.573Z] 33b1e0a273af: Verifying Checksum [2023-05-09T23:43:22.573Z] 33b1e0a273af: Download complete [2023-05-09T23:43:22.573Z] 5d3b04190fa2: Verifying Checksum [2023-05-09T23:43:22.573Z] 5d3b04190fa2: Download complete [2023-05-09T23:43:22.573Z] ec43610c2a17: Verifying Checksum [2023-05-09T23:43:22.573Z] ec43610c2a17: Download complete [2023-05-09T23:43:22.830Z] 5eb5b503b376: Verifying Checksum [2023-05-09T23:43:22.830Z] 5eb5b503b376: Download complete [2023-05-09T23:43:23.398Z] 2f39f015ded8: Verifying Checksum [2023-05-09T23:43:23.398Z] 2f39f015ded8: Download complete [2023-05-09T23:43:23.966Z] 5eb5b503b376: Pull complete [2023-05-09T23:43:23.966Z] 5c69ac0246d0: Pull complete [2023-05-09T23:43:24.532Z] ec43610c2a17: Pull complete [2023-05-09T23:43:24.532Z] 3a2ae6a8a46f: Pull complete [2023-05-09T23:43:24.532Z] 33b1e0a273af: Pull complete [2023-05-09T23:43:24.791Z] 5d3b04190fa2: Pull complete [2023-05-09T23:43:28.973Z] 2f39f015ded8: Pull complete [2023-05-09T23:43:28.973Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-05-09T23:43:28.973Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-09T23:43:28.973Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-09T23:43:29.199Z] prd-ubuntu20.04-docker-8c-8g-14817 does not seem to be running inside a container [2023-05-09T23:43:29.224Z] $ 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-476 -v /w/workspace/xfoundry_device-modbus-go_PR-476:/w/workspace/xfoundry_device-modbus-go_PR-476:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-476@tmp:/w/workspace/xfoundry_device-modbus-go_PR-476@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-05-09T23:43:32.182Z] $ docker top 8bbd668a8a4899bda72bab7ef8da2ee33130b98abdb2b464c72c32454af223b3 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-09T23:43:32.618Z] ---> job-cost.sh [2023-05-09T23:43:32.618Z] lf-activate-venv: SKIPPING [2023-05-09T23:43:32.618Z] INFO: No Stack... [2023-05-09T23:43:33.186Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-05-09T23:43:33.445Z] INFO: Archiving Costs [Pipeline] sh [2023-05-09T23:43:33.759Z] + cat /w/workspace/xfoundry_device-modbus-go_PR-476/archives/cost.csv [2023-05-09T23:43:33.759Z] + cut -d, -f6 [Pipeline] lock [2023-05-09T23:43:33.801Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-476-1-stack-cost] [2023-05-09T23:43:33.805Z] Resource [jenkins-edgexfoundry-device-modbus-go-PR-476-1-stack-cost] did not exist. Created. [2023-05-09T23:43:33.806Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-476-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-05-09T23:43:34.191Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-05-09T23:43:34.235Z] Stashed 1 file(s) [Pipeline] } [2023-05-09T23:43:34.264Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-476-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-05-09T23:43:34.335Z] $ docker stop --time=1 8bbd668a8a4899bda72bab7ef8da2ee33130b98abdb2b464c72c32454af223b3 [2023-05-09T23:43:35.485Z] $ docker rm -f --volumes 8bbd668a8a4899bda72bab7ef8da2ee33130b98abdb2b464c72c32454af223b3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-05-09T23:44:41.013Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-14821 in /w/workspace/xfoundry_device-modbus-go_PR-476 [Pipeline] { [Pipeline] ws [2023-05-09T23:44:41.082Z] Running in /w/workspace/device-modbus-go/1 [Pipeline] { [Pipeline] checkout [2023-05-09T23:44:41.177Z] Selected Git installation does not exist. Using Default [2023-05-09T23:44:41.177Z] The recommended git tool is: NONE [2023-05-09T23:44:48.808Z] using credential edgex-jenkins-ssh [2023-05-09T23:44:48.830Z] Cloning the remote Git repository [2023-05-09T23:44:48.900Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2023-05-09T23:44:49.037Z] > git init /w/workspace/device-modbus-go/1 # timeout=10 [2023-05-09T23:44:49.249Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2023-05-09T23:44:49.251Z] > git --version # timeout=10 [2023-05-09T23:44:49.277Z] > git --version # 'git version 2.25.1' [2023-05-09T23:44:49.282Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-05-09T23:44:49.516Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-05-09T23:44:50.764Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2023-05-09T23:44:50.793Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-05-09T23:44:52.620Z] Merging remotes/origin/main commit 8b019029337577f55c3ddf5891f69e829d86b4f5 into PR head commit 4faafaebf0b69f3d8ae8c7b75fa1bf49cc321e61 [2023-05-09T23:44:51.977Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2023-05-09T23:44:52.028Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2023-05-09T23:44:52.029Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-05-09T23:44:52.051Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/476/head:refs/remotes/origin/PR-476 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-05-09T23:44:52.642Z] > git config core.sparsecheckout # timeout=10 [2023-05-09T23:44:52.732Z] > git checkout -f 4faafaebf0b69f3d8ae8c7b75fa1bf49cc321e61 # timeout=10 [2023-05-09T23:44:52.847Z] > git remote # timeout=10 [2023-05-09T23:44:52.872Z] > git config --get remote.origin.url # timeout=10 [2023-05-09T23:44:52.905Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-05-09T23:44:52.926Z] > git merge 8b019029337577f55c3ddf5891f69e829d86b4f5 # timeout=10 [2023-05-09T23:44:52.961Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-05-09T23:44:52.987Z] Merge succeeded, producing 4faafaebf0b69f3d8ae8c7b75fa1bf49cc321e61 [2023-05-09T23:44:52.988Z] Checking out Revision 4faafaebf0b69f3d8ae8c7b75fa1bf49cc321e61 (PR-476) [2023-05-09T23:44:53.635Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" [2023-05-09T23:44:53.707Z] > git --version # timeout=10 [2023-05-09T23:44:53.722Z] > git --version # 'git version 2.25.1' [2023-05-09T23:44:53.745Z] fatal: bad object 4fc256d9079ed2258907e613f84b1b8da264a4bd [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-09T23:44:52.992Z] > git config core.sparsecheckout # timeout=10 [2023-05-09T23:44:53.011Z] > git checkout -f 4faafaebf0b69f3d8ae8c7b75fa1bf49cc321e61 # timeout=10 [2023-05-09T23:44:54.954Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-05-09T23:44:54.954Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-05-09T23:44:54.954Z] Dload Upload Total Spent Left Speed [2023-05-09T23:44:54.954Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 191k 0 --:--:-- --:--:-- --:--:-- 191k [Pipeline] sh [2023-05-09T23:44:55.609Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-05-09T23:44:55.962Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-05-09T23:44:55.962Z] + sudo tee /etc/docker/daemon.new [2023-05-09T23:44:55.962Z] { [2023-05-09T23:44:55.962Z] "registry-mirrors": [ [2023-05-09T23:44:55.962Z] "https://nexus3.edgexfoundry.org:10001" [2023-05-09T23:44:55.962Z] ], [2023-05-09T23:44:55.962Z] "bip": "10.250.0.254/24", [2023-05-09T23:44:55.962Z] "hosts": [ [2023-05-09T23:44:55.962Z] "tcp://0.0.0.0:5555", [2023-05-09T23:44:55.962Z] "unix:///var/run/docker.sock" [2023-05-09T23:44:55.962Z] ], [2023-05-09T23:44:55.962Z] "mtu": 1458, [2023-05-09T23:44:55.962Z] "selinux-enabled": true, [2023-05-09T23:44:55.962Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-05-09T23:44:55.962Z] } [Pipeline] sh [2023-05-09T23:44:56.320Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-05-09T23:44:56.719Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-09T23:45:15.086Z] provisioning config files... [2023-05-09T23:45:15.116Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/1@tmp/config7533662259751963385tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-09T23:45:15.512Z] ---> docker-login.sh [2023-05-09T23:45:15.512Z] nexus3.edgexfoundry.org:10001 [2023-05-09T23:45:16.104Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-09T23:45:16.104Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-09T23:45:16.104Z] Configure a credential helper to remove this warning. See [2023-05-09T23:45:16.104Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-09T23:45:16.104Z] [2023-05-09T23:45:16.104Z] Login Succeeded [2023-05-09T23:45:16.104Z] nexus3.edgexfoundry.org:10002 [2023-05-09T23:45:16.373Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-09T23:45:16.642Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-09T23:45:16.642Z] Configure a credential helper to remove this warning. See [2023-05-09T23:45:16.642Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-09T23:45:16.642Z] [2023-05-09T23:45:16.642Z] Login Succeeded [2023-05-09T23:45:16.642Z] nexus3.edgexfoundry.org:10003 [2023-05-09T23:45:16.912Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-09T23:45:16.912Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-09T23:45:16.912Z] Configure a credential helper to remove this warning. See [2023-05-09T23:45:16.912Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-09T23:45:16.912Z] [2023-05-09T23:45:16.912Z] Login Succeeded [2023-05-09T23:45:16.912Z] nexus3.edgexfoundry.org:10004 [2023-05-09T23:45:17.183Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-09T23:45:17.454Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-09T23:45:17.454Z] Configure a credential helper to remove this warning. See [2023-05-09T23:45:17.454Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-09T23:45:17.454Z] [2023-05-09T23:45:17.454Z] Login Succeeded [2023-05-09T23:45:17.454Z] docker.io [2023-05-09T23:45:17.723Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-09T23:45:17.993Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-09T23:45:17.993Z] Configure a credential helper to remove this warning. See [2023-05-09T23:45:17.993Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-09T23:45:17.993Z] [2023-05-09T23:45:17.993Z] Login Succeeded [2023-05-09T23:45:17.993Z] ---> docker-login.sh ends [Pipeline] } [2023-05-09T23:45:18.021Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-05-09T23:45:18.421Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-09T23:45:18.467Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-09T23:45:18.503Z] ========================================================= [2023-05-09T23:45:18.503Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-05-09T23:45:18.503Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-09T23:45:19.010Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-05-09T23:45:19.282Z] Sending build context to Docker daemon 3.401MB [2023-05-09T23:45:19.282Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-05-09T23:45:19.282Z] Step 2/10 : FROM ${BASE} AS builder [2023-05-09T23:45:19.556Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-05-09T23:45:19.556Z] c41833b44d91: Pulling fs layer [2023-05-09T23:45:19.556Z] ed15518f5707: Pulling fs layer [2023-05-09T23:45:19.556Z] feae8fd75edb: Pulling fs layer [2023-05-09T23:45:19.556Z] 242c74f7c9fa: Pulling fs layer [2023-05-09T23:45:19.556Z] 3cdef696dda3: Pulling fs layer [2023-05-09T23:45:19.556Z] 2ced38df9373: Pulling fs layer [2023-05-09T23:45:19.556Z] 58f1dce35555: Pulling fs layer [2023-05-09T23:45:19.556Z] 242c74f7c9fa: Waiting [2023-05-09T23:45:19.556Z] 3cdef696dda3: Waiting [2023-05-09T23:45:19.556Z] 2ced38df9373: Waiting [2023-05-09T23:45:19.556Z] 58f1dce35555: Waiting [2023-05-09T23:45:19.556Z] ed15518f5707: Verifying Checksum [2023-05-09T23:45:19.556Z] ed15518f5707: Download complete [2023-05-09T23:45:19.556Z] 242c74f7c9fa: Verifying Checksum [2023-05-09T23:45:19.556Z] 242c74f7c9fa: Download complete [2023-05-09T23:45:19.556Z] 3cdef696dda3: Verifying Checksum [2023-05-09T23:45:19.556Z] 3cdef696dda3: Download complete [2023-05-09T23:45:19.556Z] c41833b44d91: Verifying Checksum [2023-05-09T23:45:19.556Z] c41833b44d91: Download complete [2023-05-09T23:45:20.540Z] c41833b44d91: Pull complete [2023-05-09T23:45:21.155Z] 58f1dce35555: Verifying Checksum [2023-05-09T23:45:21.155Z] 58f1dce35555: Download complete [2023-05-09T23:45:21.155Z] ed15518f5707: Pull complete [2023-05-09T23:45:22.581Z] feae8fd75edb: Verifying Checksum [2023-05-09T23:45:22.581Z] feae8fd75edb: Download complete [2023-05-09T23:45:22.581Z] 2ced38df9373: Verifying Checksum [2023-05-09T23:45:22.581Z] 2ced38df9373: Download complete [2023-05-09T23:45:35.072Z] feae8fd75edb: Pull complete [2023-05-09T23:45:35.072Z] 242c74f7c9fa: Pull complete [2023-05-09T23:45:35.072Z] 3cdef696dda3: Pull complete [2023-05-09T23:45:40.469Z] 2ced38df9373: Pull complete [2023-05-09T23:45:42.436Z] 58f1dce35555: Pull complete [2023-05-09T23:45:42.436Z] Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e [2023-05-09T23:45:42.436Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-05-09T23:45:42.436Z] ---> fadd8f120f05 [2023-05-09T23:45:42.436Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2023-05-09T23:45:45.031Z] ---> Running in 240678ec9f8e [2023-05-09T23:45:45.031Z] Removing intermediate container 240678ec9f8e [2023-05-09T23:45:45.031Z] ---> 8f58e3080cfa [2023-05-09T23:45:45.031Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-09T23:45:45.031Z] ---> Running in 8bbad19a2e17 [2023-05-09T23:45:45.299Z] Removing intermediate container 8bbad19a2e17 [2023-05-09T23:45:45.300Z] ---> 82005929a27f [2023-05-09T23:45:45.300Z] Step 5/10 : RUN apk add --update --no-cache make git openssh [2023-05-09T23:45:45.571Z] ---> Running in 39bc9d372548 [2023-05-09T23:45:46.544Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-05-09T23:45:47.518Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-05-09T23:45:48.490Z] (1/8) Installing openssh-keygen (9.1_p1-r2) [2023-05-09T23:45:48.490Z] (2/8) Installing libedit (20221030.3.1-r0) [2023-05-09T23:45:48.490Z] (3/8) Installing openssh-client-common (9.1_p1-r2) [2023-05-09T23:45:48.765Z] (4/8) Installing openssh-client-default (9.1_p1-r2) [2023-05-09T23:45:48.765Z] (5/8) Installing openssh-sftp-server (9.1_p1-r2) [2023-05-09T23:45:48.765Z] (6/8) Installing openssh-server-common (9.1_p1-r2) [2023-05-09T23:45:48.765Z] (7/8) Installing openssh-server (9.1_p1-r2) [2023-05-09T23:45:48.765Z] (8/8) Installing openssh (9.1_p1-r2) [2023-05-09T23:45:48.765Z] Executing busybox-1.35.0-r29.trigger [2023-05-09T23:45:48.765Z] OK: 270 MiB in 61 packages [2023-05-09T23:45:50.183Z] Removing intermediate container 39bc9d372548 [2023-05-09T23:45:50.183Z] ---> 58fca08e9f0c [2023-05-09T23:45:50.183Z] Step 6/10 : WORKDIR /device-modbus-go [2023-05-09T23:45:50.183Z] ---> Running in cede2692b323 [2023-05-09T23:45:50.183Z] Removing intermediate container cede2692b323 [2023-05-09T23:45:50.183Z] ---> efc5b37fe270 [2023-05-09T23:45:50.183Z] Step 7/10 : COPY go.mod vendor* ./ [2023-05-09T23:45:50.784Z] ---> 4f6e4f63f301 [2023-05-09T23:45:50.784Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-09T23:45:50.784Z] ---> Running in d6982b25bc7d [2023-05-09T23:46:58.734Z] Removing intermediate container d6982b25bc7d [2023-05-09T23:46:58.734Z] ---> 24e1679a5dae [2023-05-09T23:46:58.734Z] Step 9/10 : COPY . . [2023-05-09T23:46:58.734Z] ---> eb7c6f86fa6e [2023-05-09T23:46:58.734Z] Step 10/10 : RUN ${MAKE} [2023-05-09T23:46:58.734Z] ---> Running in 4379dafe9355 [2023-05-09T23:46:58.734Z] noop [2023-05-09T23:46:58.734Z] Removing intermediate container 4379dafe9355 [2023-05-09T23:46:58.734Z] ---> dff3e87a4a14 [2023-05-09T23:46:58.734Z] Successfully built dff3e87a4a14 [2023-05-09T23:46:58.734Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-09T23:46:59.231Z] + docker inspect -f . ci-base-image-arm64 [2023-05-09T23:46:59.232Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-09T23:46:59.542Z] prd-ubuntu20.04-docker-arm64-4c-16g-14821 does not seem to be running inside a container [2023-05-09T23:46:59.609Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-05-09T23:47:03.727Z] $ docker top d63653b13117c5f22524a23b50d5ea8e988994e2556a7768e8d8522f1955ec87 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-09T23:47:04.664Z] + go version [2023-05-09T23:47:04.664Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-05-09T23:47:04.690Z] $ docker stop --time=1 d63653b13117c5f22524a23b50d5ea8e988994e2556a7768e8d8522f1955ec87 [2023-05-09T23:47:06.401Z] $ docker rm -f --volumes d63653b13117c5f22524a23b50d5ea8e988994e2556a7768e8d8522f1955ec87 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-09T23:47:07.320Z] + docker inspect -f . ci-base-image-arm64 [2023-05-09T23:47:07.320Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-09T23:47:07.609Z] prd-ubuntu20.04-docker-arm64-4c-16g-14821 does not seem to be running inside a container [2023-05-09T23:47:07.680Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-05-09T23:47:08.994Z] $ docker top a7582f36f9e09fc74dcc741531cb3dd1ad1389a133fe8f4db4ccfd30cedddaa8 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-09T23:47:09.922Z] + git config --global --add safe.directory /w/workspace/device-modbus-go/1 [Pipeline] fileExists [Pipeline] sh [2023-05-09T23:47:10.645Z] + make test [2023-05-09T23:47:10.645Z] go test ./... -coverprofile=coverage.out [2023-05-09T23:47:49.572Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2023-05-09T23:50:11.354Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2023-05-09T23:50:11.354Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.085s coverage: 47.4% of statements [2023-05-09T23:50:11.354Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-05-09T23:50:11.354Z] go vet ./... [2023-05-09T23:50:29.623Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-05-09T23:50:29.623Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-05-09T23:50:29.623Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-05-09T23:50:29.926Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-05-09T23:50:29.957Z] $ docker stop --time=1 a7582f36f9e09fc74dcc741531cb3dd1ad1389a133fe8f4db4ccfd30cedddaa8 [2023-05-09T23:50:31.979Z] $ docker rm -f --volumes a7582f36f9e09fc74dcc741531cb3dd1ad1389a133fe8f4db4ccfd30cedddaa8 [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-09T23:50:33.444Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-05-09T23:50:33.488Z] Warning: overwriting stash ‘coverage-report’ [2023-05-09T23:50:34.131Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-09T23:50:34.778Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-05-09T23:50:35.138Z] + ls -al . [2023-05-09T23:50:35.138Z] total 176 [2023-05-09T23:50:35.138Z] drwxrwxr-x 9 jenkins jenkins 4096 May 9 23:47 . [2023-05-09T23:50:35.138Z] drwxrwxr-x 4 jenkins jenkins 4096 May 9 23:44 .. [2023-05-09T23:50:35.138Z] -rw-rw-r-- 1 jenkins jenkins 140 May 9 23:44 .dockerignore [2023-05-09T23:50:35.138Z] drwxrwxr-x 8 jenkins jenkins 4096 May 9 23:44 .git [2023-05-09T23:50:35.138Z] drwxrwxr-x 3 jenkins jenkins 4096 May 9 23:44 .github [2023-05-09T23:50:35.138Z] -rw-rw-r-- 1 jenkins jenkins 331 May 9 23:44 .gitignore [2023-05-09T23:50:35.138Z] -rw-rw-r-- 1 jenkins jenkins 41 May 9 23:44 .golangci.yml [2023-05-09T23:50:35.138Z] -rw-rw-r-- 1 jenkins jenkins 10132 May 9 23:44 Attribution.txt [2023-05-09T23:50:35.138Z] -rw-rw-r-- 1 jenkins jenkins 11576 May 9 23:44 CHANGELOG.md [2023-05-09T23:50:35.138Z] -rw-rw-r-- 1 jenkins jenkins 1365 May 9 23:44 Dockerfile [2023-05-09T23:50:35.138Z] -rw-rw-r-- 1 jenkins jenkins 677 May 9 23:44 GOVERNANCE.md [2023-05-09T23:50:35.138Z] -rw-rw-r-- 1 jenkins jenkins 680 May 9 23:44 Jenkinsfile [2023-05-09T23:50:35.138Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 9 23:44 LICENSE [2023-05-09T23:50:35.138Z] -rw-rw-r-- 1 jenkins jenkins 1705 May 9 23:44 Makefile [2023-05-09T23:50:35.138Z] -rw-rw-r-- 1 jenkins jenkins 622 May 9 23:44 OWNERS.md [2023-05-09T23:50:35.138Z] -rw-rw-r-- 1 jenkins jenkins 4045 May 9 23:44 README.md [2023-05-09T23:50:35.138Z] -rw-rw-r-- 1 jenkins jenkins 5 May 9 23:41 VERSION [2023-05-09T23:50:35.138Z] drwxrwxr-x 2 jenkins jenkins 4096 May 9 23:44 bin [2023-05-09T23:50:35.138Z] drwxrwxr-x 3 jenkins jenkins 4096 May 9 23:44 cmd [2023-05-09T23:50:35.138Z] -rw-r--r-- 1 jenkins jenkins 24160 May 9 23:49 coverage.out [2023-05-09T23:50:35.138Z] -rw-rw-r-- 1 jenkins jenkins 3453 May 9 23:44 go.mod [2023-05-09T23:50:35.138Z] -rw-rw-r-- 1 jenkins jenkins 31670 May 9 23:44 go.sum [2023-05-09T23:50:35.138Z] drwxrwxr-x 3 jenkins jenkins 4096 May 9 23:44 internal [2023-05-09T23:50:35.138Z] drwxrwxr-x 2 jenkins jenkins 4096 May 9 23:44 simulator [2023-05-09T23:50:35.138Z] drwxrwxr-x 4 jenkins jenkins 4096 May 9 23:44 snap [2023-05-09T23:50:35.138Z] -rw-rw-r-- 1 jenkins jenkins 229 May 9 23:44 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-09T23:50:35.585Z] + 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=4faafaebf0b69f3d8ae8c7b75fa1bf49cc321e61 --label arch=arm64 --label version=0.0.0 . [2023-05-09T23:50:35.856Z] Sending build context to Docker daemon 3.426MB [2023-05-09T23:50:36.126Z] Step 1/22 : ARG BASE=golang:1.20-alpine3.17 [2023-05-09T23:50:36.126Z] Step 2/22 : FROM ${BASE} AS builder [2023-05-09T23:50:36.126Z] ---> dff3e87a4a14 [2023-05-09T23:50:36.126Z] Step 3/22 : ARG ADD_BUILD_TAGS="" [2023-05-09T23:50:36.126Z] ---> Running in bb2fc5ad63a9 [2023-05-09T23:50:36.394Z] Removing intermediate container bb2fc5ad63a9 [2023-05-09T23:50:36.394Z] ---> 18f269b73b93 [2023-05-09T23:50:36.394Z] Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-09T23:50:36.673Z] ---> Running in bc8744393b85 [2023-05-09T23:50:36.948Z] Removing intermediate container bc8744393b85 [2023-05-09T23:50:36.948Z] ---> edf841ebda05 [2023-05-09T23:50:36.948Z] Step 5/22 : RUN apk add --update --no-cache make git openssh [2023-05-09T23:50:36.948Z] ---> Running in 012a04b77df2 [2023-05-09T23:50:38.388Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-05-09T23:50:38.979Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-05-09T23:50:40.401Z] OK: 270 MiB in 61 packages [2023-05-09T23:50:41.010Z] Removing intermediate container 012a04b77df2 [2023-05-09T23:50:41.010Z] ---> 110dda2e2798 [2023-05-09T23:50:41.010Z] Step 6/22 : WORKDIR /device-modbus-go [2023-05-09T23:50:41.284Z] ---> Running in 204b2636274a [2023-05-09T23:50:41.554Z] Removing intermediate container 204b2636274a [2023-05-09T23:50:41.554Z] ---> e2ff176bf3ed [2023-05-09T23:50:41.554Z] Step 7/22 : COPY go.mod vendor* ./ [2023-05-09T23:50:42.139Z] ---> a40695b5345c [2023-05-09T23:50:42.139Z] Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-09T23:50:42.139Z] ---> Running in dcb8691d0946 [2023-05-09T23:50:44.762Z] Removing intermediate container dcb8691d0946 [2023-05-09T23:50:44.762Z] ---> a04f881bd39d [2023-05-09T23:50:44.762Z] Step 9/22 : COPY . . [2023-05-09T23:50:46.202Z] ---> 5b3940ce30ac [2023-05-09T23:50:46.202Z] Step 10/22 : RUN ${MAKE} [2023-05-09T23:50:46.202Z] ---> Running in 82d1caffb1ea [2023-05-09T23:50:47.184Z] 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-05-09T23:53:24.083Z] Removing intermediate container 82d1caffb1ea [2023-05-09T23:53:24.083Z] ---> e430c8a3386b [2023-05-09T23:53:24.083Z] Step 11/22 : FROM alpine:3.17 [2023-05-09T23:53:24.083Z] 3.17: Pulling from library/alpine [2023-05-09T23:53:24.083Z] c41833b44d91: Already exists [2023-05-09T23:53:24.083Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-05-09T23:53:24.083Z] Status: Downloaded newer image for alpine:3.17 [2023-05-09T23:53:24.083Z] ---> 51e60588ff2c [2023-05-09T23:53:24.083Z] Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2023-05-09T23:53:24.083Z] ---> Running in e9ce4fe8f327 [2023-05-09T23:53:24.083Z] Removing intermediate container e9ce4fe8f327 [2023-05-09T23:53:24.083Z] ---> 162db95bc4a2 [2023-05-09T23:53:24.083Z] Step 13/22 : RUN apk add --update --no-cache dumb-init [2023-05-09T23:53:24.083Z] ---> Running in 1883d8c9508f [2023-05-09T23:53:24.083Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-05-09T23:53:24.083Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-05-09T23:53:24.083Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-05-09T23:53:24.083Z] Executing busybox-1.35.0-r29.trigger [2023-05-09T23:53:24.083Z] OK: 8 MiB in 16 packages [2023-05-09T23:53:24.083Z] Removing intermediate container 1883d8c9508f [2023-05-09T23:53:24.083Z] ---> dc0fa0adfda8 [2023-05-09T23:53:24.083Z] Step 14/22 : COPY --from=builder /device-modbus-go/cmd / [2023-05-09T23:53:25.502Z] ---> 8dc29cf26959 [2023-05-09T23:53:25.502Z] Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / [2023-05-09T23:53:25.774Z] ---> 00b9f6750a8b [2023-05-09T23:53:25.774Z] Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / [2023-05-09T23:53:26.377Z] ---> eb6cf3167863 [2023-05-09T23:53:26.377Z] Step 17/22 : EXPOSE 59901 [2023-05-09T23:53:26.377Z] ---> Running in 16bdaaa64dd0 [2023-05-09T23:53:26.970Z] Removing intermediate container 16bdaaa64dd0 [2023-05-09T23:53:26.970Z] ---> d6d88873461d [2023-05-09T23:53:26.970Z] Step 18/22 : ENTRYPOINT ["/device-modbus"] [2023-05-09T23:53:26.970Z] ---> Running in 3bc992011cd0 [2023-05-09T23:53:27.239Z] Removing intermediate container 3bc992011cd0 [2023-05-09T23:53:27.239Z] ---> 62351e53de4c [2023-05-09T23:53:27.239Z] Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-05-09T23:53:27.239Z] ---> Running in aaee7cfbea98 [2023-05-09T23:53:27.832Z] Removing intermediate container aaee7cfbea98 [2023-05-09T23:53:27.832Z] ---> 5e8edd1c2d4e [2023-05-09T23:53:27.832Z] Step 20/22 : LABEL arch=arm64 [2023-05-09T23:53:27.832Z] ---> Running in 30c9f3a81606 [2023-05-09T23:53:28.117Z] Removing intermediate container 30c9f3a81606 [2023-05-09T23:53:28.117Z] ---> 862aa51e8e4a [2023-05-09T23:53:28.117Z] Step 21/22 : LABEL git_sha=4faafaebf0b69f3d8ae8c7b75fa1bf49cc321e61 [2023-05-09T23:53:28.117Z] ---> Running in d8188f76f653 [2023-05-09T23:53:28.713Z] Removing intermediate container d8188f76f653 [2023-05-09T23:53:28.713Z] ---> 1829a5283696 [2023-05-09T23:53:28.713Z] Step 22/22 : LABEL version=0.0.0 [2023-05-09T23:53:28.713Z] ---> Running in cdcd9e086536 [2023-05-09T23:53:28.979Z] Removing intermediate container cdcd9e086536 [2023-05-09T23:53:28.979Z] ---> 7a661c047e89 [2023-05-09T23:53:28.979Z] [Warning] One or more build-args [ARCH] were not consumed [2023-05-09T23:53:28.979Z] Successfully built 7a661c047e89 [2023-05-09T23:53:28.979Z] 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-05-09T23:53:29.877Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-09T23:53:29.878Z] [2023-05-09T23:53:29.878Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-09T23:53:30.302Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-09T23:53:30.573Z] arm64: Pulling from edgex-lftools-log-publisher [2023-05-09T23:53:30.573Z] 8998bd30e6a1: Pulling fs layer [2023-05-09T23:53:30.573Z] 04944245beec: Pulling fs layer [2023-05-09T23:53:30.573Z] 699f458cf7ca: Pulling fs layer [2023-05-09T23:53:30.573Z] 765212b225bb: Pulling fs layer [2023-05-09T23:53:30.573Z] f23df028b6ca: Pulling fs layer [2023-05-09T23:53:30.573Z] d65c8cfc05b1: Pulling fs layer [2023-05-09T23:53:30.573Z] 2437ff75d9bd: Pulling fs layer [2023-05-09T23:53:30.573Z] 765212b225bb: Waiting [2023-05-09T23:53:30.573Z] f23df028b6ca: Waiting [2023-05-09T23:53:30.573Z] d65c8cfc05b1: Waiting [2023-05-09T23:53:30.573Z] 2437ff75d9bd: Waiting [2023-05-09T23:53:30.573Z] 04944245beec: Verifying Checksum [2023-05-09T23:53:30.573Z] 04944245beec: Download complete [2023-05-09T23:53:30.573Z] 765212b225bb: Verifying Checksum [2023-05-09T23:53:30.573Z] 765212b225bb: Download complete [2023-05-09T23:53:30.573Z] f23df028b6ca: Verifying Checksum [2023-05-09T23:53:30.573Z] f23df028b6ca: Download complete [2023-05-09T23:53:30.573Z] d65c8cfc05b1: Download complete [2023-05-09T23:53:30.845Z] 699f458cf7ca: Verifying Checksum [2023-05-09T23:53:30.845Z] 699f458cf7ca: Download complete [2023-05-09T23:53:31.117Z] 8998bd30e6a1: Verifying Checksum [2023-05-09T23:53:31.117Z] 8998bd30e6a1: Download complete [2023-05-09T23:53:33.884Z] 2437ff75d9bd: Verifying Checksum [2023-05-09T23:53:33.884Z] 2437ff75d9bd: Download complete [2023-05-09T23:53:35.883Z] 8998bd30e6a1: Pull complete [2023-05-09T23:53:36.154Z] 04944245beec: Pull complete [2023-05-09T23:53:37.571Z] 699f458cf7ca: Pull complete [2023-05-09T23:53:37.571Z] 765212b225bb: Pull complete [2023-05-09T23:53:38.534Z] f23df028b6ca: Pull complete [2023-05-09T23:53:38.801Z] d65c8cfc05b1: Pull complete [2023-05-09T23:53:53.824Z] 2437ff75d9bd: Pull complete [2023-05-09T23:53:53.824Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-05-09T23:53:53.824Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-09T23:53:53.824Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-09T23:53:54.170Z] prd-ubuntu20.04-docker-arm64-4c-16g-14821 does not seem to be running inside a container [2023-05-09T23:53:54.240Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-05-09T23:53:57.059Z] $ docker top 67f79c58d1b8711a19692c37aae6d7e8b58b1754c96aa571376a097b14a286bd -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-09T23:53:58.005Z] ---> job-cost.sh [2023-05-09T23:53:58.005Z] lf-activate-venv: SKIPPING [2023-05-09T23:53:58.005Z] INFO: No Stack... [2023-05-09T23:53:58.280Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-05-09T23:53:59.245Z] INFO: Archiving Costs [Pipeline] sh [2023-05-09T23:53:59.912Z] + cat /w/workspace/device-modbus-go/1/archives/cost.csv [2023-05-09T23:53:59.912Z] + cut -d, -f6 [Pipeline] lock [2023-05-09T23:54:00.018Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-476-1-stack-cost] [2023-05-09T23:54:00.022Z] Resource [jenkins-edgexfoundry-device-modbus-go-PR-476-1-stack-cost] did not exist. Created. [2023-05-09T23:54:00.023Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-476-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-05-09T23:54:00.764Z] /w/workspace/device-modbus-go/1@tmp/durable-904ce8d9/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-05-09T23:54:01.458Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-05-09T23:54:01.501Z] Warning: overwriting stash ‘stack-cost’ [2023-05-09T23:54:01.559Z] Stashed 1 file(s) [Pipeline] } [2023-05-09T23:54:01.574Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-476-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-05-09T23:54:01.651Z] $ docker stop --time=1 67f79c58d1b8711a19692c37aae6d7e8b58b1754c96aa571376a097b14a286bd [2023-05-09T23:54:03.182Z] $ docker rm -f --volumes 67f79c58d1b8711a19692c37aae6d7e8b58b1754c96aa571376a097b14a286bd [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-05-09T23:54:04.161Z] provisioning config files... [2023-05-09T23:54:04.168Z] copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-476@tmp/config14334807009976690128tmp [Pipeline] { [Pipeline] sh [2023-05-09T23:54:04.510Z] + set +x [2023-05-09T23:54:04.511Z] + curl -s https://codecov.io/bash [2023-05-09T23:54:04.511Z] + bash -s -- [2023-05-09T23:54:04.511Z] [2023-05-09T23:54:04.511Z] _____ _ [2023-05-09T23:54:04.511Z] / ____| | | [2023-05-09T23:54:04.511Z] | | ___ __| | ___ ___ _____ __ [2023-05-09T23:54:04.511Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-05-09T23:54:04.511Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-05-09T23:54:04.511Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-05-09T23:54:04.511Z] Bash-1.0.6 [2023-05-09T23:54:04.511Z] [2023-05-09T23:54:04.511Z] [2023-05-09T23:54:04.511Z] ==> git version 2.25.1 found [2023-05-09T23:54:04.511Z] ==> 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-05-09T23:54:04.511Z] Release-Date: 2020-01-08 [2023-05-09T23:54:04.511Z] 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-05-09T23:54:04.511Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-05-09T23:54:04.511Z] ==> Jenkins CI detected. [2023-05-09T23:54:04.511Z] current dir:  /w/workspace/xfoundry_device-modbus-go_PR-476 [2023-05-09T23:54:04.511Z] project root: . [2023-05-09T23:54:04.511Z] --> token set from env [2023-05-09T23:54:04.511Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-05-09T23:54:04.511Z] ==> Running gcov in . (disable via -X gcov) [2023-05-09T23:54:04.511Z] ==> Python coveragepy not found [2023-05-09T23:54:04.511Z] ==> Searching for coverage reports in: [2023-05-09T23:54:04.511Z] + . [2023-05-09T23:54:04.511Z] -> Found 1 reports [2023-05-09T23:54:04.511Z] ==> Detecting git/mercurial file structure [2023-05-09T23:54:04.511Z] ==> Reading reports [2023-05-09T23:54:04.511Z] + ./coverage.out bytes=24160 [2023-05-09T23:54:04.511Z] ==> Appending adjustments [2023-05-09T23:54:04.511Z] https://docs.codecov.io/docs/fixing-reports [2023-05-09T23:54:04.770Z] + Found adjustments [2023-05-09T23:54:04.770Z] ==> Gzipping contents [2023-05-09T23:54:04.770Z] 4.0K /tmp/codecov.cdY5IO.gz [2023-05-09T23:54:04.770Z] ==> Uploading reports [2023-05-09T23:54:04.770Z] url: https://codecov.io [2023-05-09T23:54:04.770Z] query: branch=PR-476&commit=4faafaebf0b69f3d8ae8c7b75fa1bf49cc321e61&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-476%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=476&job=&cmd_args= [2023-05-09T23:54:04.770Z] -> Pinging Codecov [2023-05-09T23:54:04.770Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3a8d40b1-de00-4649-bfd4-bdc8ed99ae89&branch=PR-476&commit=4faafaebf0b69f3d8ae8c7b75fa1bf49cc321e61&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-476%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=476&job=&cmd_args= [2023-05-09T23:54:04.770Z] -> Uploading to [2023-05-09T23:54:04.770Z] https://storage.googleapis.com/codecov/v4/raw/2023-05-09/55DBCA73C666E3227836607328DD7E49/4faafaebf0b69f3d8ae8c7b75fa1bf49cc321e61/eb9ccbe9-3a11-481c-9ed7-bd4453dbf3bd.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230509%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230509T235404Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=561ab38cdf0426071fcda55da00fdef5a5f9616ee9151be9c2196c7531ec70cd [2023-05-09T23:54:05.031Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-05-09T23:54:05.031Z] Dload Upload Total Spent Left Speed [2023-05-09T23:54:05.031Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3924 0 0 100 3924 0 17755 --:--:-- --:--:-- --:--:-- 17755 [2023-05-09T23:54:05.031Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/4faafaebf0b69f3d8ae8c7b75fa1bf49cc321e61 [Pipeline] } [2023-05-09T23:54:05.063Z] 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-05-09T23:54:06.858Z] + [ -d /w/workspace/xfoundry_device-modbus-go_PR-476/archives ] [2023-05-09T23:54:06.858Z] + ls -al /w/workspace/xfoundry_device-modbus-go_PR-476/archives [2023-05-09T23:54:06.858Z] total 16 [2023-05-09T23:54:06.858Z] drwxr-xr-x 3 root root 4096 May 9 23:43 . [2023-05-09T23:54:06.858Z] drwxrwxr-x 11 jenkins jenkins 4096 May 9 23:43 .. [2023-05-09T23:54:06.858Z] drwxr-xr-x 2 root root 4096 May 9 23:43 cost [2023-05-09T23:54:06.858Z] -rw-r--r-- 1 root root 88 May 9 23:43 cost.csv [2023-05-09T23:54:06.858Z] + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-476/archives [2023-05-09T23:54:06.858Z] + ls -al /w/workspace/xfoundry_device-modbus-go_PR-476/archives [2023-05-09T23:54:06.858Z] total 16 [2023-05-09T23:54:06.858Z] drwxr-xr-x 3 jenkins jenkins 4096 May 9 23:43 . [2023-05-09T23:54:06.858Z] drwxrwxr-x 11 jenkins jenkins 4096 May 9 23:43 .. [2023-05-09T23:54:06.858Z] drwxr-xr-x 2 jenkins jenkins 4096 May 9 23:43 cost [2023-05-09T23:54:06.858Z] -rw-r--r-- 1 jenkins jenkins 88 May 9 23:43 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-05-09T23:54:07.191Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-09T23:54:08.086Z] ---> package-listing.sh [2023-05-09T23:54:08.086Z] ++ facter osfamily [2023-05-09T23:54:08.086Z] ++ tr '[:upper:]' '[:lower:]' [2023-05-09T23:54:08.345Z] + OS_FAMILY=debian [2023-05-09T23:54:08.345Z] + workspace=/w/workspace/xfoundry_device-modbus-go_PR-476 [2023-05-09T23:54:08.345Z] + START_PACKAGES=/tmp/packages_start.txt [2023-05-09T23:54:08.345Z] + END_PACKAGES=/tmp/packages_end.txt [2023-05-09T23:54:08.345Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-05-09T23:54:08.345Z] + PACKAGES=/tmp/packages_start.txt [2023-05-09T23:54:08.345Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-476 ']' [2023-05-09T23:54:08.345Z] + PACKAGES=/tmp/packages_end.txt [2023-05-09T23:54:08.345Z] + case "${OS_FAMILY}" in [2023-05-09T23:54:08.345Z] + dpkg -l [2023-05-09T23:54:08.345Z] + grep '^ii' [2023-05-09T23:54:08.345Z] + '[' -f /tmp/packages_start.txt ']' [2023-05-09T23:54:08.345Z] + '[' -f /tmp/packages_end.txt ']' [2023-05-09T23:54:08.345Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-05-09T23:54:08.345Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-476 ']' [2023-05-09T23:54:08.345Z] + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-476/archives/ [2023-05-09T23:54:08.345Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-476/archives/ [Pipeline] echo [2023-05-09T23:54:08.382Z] 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-476/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-05-09T23:54:08.677Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-09T23:54:09.321Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-09T23:54:09.321Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-09T23:54:09.474Z] prd-ubuntu20.04-docker-8c-8g-14817 does not seem to be running inside a container [2023-05-09T23:54:09.508Z] $ 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-476/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-476 -v /w/workspace/xfoundry_device-modbus-go_PR-476:/w/workspace/xfoundry_device-modbus-go_PR-476:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-476@tmp:/w/workspace/xfoundry_device-modbus-go_PR-476@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-05-09T23:54:09.683Z] $ docker top b919b97a960a780e9c606109c544a8c4b738a7368e38b13e68ba62914574f742 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-09T23:54:10.066Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-05-09T23:54:10.445Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-05-09T23:54:10.758Z] + ls /var/log/sa-host [2023-05-09T23:54:10.758Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-09T23:54:10.907Z] provisioning config files... [2023-05-09T23:54:10.916Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-476@tmp/config7178621075904597655tmp [Pipeline] { [Pipeline] echo [2023-05-09T23:54:10.978Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-09T23:54:11.293Z] ---> create-netrc.sh [Pipeline] } [2023-05-09T23:54:11.323Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-05-09T23:54:11.720Z] ---> python-tools-install.sh [Pipeline] echo [2023-05-09T23:54:11.756Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-09T23:54:12.071Z] ---> sudo-logs.sh [2023-05-09T23:54:12.071Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-05-09T23:54:12.168Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-09T23:54:12.478Z] ---> job-cost.sh [2023-05-09T23:54:12.478Z] lf-activate-venv: SKIPPING [2023-05-09T23:54:12.478Z] DEBUG: total: 0.2199999988079071 [2023-05-09T23:54:12.478Z] INFO: Retrieving Stack Cost... [2023-05-09T23:54:12.737Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-05-09T23:54:13.307Z] INFO: Archiving Costs [Pipeline] echo [2023-05-09T23:54:13.342Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-09T23:54:13.653Z] ---> logs-deploy.sh [2023-05-09T23:54:13.653Z] lf-activate-venv: SKIPPING [2023-05-09T23:54:13.653Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-476/1 [2023-05-09T23:54:13.653Z] INFO: archiving workspace using pattern(s): [2023-05-09T23:54:14.591Z] Archives upload complete. [2023-05-09T23:54:14.591Z] INFO: archiving logs to Nexus