Pull request #563 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 3250edf9d943bf9ba44667de315b11b782178186+b6c4b0dee6461bdbd7ff5442e9e8ba8b047e9f9c (60806d21723294fd4d492d0a54ddf7910ec95396) 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-ssh16635373063983812015.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 590556114a56c6d90cc8043840e039c2f74196dc 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-ssh5113869709348577679.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 590556114a56c6d90cc8043840e039c2f74196dc 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-563/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-563/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh9333470957200498367.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-563/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh16255297669471080469.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 590556114a56c6d90cc8043840e039c2f74196dc (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 590556114a56c6d90cc8043840e039c2f74196dc # timeout=10 Commit message: "Merge pull request #451 from jinlinGuan/fix-snyk" > 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-ssh11400622168870543151.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-563/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-563/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh16739653470104796398.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 590556114a56c6d90cc8043840e039c2f74196dc 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] ========================================================= [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.21 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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-6726 in /w/workspace/xfoundry_device-modbus-go_PR-563 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git 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-563 # 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/563/head:refs/remotes/origin/PR-563 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit b6c4b0dee6461bdbd7ff5442e9e8ba8b047e9f9c into PR head commit 3250edf9d943bf9ba44667de315b11b782178186 Merge succeeded, producing 3250edf9d943bf9ba44667de315b11b782178186 Checking out Revision 3250edf9d943bf9ba44667de315b11b782178186 (PR-563) 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 590556114a56c6d90cc8043840e039c2f74196dc > git config core.sparsecheckout # timeout=10 > git checkout -f 3250edf9d943bf9ba44667de315b11b782178186 # 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 b6c4b0dee6461bdbd7ff5442e9e8ba8b047e9f9c # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 3250edf9d943bf9ba44667de315b11b782178186 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-07-30T06:01:28.515Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-07-30T06:01:28.726Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-07-30T06:01:28.859Z] ========================================================= [2024-07-30T06:01:28.859Z] EdgeX Global Pipelines Version Info [2024-07-30T06:01:28.859Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-07-30T06:01:29.620Z] ------------------- [2024-07-30T06:01:29.621Z] stable info: [2024-07-30T06:01:29.621Z] ------------------- [2024-07-30T06:01:29.621Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-07-30T06:01:29.621Z] Commit SHA: 590556114a56c6d90cc8043840e039c2f74196dc [2024-07-30T06:01:29.621Z] Message: update stable to v1.0.260 [2024-07-30T06:01:30.190Z] ------------------- [2024-07-30T06:01:30.190Z] experimental info: [2024-07-30T06:01:30.190Z] ------------------- [2024-07-30T06:01:30.190Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-07-30T06:01:30.190Z] Commit SHA: f5e0e1f8358a839901f1a476b3a28a62f8570917 [2024-07-30T06:01:30.190Z] Message: update experimental to v1.0.259 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-07-30T06:01:30.435Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo [2024-07-30T06:01:30.500Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo [2024-07-30T06:01:30.567Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-07-30T06:01:30.629Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-07-30T06:01:30.691Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-07-30T06:01:30.754Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2024-07-30T06:01:30.817Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-07-30T06:01:30.879Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2024-07-30T06:01:30.948Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-07-30T06:01:31.016Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-07-30T06:01:31.084Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-07-30T06:01:31.146Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo [2024-07-30T06:01:31.218Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-07-30T06:01:31.288Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-07-30T06:01:31.348Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-07-30T06:01:31.406Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2024-07-30T06:01:31.460Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-07-30T06:01:31.519Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-07-30T06:01:31.583Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-07-30T06:01:31.645Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-07-30T06:01:31.703Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2024-07-30T06:01:31.765Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2024-07-30T06:01:31.827Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-07-30T06:01:31.902Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-07-30T06:01:31.963Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-07-30T06:01:32.026Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-07-30T06:01:32.092Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-07-30T06:01:32.150Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-563 [Pipeline] echo [2024-07-30T06:01:32.210Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-563 [Pipeline] echo [2024-07-30T06:01:32.271Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-563 [Pipeline] echo [2024-07-30T06:01:32.439Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 3250edf9d943bf9ba44667de315b11b782178186 [Pipeline] echo [2024-07-30T06:01:32.500Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 3250edf [Pipeline] echo [2024-07-30T06:01:32.561Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-07-30T06:01:32.725Z] provisioning config files... [2024-07-30T06:01:32.740Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-563@tmp/config4268474042276997434tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-07-30T06:01:33.134Z] ---> ****-login.sh [2024-07-30T06:01:33.134Z] nexus3.edgexfoundry.org:10001 [2024-07-30T06:01:33.393Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-30T06:01:33.652Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-30T06:01:33.652Z] Configure a credential helper to remove this warning. See [2024-07-30T06:01:33.652Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-30T06:01:33.652Z] [2024-07-30T06:01:33.652Z] Login Succeeded [2024-07-30T06:01:33.652Z] nexus3.edgexfoundry.org:10002 [2024-07-30T06:01:33.653Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-30T06:01:33.653Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-30T06:01:33.653Z] Configure a credential helper to remove this warning. See [2024-07-30T06:01:33.653Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-30T06:01:33.653Z] [2024-07-30T06:01:33.653Z] Login Succeeded [2024-07-30T06:01:33.653Z] nexus3.edgexfoundry.org:10003 [2024-07-30T06:01:33.653Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-30T06:01:33.913Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-30T06:01:33.913Z] Configure a credential helper to remove this warning. See [2024-07-30T06:01:33.913Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-30T06:01:33.913Z] [2024-07-30T06:01:33.913Z] Login Succeeded [2024-07-30T06:01:33.913Z] nexus3.edgexfoundry.org:10004 [2024-07-30T06:01:33.913Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-30T06:01:33.913Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-30T06:01:33.913Z] Configure a credential helper to remove this warning. See [2024-07-30T06:01:33.913Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-30T06:01:33.913Z] [2024-07-30T06:01:33.913Z] Login Succeeded [2024-07-30T06:01:33.913Z] ****.io [2024-07-30T06:01:33.913Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-30T06:01:34.172Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-30T06:01:34.172Z] Configure a credential helper to remove this warning. See [2024-07-30T06:01:34.172Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-30T06:01:34.172Z] [2024-07-30T06:01:34.172Z] Login Succeeded [2024-07-30T06:01:34.172Z] ---> ****-login.sh ends [Pipeline] } [2024-07-30T06:01:34.204Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-07-30T06:01:34.945Z] + git rev-list -1 --merges 3250edf9d943bf9ba44667de315b11b782178186~1..3250edf9d943bf9ba44667de315b11b782178186 [Pipeline] echo [2024-07-30T06:01:34.996Z] -----------> git rev-list -1 --merges 3250edf9d943bf9ba44667de315b11b782178186~1..3250edf9d943bf9ba44667de315b11b782178186 3250edf9d943bf9ba44667de315b11b782178186 [false] [Pipeline] sh [2024-07-30T06:01:35.351Z] + git log --format=format:%s -1 3250edf9d943bf9ba44667de315b11b782178186 [Pipeline] echo [2024-07-30T06:01:35.397Z] ========================================================= [2024-07-30T06:01:35.397Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-07-30T06:01:35.397Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-07-30T06:01:35.876Z] + git log --format=format:%s -1 3250edf9d943bf9ba44667de315b11b782178186 [Pipeline] echo [2024-07-30T06:01:35.916Z] [semverPrep] GIT_COMMIT: 3250edf9d943bf9ba44667de315b11b782178186, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo [2024-07-30T06:01:35.959Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-07-30T06:01:36.385Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-07-30T06:01:36.385Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-07-30T06:01:36.385Z] + [ -e /tmp/ssh_known_hosts ] [2024-07-30T06:01:36.385Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-07-30T06:01:36.385Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-07-30T06:01:36.385Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2024-07-30T06:01:36.386Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-30T06:01:36.938Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-07-30T06:01:36.939Z] [2024-07-30T06:01:36.939Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-30T06:01:37.408Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-07-30T06:01:37.408Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-07-30T06:01:37.408Z] b85a868b505f: Pulling fs layer [2024-07-30T06:01:37.408Z] e2be974225ed: Pulling fs layer [2024-07-30T06:01:37.408Z] 339a4e72a1f5: Pulling fs layer [2024-07-30T06:01:37.408Z] 988bab9f4d93: Pulling fs layer [2024-07-30T06:01:37.408Z] 1469e6f7b9e6: Pulling fs layer [2024-07-30T06:01:37.408Z] eaf3925da568: Pulling fs layer [2024-07-30T06:01:37.408Z] bab4dde63d76: Pulling fs layer [2024-07-30T06:01:37.408Z] bde34c3a00c8: Pulling fs layer [2024-07-30T06:01:37.408Z] b352a97aabf1: Pulling fs layer [2024-07-30T06:01:37.408Z] 4872d77fe225: Pulling fs layer [2024-07-30T06:01:37.408Z] 5851b861e8e6: Pulling fs layer [2024-07-30T06:01:37.408Z] eaf3925da568: Waiting [2024-07-30T06:01:37.408Z] bab4dde63d76: Waiting [2024-07-30T06:01:37.408Z] 1469e6f7b9e6: Waiting [2024-07-30T06:01:37.408Z] 988bab9f4d93: Waiting [2024-07-30T06:01:37.408Z] 5851b861e8e6: Waiting [2024-07-30T06:01:37.408Z] 4872d77fe225: Waiting [2024-07-30T06:01:37.408Z] bde34c3a00c8: Waiting [2024-07-30T06:01:37.408Z] b352a97aabf1: Waiting [2024-07-30T06:01:37.408Z] e2be974225ed: Download complete [2024-07-30T06:01:37.408Z] 988bab9f4d93: Verifying Checksum [2024-07-30T06:01:37.408Z] 988bab9f4d93: Download complete [2024-07-30T06:01:37.408Z] 1469e6f7b9e6: Verifying Checksum [2024-07-30T06:01:37.408Z] 1469e6f7b9e6: Download complete [2024-07-30T06:01:37.408Z] 339a4e72a1f5: Verifying Checksum [2024-07-30T06:01:37.408Z] 339a4e72a1f5: Download complete [2024-07-30T06:01:37.408Z] eaf3925da568: Verifying Checksum [2024-07-30T06:01:37.408Z] eaf3925da568: Download complete [2024-07-30T06:01:37.667Z] bde34c3a00c8: Verifying Checksum [2024-07-30T06:01:37.667Z] bde34c3a00c8: Download complete [2024-07-30T06:01:37.667Z] b352a97aabf1: Verifying Checksum [2024-07-30T06:01:37.667Z] b352a97aabf1: Download complete [2024-07-30T06:01:37.667Z] 4872d77fe225: Verifying Checksum [2024-07-30T06:01:37.667Z] 4872d77fe225: Download complete [2024-07-30T06:01:37.667Z] 5851b861e8e6: Download complete [2024-07-30T06:01:37.667Z] b85a868b505f: Verifying Checksum [2024-07-30T06:01:37.667Z] b85a868b505f: Download complete [2024-07-30T06:01:37.924Z] bab4dde63d76: Verifying Checksum [2024-07-30T06:01:37.924Z] bab4dde63d76: Download complete [2024-07-30T06:01:38.860Z] b85a868b505f: Pull complete [2024-07-30T06:01:38.860Z] e2be974225ed: Pull complete [2024-07-30T06:01:39.429Z] 339a4e72a1f5: Pull complete [2024-07-30T06:01:39.429Z] 988bab9f4d93: Pull complete [2024-07-30T06:01:39.688Z] 1469e6f7b9e6: Pull complete [2024-07-30T06:01:39.688Z] eaf3925da568: Pull complete [2024-07-30T06:01:41.589Z] bab4dde63d76: Pull complete [2024-07-30T06:01:41.590Z] bde34c3a00c8: Pull complete [2024-07-30T06:01:41.590Z] b352a97aabf1: Pull complete [2024-07-30T06:01:41.590Z] 4872d77fe225: Pull complete [2024-07-30T06:01:41.590Z] 5851b861e8e6: Pull complete [2024-07-30T06:01:41.590Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-07-30T06:01:41.590Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-07-30T06:01:41.590Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-30T06:01:41.878Z] prd-ubuntu20.04-docker-8c-8g-6726 does not seem to be running inside a container [2024-07-30T06:01:41.901Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-563 -v /w/workspace/xfoundry_device-modbus-go_PR-563:/w/workspace/xfoundry_device-modbus-go_PR-563:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-563@tmp:/w/workspace/xfoundry_device-modbus-go_PR-563@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 [2024-07-30T06:01:44.613Z] $ docker top 4ec8504bbf1f1b962737c1d70ee25cc0cb61ce73bb9e822c4168fbf69fd21903 -eo pid,comm [2024-07-30T06:01:44.669Z] 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). [2024-07-30T06:01:44.669Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-07-30T06:01:44.847Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-07-30T06:01:44.847Z] [ssh-agent] Looking for ssh-agent implementation... [2024-07-30T06:01:44.961Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-07-30T06:01:44.957Z] $ docker exec 4ec8504bbf1f1b962737c1d70ee25cc0cb61ce73bb9e822c4168fbf69fd21903 ssh-agent [2024-07-30T06:01:45.064Z] SSH_AUTH_SOCK=/tmp/ssh-nt5ncoJoZGMK/agent.32 [2024-07-30T06:01:45.064Z] SSH_AGENT_PID=38 [2024-07-30T06:01:45.070Z] Running ssh-add (command line suppressed) [2024-07-30T06:01:45.157Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-563@tmp/private_key_7878276983838117680.key (/w/workspace/xfoundry_device-modbus-go_PR-563@tmp/private_key_7878276983838117680.key) [2024-07-30T06:01:45.177Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-07-30T06:01:45.529Z] + git tag --points-at HEAD [Pipeline] } [2024-07-30T06:01:45.549Z] $ docker exec --env ******** --env ******** 4ec8504bbf1f1b962737c1d70ee25cc0cb61ce73bb9e822c4168fbf69fd21903 ssh-agent -k [2024-07-30T06:01:45.654Z] unset SSH_AUTH_SOCK; [2024-07-30T06:01:45.655Z] unset SSH_AGENT_PID; [2024-07-30T06:01:45.655Z] echo Agent pid 38 killed; [2024-07-30T06:01:45.670Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-07-30T06:01:45.787Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-07-30T06:01:45.787Z] [ssh-agent] Looking for ssh-agent implementation... [2024-07-30T06:01:45.890Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-07-30T06:01:45.886Z] $ docker exec 4ec8504bbf1f1b962737c1d70ee25cc0cb61ce73bb9e822c4168fbf69fd21903 ssh-agent [2024-07-30T06:01:45.994Z] SSH_AUTH_SOCK=/tmp/ssh-aScDnnRLwRmn/agent.72 [2024-07-30T06:01:45.994Z] SSH_AGENT_PID=78 [2024-07-30T06:01:45.998Z] Running ssh-add (command line suppressed) [2024-07-30T06:01:46.087Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-563@tmp/private_key_12383587312281240587.key (/w/workspace/xfoundry_device-modbus-go_PR-563@tmp/private_key_12383587312281240587.key) [2024-07-30T06:01:46.106Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-07-30T06:01:46.463Z] + git semver init [2024-07-30T06:01:46.724Z] 2024-07-30 06:01:46,603 [run_init] DEBUG init version:0.0.0 force:False [2024-07-30T06:01:46.724Z] 2024-07-30 06:01:46,604 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-modbus-go_PR-563/.semver [2024-07-30T06:01:46.724Z] 2024-07-30 06:01:46,605 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/xfoundry_device-modbus-go_PR-563/.semver [2024-07-30T06:01:46.724Z] 2024-07-30 06:01:46,605 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/xfoundry_device-modbus-go_PR-563/.semver'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-563, universal_newlines=False, shell=None, istream=None) [2024-07-30T06:01:47.665Z] 2024-07-30 06:01:47,594 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-modbus-go_PR-563/.git/info/exclude [2024-07-30T06:01:47.665Z] 2024-07-30 06:01:47,595 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-modbus-go_PR-563/.semver/PR-563 with force:False [2024-07-30T06:01:47.665Z] 2024-07-30 06:01:47,595 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-modbus-go_PR-563/.semver/PR-563 [2024-07-30T06:01:47.665Z] 2024-07-30 06:01:47,597 [execute] INFO git cat-file --batch-check [2024-07-30T06:01:47.665Z] 2024-07-30 06:01:47,597 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-563/.semver, universal_newlines=False, shell=None, istream=) [2024-07-30T06:01:47.665Z] 2024-07-30 06:01:47,604 [execute] INFO git cat-file --batch [2024-07-30T06:01:47.665Z] 2024-07-30 06:01:47,604 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-563/.semver, universal_newlines=False, shell=None, istream=) [2024-07-30T06:01:47.665Z] 2024-07-30 06:01:47,608 [read_version] DEBUG read version from /w/workspace/xfoundry_device-modbus-go_PR-563/.semver/PR-563 [2024-07-30T06:01:47.665Z] 0.0.0 [Pipeline] } [2024-07-30T06:01:47.693Z] $ docker exec --env ******** --env ******** 4ec8504bbf1f1b962737c1d70ee25cc0cb61ce73bb9e822c4168fbf69fd21903 ssh-agent -k [2024-07-30T06:01:47.787Z] unset SSH_AUTH_SOCK; [2024-07-30T06:01:47.788Z] unset SSH_AGENT_PID; [2024-07-30T06:01:47.788Z] echo Agent pid 78 killed; [2024-07-30T06:01:47.802Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-07-30T06:01:48.268Z] + git semver [Pipeline] } [2024-07-30T06:01:48.551Z] $ docker stop --time=1 4ec8504bbf1f1b962737c1d70ee25cc0cb61ce73bb9e822c4168fbf69fd21903 [2024-07-30T06:01:49.818Z] $ docker rm -f --volumes 4ec8504bbf1f1b962737c1d70ee25cc0cb61ce73bb9e822c4168fbf69fd21903 [Pipeline] // withDockerContainer [Pipeline] sh [2024-07-30T06:01:50.239Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-07-30T06:01:50.547Z] Stashed 1 file(s) [Pipeline] echo [2024-07-30T06:01:50.568Z] [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 [2024-07-30T06:01:51.278Z] provisioning config files... [2024-07-30T06:01:51.288Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-563@tmp/config3747488472031549845tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-07-30T06:01:51.651Z] ---> ****-login.sh [2024-07-30T06:01:51.651Z] nexus3.edgexfoundry.org:10001 [2024-07-30T06:01:51.652Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-30T06:01:51.652Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-30T06:01:51.652Z] Configure a credential helper to remove this warning. See [2024-07-30T06:01:51.652Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-30T06:01:51.652Z] [2024-07-30T06:01:51.652Z] Login Succeeded [2024-07-30T06:01:51.652Z] nexus3.edgexfoundry.org:10002 [2024-07-30T06:01:51.652Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-30T06:01:51.652Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-30T06:01:51.652Z] Configure a credential helper to remove this warning. See [2024-07-30T06:01:51.652Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-30T06:01:51.652Z] [2024-07-30T06:01:51.652Z] Login Succeeded [2024-07-30T06:01:51.652Z] nexus3.edgexfoundry.org:10003 [2024-07-30T06:01:51.912Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-30T06:01:51.912Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-30T06:01:51.912Z] Configure a credential helper to remove this warning. See [2024-07-30T06:01:51.912Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-30T06:01:51.912Z] [2024-07-30T06:01:51.912Z] Login Succeeded [2024-07-30T06:01:51.912Z] nexus3.edgexfoundry.org:10004 [2024-07-30T06:01:51.912Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-30T06:01:51.912Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-30T06:01:51.912Z] Configure a credential helper to remove this warning. See [2024-07-30T06:01:51.912Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-30T06:01:51.912Z] [2024-07-30T06:01:51.912Z] Login Succeeded [2024-07-30T06:01:51.912Z] ****.io [2024-07-30T06:01:51.913Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-30T06:01:52.172Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-30T06:01:52.172Z] Configure a credential helper to remove this warning. See [2024-07-30T06:01:52.172Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-30T06:01:52.172Z] [2024-07-30T06:01:52.172Z] Login Succeeded [2024-07-30T06:01:52.172Z] ---> ****-login.sh ends [Pipeline] } [2024-07-30T06:01:52.207Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-07-30T06:01:52.427Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-07-30T06:01:52.478Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-07-30T06:01:52.528Z] ========================================================= [2024-07-30T06:01:52.528Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2024-07-30T06:01:52.528Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-30T06:01:53.042Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2024-07-30T06:01:53.042Z] Sending build context to Docker daemon 17.89MB [2024-07-30T06:01:53.042Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2024-07-30T06:01:53.042Z] Step 2/10 : FROM ${BASE} AS builder [2024-07-30T06:01:53.042Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2024-07-30T06:01:53.042Z] 619be1103602: Pulling fs layer [2024-07-30T06:01:53.042Z] 7862e08f4a3e: Pulling fs layer [2024-07-30T06:01:53.042Z] 5df492c9dc93: Pulling fs layer [2024-07-30T06:01:53.042Z] 7629e6793208: Pulling fs layer [2024-07-30T06:01:53.042Z] 4f4fb700ef54: Pulling fs layer [2024-07-30T06:01:53.042Z] fb5054dd5b73: Pulling fs layer [2024-07-30T06:01:53.042Z] eeca6798cff9: Pulling fs layer [2024-07-30T06:01:53.042Z] aa269ceb94a6: Pulling fs layer [2024-07-30T06:01:53.042Z] ada007ff1a6a: Pulling fs layer [2024-07-30T06:01:53.042Z] 4f4fb700ef54: Waiting [2024-07-30T06:01:53.042Z] fb5054dd5b73: Waiting [2024-07-30T06:01:53.042Z] aa269ceb94a6: Waiting [2024-07-30T06:01:53.042Z] eeca6798cff9: Waiting [2024-07-30T06:01:53.042Z] 7629e6793208: Waiting [2024-07-30T06:01:53.042Z] ada007ff1a6a: Waiting [2024-07-30T06:01:53.042Z] 7862e08f4a3e: Download complete [2024-07-30T06:01:53.301Z] 7629e6793208: Verifying Checksum [2024-07-30T06:01:53.301Z] 7629e6793208: Download complete [2024-07-30T06:01:53.301Z] 4f4fb700ef54: Verifying Checksum [2024-07-30T06:01:53.301Z] 4f4fb700ef54: Download complete [2024-07-30T06:01:53.301Z] fb5054dd5b73: Verifying Checksum [2024-07-30T06:01:53.301Z] fb5054dd5b73: Download complete [2024-07-30T06:01:53.301Z] 619be1103602: Verifying Checksum [2024-07-30T06:01:53.301Z] 619be1103602: Download complete [2024-07-30T06:01:53.301Z] eeca6798cff9: Verifying Checksum [2024-07-30T06:01:53.301Z] eeca6798cff9: Download complete [2024-07-30T06:01:53.301Z] 619be1103602: Pull complete [2024-07-30T06:01:53.301Z] ada007ff1a6a: Verifying Checksum [2024-07-30T06:01:53.301Z] ada007ff1a6a: Download complete [2024-07-30T06:01:53.562Z] 7862e08f4a3e: Pull complete [2024-07-30T06:01:53.562Z] 5df492c9dc93: Verifying Checksum [2024-07-30T06:01:53.562Z] 5df492c9dc93: Download complete [2024-07-30T06:01:54.131Z] aa269ceb94a6: Verifying Checksum [2024-07-30T06:01:54.131Z] aa269ceb94a6: Download complete [2024-07-30T06:01:56.662Z] 5df492c9dc93: Pull complete [2024-07-30T06:01:56.662Z] 7629e6793208: Pull complete [2024-07-30T06:01:56.923Z] 4f4fb700ef54: Pull complete [2024-07-30T06:01:56.923Z] fb5054dd5b73: Pull complete [2024-07-30T06:01:56.923Z] eeca6798cff9: Pull complete [2024-07-30T06:01:59.452Z] aa269ceb94a6: Pull complete [2024-07-30T06:01:59.710Z] ada007ff1a6a: Pull complete [2024-07-30T06:01:59.710Z] Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 [2024-07-30T06:01:59.710Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2024-07-30T06:01:59.710Z] ---> f489d0715acc [2024-07-30T06:01:59.710Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2024-07-30T06:02:04.986Z] ---> Running in 198b2d2531c7 [2024-07-30T06:02:04.986Z] Removing intermediate container 198b2d2531c7 [2024-07-30T06:02:04.986Z] ---> a03f2ac6cae4 [2024-07-30T06:02:04.986Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-07-30T06:02:04.986Z] ---> Running in d70e37bf9887 [2024-07-30T06:02:04.986Z] Removing intermediate container d70e37bf9887 [2024-07-30T06:02:04.986Z] ---> 6db9ae1a65e4 [2024-07-30T06:02:04.986Z] Step 5/10 : RUN apk add --update --no-cache make git openssh [2024-07-30T06:02:04.986Z] ---> Running in 89cd3d6ab34c [2024-07-30T06:02:04.986Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-07-30T06:02:04.986Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-07-30T06:02:05.245Z] (1/8) Installing openssh-keygen (9.3_p2-r2) [2024-07-30T06:02:05.245Z] (2/8) Installing libedit (20221030.3.1-r1) [2024-07-30T06:02:05.245Z] (3/8) Installing openssh-client-common (9.3_p2-r2) [2024-07-30T06:02:05.245Z] (4/8) Installing openssh-client-default (9.3_p2-r2) [2024-07-30T06:02:05.245Z] (5/8) Installing openssh-sftp-server (9.3_p2-r2) [2024-07-30T06:02:05.245Z] (6/8) Installing openssh-server-common (9.3_p2-r2) [2024-07-30T06:02:05.245Z] (7/8) Installing openssh-server (9.3_p2-r2) [2024-07-30T06:02:05.245Z] (8/8) Installing openssh (9.3_p2-r2) [2024-07-30T06:02:05.245Z] Executing busybox-1.36.1-r5.trigger [2024-07-30T06:02:05.245Z] OK: 270 MiB in 60 packages [2024-07-30T06:02:05.814Z] Removing intermediate container 89cd3d6ab34c [2024-07-30T06:02:05.814Z] ---> f260731bf144 [2024-07-30T06:02:05.814Z] Step 6/10 : WORKDIR /device-modbus-go [2024-07-30T06:02:06.056Z] Still waiting to schedule task [2024-07-30T06:02:06.056Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2024-07-30T06:02:06.074Z] ---> Running in 1e9cca072087 [2024-07-30T06:02:06.074Z] Removing intermediate container 1e9cca072087 [2024-07-30T06:02:06.074Z] ---> cf1717107382 [2024-07-30T06:02:06.074Z] Step 7/10 : COPY go.mod vendor* ./ [2024-07-30T06:02:06.074Z] ---> 360fa9e006a7 [2024-07-30T06:02:06.074Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-07-30T06:02:06.074Z] ---> Running in 9db7ec0c78f0 [2024-07-30T06:03:13.781Z] Removing intermediate container 9db7ec0c78f0 [2024-07-30T06:03:13.781Z] ---> 69b0cb0d3c69 [2024-07-30T06:03:13.781Z] Step 9/10 : COPY . . [2024-07-30T06:03:13.781Z] ---> 87152d5eeaa7 [2024-07-30T06:03:13.781Z] Step 10/10 : RUN ${MAKE} [2024-07-30T06:03:13.781Z] ---> Running in ac24766827b9 [2024-07-30T06:03:13.781Z] noop [2024-07-30T06:03:13.781Z] Removing intermediate container ac24766827b9 [2024-07-30T06:03:13.781Z] ---> ee1f6770151a [2024-07-30T06:03:13.781Z] Successfully built ee1f6770151a [2024-07-30T06:03:13.781Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-30T06:03:14.291Z] + docker inspect -f . ci-base-image-x86_64 [2024-07-30T06:03:14.291Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-30T06:03:14.470Z] prd-ubuntu20.04-docker-8c-8g-6726 does not seem to be running inside a container [2024-07-30T06:03:14.504Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-563 -v /w/workspace/xfoundry_device-modbus-go_PR-563:/w/workspace/xfoundry_device-modbus-go_PR-563:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-563@tmp:/w/workspace/xfoundry_device-modbus-go_PR-563@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 [2024-07-30T06:03:14.815Z] $ docker top 9b37fba65dee37fdbd9ab99f608a72244fde63940dc495411bd0d4da349a64e2 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-07-30T06:03:15.210Z] + go version [2024-07-30T06:03:15.210Z] go version go1.21.9 linux/amd64 [Pipeline] } [2024-07-30T06:03:15.252Z] $ docker stop --time=1 9b37fba65dee37fdbd9ab99f608a72244fde63940dc495411bd0d4da349a64e2 [2024-07-30T06:03:16.531Z] $ docker rm -f --volumes 9b37fba65dee37fdbd9ab99f608a72244fde63940dc495411bd0d4da349a64e2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-30T06:03:17.286Z] + docker inspect -f . ci-base-image-x86_64 [2024-07-30T06:03:17.286Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-30T06:03:17.461Z] prd-ubuntu20.04-docker-8c-8g-6726 does not seem to be running inside a container [2024-07-30T06:03:17.496Z] $ 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-563 -v /w/workspace/xfoundry_device-modbus-go_PR-563:/w/workspace/xfoundry_device-modbus-go_PR-563:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-563@tmp:/w/workspace/xfoundry_device-modbus-go_PR-563@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 [2024-07-30T06:03:17.809Z] $ docker top 6ab22ce0654f98e7b46de5b5a0ea0d964a414060e0daf12b515f55a29791c69c -eo pid,comm [Pipeline] { [Pipeline] sh [2024-07-30T06:03:18.281Z] + git config --global --add safe.directory /w/workspace/xfoundry_device-modbus-go_PR-563 [Pipeline] fileExists [Pipeline] sh [2024-07-30T06:03:18.660Z] + make test [2024-07-30T06:03:18.660Z] go test ./... -coverprofile=coverage.out [2024-07-30T06:03:20.033Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2024-07-30T06:03:33.546Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-6727 in /w/workspace/xfoundry_device-modbus-go_PR-563 [Pipeline] { [Pipeline] ws [2024-07-30T06:03:33.622Z] Running in /w/workspace/device-modbus-go/1 [Pipeline] { [Pipeline] checkout [2024-07-30T06:03:36.726Z] The recommended git tool is: git [2024-07-30T06:03:38.113Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2024-07-30T06:03:38.113Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.011s coverage: 47.9% of statements [2024-07-30T06:03:40.982Z] using credential edgex-jenkins-ssh [2024-07-30T06:03:41.006Z] Cloning the remote Git repository [2024-07-30T06:03:41.037Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2024-07-30T06:03:41.124Z] > git init /w/workspace/device-modbus-go/1 # timeout=10 [2024-07-30T06:03:41.257Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2024-07-30T06:03:41.258Z] > git --version # timeout=10 [2024-07-30T06:03:41.277Z] > git --version # 'git version 2.25.1' [2024-07-30T06:03:41.280Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-07-30T06:03:41.424Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-07-30T06:03:43.271Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2024-07-30T06:03:43.295Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-07-30T06:03:44.682Z] Merging remotes/origin/main commit b6c4b0dee6461bdbd7ff5442e9e8ba8b047e9f9c into PR head commit 3250edf9d943bf9ba44667de315b11b782178186 [2024-07-30T06:03:44.938Z] Merge succeeded, producing 3250edf9d943bf9ba44667de315b11b782178186 [2024-07-30T06:03:44.938Z] Checking out Revision 3250edf9d943bf9ba44667de315b11b782178186 (PR-563) [2024-07-30T06:03:44.124Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2024-07-30T06:03:44.156Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2024-07-30T06:03:44.157Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-07-30T06:03:44.179Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/563/head:refs/remotes/origin/PR-563 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2024-07-30T06:03:44.692Z] > git config core.sparsecheckout # timeout=10 [2024-07-30T06:03:44.749Z] > git checkout -f 3250edf9d943bf9ba44667de315b11b782178186 # timeout=10 [2024-07-30T06:03:44.836Z] > git remote # timeout=10 [2024-07-30T06:03:44.859Z] > git config --get remote.origin.url # timeout=10 [2024-07-30T06:03:44.875Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-07-30T06:03:44.894Z] > git merge b6c4b0dee6461bdbd7ff5442e9e8ba8b047e9f9c # timeout=10 [2024-07-30T06:03:44.918Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-07-30T06:03:44.937Z] > git config core.sparsecheckout # timeout=10 [2024-07-30T06:03:44.951Z] > git checkout -f 3250edf9d943bf9ba44667de315b11b782178186 # timeout=10 [2024-07-30T06:03:45.459Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" [2024-07-30T06:03:45.501Z] > git --version # timeout=10 [2024-07-30T06:03:45.513Z] > git --version # 'git version 2.25.1' [2024-07-30T06:03:45.526Z] fatal: bad object 590556114a56c6d90cc8043840e039c2f74196dc [2024-07-30T06:03:48.076Z] go vet ./... [2024-07-30T06:03:54.634Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-07-30T06:03:54.634Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-07-30T06:03:54.634Z] ./bin/test-attribution-txt.sh [2024-07-30T06:03:54.634Z] An attribution for github.com/panjf2000/ants/v2 is missing from Attribution.txt, please add [Pipeline] echo [2024-07-30T06:03:59.902Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-07-30T06:03:59.949Z] $ docker stop --time=1 6ab22ce0654f98e7b46de5b5a0ea0d964a414060e0daf12b515f55a29791c69c [2024-07-30T06:04:02.497Z] $ docker rm -f --volumes 6ab22ce0654f98e7b46de5b5a0ea0d964a414060e0daf12b515f55a29791c69c [Pipeline] // withDockerContainer [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [2024-07-30T06:04:03.102Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [Pipeline] stash [2024-07-30T06:04:03.404Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [2024-07-30T06:04:03.615Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-07-30T06:04:03.615Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-07-30T06:04:03.615Z] Dload Upload Total Spent Left Speed [2024-07-30T06:04:03.615Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 124k 0 --:--:-- --:--:-- --:--:-- 124k [Pipeline] sh [Pipeline] sh [2024-07-30T06:04:03.992Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-07-30T06:04:04.266Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-07-30T06:04:04.409Z] + sudo jq+ . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2024-07-30T06:04:04.409Z] sudo tee /etc/docker/daemon.new [2024-07-30T06:04:04.409Z] { [2024-07-30T06:04:04.409Z] "registry-mirrors": [ [2024-07-30T06:04:04.409Z] "https://nexus3.edgexfoundry.org:10001" [2024-07-30T06:04:04.409Z] ], [2024-07-30T06:04:04.409Z] "bip": "10.250.0.254/24", [2024-07-30T06:04:04.409Z] "hosts": [ [2024-07-30T06:04:04.409Z] "tcp://0.0.0.0:5555", [2024-07-30T06:04:04.409Z] "unix:///var/run/docker.sock" [2024-07-30T06:04:04.409Z] ], [2024-07-30T06:04:04.409Z] "mtu": 1458, [2024-07-30T06:04:04.409Z] "selinux-enabled": true, [2024-07-30T06:04:04.409Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-07-30T06:04:04.409Z] } [Pipeline] sh [2024-07-30T06:04:04.594Z] + ls -al . [2024-07-30T06:04:04.594Z] total 272 [2024-07-30T06:04:04.594Z] drwxrwxr-x 9 jenkins jenkins 4096 Jul 30 06:03 . [2024-07-30T06:04:04.594Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 30 06:01 .. [2024-07-30T06:04:04.594Z] -rw-rw-r-- 1 jenkins jenkins 140 Jul 30 06:01 .dockerignore [2024-07-30T06:04:04.594Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 30 06:03 .git [2024-07-30T06:04:04.594Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 30 06:01 .github [2024-07-30T06:04:04.594Z] -rw-rw-r-- 1 jenkins jenkins 266 Jul 30 06:01 .gitignore [2024-07-30T06:04:04.594Z] -rw-rw-r-- 1 jenkins jenkins 41 Jul 30 06:01 .golangci.yml [2024-07-30T06:04:04.594Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 30 06:01 .semver [2024-07-30T06:04:04.594Z] -rw-rw-r-- 1 jenkins jenkins 19432 Jul 30 06:01 Attribution.txt [2024-07-30T06:04:04.594Z] -rw-rw-r-- 1 jenkins jenkins 16388 Jul 30 06:01 CHANGELOG.md [2024-07-30T06:04:04.594Z] -rw-rw-r-- 1 jenkins jenkins 1474 Jul 30 06:01 Dockerfile [2024-07-30T06:04:04.594Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 30 06:01 GOVERNANCE.md [2024-07-30T06:04:04.594Z] -rw-rw-r-- 1 jenkins jenkins 658 Jul 30 06:01 Jenkinsfile [2024-07-30T06:04:04.594Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jul 30 06:01 LICENSE [2024-07-30T06:04:04.594Z] -rw-rw-r-- 1 jenkins jenkins 1942 Jul 30 06:01 Makefile [2024-07-30T06:04:04.594Z] -rw-rw-r-- 1 jenkins jenkins 622 Jul 30 06:01 OWNERS.md [2024-07-30T06:04:04.594Z] -rw-rw-r-- 1 jenkins jenkins 4463 Jul 30 06:01 README.md [2024-07-30T06:04:04.594Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 30 06:01 VERSION [2024-07-30T06:04:04.594Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 30 06:01 bin [2024-07-30T06:04:04.594Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 30 06:01 cmd [2024-07-30T06:04:04.594Z] -rw-r--r-- 1 jenkins jenkins 24601 Jul 30 06:03 coverage.out [2024-07-30T06:04:04.594Z] -rw-rw-r-- 1 jenkins jenkins 7185 Jul 30 06:01 go.mod [2024-07-30T06:04:04.594Z] -rw-rw-r-- 1 jenkins jenkins 102015 Jul 30 06:01 go.sum [2024-07-30T06:04:04.594Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 30 06:01 internal [2024-07-30T06:04:04.594Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 30 06:01 simulator [2024-07-30T06:04:04.594Z] -rw-rw-r-- 1 jenkins jenkins 229 Jul 30 06:01 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-30T06:04:04.759Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-07-30T06:04:05.030Z] + 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=3250edf9d943bf9ba44667de315b11b782178186 --label arch=amd64 --label version=0.0.0 . [2024-07-30T06:04:05.030Z] Sending build context to Docker daemon 17.91MB [2024-07-30T06:04:05.030Z] Step 1/23 : ARG BASE=golang:1.21-alpine3.18 [2024-07-30T06:04:05.030Z] Step 2/23 : FROM ${BASE} AS builder [2024-07-30T06:04:05.030Z] ---> ee1f6770151a [2024-07-30T06:04:05.030Z] Step 3/23 : ARG ADD_BUILD_TAGS="" [2024-07-30T06:04:05.166Z] + sudo service docker restart [2024-07-30T06:04:05.291Z] ---> Running in 1a97f5e9385d [2024-07-30T06:04:05.291Z] Removing intermediate container 1a97f5e9385d [2024-07-30T06:04:05.291Z] ---> 2b6be08c6f46 [2024-07-30T06:04:05.291Z] Step 4/23 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-07-30T06:04:05.552Z] ---> Running in f57a99978db4 [2024-07-30T06:04:05.553Z] Removing intermediate container f57a99978db4 [2024-07-30T06:04:05.553Z] ---> 997fca046161 [2024-07-30T06:04:05.553Z] Step 5/23 : RUN apk add --update --no-cache make git openssh [2024-07-30T06:04:05.553Z] ---> Running in a8783527f974 [2024-07-30T06:04:05.813Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-07-30T06:04:06.073Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-07-30T06:04:06.333Z] OK: 270 MiB in 60 packages [2024-07-30T06:04:06.592Z] Removing intermediate container a8783527f974 [2024-07-30T06:04:06.592Z] ---> 7ab7ab9091b5 [2024-07-30T06:04:06.592Z] Step 6/23 : WORKDIR /device-modbus-go [2024-07-30T06:04:06.592Z] ---> Running in ec069856fd9c [2024-07-30T06:04:06.593Z] Removing intermediate container ec069856fd9c [2024-07-30T06:04:06.593Z] ---> 810305e4c9e0 [2024-07-30T06:04:06.593Z] Step 7/23 : COPY go.mod vendor* ./ [2024-07-30T06:04:06.851Z] ---> acd23cde6a9a [2024-07-30T06:04:06.851Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-07-30T06:04:06.851Z] ---> Running in 77335ba4a270 [2024-07-30T06:04:07.417Z] Removing intermediate container 77335ba4a270 [2024-07-30T06:04:07.417Z] ---> 995333a2079e [2024-07-30T06:04:07.417Z] Step 9/23 : COPY . . [2024-07-30T06:04:08.354Z] ---> 73533704acba [2024-07-30T06:04:08.354Z] Step 10/23 : RUN ${MAKE} [2024-07-30T06:04:08.354Z] ---> Running in fcb1bd1dc2fe [2024-07-30T06:04:08.354Z] CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-modbus-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.28" -trimpath -mod=readonly -o cmd/device-modbus ./cmd [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-07-30T06:04:23.582Z] provisioning config files... [2024-07-30T06:04:23.605Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/1@tmp/config14428921342064204383tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-07-30T06:04:24.086Z] ---> ****-login.sh [2024-07-30T06:04:24.086Z] nexus3.edgexfoundry.org:10001 [2024-07-30T06:04:24.356Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-30T06:04:24.624Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-30T06:04:24.624Z] Configure a credential helper to remove this warning. See [2024-07-30T06:04:24.624Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-30T06:04:24.624Z] [2024-07-30T06:04:24.624Z] Login Succeeded [2024-07-30T06:04:24.624Z] nexus3.edgexfoundry.org:10002 [2024-07-30T06:04:24.891Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-30T06:04:25.165Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-30T06:04:25.165Z] Configure a credential helper to remove this warning. See [2024-07-30T06:04:25.165Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-30T06:04:25.165Z] [2024-07-30T06:04:25.165Z] Login Succeeded [2024-07-30T06:04:25.165Z] nexus3.edgexfoundry.org:10003 [2024-07-30T06:04:25.165Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-30T06:04:25.436Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-30T06:04:25.436Z] Configure a credential helper to remove this warning. See [2024-07-30T06:04:25.436Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-30T06:04:25.436Z] [2024-07-30T06:04:25.436Z] Login Succeeded [2024-07-30T06:04:25.437Z] nexus3.edgexfoundry.org:10004 [2024-07-30T06:04:25.705Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-30T06:04:25.705Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-30T06:04:25.706Z] Configure a credential helper to remove this warning. See [2024-07-30T06:04:25.706Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-30T06:04:25.706Z] [2024-07-30T06:04:25.706Z] Login Succeeded [2024-07-30T06:04:25.706Z] ****.io [2024-07-30T06:04:25.974Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-30T06:04:26.241Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-30T06:04:26.241Z] Configure a credential helper to remove this warning. See [2024-07-30T06:04:26.241Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-30T06:04:26.241Z] [2024-07-30T06:04:26.241Z] Login Succeeded [2024-07-30T06:04:26.241Z] ---> ****-login.sh ends [Pipeline] } [2024-07-30T06:04:26.276Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-07-30T06:04:26.720Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-07-30T06:04:26.770Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-07-30T06:04:26.829Z] ========================================================= [2024-07-30T06:04:26.829Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2024-07-30T06:04:26.829Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-30T06:04:27.388Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2024-07-30T06:04:27.658Z] Sending build context to Docker daemon 9.09MB [2024-07-30T06:04:27.658Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2024-07-30T06:04:27.658Z] Step 2/10 : FROM ${BASE} AS builder [2024-07-30T06:04:27.940Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-07-30T06:04:27.940Z] c6b39de5b339: Pulling fs layer [2024-07-30T06:04:27.940Z] a69c41024577: Pulling fs layer [2024-07-30T06:04:27.940Z] d6de4b400683: Pulling fs layer [2024-07-30T06:04:27.940Z] 35cb2a7552d0: Pulling fs layer [2024-07-30T06:04:27.940Z] 4f4fb700ef54: Pulling fs layer [2024-07-30T06:04:27.940Z] 464afbd9ba4c: Pulling fs layer [2024-07-30T06:04:27.940Z] 00f215d4a9da: Pulling fs layer [2024-07-30T06:04:27.940Z] d496ad576159: Pulling fs layer [2024-07-30T06:04:27.940Z] 4f4fb700ef54: Waiting [2024-07-30T06:04:27.940Z] 464afbd9ba4c: Waiting [2024-07-30T06:04:27.940Z] 00f215d4a9da: Waiting [2024-07-30T06:04:27.940Z] d496ad576159: Waiting [2024-07-30T06:04:27.940Z] 35cb2a7552d0: Waiting [2024-07-30T06:04:27.940Z] a69c41024577: Verifying Checksum [2024-07-30T06:04:27.940Z] a69c41024577: Download complete [2024-07-30T06:04:27.940Z] 35cb2a7552d0: Verifying Checksum [2024-07-30T06:04:27.940Z] 35cb2a7552d0: Download complete [2024-07-30T06:04:27.940Z] 4f4fb700ef54: Verifying Checksum [2024-07-30T06:04:27.940Z] 4f4fb700ef54: Download complete [2024-07-30T06:04:27.940Z] c6b39de5b339: Download complete [2024-07-30T06:04:27.940Z] 464afbd9ba4c: Verifying Checksum [2024-07-30T06:04:27.940Z] 464afbd9ba4c: Download complete [2024-07-30T06:04:28.532Z] d496ad576159: Verifying Checksum [2024-07-30T06:04:28.532Z] d496ad576159: Download complete [2024-07-30T06:04:28.806Z] c6b39de5b339: Pull complete [2024-07-30T06:04:29.409Z] a69c41024577: Pull complete [2024-07-30T06:04:29.677Z] d6de4b400683: Download complete [2024-07-30T06:04:31.087Z] 00f215d4a9da: Verifying Checksum [2024-07-30T06:04:31.087Z] 00f215d4a9da: Download complete [2024-07-30T06:04:40.456Z] Removing intermediate container fcb1bd1dc2fe [2024-07-30T06:04:40.456Z] ---> 9209e7535e07 [2024-07-30T06:04:40.456Z] Step 11/23 : FROM alpine:3.18 [2024-07-30T06:04:40.456Z] 3.18: Pulling from library/alpine [2024-07-30T06:04:40.456Z] 930bdd4d222e: Pulling fs layer [2024-07-30T06:04:40.456Z] 930bdd4d222e: Verifying Checksum [2024-07-30T06:04:40.456Z] 930bdd4d222e: Download complete [2024-07-30T06:04:40.456Z] 930bdd4d222e: Pull complete [2024-07-30T06:04:40.456Z] Digest: sha256:5292533eb4efd4b5cf35e93b5a2b7d0e07ea193224c49446c7802c19ee4f2da5 [2024-07-30T06:04:40.456Z] Status: Downloaded newer image for alpine:3.18 [2024-07-30T06:04:40.456Z] ---> 18f865063206 [2024-07-30T06:04:40.456Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2024-07-30T06:04:40.456Z] ---> Running in 12eaff6e6bb4 [2024-07-30T06:04:40.716Z] Removing intermediate container 12eaff6e6bb4 [2024-07-30T06:04:40.716Z] ---> c0c222637afd [2024-07-30T06:04:40.716Z] Step 13/23 : RUN apk add --update --no-cache dumb-init [2024-07-30T06:04:40.716Z] ---> Running in 640d0419a774 [2024-07-30T06:04:40.975Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-07-30T06:04:40.975Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-07-30T06:04:41.234Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-07-30T06:04:41.234Z] Executing busybox-1.36.1-r7.trigger [2024-07-30T06:04:41.234Z] OK: 7 MiB in 16 packages [2024-07-30T06:04:41.498Z] Removing intermediate container 640d0419a774 [2024-07-30T06:04:41.498Z] ---> 004e8bb00efa [2024-07-30T06:04:41.498Z] Step 14/23 : RUN apk --no-cache upgrade [2024-07-30T06:04:41.757Z] ---> Running in 935bcd5a4559 [2024-07-30T06:04:42.017Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-07-30T06:04:42.017Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-07-30T06:04:42.278Z] OK: 7 MiB in 16 packages [2024-07-30T06:04:42.537Z] Removing intermediate container 935bcd5a4559 [2024-07-30T06:04:42.537Z] ---> ecaa76a704e9 [2024-07-30T06:04:42.537Z] Step 15/23 : COPY --from=builder /device-modbus-go/cmd / [2024-07-30T06:04:43.396Z] d6de4b400683: Pull complete [2024-07-30T06:04:43.397Z] 35cb2a7552d0: Pull complete [2024-07-30T06:04:43.397Z] 4f4fb700ef54: Pull complete [2024-07-30T06:04:43.397Z] 464afbd9ba4c: Pull complete [2024-07-30T06:04:43.516Z] ---> 53c3d8eb2ff6 [2024-07-30T06:04:43.516Z] Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / [2024-07-30T06:04:43.516Z] ---> 1484da657c27 [2024-07-30T06:04:43.516Z] Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / [2024-07-30T06:04:43.776Z] ---> bd6f03f9853d [2024-07-30T06:04:43.776Z] Step 18/23 : EXPOSE 59901 [2024-07-30T06:04:43.776Z] ---> Running in 04c52db1b5b4 [2024-07-30T06:04:43.776Z] Removing intermediate container 04c52db1b5b4 [2024-07-30T06:04:43.776Z] ---> fce66fa870df [2024-07-30T06:04:43.776Z] Step 19/23 : ENTRYPOINT ["/device-modbus"] [2024-07-30T06:04:43.776Z] ---> Running in 6464ba2cf882 [2024-07-30T06:04:44.034Z] Removing intermediate container 6464ba2cf882 [2024-07-30T06:04:44.034Z] ---> 90bfe4796d89 [2024-07-30T06:04:44.034Z] Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2024-07-30T06:04:44.034Z] ---> Running in f9c96a05cb2a [2024-07-30T06:04:44.034Z] Removing intermediate container f9c96a05cb2a [2024-07-30T06:04:44.034Z] ---> 8057803dd1ab [2024-07-30T06:04:44.034Z] Step 21/23 : LABEL arch=amd64 [2024-07-30T06:04:44.034Z] ---> Running in 63e603bdae4a [2024-07-30T06:04:44.034Z] Removing intermediate container 63e603bdae4a [2024-07-30T06:04:44.034Z] ---> 9c15b675e160 [2024-07-30T06:04:44.034Z] Step 22/23 : LABEL git_sha=3250edf9d943bf9ba44667de315b11b782178186 [2024-07-30T06:04:44.034Z] ---> Running in 83b62c69774d [2024-07-30T06:04:44.293Z] Removing intermediate container 83b62c69774d [2024-07-30T06:04:44.293Z] ---> 48c2ca97459e [2024-07-30T06:04:44.293Z] Step 23/23 : LABEL version=0.0.0 [2024-07-30T06:04:44.293Z] ---> Running in 7ae793803ef9 [2024-07-30T06:04:44.293Z] Removing intermediate container 7ae793803ef9 [2024-07-30T06:04:44.293Z] ---> 93109dc3896d [2024-07-30T06:04:44.293Z] [Warning] One or more build-args [ARCH] were not consumed [2024-07-30T06:04:44.293Z] Successfully built 93109dc3896d [2024-07-30T06:04:44.293Z] 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] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-30T06:04:45.370Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-07-30T06:04:45.370Z] [2024-07-30T06:04:45.370Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-30T06:04:45.767Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-07-30T06:04:45.767Z] latest: Pulling from edgex-lftools-log-publisher [2024-07-30T06:04:45.767Z] 5eb5b503b376: Pulling fs layer [2024-07-30T06:04:45.767Z] 5c69ac0246d0: Pulling fs layer [2024-07-30T06:04:45.767Z] ec43610c2a17: Pulling fs layer [2024-07-30T06:04:45.767Z] 3a2ae6a8a46f: Pulling fs layer [2024-07-30T06:04:45.767Z] 33b1e0a273af: Pulling fs layer [2024-07-30T06:04:45.767Z] 5d3b04190fa2: Pulling fs layer [2024-07-30T06:04:45.767Z] 2f39f015ded8: Pulling fs layer [2024-07-30T06:04:45.767Z] 33b1e0a273af: Waiting [2024-07-30T06:04:45.767Z] 5d3b04190fa2: Waiting [2024-07-30T06:04:45.767Z] 2f39f015ded8: Waiting [2024-07-30T06:04:45.767Z] 5c69ac0246d0: Download complete [2024-07-30T06:04:45.767Z] 3a2ae6a8a46f: Download complete [2024-07-30T06:04:45.767Z] 33b1e0a273af: Verifying Checksum [2024-07-30T06:04:45.767Z] 33b1e0a273af: Download complete [2024-07-30T06:04:45.767Z] ec43610c2a17: Verifying Checksum [2024-07-30T06:04:45.767Z] ec43610c2a17: Download complete [2024-07-30T06:04:45.767Z] 5d3b04190fa2: Verifying Checksum [2024-07-30T06:04:45.767Z] 5d3b04190fa2: Download complete [2024-07-30T06:04:46.025Z] 5eb5b503b376: Verifying Checksum [2024-07-30T06:04:46.025Z] 5eb5b503b376: Download complete [2024-07-30T06:04:46.594Z] 2f39f015ded8: Download complete [2024-07-30T06:04:47.164Z] 5eb5b503b376: Pull complete [2024-07-30T06:04:47.164Z] 5c69ac0246d0: Pull complete [2024-07-30T06:04:47.731Z] ec43610c2a17: Pull complete [2024-07-30T06:04:47.731Z] 3a2ae6a8a46f: Pull complete [2024-07-30T06:04:47.990Z] 33b1e0a273af: Pull complete [2024-07-30T06:04:47.990Z] 5d3b04190fa2: Pull complete [2024-07-30T06:04:51.594Z] 00f215d4a9da: Pull complete [2024-07-30T06:04:52.192Z] 2f39f015ded8: Pull complete [2024-07-30T06:04:52.192Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-07-30T06:04:52.192Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-07-30T06:04:52.192Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-30T06:04:52.446Z] prd-ubuntu20.04-docker-8c-8g-6726 does not seem to be running inside a container [2024-07-30T06:04:52.483Z] $ 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-563 -v /w/workspace/xfoundry_device-modbus-go_PR-563:/w/workspace/xfoundry_device-modbus-go_PR-563:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-563@tmp:/w/workspace/xfoundry_device-modbus-go_PR-563@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 [2024-07-30T06:04:53.014Z] d496ad576159: Pull complete [2024-07-30T06:04:53.014Z] Digest: sha256:94db8a0955b4c8a8fb4ef40f1d66dd6a37c55842a5f6085bb7a69a85e2cfc316 [2024-07-30T06:04:53.014Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2024-07-30T06:04:53.014Z] ---> f246e2811388 [2024-07-30T06:04:53.014Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2024-07-30T06:04:54.980Z] ---> Running in 5052e16bed00 [2024-07-30T06:04:54.980Z] Removing intermediate container 5052e16bed00 [2024-07-30T06:04:54.980Z] ---> 90ce23a28d9a [2024-07-30T06:04:54.980Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-07-30T06:04:54.980Z] ---> Running in a88638db9065 [2024-07-30T06:04:55.249Z] Removing intermediate container a88638db9065 [2024-07-30T06:04:55.250Z] ---> ef9308b3d9ab [2024-07-30T06:04:55.250Z] Step 5/10 : RUN apk add --update --no-cache make git openssh [2024-07-30T06:04:55.250Z] ---> Running in 1f2f69e8a992 [2024-07-30T06:04:56.689Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-07-30T06:04:56.689Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-07-30T06:04:56.745Z] $ docker top c8fcd8e859d5e53e5371c8eb55243bca55e2ef86f84df1aa3085e8d722934133 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-07-30T06:04:57.311Z] ---> job-cost.sh [2024-07-30T06:04:57.311Z] lf-activate-venv: SKIPPING [2024-07-30T06:04:57.311Z] INFO: No Stack... [2024-07-30T06:04:57.575Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-07-30T06:04:57.647Z] (1/8) Installing openssh-keygen (9.3_p2-r2) [2024-07-30T06:04:57.647Z] (2/8) Installing libedit (20221030.3.1-r1) [2024-07-30T06:04:57.647Z] (3/8) Installing openssh-client-common (9.3_p2-r2) [2024-07-30T06:04:57.647Z] (4/8) Installing openssh-client-default (9.3_p2-r2) [2024-07-30T06:04:57.647Z] (5/8) Installing openssh-sftp-server (9.3_p2-r2) [2024-07-30T06:04:57.647Z] (6/8) Installing openssh-server-common (9.3_p2-r2) [2024-07-30T06:04:57.836Z] INFO: Archiving Costs [Pipeline] sh [2024-07-30T06:04:57.915Z] (7/8) Installing openssh-server (9.3_p2-r2) [2024-07-30T06:04:57.915Z] (8/8) Installing openssh (9.3_p2-r2) [2024-07-30T06:04:57.915Z] Executing busybox-1.36.1-r5.trigger [2024-07-30T06:04:57.915Z] OK: 272 MiB in 60 packages [2024-07-30T06:04:58.166Z] + cat /w/workspace/xfoundry_device-modbus-go_PR-563/archives/cost.csv [2024-07-30T06:04:58.166Z] + cut -d, -f6 [Pipeline] lock [2024-07-30T06:04:58.218Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-modbus-go-PR-563-1-stack-cost] [2024-07-30T06:04:58.225Z] Resource [jenkins-edgexfoundry-device-modbus-go-PR-563-1-stack-cost] did not exist. Created. [2024-07-30T06:04:58.234Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-modbus-go-PR-563-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-07-30T06:04:58.664Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-07-30T06:04:58.726Z] Stashed 1 file(s) [Pipeline] } [2024-07-30T06:04:58.767Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-modbus-go-PR-563-1-stack-cost] [Pipeline] // lock [2024-07-30T06:04:58.891Z] Removing intermediate container 1f2f69e8a992 [2024-07-30T06:04:58.891Z] ---> cff359a7fcb2 [2024-07-30T06:04:58.891Z] Step 6/10 : WORKDIR /device-modbus-go [Pipeline] } [2024-07-30T06:04:58.913Z] $ docker stop --time=1 c8fcd8e859d5e53e5371c8eb55243bca55e2ef86f84df1aa3085e8d722934133 [2024-07-30T06:04:59.158Z] ---> Running in 7d075a5ea081 [2024-07-30T06:04:59.427Z] Removing intermediate container 7d075a5ea081 [2024-07-30T06:04:59.427Z] ---> 3850a97299d8 [2024-07-30T06:04:59.427Z] Step 7/10 : COPY go.mod vendor* ./ [2024-07-30T06:05:00.013Z] ---> a0593320a8de [2024-07-30T06:05:00.013Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-07-30T06:05:00.013Z] ---> Running in 7dc0827aa322 [2024-07-30T06:05:00.065Z] $ docker rm -f --volumes c8fcd8e859d5e53e5371c8eb55243bca55e2ef86f84df1aa3085e8d722934133 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-07-30T06:06:51.673Z] Removing intermediate container 7dc0827aa322 [2024-07-30T06:06:51.673Z] ---> 45a4493ba151 [2024-07-30T06:06:51.673Z] Step 9/10 : COPY . . [2024-07-30T06:06:51.673Z] ---> fabd8b0f4400 [2024-07-30T06:06:51.673Z] Step 10/10 : RUN ${MAKE} [2024-07-30T06:06:51.673Z] ---> Running in ed1952ca8191 [2024-07-30T06:06:51.673Z] noop [2024-07-30T06:06:51.673Z] Removing intermediate container ed1952ca8191 [2024-07-30T06:06:51.673Z] ---> c2eca3faf8eb [2024-07-30T06:06:51.673Z] Successfully built c2eca3faf8eb [2024-07-30T06:06:51.673Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-30T06:06:52.196Z] + docker inspect -f . ci-base-image-arm64 [2024-07-30T06:06:52.197Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-30T06:06:52.492Z] prd-ubuntu20.04-docker-arm64-4c-16g-6727 does not seem to be running inside a container [2024-07-30T06:06:52.554Z] $ 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 [2024-07-30T06:06:53.716Z] $ docker top c4e8304e37d96f1ca0c36c608bd1ae32dd225f1580f2afa810afe44b4043b3ed -eo pid,comm [Pipeline] { [Pipeline] sh [2024-07-30T06:06:54.632Z] + go version [2024-07-30T06:06:54.632Z] go version go1.21.9 linux/arm64 [Pipeline] } [2024-07-30T06:06:54.678Z] $ docker stop --time=1 c4e8304e37d96f1ca0c36c608bd1ae32dd225f1580f2afa810afe44b4043b3ed [2024-07-30T06:06:56.239Z] $ docker rm -f --volumes c4e8304e37d96f1ca0c36c608bd1ae32dd225f1580f2afa810afe44b4043b3ed [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-30T06:06:57.145Z] + docker inspect -f . ci-base-image-arm64 [2024-07-30T06:06:57.145Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-30T06:06:57.404Z] prd-ubuntu20.04-docker-arm64-4c-16g-6727 does not seem to be running inside a container [2024-07-30T06:06:57.465Z] $ 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 [2024-07-30T06:06:58.653Z] $ docker top eed84b71caa710029d5b0a9d735477dfd626af3c514f63aa6040bd1b8e0b9c6d -eo pid,comm [Pipeline] { [Pipeline] sh [2024-07-30T06:06:59.255Z] + git config --global --add safe.directory /w/workspace/device-modbus-go/1 [Pipeline] fileExists [Pipeline] sh [2024-07-30T06:06:59.922Z] + make test [2024-07-30T06:06:59.922Z] go test ./... -coverprofile=coverage.out [2024-07-30T06:07:05.258Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2024-07-30T06:10:42.241Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2024-07-30T06:10:42.241Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.048s coverage: 47.9% of statements [2024-07-30T06:10:42.241Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2024-07-30T06:10:42.241Z] go vet ./... [2024-07-30T06:11:29.101Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-07-30T06:11:29.101Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-07-30T06:11:29.101Z] ./bin/test-attribution-txt.sh [2024-07-30T06:11:29.101Z] An attribution for github.com/panjf2000/ants/v2 is missing from Attribution.txt, please add [Pipeline] echo [2024-07-30T06:11:29.149Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-07-30T06:11:29.203Z] $ docker stop --time=1 eed84b71caa710029d5b0a9d735477dfd626af3c514f63aa6040bd1b8e0b9c6d [2024-07-30T06:11:31.010Z] $ docker rm -f --volumes eed84b71caa710029d5b0a9d735477dfd626af3c514f63aa6040bd1b8e0b9c6d [Pipeline] // withDockerContainer [Pipeline] sh [2024-07-30T06:11:32.523Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-07-30T06:11:32.575Z] Warning: overwriting stash ‘coverage-report’ [2024-07-30T06:11:33.018Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-07-30T06:11:33.663Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-07-30T06:11:34.005Z] + ls -al . [2024-07-30T06:11:34.005Z] total 268 [2024-07-30T06:11:34.005Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 30 06:07 . [2024-07-30T06:11:34.005Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 30 06:03 .. [2024-07-30T06:11:34.005Z] -rw-rw-r-- 1 jenkins jenkins 140 Jul 30 06:03 .dockerignore [2024-07-30T06:11:34.005Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 30 06:03 .git [2024-07-30T06:11:34.005Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 30 06:03 .github [2024-07-30T06:11:34.005Z] -rw-rw-r-- 1 jenkins jenkins 266 Jul 30 06:03 .gitignore [2024-07-30T06:11:34.005Z] -rw-rw-r-- 1 jenkins jenkins 41 Jul 30 06:03 .golangci.yml [2024-07-30T06:11:34.005Z] -rw-rw-r-- 1 jenkins jenkins 19432 Jul 30 06:03 Attribution.txt [2024-07-30T06:11:34.005Z] -rw-rw-r-- 1 jenkins jenkins 16388 Jul 30 06:03 CHANGELOG.md [2024-07-30T06:11:34.005Z] -rw-rw-r-- 1 jenkins jenkins 1474 Jul 30 06:03 Dockerfile [2024-07-30T06:11:34.005Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 30 06:03 GOVERNANCE.md [2024-07-30T06:11:34.005Z] -rw-rw-r-- 1 jenkins jenkins 658 Jul 30 06:03 Jenkinsfile [2024-07-30T06:11:34.005Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jul 30 06:03 LICENSE [2024-07-30T06:11:34.005Z] -rw-rw-r-- 1 jenkins jenkins 1942 Jul 30 06:03 Makefile [2024-07-30T06:11:34.005Z] -rw-rw-r-- 1 jenkins jenkins 622 Jul 30 06:03 OWNERS.md [2024-07-30T06:11:34.005Z] -rw-rw-r-- 1 jenkins jenkins 4463 Jul 30 06:03 README.md [2024-07-30T06:11:34.005Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 30 06:01 VERSION [2024-07-30T06:11:34.005Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 30 06:03 bin [2024-07-30T06:11:34.005Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 30 06:03 cmd [2024-07-30T06:11:34.005Z] -rw-r--r-- 1 jenkins jenkins 24601 Jul 30 06:10 coverage.out [2024-07-30T06:11:34.005Z] -rw-rw-r-- 1 jenkins jenkins 7185 Jul 30 06:03 go.mod [2024-07-30T06:11:34.005Z] -rw-rw-r-- 1 jenkins jenkins 102015 Jul 30 06:03 go.sum [2024-07-30T06:11:34.005Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 30 06:03 internal [2024-07-30T06:11:34.005Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 30 06:03 simulator [2024-07-30T06:11:34.005Z] -rw-rw-r-- 1 jenkins jenkins 229 Jul 30 06:03 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-30T06:11:34.437Z] + 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=3250edf9d943bf9ba44667de315b11b782178186 --label arch=arm64 --label version=0.0.0 . [2024-07-30T06:11:34.712Z] Sending build context to Docker daemon 9.115MB [2024-07-30T06:11:34.712Z] Step 1/23 : ARG BASE=golang:1.21-alpine3.18 [2024-07-30T06:11:34.712Z] Step 2/23 : FROM ${BASE} AS builder [2024-07-30T06:11:34.712Z] ---> c2eca3faf8eb [2024-07-30T06:11:34.712Z] Step 3/23 : ARG ADD_BUILD_TAGS="" [2024-07-30T06:11:34.982Z] ---> Running in c1f942e70d3c [2024-07-30T06:11:35.248Z] Removing intermediate container c1f942e70d3c [2024-07-30T06:11:35.248Z] ---> 9e589d418739 [2024-07-30T06:11:35.248Z] Step 4/23 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-07-30T06:11:35.248Z] ---> Running in 8daab4c1691e [2024-07-30T06:11:35.515Z] Removing intermediate container 8daab4c1691e [2024-07-30T06:11:35.515Z] ---> 773335980310 [2024-07-30T06:11:35.515Z] Step 5/23 : RUN apk add --update --no-cache make git openssh [2024-07-30T06:11:35.782Z] ---> Running in ba7f6df517d1 [2024-07-30T06:11:36.740Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-07-30T06:11:37.004Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-07-30T06:11:37.962Z] OK: 272 MiB in 60 packages [2024-07-30T06:11:38.922Z] Removing intermediate container ba7f6df517d1 [2024-07-30T06:11:38.922Z] ---> 3c8fac651d08 [2024-07-30T06:11:38.922Z] Step 6/23 : WORKDIR /device-modbus-go [2024-07-30T06:11:38.922Z] ---> Running in ab0534869b7d [2024-07-30T06:11:39.187Z] Removing intermediate container ab0534869b7d [2024-07-30T06:11:39.187Z] ---> 720ce7c8ef36 [2024-07-30T06:11:39.187Z] Step 7/23 : COPY go.mod vendor* ./ [2024-07-30T06:11:39.778Z] ---> 913f662801cf [2024-07-30T06:11:39.778Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-07-30T06:11:39.778Z] ---> Running in 7ab27fa682e5 [2024-07-30T06:11:41.712Z] Removing intermediate container 7ab27fa682e5 [2024-07-30T06:11:41.712Z] ---> 9f3cf8cea6b0 [2024-07-30T06:11:41.712Z] Step 9/23 : COPY . . [2024-07-30T06:11:43.117Z] ---> 76941cefcf43 [2024-07-30T06:11:43.117Z] Step 10/23 : RUN ${MAKE} [2024-07-30T06:11:43.117Z] ---> Running in 3a0c361b2e06 [2024-07-30T06:11:43.698Z] CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-modbus-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.28" -trimpath -mod=readonly -o cmd/device-modbus ./cmd [2024-07-30T06:15:05.770Z] Removing intermediate container 3a0c361b2e06 [2024-07-30T06:15:05.770Z] ---> 65b82038c206 [2024-07-30T06:15:05.770Z] Step 11/23 : FROM alpine:3.18 [2024-07-30T06:15:05.770Z] 3.18: Pulling from library/alpine [2024-07-30T06:15:05.770Z] 4983c3fe2029: Pulling fs layer [2024-07-30T06:15:05.770Z] 4983c3fe2029: Verifying Checksum [2024-07-30T06:15:05.770Z] 4983c3fe2029: Download complete [2024-07-30T06:15:05.770Z] 4983c3fe2029: Pull complete [2024-07-30T06:15:05.770Z] Digest: sha256:5292533eb4efd4b5cf35e93b5a2b7d0e07ea193224c49446c7802c19ee4f2da5 [2024-07-30T06:15:05.770Z] Status: Downloaded newer image for alpine:3.18 [2024-07-30T06:15:05.770Z] ---> a0237000ae83 [2024-07-30T06:15:05.770Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2024-07-30T06:15:05.770Z] ---> Running in d5a724dd42b7 [2024-07-30T06:15:05.770Z] Removing intermediate container d5a724dd42b7 [2024-07-30T06:15:05.770Z] ---> c1fb188d66fa [2024-07-30T06:15:05.770Z] Step 13/23 : RUN apk add --update --no-cache dumb-init [2024-07-30T06:15:05.770Z] ---> Running in 8e01786f5292 [2024-07-30T06:15:05.770Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-07-30T06:15:05.770Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-07-30T06:15:05.770Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-07-30T06:15:05.770Z] Executing busybox-1.36.1-r7.trigger [2024-07-30T06:15:05.770Z] OK: 8 MiB in 16 packages [2024-07-30T06:15:05.770Z] Removing intermediate container 8e01786f5292 [2024-07-30T06:15:05.770Z] ---> 3752670d47d4 [2024-07-30T06:15:05.770Z] Step 14/23 : RUN apk --no-cache upgrade [2024-07-30T06:15:05.770Z] ---> Running in d363ed450bd2 [2024-07-30T06:15:05.770Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-07-30T06:15:05.770Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-07-30T06:15:05.770Z] OK: 8 MiB in 16 packages [2024-07-30T06:15:06.037Z] Removing intermediate container d363ed450bd2 [2024-07-30T06:15:06.037Z] ---> 1586e8b89a0f [2024-07-30T06:15:06.037Z] Step 15/23 : COPY --from=builder /device-modbus-go/cmd / [2024-07-30T06:15:07.977Z] ---> fbfedb2d457f [2024-07-30T06:15:07.977Z] Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / [2024-07-30T06:15:08.246Z] ---> f572af79bde8 [2024-07-30T06:15:08.246Z] Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / [2024-07-30T06:15:08.832Z] ---> 99d569ef1f3b [2024-07-30T06:15:08.832Z] Step 18/23 : EXPOSE 59901 [2024-07-30T06:15:08.832Z] ---> Running in 148396856b13 [2024-07-30T06:15:09.098Z] Removing intermediate container 148396856b13 [2024-07-30T06:15:09.098Z] ---> 993ebc93cdf5 [2024-07-30T06:15:09.098Z] Step 19/23 : ENTRYPOINT ["/device-modbus"] [2024-07-30T06:15:09.098Z] ---> Running in 841388040f59 [2024-07-30T06:15:09.365Z] Removing intermediate container 841388040f59 [2024-07-30T06:15:09.365Z] ---> 88062a7fe53c [2024-07-30T06:15:09.365Z] Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2024-07-30T06:15:09.632Z] ---> Running in 801f528313c5 [2024-07-30T06:15:09.898Z] Removing intermediate container 801f528313c5 [2024-07-30T06:15:09.898Z] ---> 6c87cf5d9953 [2024-07-30T06:15:09.898Z] Step 21/23 : LABEL arch=arm64 [2024-07-30T06:15:09.898Z] ---> Running in c00cda11159b [2024-07-30T06:15:10.164Z] Removing intermediate container c00cda11159b [2024-07-30T06:15:10.164Z] ---> 19da039affd2 [2024-07-30T06:15:10.164Z] Step 22/23 : LABEL git_sha=3250edf9d943bf9ba44667de315b11b782178186 [2024-07-30T06:15:10.164Z] ---> Running in 16301065bc68 [2024-07-30T06:15:10.428Z] Removing intermediate container 16301065bc68 [2024-07-30T06:15:10.428Z] ---> a1fee598a6de [2024-07-30T06:15:10.429Z] Step 23/23 : LABEL version=0.0.0 [2024-07-30T06:15:10.702Z] ---> Running in 6828f059a3cb [2024-07-30T06:15:10.967Z] Removing intermediate container 6828f059a3cb [2024-07-30T06:15:10.967Z] ---> 492a12da05ed [2024-07-30T06:15:10.967Z] [Warning] One or more build-args [ARCH] were not consumed [2024-07-30T06:15:10.967Z] Successfully built 492a12da05ed [2024-07-30T06:15:10.967Z] 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] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-30T06:15:11.936Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-07-30T06:15:11.936Z] [2024-07-30T06:15:11.936Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-30T06:15:12.372Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-07-30T06:15:12.373Z] arm64: Pulling from edgex-lftools-log-publisher [2024-07-30T06:15:12.373Z] 8998bd30e6a1: Pulling fs layer [2024-07-30T06:15:12.373Z] 04944245beec: Pulling fs layer [2024-07-30T06:15:12.373Z] 699f458cf7ca: Pulling fs layer [2024-07-30T06:15:12.373Z] 765212b225bb: Pulling fs layer [2024-07-30T06:15:12.373Z] f23df028b6ca: Pulling fs layer [2024-07-30T06:15:12.373Z] d65c8cfc05b1: Pulling fs layer [2024-07-30T06:15:12.373Z] 2437ff75d9bd: Pulling fs layer [2024-07-30T06:15:12.373Z] f23df028b6ca: Waiting [2024-07-30T06:15:12.373Z] d65c8cfc05b1: Waiting [2024-07-30T06:15:12.373Z] 2437ff75d9bd: Waiting [2024-07-30T06:15:12.373Z] 765212b225bb: Waiting [2024-07-30T06:15:12.639Z] 04944245beec: Verifying Checksum [2024-07-30T06:15:12.639Z] 04944245beec: Download complete [2024-07-30T06:15:12.639Z] 765212b225bb: Verifying Checksum [2024-07-30T06:15:12.639Z] 765212b225bb: Download complete [2024-07-30T06:15:12.639Z] f23df028b6ca: Verifying Checksum [2024-07-30T06:15:12.639Z] f23df028b6ca: Download complete [2024-07-30T06:15:12.639Z] d65c8cfc05b1: Verifying Checksum [2024-07-30T06:15:12.639Z] d65c8cfc05b1: Download complete [2024-07-30T06:15:12.905Z] 699f458cf7ca: Verifying Checksum [2024-07-30T06:15:12.905Z] 699f458cf7ca: Download complete [2024-07-30T06:15:13.170Z] 8998bd30e6a1: Verifying Checksum [2024-07-30T06:15:13.170Z] 8998bd30e6a1: Download complete [2024-07-30T06:15:15.735Z] 2437ff75d9bd: Verifying Checksum [2024-07-30T06:15:15.735Z] 2437ff75d9bd: Download complete [2024-07-30T06:15:17.665Z] 8998bd30e6a1: Pull complete [2024-07-30T06:15:18.243Z] 04944245beec: Pull complete [2024-07-30T06:15:19.640Z] 699f458cf7ca: Pull complete [2024-07-30T06:15:19.905Z] 765212b225bb: Pull complete [2024-07-30T06:15:20.856Z] f23df028b6ca: Pull complete [2024-07-30T06:15:21.121Z] d65c8cfc05b1: Pull complete [2024-07-30T06:15:39.289Z] 2437ff75d9bd: Pull complete [2024-07-30T06:15:39.289Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-07-30T06:15:39.289Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-07-30T06:15:39.289Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-30T06:15:39.646Z] prd-ubuntu20.04-docker-arm64-4c-16g-6727 does not seem to be running inside a container [2024-07-30T06:15:39.708Z] $ 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 [2024-07-30T06:15:42.379Z] $ docker top bb35e503d6f157a9e4be94aa5ae74a835a48c6c45d42aca68dda508ceb62e0d5 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-07-30T06:15:43.287Z] ---> job-cost.sh [2024-07-30T06:15:43.287Z] lf-activate-venv: SKIPPING [2024-07-30T06:15:43.287Z] INFO: No Stack... [2024-07-30T06:15:43.550Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-07-30T06:15:44.501Z] INFO: Archiving Costs [Pipeline] sh [2024-07-30T06:15:45.167Z] + cat /w/workspace/device-modbus-go/1/archives/cost.csv [2024-07-30T06:15:45.167Z] + cut -d, -f6 [Pipeline] lock [2024-07-30T06:15:45.247Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-modbus-go-PR-563-1-stack-cost] [2024-07-30T06:15:45.253Z] Resource [jenkins-edgexfoundry-device-modbus-go-PR-563-1-stack-cost] did not exist. Created. [2024-07-30T06:15:45.259Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-modbus-go-PR-563-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-07-30T06:15:45.681Z] /w/workspace/device-modbus-go/1@tmp/durable-f381bfb3/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-07-30T06:15:46.347Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-07-30T06:15:46.391Z] Warning: overwriting stash ‘stack-cost’ [2024-07-30T06:15:46.432Z] Stashed 1 file(s) [Pipeline] } [2024-07-30T06:15:46.453Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-modbus-go-PR-563-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-07-30T06:15:46.557Z] $ docker stop --time=1 bb35e503d6f157a9e4be94aa5ae74a835a48c6c45d42aca68dda508ceb62e0d5 [2024-07-30T06:15:48.053Z] $ docker rm -f --volumes bb35e503d6f157a9e4be94aa5ae74a835a48c6c45d42aca68dda508ceb62e0d5 [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 [2024-07-30T06:15:49.215Z] provisioning config files... [2024-07-30T06:15:49.221Z] copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-563@tmp/config6380788348791073975tmp [Pipeline] { [Pipeline] sh [2024-07-30T06:15:49.577Z] + set +x [2024-07-30T06:15:49.577Z] + + bash -s -- [2024-07-30T06:15:49.577Z] curl -s https://codecov.io/bash [2024-07-30T06:15:49.577Z] [2024-07-30T06:15:49.577Z] _____ _ [2024-07-30T06:15:49.577Z] / ____| | | [2024-07-30T06:15:49.577Z] | | ___ __| | ___ ___ _____ __ [2024-07-30T06:15:49.577Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2024-07-30T06:15:49.577Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2024-07-30T06:15:49.577Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2024-07-30T06:15:49.577Z] Bash-1.0.6 [2024-07-30T06:15:49.577Z] [2024-07-30T06:15:49.577Z] [2024-07-30T06:15:49.577Z] ==> git version 2.25.1 found [2024-07-30T06:15:49.577Z] ==> 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 [2024-07-30T06:15:49.577Z] Release-Date: 2020-01-08 [2024-07-30T06:15:49.577Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2024-07-30T06:15:49.577Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2024-07-30T06:15:49.577Z] ==> Jenkins CI detected. [2024-07-30T06:15:49.577Z] current dir:  /w/workspace/xfoundry_device-modbus-go_PR-563 [2024-07-30T06:15:49.577Z] project root: . [2024-07-30T06:15:49.577Z] --> token set from env [2024-07-30T06:15:49.577Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2024-07-30T06:15:49.577Z] ==> Running gcov in . (disable via -X gcov) [2024-07-30T06:15:49.577Z] ==> Python coveragepy not found [2024-07-30T06:15:49.577Z] ==> Searching for coverage reports in: [2024-07-30T06:15:49.577Z] + . [2024-07-30T06:15:49.578Z] -> Found 1 reports [2024-07-30T06:15:49.578Z] ==> Detecting git/mercurial file structure [2024-07-30T06:15:49.578Z] ==> Reading reports [2024-07-30T06:15:49.837Z] + ./coverage.out bytes=24601 [2024-07-30T06:15:49.837Z] ==> Appending adjustments [2024-07-30T06:15:49.837Z] https://docs.codecov.io/docs/fixing-reports [2024-07-30T06:15:49.837Z] + Found adjustments [2024-07-30T06:15:49.837Z] ==> Gzipping contents [2024-07-30T06:15:49.837Z] 4.0K /tmp/codecov.QVXPX1.gz [2024-07-30T06:15:49.837Z] ==> Uploading reports [2024-07-30T06:15:49.837Z] url: https://codecov.io [2024-07-30T06:15:49.837Z] query: branch=PR-563&commit=3250edf9d943bf9ba44667de315b11b782178186&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-563%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=563&job=&cmd_args= [2024-07-30T06:15:49.837Z] -> Pinging Codecov [2024-07-30T06:15:49.838Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-563&commit=3250edf9d943bf9ba44667de315b11b782178186&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-563%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=563&job=&cmd_args= [2024-07-30T06:15:49.838Z] -> Uploading to [2024-07-30T06:15:49.838Z] https://storage.googleapis.com/codecov/v4/raw/2024-07-30/55DBCA73C666E3227836607328DD7E49/3250edf9d943bf9ba44667de315b11b782178186/5e26f6c5-1417-4fb9-9ba6-c27af899b9fa.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240730%2Fus-west2%2Fs3%2Faws4_request&X-Amz-Date=20240730T061549Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=db971cc6203ad35c254c846ffc3d95c7898ab74d07b621dbf30a9bfbf10859cb [2024-07-30T06:15:50.098Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-07-30T06:15:50.098Z] Dload Upload Total Spent Left Speed [2024-07-30T06:15:50.098Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3843 0 0 100 3843 0 16283 --:--:-- --:--:-- --:--:-- 16283 [2024-07-30T06:15:50.098Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/3250edf9d943bf9ba44667de315b11b782178186 [Pipeline] } [2024-07-30T06:15:50.131Z] 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] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2024-07-30T06:15:52.361Z] + [ -d /w/workspace/xfoundry_device-modbus-go_PR-563/archives ] [2024-07-30T06:15:52.361Z] + ls -al /w/workspace/xfoundry_device-modbus-go_PR-563/archives [2024-07-30T06:15:52.361Z] total 16 [2024-07-30T06:15:52.361Z] drwxr-xr-x 3 root root 4096 Jul 30 06:04 . [2024-07-30T06:15:52.361Z] drwxrwxr-x 10 jenkins jenkins 4096 Jul 30 06:04 .. [2024-07-30T06:15:52.361Z] drwxr-xr-x 2 root root 4096 Jul 30 06:04 cost [2024-07-30T06:15:52.361Z] -rw-r--r-- 1 root root 88 Jul 30 06:04 cost.csv [2024-07-30T06:15:52.361Z] + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-563/archives [2024-07-30T06:15:52.361Z] + ls -al /w/workspace/xfoundry_device-modbus-go_PR-563/archives [2024-07-30T06:15:52.361Z] total 16 [2024-07-30T06:15:52.361Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 30 06:04 . [2024-07-30T06:15:52.361Z] drwxrwxr-x 10 jenkins jenkins 4096 Jul 30 06:04 .. [2024-07-30T06:15:52.361Z] drwxr-xr-x 2 jenkins jenkins 4096 Jul 30 06:04 cost [2024-07-30T06:15:52.361Z] -rw-r--r-- 1 jenkins jenkins 88 Jul 30 06:04 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-07-30T06:15:52.704Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-07-30T06:15:53.617Z] ---> package-listing.sh [2024-07-30T06:15:53.617Z] ++ facter osfamily [2024-07-30T06:15:53.617Z] ++ tr '[:upper:]' '[:lower:]' [2024-07-30T06:15:53.878Z] + OS_FAMILY=debian [2024-07-30T06:15:53.878Z] + workspace=/w/workspace/xfoundry_device-modbus-go_PR-563 [2024-07-30T06:15:53.878Z] + START_PACKAGES=/tmp/packages_start.txt [2024-07-30T06:15:53.878Z] + END_PACKAGES=/tmp/packages_end.txt [2024-07-30T06:15:53.878Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-07-30T06:15:53.878Z] + PACKAGES=/tmp/packages_start.txt [2024-07-30T06:15:53.878Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-563 ']' [2024-07-30T06:15:53.878Z] + PACKAGES=/tmp/packages_end.txt [2024-07-30T06:15:53.878Z] + case "${OS_FAMILY}" in [2024-07-30T06:15:53.878Z] + dpkg -l [2024-07-30T06:15:53.878Z] + grep '^ii' [2024-07-30T06:15:53.878Z] + '[' -f /tmp/packages_start.txt ']' [2024-07-30T06:15:53.878Z] + '[' -f /tmp/packages_end.txt ']' [2024-07-30T06:15:53.878Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-07-30T06:15:53.878Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-563 ']' [2024-07-30T06:15:53.878Z] + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-563/archives/ [2024-07-30T06:15:53.878Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-563/archives/ [Pipeline] echo [2024-07-30T06:15:53.920Z] 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-563/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-07-30T06:15:54.218Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-30T06:15:54.875Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-07-30T06:15:54.875Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-30T06:15:55.039Z] prd-ubuntu20.04-docker-8c-8g-6726 does not seem to be running inside a container [2024-07-30T06:15:55.085Z] $ 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-563/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-563 -v /w/workspace/xfoundry_device-modbus-go_PR-563:/w/workspace/xfoundry_device-modbus-go_PR-563:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-563@tmp:/w/workspace/xfoundry_device-modbus-go_PR-563@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 [2024-07-30T06:15:55.281Z] $ docker top 81e6862deb92c1adbb3a9432f6eec76bb24aed31bd6d72fa4ef872ae45b2699e -eo pid,comm [Pipeline] { [Pipeline] sh [2024-07-30T06:15:55.666Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-07-30T06:15:55.986Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-07-30T06:15:56.303Z] + ls /var/log/sa-host [2024-07-30T06:15:56.303Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-07-30T06:15:56.534Z] provisioning config files... [2024-07-30T06:15:56.543Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-563@tmp/config14620916577341294958tmp [Pipeline] { [Pipeline] echo [2024-07-30T06:15:56.610Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-07-30T06:15:56.931Z] ---> create-netrc.sh [Pipeline] } [2024-07-30T06:15:56.965Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-07-30T06:15:57.391Z] ---> python-tools-install.sh [Pipeline] echo [2024-07-30T06:15:57.429Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-07-30T06:15:57.752Z] ---> sudo-logs.sh [2024-07-30T06:15:57.752Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-07-30T06:15:57.861Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-07-30T06:15:58.186Z] ---> job-cost.sh [2024-07-30T06:15:58.186Z] lf-activate-venv: SKIPPING [2024-07-30T06:15:58.186Z] DEBUG: total: 0.2199999988079071 [2024-07-30T06:15:58.186Z] INFO: Retrieving Stack Cost... [2024-07-30T06:15:58.444Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-07-30T06:15:58.702Z] INFO: Archiving Costs [Pipeline] echo [2024-07-30T06:15:58.747Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-07-30T06:15:59.072Z] ---> logs-deploy.sh [2024-07-30T06:15:59.072Z] lf-activate-venv: SKIPPING [2024-07-30T06:15:59.072Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-563/1 [2024-07-30T06:15:59.072Z] INFO: archiving workspace using pattern(s): [2024-07-30T06:16:00.006Z] Archives upload complete. [2024-07-30T06:16:00.006Z] INFO: archiving logs to Nexus