Pull request #560 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from fc57f0655aff636f34b1179b7d2e09cd7eca0335+bdf5b46fa02d572085513da6d841dbb0eb23469e (f38f59a01407475df7f8ec09f65818aba5066bb6) 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-ssh2215199331983374721.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-ssh16051221236895988215.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-560/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-560/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17743497449349407386.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-560/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh18347198789781476385.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-ssh13904040771589936158.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-560/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-560/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh15762551537491045621.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 Running on prd-ubuntu20.04-docker-8c-8g-5702 in /w/workspace/xfoundry_device-modbus-go_PR-560 [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-560 # 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 Merging remotes/origin/main commit bdf5b46fa02d572085513da6d841dbb0eb23469e into PR head commit fc57f0655aff636f34b1179b7d2e09cd7eca0335 Merge succeeded, producing fc57f0655aff636f34b1179b7d2e09cd7eca0335 Checking out Revision fc57f0655aff636f34b1179b7d2e09cd7eca0335 (PR-560) > 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/560/head:refs/remotes/origin/PR-560 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f fc57f0655aff636f34b1179b7d2e09cd7eca0335 # 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 bdf5b46fa02d572085513da6d841dbb0eb23469e # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f fc57f0655aff636f34b1179b7d2e09cd7eca0335 # timeout=10 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 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-07-16T05:39:54.106Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-07-16T05:39:54.329Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-07-16T05:39:54.469Z] ========================================================= [2024-07-16T05:39:54.469Z] EdgeX Global Pipelines Version Info [2024-07-16T05:39:54.469Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-07-16T05:39:55.221Z] ------------------- [2024-07-16T05:39:55.221Z] stable info: [2024-07-16T05:39:55.221Z] ------------------- [2024-07-16T05:39:55.221Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-07-16T05:39:55.221Z] Commit SHA: 590556114a56c6d90cc8043840e039c2f74196dc [2024-07-16T05:39:55.221Z] Message: update stable to v1.0.260 [2024-07-16T05:39:55.794Z] ------------------- [2024-07-16T05:39:55.794Z] experimental info: [2024-07-16T05:39:55.794Z] ------------------- [2024-07-16T05:39:55.794Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-07-16T05:39:55.794Z] Commit SHA: f5e0e1f8358a839901f1a476b3a28a62f8570917 [2024-07-16T05:39:55.794Z] Message: update experimental to v1.0.259 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-07-16T05:39:56.030Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo [2024-07-16T05:39:56.085Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo [2024-07-16T05:39:56.149Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-07-16T05:39:56.208Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-07-16T05:39:56.266Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-07-16T05:39:56.321Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2024-07-16T05:39:56.380Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-07-16T05:39:56.432Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2024-07-16T05:39:56.484Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-07-16T05:39:56.541Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-07-16T05:39:56.600Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-07-16T05:39:56.657Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo [2024-07-16T05:39:56.719Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-07-16T05:39:56.783Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-07-16T05:39:56.843Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-07-16T05:39:56.899Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2024-07-16T05:39:56.952Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-07-16T05:39:57.009Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-07-16T05:39:57.066Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-07-16T05:39:57.126Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-07-16T05:39:57.191Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2024-07-16T05:39:57.251Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2024-07-16T05:39:57.312Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-07-16T05:39:57.367Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-07-16T05:39:57.419Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-07-16T05:39:57.476Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-07-16T05:39:57.540Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-07-16T05:39:57.596Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-560 [Pipeline] echo [2024-07-16T05:39:57.654Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-560 [Pipeline] echo [2024-07-16T05:39:57.784Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-560 [Pipeline] echo [2024-07-16T05:39:57.843Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = fc57f0655aff636f34b1179b7d2e09cd7eca0335 [Pipeline] echo [2024-07-16T05:39:57.903Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = fc57f06 [Pipeline] echo [2024-07-16T05:39:57.960Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-07-16T05:39:58.112Z] provisioning config files... [2024-07-16T05:39:58.124Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-560@tmp/config7341966854536186234tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-07-16T05:39:58.544Z] ---> ****-login.sh [2024-07-16T05:39:58.544Z] nexus3.edgexfoundry.org:10001 [2024-07-16T05:39:58.804Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-16T05:39:58.804Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-16T05:39:58.804Z] Configure a credential helper to remove this warning. See [2024-07-16T05:39:58.804Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-16T05:39:58.804Z] [2024-07-16T05:39:58.804Z] Login Succeeded [2024-07-16T05:39:58.804Z] nexus3.edgexfoundry.org:10002 [2024-07-16T05:39:59.063Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-16T05:39:59.064Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-16T05:39:59.064Z] Configure a credential helper to remove this warning. See [2024-07-16T05:39:59.064Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-16T05:39:59.064Z] [2024-07-16T05:39:59.064Z] Login Succeeded [2024-07-16T05:39:59.064Z] nexus3.edgexfoundry.org:10003 [2024-07-16T05:39:59.064Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-16T05:39:59.064Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-16T05:39:59.064Z] Configure a credential helper to remove this warning. See [2024-07-16T05:39:59.064Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-16T05:39:59.064Z] [2024-07-16T05:39:59.064Z] Login Succeeded [2024-07-16T05:39:59.064Z] nexus3.edgexfoundry.org:10004 [2024-07-16T05:39:59.064Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-16T05:39:59.328Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-16T05:39:59.328Z] Configure a credential helper to remove this warning. See [2024-07-16T05:39:59.328Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-16T05:39:59.328Z] [2024-07-16T05:39:59.328Z] Login Succeeded [2024-07-16T05:39:59.328Z] ****.io [2024-07-16T05:39:59.328Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-16T05:39:59.590Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-16T05:39:59.590Z] Configure a credential helper to remove this warning. See [2024-07-16T05:39:59.590Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-16T05:39:59.590Z] [2024-07-16T05:39:59.590Z] Login Succeeded [2024-07-16T05:39:59.590Z] ---> ****-login.sh ends [Pipeline] } [2024-07-16T05:39:59.629Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-07-16T05:40:00.332Z] + git rev-list -1 --merges fc57f0655aff636f34b1179b7d2e09cd7eca0335~1..fc57f0655aff636f34b1179b7d2e09cd7eca0335 [Pipeline] echo [2024-07-16T05:40:00.372Z] -----------> git rev-list -1 --merges fc57f0655aff636f34b1179b7d2e09cd7eca0335~1..fc57f0655aff636f34b1179b7d2e09cd7eca0335 fc57f0655aff636f34b1179b7d2e09cd7eca0335 [false] [Pipeline] sh [2024-07-16T05:40:00.692Z] + git log --format=format:%s -1 fc57f0655aff636f34b1179b7d2e09cd7eca0335 [Pipeline] echo [2024-07-16T05:40:00.741Z] ========================================================= [2024-07-16T05:40:00.741Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-07-16T05:40:00.741Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-07-16T05:40:01.215Z] + git log --format=format:%s -1 fc57f0655aff636f34b1179b7d2e09cd7eca0335 [Pipeline] echo [2024-07-16T05:40:01.258Z] [semverPrep] GIT_COMMIT: fc57f0655aff636f34b1179b7d2e09cd7eca0335, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo [2024-07-16T05:40:01.300Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-07-16T05:40:01.729Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-07-16T05:40:01.730Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-07-16T05:40:01.730Z] + [ -e /tmp/ssh_known_hosts ] [2024-07-16T05:40:01.730Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-07-16T05:40:01.730Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-07-16T05:40:01.730Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2024-07-16T05:40:01.730Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-16T05:40:02.317Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-07-16T05:40:02.317Z] [2024-07-16T05:40:02.317Z] 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-16T05:40:02.772Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-07-16T05:40:02.772Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-07-16T05:40:02.772Z] b85a868b505f: Pulling fs layer [2024-07-16T05:40:02.772Z] e2be974225ed: Pulling fs layer [2024-07-16T05:40:02.772Z] 339a4e72a1f5: Pulling fs layer [2024-07-16T05:40:02.772Z] 988bab9f4d93: Pulling fs layer [2024-07-16T05:40:02.772Z] 1469e6f7b9e6: Pulling fs layer [2024-07-16T05:40:02.772Z] eaf3925da568: Pulling fs layer [2024-07-16T05:40:02.772Z] bab4dde63d76: Pulling fs layer [2024-07-16T05:40:02.772Z] bde34c3a00c8: Pulling fs layer [2024-07-16T05:40:02.772Z] b352a97aabf1: Pulling fs layer [2024-07-16T05:40:02.772Z] 4872d77fe225: Pulling fs layer [2024-07-16T05:40:02.772Z] 5851b861e8e6: Pulling fs layer [2024-07-16T05:40:02.772Z] 988bab9f4d93: Waiting [2024-07-16T05:40:02.772Z] 1469e6f7b9e6: Waiting [2024-07-16T05:40:02.772Z] b352a97aabf1: Waiting [2024-07-16T05:40:02.772Z] eaf3925da568: Waiting [2024-07-16T05:40:02.772Z] bab4dde63d76: Waiting [2024-07-16T05:40:02.772Z] bde34c3a00c8: Waiting [2024-07-16T05:40:02.772Z] 5851b861e8e6: Waiting [2024-07-16T05:40:02.772Z] e2be974225ed: Verifying Checksum [2024-07-16T05:40:02.772Z] e2be974225ed: Download complete [2024-07-16T05:40:02.772Z] 988bab9f4d93: Verifying Checksum [2024-07-16T05:40:02.772Z] 988bab9f4d93: Download complete [2024-07-16T05:40:02.772Z] 1469e6f7b9e6: Verifying Checksum [2024-07-16T05:40:02.772Z] 1469e6f7b9e6: Download complete [2024-07-16T05:40:02.772Z] 339a4e72a1f5: Verifying Checksum [2024-07-16T05:40:02.772Z] 339a4e72a1f5: Download complete [2024-07-16T05:40:02.772Z] eaf3925da568: Verifying Checksum [2024-07-16T05:40:03.032Z] bde34c3a00c8: Download complete [2024-07-16T05:40:03.032Z] b352a97aabf1: Verifying Checksum [2024-07-16T05:40:03.032Z] b352a97aabf1: Download complete [2024-07-16T05:40:03.032Z] 4872d77fe225: Verifying Checksum [2024-07-16T05:40:03.032Z] 5851b861e8e6: Verifying Checksum [2024-07-16T05:40:03.032Z] 5851b861e8e6: Download complete [2024-07-16T05:40:03.032Z] b85a868b505f: Verifying Checksum [2024-07-16T05:40:03.032Z] b85a868b505f: Download complete [2024-07-16T05:40:03.293Z] bab4dde63d76: Verifying Checksum [2024-07-16T05:40:03.293Z] bab4dde63d76: Download complete [2024-07-16T05:40:04.238Z] b85a868b505f: Pull complete [2024-07-16T05:40:04.497Z] e2be974225ed: Pull complete [2024-07-16T05:40:04.758Z] 339a4e72a1f5: Pull complete [2024-07-16T05:40:05.017Z] 988bab9f4d93: Pull complete [2024-07-16T05:40:05.276Z] 1469e6f7b9e6: Pull complete [2024-07-16T05:40:05.276Z] eaf3925da568: Pull complete [2024-07-16T05:40:06.652Z] bab4dde63d76: Pull complete [2024-07-16T05:40:06.912Z] bde34c3a00c8: Pull complete [2024-07-16T05:40:06.912Z] b352a97aabf1: Pull complete [2024-07-16T05:40:06.912Z] 4872d77fe225: Pull complete [2024-07-16T05:40:07.176Z] 5851b861e8e6: Pull complete [2024-07-16T05:40:07.176Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-07-16T05:40:07.176Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-07-16T05:40:07.176Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-16T05:40:07.447Z] prd-ubuntu20.04-docker-8c-8g-5702 does not seem to be running inside a container [2024-07-16T05:40:07.465Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-560 -v /w/workspace/xfoundry_device-modbus-go_PR-560:/w/workspace/xfoundry_device-modbus-go_PR-560:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-560@tmp:/w/workspace/xfoundry_device-modbus-go_PR-560@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-07-16T05:40:09.908Z] $ docker top d1ba34a5154b41111e74f63ecee85c8f1484ddf937a16e6f3467e34b882f6405 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-07-16T05:40:10.162Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-07-16T05:40:10.162Z] [ssh-agent] Looking for ssh-agent implementation... [2024-07-16T05:40:10.277Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-07-16T05:40:10.273Z] $ docker exec d1ba34a5154b41111e74f63ecee85c8f1484ddf937a16e6f3467e34b882f6405 ssh-agent [2024-07-16T05:40:10.401Z] SSH_AUTH_SOCK=/tmp/ssh-NGEHQMNv5giu/agent.32 [2024-07-16T05:40:10.401Z] SSH_AGENT_PID=38 [2024-07-16T05:40:10.407Z] Running ssh-add (command line suppressed) [2024-07-16T05:40:10.487Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-560@tmp/private_key_16781453303871849302.key (/w/workspace/xfoundry_device-modbus-go_PR-560@tmp/private_key_16781453303871849302.key) [2024-07-16T05:40:10.508Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-07-16T05:40:10.858Z] + git tag --points-at HEAD [Pipeline] } [2024-07-16T05:40:10.889Z] $ docker exec --env ******** --env ******** d1ba34a5154b41111e74f63ecee85c8f1484ddf937a16e6f3467e34b882f6405 ssh-agent -k [2024-07-16T05:40:10.992Z] unset SSH_AUTH_SOCK; [2024-07-16T05:40:10.992Z] unset SSH_AGENT_PID; [2024-07-16T05:40:10.992Z] echo Agent pid 38 killed; [2024-07-16T05:40:11.007Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-07-16T05:40:11.131Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-07-16T05:40:11.131Z] [ssh-agent] Looking for ssh-agent implementation... [2024-07-16T05:40:11.230Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-07-16T05:40:11.226Z] $ docker exec d1ba34a5154b41111e74f63ecee85c8f1484ddf937a16e6f3467e34b882f6405 ssh-agent [2024-07-16T05:40:11.330Z] SSH_AUTH_SOCK=/tmp/ssh-EGr6mNdkHjVY/agent.71 [2024-07-16T05:40:11.330Z] SSH_AGENT_PID=77 [2024-07-16T05:40:11.334Z] Running ssh-add (command line suppressed) [2024-07-16T05:40:11.424Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-560@tmp/private_key_14516602917066108847.key (/w/workspace/xfoundry_device-modbus-go_PR-560@tmp/private_key_14516602917066108847.key) [2024-07-16T05:40:11.446Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-07-16T05:40:11.796Z] + git semver init [2024-07-16T05:40:12.056Z] 2024-07-16 05:40:11,948 [run_init] DEBUG init version:0.0.0 force:False [2024-07-16T05:40:12.056Z] 2024-07-16 05:40:11,949 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-modbus-go_PR-560/.semver [2024-07-16T05:40:12.056Z] 2024-07-16 05:40:11,950 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/xfoundry_device-modbus-go_PR-560/.semver [2024-07-16T05:40:12.056Z] 2024-07-16 05:40:11,950 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/xfoundry_device-modbus-go_PR-560/.semver'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-560, universal_newlines=False, shell=None, istream=None) [2024-07-16T05:40:12.994Z] 2024-07-16 05:40:12,912 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-modbus-go_PR-560/.git/info/exclude [2024-07-16T05:40:12.994Z] 2024-07-16 05:40:12,913 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-modbus-go_PR-560/.semver/PR-560 with force:False [2024-07-16T05:40:12.994Z] 2024-07-16 05:40:12,913 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-modbus-go_PR-560/.semver/PR-560 [2024-07-16T05:40:12.994Z] 2024-07-16 05:40:12,917 [execute] INFO git cat-file --batch-check [2024-07-16T05:40:12.994Z] 2024-07-16 05:40:12,917 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-560/.semver, universal_newlines=False, shell=None, istream=) [2024-07-16T05:40:12.994Z] 2024-07-16 05:40:12,922 [execute] INFO git cat-file --batch [2024-07-16T05:40:12.994Z] 2024-07-16 05:40:12,922 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-560/.semver, universal_newlines=False, shell=None, istream=) [2024-07-16T05:40:12.994Z] 2024-07-16 05:40:12,927 [read_version] DEBUG read version from /w/workspace/xfoundry_device-modbus-go_PR-560/.semver/PR-560 [2024-07-16T05:40:12.994Z] 0.0.0 [Pipeline] } [2024-07-16T05:40:13.016Z] $ docker exec --env ******** --env ******** d1ba34a5154b41111e74f63ecee85c8f1484ddf937a16e6f3467e34b882f6405 ssh-agent -k [2024-07-16T05:40:13.105Z] unset SSH_AUTH_SOCK; [2024-07-16T05:40:13.105Z] unset SSH_AGENT_PID; [2024-07-16T05:40:13.105Z] echo Agent pid 77 killed; [2024-07-16T05:40:13.123Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-07-16T05:40:13.601Z] + git semver [Pipeline] } [2024-07-16T05:40:13.881Z] $ docker stop --time=1 d1ba34a5154b41111e74f63ecee85c8f1484ddf937a16e6f3467e34b882f6405 [2024-07-16T05:40:15.202Z] $ docker rm -f --volumes d1ba34a5154b41111e74f63ecee85c8f1484ddf937a16e6f3467e34b882f6405 [Pipeline] // withDockerContainer [Pipeline] sh [2024-07-16T05:40:15.639Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-07-16T05:40:15.956Z] Stashed 1 file(s) [Pipeline] echo [2024-07-16T05:40:15.980Z] [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-16T05:40:16.766Z] provisioning config files... [2024-07-16T05:40:16.779Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-560@tmp/config10863527092585626480tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-07-16T05:40:17.151Z] ---> ****-login.sh [2024-07-16T05:40:17.152Z] nexus3.edgexfoundry.org:10001 [2024-07-16T05:40:17.152Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-16T05:40:17.152Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-16T05:40:17.152Z] Configure a credential helper to remove this warning. See [2024-07-16T05:40:17.152Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-16T05:40:17.152Z] [2024-07-16T05:40:17.152Z] Login Succeeded [2024-07-16T05:40:17.152Z] nexus3.edgexfoundry.org:10002 [2024-07-16T05:40:17.152Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-16T05:40:17.152Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-16T05:40:17.152Z] Configure a credential helper to remove this warning. See [2024-07-16T05:40:17.152Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-16T05:40:17.152Z] [2024-07-16T05:40:17.152Z] Login Succeeded [2024-07-16T05:40:17.152Z] nexus3.edgexfoundry.org:10003 [2024-07-16T05:40:17.411Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-16T05:40:17.411Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-16T05:40:17.411Z] Configure a credential helper to remove this warning. See [2024-07-16T05:40:17.411Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-16T05:40:17.411Z] [2024-07-16T05:40:17.411Z] Login Succeeded [2024-07-16T05:40:17.411Z] nexus3.edgexfoundry.org:10004 [2024-07-16T05:40:17.411Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-16T05:40:17.411Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-16T05:40:17.411Z] Configure a credential helper to remove this warning. See [2024-07-16T05:40:17.411Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-16T05:40:17.411Z] [2024-07-16T05:40:17.412Z] Login Succeeded [2024-07-16T05:40:17.412Z] ****.io [2024-07-16T05:40:17.670Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-16T05:40:17.671Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-16T05:40:17.671Z] Configure a credential helper to remove this warning. See [2024-07-16T05:40:17.671Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-16T05:40:17.671Z] [2024-07-16T05:40:17.671Z] Login Succeeded [2024-07-16T05:40:17.671Z] ---> ****-login.sh ends [Pipeline] } [2024-07-16T05:40:17.709Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-07-16T05:40:17.941Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-07-16T05:40:17.995Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-07-16T05:40:18.043Z] ========================================================= [2024-07-16T05:40:18.043Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2024-07-16T05:40:18.043Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-16T05:40:18.569Z] + 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-16T05:40:18.569Z] Sending build context to Docker daemon 17.79MB [2024-07-16T05:40:18.569Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2024-07-16T05:40:18.569Z] Step 2/10 : FROM ${BASE} AS builder [2024-07-16T05:40:18.830Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2024-07-16T05:40:18.830Z] 619be1103602: Pulling fs layer [2024-07-16T05:40:18.830Z] 7862e08f4a3e: Pulling fs layer [2024-07-16T05:40:18.830Z] 5df492c9dc93: Pulling fs layer [2024-07-16T05:40:18.830Z] 7629e6793208: Pulling fs layer [2024-07-16T05:40:18.830Z] 4f4fb700ef54: Pulling fs layer [2024-07-16T05:40:18.830Z] fb5054dd5b73: Pulling fs layer [2024-07-16T05:40:18.830Z] eeca6798cff9: Pulling fs layer [2024-07-16T05:40:18.830Z] aa269ceb94a6: Pulling fs layer [2024-07-16T05:40:18.830Z] ada007ff1a6a: Pulling fs layer [2024-07-16T05:40:18.830Z] fb5054dd5b73: Waiting [2024-07-16T05:40:18.830Z] eeca6798cff9: Waiting [2024-07-16T05:40:18.830Z] 7629e6793208: Waiting [2024-07-16T05:40:18.830Z] aa269ceb94a6: Waiting [2024-07-16T05:40:18.830Z] 4f4fb700ef54: Waiting [2024-07-16T05:40:18.830Z] ada007ff1a6a: Waiting [2024-07-16T05:40:18.830Z] 7862e08f4a3e: Download complete [2024-07-16T05:40:18.830Z] 7629e6793208: Verifying Checksum [2024-07-16T05:40:18.830Z] 7629e6793208: Download complete [2024-07-16T05:40:18.830Z] 4f4fb700ef54: Download complete [2024-07-16T05:40:18.830Z] fb5054dd5b73: Verifying Checksum [2024-07-16T05:40:18.830Z] fb5054dd5b73: Download complete [2024-07-16T05:40:18.830Z] 619be1103602: Verifying Checksum [2024-07-16T05:40:18.830Z] 619be1103602: Download complete [2024-07-16T05:40:18.830Z] eeca6798cff9: Verifying Checksum [2024-07-16T05:40:18.830Z] eeca6798cff9: Download complete [2024-07-16T05:40:19.091Z] 619be1103602: Pull complete [2024-07-16T05:40:19.091Z] ada007ff1a6a: Verifying Checksum [2024-07-16T05:40:19.091Z] ada007ff1a6a: Download complete [2024-07-16T05:40:19.091Z] 7862e08f4a3e: Pull complete [2024-07-16T05:40:19.349Z] 5df492c9dc93: Verifying Checksum [2024-07-16T05:40:19.349Z] 5df492c9dc93: Download complete [2024-07-16T05:40:19.608Z] aa269ceb94a6: Verifying Checksum [2024-07-16T05:40:19.608Z] aa269ceb94a6: Download complete [2024-07-16T05:40:22.900Z] 5df492c9dc93: Pull complete [2024-07-16T05:40:22.900Z] 7629e6793208: Pull complete [2024-07-16T05:40:22.900Z] 4f4fb700ef54: Pull complete [2024-07-16T05:40:22.900Z] fb5054dd5b73: Pull complete [2024-07-16T05:40:22.900Z] eeca6798cff9: Pull complete [2024-07-16T05:40:24.820Z] aa269ceb94a6: Pull complete [2024-07-16T05:40:25.387Z] ada007ff1a6a: Pull complete [2024-07-16T05:40:25.387Z] Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 [2024-07-16T05:40:25.387Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2024-07-16T05:40:25.387Z] ---> f489d0715acc [2024-07-16T05:40:25.387Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2024-07-16T05:40:28.673Z] ---> Running in 33a6338eddc6 [2024-07-16T05:40:28.673Z] Removing intermediate container 33a6338eddc6 [2024-07-16T05:40:28.673Z] ---> 18075be7d427 [2024-07-16T05:40:28.673Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-07-16T05:40:28.673Z] ---> Running in 61c0eb3640d7 [2024-07-16T05:40:28.673Z] Removing intermediate container 61c0eb3640d7 [2024-07-16T05:40:28.673Z] ---> 1aecc788a88a [2024-07-16T05:40:28.673Z] Step 5/10 : RUN apk add --update --no-cache make git openssh [2024-07-16T05:40:28.673Z] ---> Running in 5bc1b7a805d4 [2024-07-16T05:40:28.673Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-07-16T05:40:28.933Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-07-16T05:40:29.191Z] (1/8) Installing openssh-keygen (9.3_p2-r2) [2024-07-16T05:40:29.191Z] (2/8) Installing libedit (20221030.3.1-r1) [2024-07-16T05:40:29.191Z] (3/8) Installing openssh-client-common (9.3_p2-r2) [2024-07-16T05:40:29.191Z] (4/8) Installing openssh-client-default (9.3_p2-r2) [2024-07-16T05:40:29.191Z] (5/8) Installing openssh-sftp-server (9.3_p2-r2) [2024-07-16T05:40:29.191Z] (6/8) Installing openssh-server-common (9.3_p2-r2) [2024-07-16T05:40:29.191Z] (7/8) Installing openssh-server (9.3_p2-r2) [2024-07-16T05:40:29.191Z] (8/8) Installing openssh (9.3_p2-r2) [2024-07-16T05:40:29.191Z] Executing busybox-1.36.1-r5.trigger [2024-07-16T05:40:29.191Z] OK: 270 MiB in 60 packages [2024-07-16T05:40:29.756Z] Removing intermediate container 5bc1b7a805d4 [2024-07-16T05:40:29.756Z] ---> edb4e3540e4c [2024-07-16T05:40:29.756Z] Step 6/10 : WORKDIR /device-modbus-go [2024-07-16T05:40:29.756Z] ---> Running in ae8596f92953 [2024-07-16T05:40:29.756Z] Removing intermediate container ae8596f92953 [2024-07-16T05:40:29.757Z] ---> 580ff94c1a08 [2024-07-16T05:40:29.757Z] Step 7/10 : COPY go.mod vendor* ./ [2024-07-16T05:40:30.015Z] ---> 88970b422179 [2024-07-16T05:40:30.015Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-07-16T05:40:30.015Z] ---> Running in 900effc9477c [2024-07-16T05:40:31.483Z] Still waiting to schedule task [2024-07-16T05:40:31.483Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2024-07-16T05:41:26.252Z] Removing intermediate container 900effc9477c [2024-07-16T05:41:26.252Z] ---> 64e7e8d210ec [2024-07-16T05:41:26.252Z] Step 9/10 : COPY . . [2024-07-16T05:41:26.252Z] ---> 0eeeb6cad81d [2024-07-16T05:41:26.252Z] Step 10/10 : RUN ${MAKE} [2024-07-16T05:41:26.252Z] ---> Running in d6fb5950b4e8 [2024-07-16T05:41:26.252Z] noop [2024-07-16T05:41:26.252Z] Removing intermediate container d6fb5950b4e8 [2024-07-16T05:41:26.252Z] ---> 156668afb2be [2024-07-16T05:41:26.252Z] Successfully built 156668afb2be [2024-07-16T05:41:26.252Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-16T05:41:26.724Z] + docker inspect -f . ci-base-image-x86_64 [2024-07-16T05:41:26.724Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-16T05:41:26.893Z] prd-ubuntu20.04-docker-8c-8g-5702 does not seem to be running inside a container [2024-07-16T05:41:26.914Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-560 -v /w/workspace/xfoundry_device-modbus-go_PR-560:/w/workspace/xfoundry_device-modbus-go_PR-560:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-560@tmp:/w/workspace/xfoundry_device-modbus-go_PR-560@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 ******** ci-base-image-x86_64 cat [2024-07-16T05:41:27.241Z] $ docker top f19b1bd37611717cff3aae327fa3c02fca47d0ff40646405c394818ab9d7ca15 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-07-16T05:41:27.663Z] + go version [2024-07-16T05:41:27.663Z] go version go1.21.9 linux/amd64 [Pipeline] } [2024-07-16T05:41:27.747Z] $ docker stop --time=1 f19b1bd37611717cff3aae327fa3c02fca47d0ff40646405c394818ab9d7ca15 [2024-07-16T05:41:29.034Z] $ docker rm -f --volumes f19b1bd37611717cff3aae327fa3c02fca47d0ff40646405c394818ab9d7ca15 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-16T05:41:29.852Z] + docker inspect -f . ci-base-image-x86_64 [2024-07-16T05:41:29.852Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-16T05:41:30.034Z] prd-ubuntu20.04-docker-8c-8g-5702 does not seem to be running inside a container [2024-07-16T05:41:30.058Z] $ 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-560 -v /w/workspace/xfoundry_device-modbus-go_PR-560:/w/workspace/xfoundry_device-modbus-go_PR-560:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-560@tmp:/w/workspace/xfoundry_device-modbus-go_PR-560@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 ******** ci-base-image-x86_64 cat [2024-07-16T05:41:30.404Z] $ docker top b71256ffb863edfa385ada8b669c874725ed79be4163949a6e0e4e61f49aab59 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-07-16T05:41:30.824Z] + git config --global --add safe.directory /w/workspace/xfoundry_device-modbus-go_PR-560 [Pipeline] fileExists [Pipeline] sh [2024-07-16T05:41:31.205Z] + make test [2024-07-16T05:41:31.205Z] go test ./... -coverprofile=coverage.out [2024-07-16T05:41:32.580Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2024-07-16T05:41:50.668Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2024-07-16T05:41:50.668Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.007s coverage: 47.9% of statements [2024-07-16T05:42:02.880Z] go vet ./... [2024-07-16T05:42:07.096Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-07-16T05:42:07.096Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-07-16T05:42:07.096Z] ./bin/test-attribution-txt.sh [2024-07-16T05:42:07.354Z] An attribution for github.com/panjf2000/ants/v2 is missing from Attribution.txt, please add [Pipeline] echo [2024-07-16T05:42:07.401Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-07-16T05:42:07.441Z] $ docker stop --time=1 b71256ffb863edfa385ada8b669c874725ed79be4163949a6e0e4e61f49aab59 [2024-07-16T05:42:12.036Z] $ docker rm -f --volumes b71256ffb863edfa385ada8b669c874725ed79be4163949a6e0e4e61f49aab59 [Pipeline] // withDockerContainer [Pipeline] sh [2024-07-16T05:42:12.645Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-07-16T05:42:12.725Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [2024-07-16T05:42:13.094Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-5711 in /w/workspace/xfoundry_device-modbus-go_PR-560 [Pipeline] sh [Pipeline] { [Pipeline] ws [2024-07-16T05:42:13.320Z] Running in /w/workspace/device-modbus-go/1 [Pipeline] { [Pipeline] checkout [2024-07-16T05:42:13.481Z] + sudo chown -R jenkins:jenkins . [2024-07-16T05:42:16.432Z] The recommended git tool is: git [Pipeline] sh [2024-07-16T05:42:16.802Z] + ls -al . [2024-07-16T05:42:16.802Z] total 272 [2024-07-16T05:42:16.802Z] drwxrwxr-x 9 jenkins jenkins 4096 Jul 16 05:41 . [2024-07-16T05:42:16.802Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 16 05:39 .. [2024-07-16T05:42:16.802Z] -rw-rw-r-- 1 jenkins jenkins 140 Jul 16 05:39 .dockerignore [2024-07-16T05:42:16.802Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 16 05:41 .git [2024-07-16T05:42:16.802Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 16 05:39 .github [2024-07-16T05:42:16.802Z] -rw-rw-r-- 1 jenkins jenkins 266 Jul 16 05:39 .gitignore [2024-07-16T05:42:16.802Z] -rw-rw-r-- 1 jenkins jenkins 41 Jul 16 05:39 .golangci.yml [2024-07-16T05:42:16.802Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 16 05:40 .semver [2024-07-16T05:42:16.802Z] -rw-rw-r-- 1 jenkins jenkins 19432 Jul 16 05:39 Attribution.txt [2024-07-16T05:42:16.802Z] -rw-rw-r-- 1 jenkins jenkins 16388 Jul 16 05:39 CHANGELOG.md [2024-07-16T05:42:16.802Z] -rw-rw-r-- 1 jenkins jenkins 1474 Jul 16 05:39 Dockerfile [2024-07-16T05:42:16.802Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 16 05:39 GOVERNANCE.md [2024-07-16T05:42:16.802Z] -rw-rw-r-- 1 jenkins jenkins 658 Jul 16 05:39 Jenkinsfile [2024-07-16T05:42:16.802Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jul 16 05:39 LICENSE [2024-07-16T05:42:16.802Z] -rw-rw-r-- 1 jenkins jenkins 1942 Jul 16 05:39 Makefile [2024-07-16T05:42:16.802Z] -rw-rw-r-- 1 jenkins jenkins 622 Jul 16 05:39 OWNERS.md [2024-07-16T05:42:16.802Z] -rw-rw-r-- 1 jenkins jenkins 4463 Jul 16 05:39 README.md [2024-07-16T05:42:16.802Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 16 05:40 VERSION [2024-07-16T05:42:16.802Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 16 05:39 bin [2024-07-16T05:42:16.802Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 16 05:39 cmd [2024-07-16T05:42:16.802Z] -rw-r--r-- 1 jenkins jenkins 24601 Jul 16 05:41 coverage.out [2024-07-16T05:42:16.802Z] -rw-rw-r-- 1 jenkins jenkins 7184 Jul 16 05:39 go.mod [2024-07-16T05:42:16.802Z] -rw-rw-r-- 1 jenkins jenkins 102270 Jul 16 05:39 go.sum [2024-07-16T05:42:16.802Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 16 05:39 internal [2024-07-16T05:42:16.802Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 16 05:39 simulator [2024-07-16T05:42:16.802Z] -rw-rw-r-- 1 jenkins jenkins 229 Jul 16 05:39 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-16T05:42:17.238Z] + 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=fc57f0655aff636f34b1179b7d2e09cd7eca0335 --label arch=amd64 --label version=0.0.0 . [2024-07-16T05:42:17.238Z] Sending build context to Docker daemon 17.81MB [2024-07-16T05:42:17.238Z] Step 1/23 : ARG BASE=golang:1.21-alpine3.18 [2024-07-16T05:42:17.238Z] Step 2/23 : FROM ${BASE} AS builder [2024-07-16T05:42:17.238Z] ---> 156668afb2be [2024-07-16T05:42:17.238Z] Step 3/23 : ARG ADD_BUILD_TAGS="" [2024-07-16T05:42:17.804Z] ---> Running in 16db5864d62c [2024-07-16T05:42:17.804Z] Removing intermediate container 16db5864d62c [2024-07-16T05:42:17.804Z] ---> 302246b9b1a4 [2024-07-16T05:42:17.804Z] Step 4/23 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-07-16T05:42:17.804Z] ---> Running in f1b6e2e4838f [2024-07-16T05:42:17.804Z] Removing intermediate container f1b6e2e4838f [2024-07-16T05:42:17.804Z] ---> d450821869b5 [2024-07-16T05:42:17.804Z] Step 5/23 : RUN apk add --update --no-cache make git openssh [2024-07-16T05:42:17.804Z] ---> Running in 4b0c3e374a49 [2024-07-16T05:42:18.063Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-07-16T05:42:18.321Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-07-16T05:42:18.580Z] OK: 270 MiB in 60 packages [2024-07-16T05:42:18.839Z] Removing intermediate container 4b0c3e374a49 [2024-07-16T05:42:18.839Z] ---> 50d0d9ac18b8 [2024-07-16T05:42:18.839Z] Step 6/23 : WORKDIR /device-modbus-go [2024-07-16T05:42:18.839Z] ---> Running in f3639a3f5e17 [2024-07-16T05:42:18.839Z] Removing intermediate container f3639a3f5e17 [2024-07-16T05:42:18.839Z] ---> a22e1266708c [2024-07-16T05:42:18.839Z] Step 7/23 : COPY go.mod vendor* ./ [2024-07-16T05:42:19.098Z] ---> 274360a81991 [2024-07-16T05:42:19.098Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-07-16T05:42:19.098Z] ---> Running in 8a318d4c821a [2024-07-16T05:42:19.663Z] Removing intermediate container 8a318d4c821a [2024-07-16T05:42:19.663Z] ---> b5700105988f [2024-07-16T05:42:19.663Z] Step 9/23 : COPY . . [2024-07-16T05:42:20.229Z] ---> ccd0e9e9a076 [2024-07-16T05:42:20.229Z] Step 10/23 : RUN ${MAKE} [2024-07-16T05:42:20.488Z] ---> Running in ba5c1ff358fc [2024-07-16T05:42:20.747Z] 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.24" -trimpath -mod=readonly -o cmd/device-modbus ./cmd [2024-07-16T05:42:24.076Z] using credential edgex-jenkins-ssh [2024-07-16T05:42:24.103Z] Cloning the remote Git repository [2024-07-16T05:42:24.162Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2024-07-16T05:42:24.304Z] > git init /w/workspace/device-modbus-go/1 # timeout=10 [2024-07-16T05:42:24.496Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2024-07-16T05:42:24.497Z] > git --version # timeout=10 [2024-07-16T05:42:24.522Z] > git --version # 'git version 2.25.1' [2024-07-16T05:42:24.525Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-07-16T05:42:24.720Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-07-16T05:42:26.888Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2024-07-16T05:42:26.916Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-07-16T05:42:27.988Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2024-07-16T05:42:28.082Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2024-07-16T05:42:28.086Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-07-16T05:42:28.116Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/560/head:refs/remotes/origin/PR-560 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2024-07-16T05:42:28.676Z] Merging remotes/origin/main commit bdf5b46fa02d572085513da6d841dbb0eb23469e into PR head commit fc57f0655aff636f34b1179b7d2e09cd7eca0335 [2024-07-16T05:42:29.141Z] Merge succeeded, producing fc57f0655aff636f34b1179b7d2e09cd7eca0335 [2024-07-16T05:42:29.142Z] Checking out Revision fc57f0655aff636f34b1179b7d2e09cd7eca0335 (PR-560) [2024-07-16T05:42:28.710Z] > git config core.sparsecheckout # timeout=10 [2024-07-16T05:42:28.805Z] > git checkout -f fc57f0655aff636f34b1179b7d2e09cd7eca0335 # timeout=10 [2024-07-16T05:42:28.984Z] > git remote # timeout=10 [2024-07-16T05:42:29.004Z] > git config --get remote.origin.url # timeout=10 [2024-07-16T05:42:29.039Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-07-16T05:42:29.063Z] > git merge bdf5b46fa02d572085513da6d841dbb0eb23469e # timeout=10 [2024-07-16T05:42:29.118Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-07-16T05:42:29.144Z] > git config core.sparsecheckout # timeout=10 [2024-07-16T05:42:29.172Z] > git checkout -f fc57f0655aff636f34b1179b7d2e09cd7eca0335 # timeout=10 [2024-07-16T05:42:29.889Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" [2024-07-16T05:42:29.950Z] > git --version # timeout=10 [2024-07-16T05:42:29.973Z] > git --version # 'git version 2.25.1' [2024-07-16T05:42:29.992Z] fatal: bad object 590556114a56c6d90cc8043840e039c2f74196dc [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-07-16T05:42:34.883Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-07-16T05:42:34.883Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-07-16T05:42:34.883Z] Dload Upload Total Spent Left Speed [2024-07-16T05:42:34.883Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 121k 0 --:--:-- --:--:-- --:--:-- 121k [Pipeline] sh [2024-07-16T05:42:35.232Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-07-16T05:42:35.583Z] + sudo tee /etc/docker/daemon.new [2024-07-16T05:42:35.583Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2024-07-16T05:42:35.583Z] { [2024-07-16T05:42:35.583Z] "registry-mirrors": [ [2024-07-16T05:42:35.583Z] "https://nexus3.edgexfoundry.org:10001" [2024-07-16T05:42:35.583Z] ], [2024-07-16T05:42:35.583Z] "bip": "10.250.0.254/24", [2024-07-16T05:42:35.583Z] "hosts": [ [2024-07-16T05:42:35.583Z] "tcp://0.0.0.0:5555", [2024-07-16T05:42:35.583Z] "unix:///var/run/docker.sock" [2024-07-16T05:42:35.583Z] ], [2024-07-16T05:42:35.583Z] "mtu": 1458, [2024-07-16T05:42:35.583Z] "selinux-enabled": true, [2024-07-16T05:42:35.583Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-07-16T05:42:35.583Z] } [Pipeline] sh [2024-07-16T05:42:35.928Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-07-16T05:42:36.283Z] + sudo service docker restart [2024-07-16T05:42:53.147Z] Removing intermediate container ba5c1ff358fc [2024-07-16T05:42:53.147Z] ---> 31b3fd88a0dd [2024-07-16T05:42:53.147Z] Step 11/23 : FROM alpine:3.18 [2024-07-16T05:42:53.147Z] 3.18: Pulling from library/alpine [2024-07-16T05:42:53.148Z] 73baa7ef167e: Pulling fs layer [2024-07-16T05:42:53.148Z] 73baa7ef167e: Download complete [2024-07-16T05:42:53.148Z] 73baa7ef167e: Pull complete [2024-07-16T05:42:53.148Z] Digest: sha256:1875c923b73448b558132e7d4a44b815d078779ed7a73f76209c6372de95ea8d [2024-07-16T05:42:53.148Z] Status: Downloaded newer image for alpine:3.18 [2024-07-16T05:42:53.148Z] ---> 8fd7cac70a4a [2024-07-16T05:42:53.148Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2024-07-16T05:42:53.148Z] ---> Running in f3ba36a189d5 [2024-07-16T05:42:53.148Z] Removing intermediate container f3ba36a189d5 [2024-07-16T05:42:53.148Z] ---> 63addeeca3e3 [2024-07-16T05:42:53.148Z] Step 13/23 : RUN apk add --update --no-cache dumb-init [2024-07-16T05:42:53.148Z] ---> Running in 396c2e845145 [2024-07-16T05:42:53.148Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-07-16T05:42:53.148Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-07-16T05:42:53.148Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-07-16T05:42:53.148Z] Executing busybox-1.36.1-r7.trigger [2024-07-16T05:42:53.148Z] OK: 7 MiB in 16 packages [2024-07-16T05:42:53.406Z] Removing intermediate container 396c2e845145 [2024-07-16T05:42:53.406Z] ---> e85324464972 [2024-07-16T05:42:53.406Z] Step 14/23 : RUN apk --no-cache upgrade [2024-07-16T05:42:53.406Z] ---> Running in 5e467f0985f4 [2024-07-16T05:42:53.665Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-07-16T05:42:53.665Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-07-16T05:42:53.925Z] (1/2) Upgrading libcrypto3 (3.1.5-r0 -> 3.1.6-r0) [2024-07-16T05:42:53.925Z] (2/2) Upgrading libssl3 (3.1.5-r0 -> 3.1.6-r0) [2024-07-16T05:42:53.925Z] OK: 7 MiB in 16 packages [2024-07-16T05:42:54.493Z] Removing intermediate container 5e467f0985f4 [2024-07-16T05:42:54.493Z] ---> 095bb1216378 [2024-07-16T05:42:54.493Z] Step 15/23 : COPY --from=builder /device-modbus-go/cmd / [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-07-16T05:42:54.603Z] provisioning config files... [2024-07-16T05:42:54.627Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/1@tmp/config17117202402740249135tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-07-16T05:42:55.128Z] ---> ****-login.sh [2024-07-16T05:42:55.129Z] nexus3.edgexfoundry.org:10001 [2024-07-16T05:42:55.396Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-16T05:42:55.428Z] ---> 3e099b541119 [2024-07-16T05:42:55.428Z] Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / [2024-07-16T05:42:55.665Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-16T05:42:55.665Z] Configure a credential helper to remove this warning. See [2024-07-16T05:42:55.665Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-16T05:42:55.665Z] [2024-07-16T05:42:55.665Z] Login Succeeded [2024-07-16T05:42:55.665Z] nexus3.edgexfoundry.org:10002 [2024-07-16T05:42:55.687Z] ---> b2b700180da2 [2024-07-16T05:42:55.687Z] Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / [2024-07-16T05:42:55.687Z] ---> fe96423d431d [2024-07-16T05:42:55.687Z] Step 18/23 : EXPOSE 59901 [2024-07-16T05:42:55.687Z] ---> Running in d97f31e3b76b [2024-07-16T05:42:55.932Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-16T05:42:55.932Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-16T05:42:55.932Z] Configure a credential helper to remove this warning. See [2024-07-16T05:42:55.932Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-16T05:42:55.932Z] [2024-07-16T05:42:55.932Z] Login Succeeded [2024-07-16T05:42:55.932Z] nexus3.edgexfoundry.org:10003 [2024-07-16T05:42:55.945Z] Removing intermediate container d97f31e3b76b [2024-07-16T05:42:55.945Z] ---> f2f81777a355 [2024-07-16T05:42:55.945Z] Step 19/23 : ENTRYPOINT ["/device-modbus"] [2024-07-16T05:42:55.945Z] ---> Running in 7fa1fb0c80fe [2024-07-16T05:42:55.945Z] Removing intermediate container 7fa1fb0c80fe [2024-07-16T05:42:55.945Z] ---> f5d2620d1b8b [2024-07-16T05:42:55.945Z] Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2024-07-16T05:42:55.945Z] ---> Running in 7afb15150bd8 [2024-07-16T05:42:55.945Z] Removing intermediate container 7afb15150bd8 [2024-07-16T05:42:55.945Z] ---> eef7b7fa89ea [2024-07-16T05:42:55.945Z] Step 21/23 : LABEL arch=amd64 [2024-07-16T05:42:55.945Z] ---> Running in 3331761cead5 [2024-07-16T05:42:56.199Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-16T05:42:56.199Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-16T05:42:56.199Z] Configure a credential helper to remove this warning. See [2024-07-16T05:42:56.199Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-16T05:42:56.199Z] [2024-07-16T05:42:56.199Z] Login Succeeded [2024-07-16T05:42:56.199Z] nexus3.edgexfoundry.org:10004 [2024-07-16T05:42:56.210Z] Removing intermediate container 3331761cead5 [2024-07-16T05:42:56.210Z] ---> 154fc6878524 [2024-07-16T05:42:56.210Z] Step 22/23 : LABEL git_sha=fc57f0655aff636f34b1179b7d2e09cd7eca0335 [2024-07-16T05:42:56.210Z] ---> Running in ab60753d1f71 [2024-07-16T05:42:56.210Z] Removing intermediate container ab60753d1f71 [2024-07-16T05:42:56.210Z] ---> d747bdb7611e [2024-07-16T05:42:56.210Z] Step 23/23 : LABEL version=0.0.0 [2024-07-16T05:42:56.210Z] ---> Running in 0d99a9673068 [2024-07-16T05:42:56.210Z] Removing intermediate container 0d99a9673068 [2024-07-16T05:42:56.210Z] ---> 7f9af1258f07 [2024-07-16T05:42:56.210Z] [Warning] One or more build-args [ARCH] were not consumed [2024-07-16T05:42:56.210Z] Successfully built 7f9af1258f07 [2024-07-16T05:42:56.210Z] Successfully tagged device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [2024-07-16T05:42:56.473Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. 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] } [2024-07-16T05:42:56.741Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-16T05:42:56.742Z] Configure a credential helper to remove this warning. See [2024-07-16T05:42:56.742Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-16T05:42:56.742Z] [2024-07-16T05:42:56.742Z] Login Succeeded [2024-07-16T05:42:56.742Z] ****.io [2024-07-16T05:42:56.742Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-16T05:42:57.008Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-16T05:42:57.008Z] Configure a credential helper to remove this warning. See [2024-07-16T05:42:57.008Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-16T05:42:57.008Z] [2024-07-16T05:42:57.008Z] Login Succeeded [2024-07-16T05:42:57.008Z] ---> ****-login.sh ends [Pipeline] } [2024-07-16T05:42:57.095Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [2024-07-16T05:42:57.288Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-07-16T05:42:57.288Z] [2024-07-16T05:42:57.288Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [Pipeline] echo [2024-07-16T05:42:57.534Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-07-16T05:42:57.588Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-07-16T05:42:57.635Z] ========================================================= [2024-07-16T05:42:57.635Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2024-07-16T05:42:57.635Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [2024-07-16T05:42:57.724Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-07-16T05:42:57.725Z] latest: Pulling from edgex-lftools-log-publisher [2024-07-16T05:42:57.725Z] 5eb5b503b376: Pulling fs layer [2024-07-16T05:42:57.725Z] 5c69ac0246d0: Pulling fs layer [2024-07-16T05:42:57.725Z] ec43610c2a17: Pulling fs layer [2024-07-16T05:42:57.725Z] 3a2ae6a8a46f: Pulling fs layer [2024-07-16T05:42:57.725Z] 33b1e0a273af: Pulling fs layer [2024-07-16T05:42:57.725Z] 5d3b04190fa2: Pulling fs layer [2024-07-16T05:42:57.725Z] 2f39f015ded8: Pulling fs layer [2024-07-16T05:42:57.725Z] 3a2ae6a8a46f: Waiting [2024-07-16T05:42:57.725Z] 33b1e0a273af: Waiting [2024-07-16T05:42:57.725Z] 5d3b04190fa2: Waiting [2024-07-16T05:42:57.725Z] 2f39f015ded8: Waiting [2024-07-16T05:42:57.725Z] 5c69ac0246d0: Verifying Checksum [2024-07-16T05:42:57.725Z] 5c69ac0246d0: Download complete [2024-07-16T05:42:57.725Z] 3a2ae6a8a46f: Download complete [2024-07-16T05:42:57.725Z] 33b1e0a273af: Verifying Checksum [2024-07-16T05:42:57.725Z] 33b1e0a273af: Download complete [2024-07-16T05:42:57.725Z] ec43610c2a17: Verifying Checksum [2024-07-16T05:42:57.725Z] ec43610c2a17: Download complete [2024-07-16T05:42:57.725Z] 5d3b04190fa2: Verifying Checksum [2024-07-16T05:42:57.725Z] 5d3b04190fa2: Download complete [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-16T05:42:57.983Z] 5eb5b503b376: Verifying Checksum [2024-07-16T05:42:57.983Z] 5eb5b503b376: Download complete [2024-07-16T05:42:58.212Z] + 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-16T05:42:58.479Z] Sending build context to Docker daemon 9.031MB [2024-07-16T05:42:58.479Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2024-07-16T05:42:58.479Z] Step 2/10 : FROM ${BASE} AS builder [2024-07-16T05:42:58.565Z] 2f39f015ded8: Download complete [2024-07-16T05:42:58.746Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-07-16T05:42:58.746Z] c6b39de5b339: Pulling fs layer [2024-07-16T05:42:58.746Z] a69c41024577: Pulling fs layer [2024-07-16T05:42:58.746Z] d6de4b400683: Pulling fs layer [2024-07-16T05:42:58.746Z] 35cb2a7552d0: Pulling fs layer [2024-07-16T05:42:58.746Z] 4f4fb700ef54: Pulling fs layer [2024-07-16T05:42:58.746Z] 464afbd9ba4c: Pulling fs layer [2024-07-16T05:42:58.746Z] 00f215d4a9da: Pulling fs layer [2024-07-16T05:42:58.746Z] d496ad576159: Pulling fs layer [2024-07-16T05:42:58.746Z] 4f4fb700ef54: Waiting [2024-07-16T05:42:58.746Z] 464afbd9ba4c: Waiting [2024-07-16T05:42:58.746Z] 00f215d4a9da: Waiting [2024-07-16T05:42:58.746Z] d496ad576159: Waiting [2024-07-16T05:42:58.746Z] 35cb2a7552d0: Waiting [2024-07-16T05:42:58.746Z] a69c41024577: Verifying Checksum [2024-07-16T05:42:58.746Z] a69c41024577: Download complete [2024-07-16T05:42:58.746Z] 35cb2a7552d0: Verifying Checksum [2024-07-16T05:42:58.746Z] 35cb2a7552d0: Download complete [2024-07-16T05:42:58.746Z] 4f4fb700ef54: Verifying Checksum [2024-07-16T05:42:58.746Z] 4f4fb700ef54: Download complete [2024-07-16T05:42:58.746Z] 464afbd9ba4c: Verifying Checksum [2024-07-16T05:42:58.746Z] 464afbd9ba4c: Download complete [2024-07-16T05:42:58.746Z] c6b39de5b339: Download complete [2024-07-16T05:42:59.132Z] 5eb5b503b376: Pull complete [2024-07-16T05:42:59.333Z] d496ad576159: Verifying Checksum [2024-07-16T05:42:59.333Z] d496ad576159: Download complete [2024-07-16T05:42:59.392Z] 5c69ac0246d0: Pull complete [2024-07-16T05:42:59.602Z] c6b39de5b339: Pull complete [2024-07-16T05:42:59.651Z] ec43610c2a17: Pull complete [2024-07-16T05:42:59.910Z] 3a2ae6a8a46f: Pull complete [2024-07-16T05:42:59.910Z] 33b1e0a273af: Pull complete [2024-07-16T05:43:00.171Z] 5d3b04190fa2: Pull complete [2024-07-16T05:43:00.184Z] a69c41024577: Pull complete [2024-07-16T05:43:00.452Z] d6de4b400683: Verifying Checksum [2024-07-16T05:43:00.452Z] d6de4b400683: Download complete [2024-07-16T05:43:01.858Z] 00f215d4a9da: Verifying Checksum [2024-07-16T05:43:01.858Z] 00f215d4a9da: Download complete [2024-07-16T05:43:04.507Z] 2f39f015ded8: Pull complete [2024-07-16T05:43:04.507Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-07-16T05:43:04.507Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-07-16T05:43:04.507Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-16T05:43:04.798Z] prd-ubuntu20.04-docker-8c-8g-5702 does not seem to be running inside a container [2024-07-16T05:43:04.827Z] $ 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-560 -v /w/workspace/xfoundry_device-modbus-go_PR-560:/w/workspace/xfoundry_device-modbus-go_PR-560:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-560@tmp:/w/workspace/xfoundry_device-modbus-go_PR-560@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-16T05:43:10.877Z] $ docker top e9ce18bf5cb7b5d8059e7b81e4ae16ff75d52fa29a77bb52d9a5542546797e39 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-07-16T05:43:11.403Z] ---> job-cost.sh [2024-07-16T05:43:11.404Z] lf-activate-venv: SKIPPING [2024-07-16T05:43:11.404Z] INFO: No Stack... [2024-07-16T05:43:11.972Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-07-16T05:43:12.232Z] INFO: Archiving Costs [Pipeline] sh [2024-07-16T05:43:12.571Z] + cat /w/workspace/xfoundry_device-modbus-go_PR-560/archives/cost.csv [2024-07-16T05:43:12.571Z] + cut -d, -f6 [Pipeline] lock [2024-07-16T05:43:12.627Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-modbus-go-PR-560-1-stack-cost] [2024-07-16T05:43:12.634Z] Resource [jenkins-edgexfoundry-device-modbus-go-PR-560-1-stack-cost] did not exist. Created. [2024-07-16T05:43:12.643Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-modbus-go-PR-560-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-07-16T05:43:13.082Z] + echo total: 0.4399999976158142 [Pipeline] stash [2024-07-16T05:43:13.140Z] Stashed 1 file(s) [Pipeline] } [2024-07-16T05:43:13.186Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-modbus-go-PR-560-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-07-16T05:43:13.278Z] $ docker stop --time=1 e9ce18bf5cb7b5d8059e7b81e4ae16ff75d52fa29a77bb52d9a5542546797e39 [2024-07-16T05:43:14.178Z] d6de4b400683: Pull complete [2024-07-16T05:43:14.178Z] 35cb2a7552d0: Pull complete [2024-07-16T05:43:14.178Z] 4f4fb700ef54: Pull complete [2024-07-16T05:43:14.178Z] 464afbd9ba4c: Pull complete [2024-07-16T05:43:14.426Z] $ docker rm -f --volumes e9ce18bf5cb7b5d8059e7b81e4ae16ff75d52fa29a77bb52d9a5542546797e39 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-07-16T05:43:22.397Z] 00f215d4a9da: Pull complete [2024-07-16T05:43:24.351Z] d496ad576159: Pull complete [2024-07-16T05:43:24.351Z] Digest: sha256:94db8a0955b4c8a8fb4ef40f1d66dd6a37c55842a5f6085bb7a69a85e2cfc316 [2024-07-16T05:43:24.351Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2024-07-16T05:43:24.351Z] ---> f246e2811388 [2024-07-16T05:43:24.351Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2024-07-16T05:43:25.355Z] ---> Running in 0c9ecb83c67a [2024-07-16T05:43:25.623Z] Removing intermediate container 0c9ecb83c67a [2024-07-16T05:43:25.623Z] ---> cde4a981f022 [2024-07-16T05:43:25.623Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-07-16T05:43:25.623Z] ---> Running in 3aa07d0c0dec [2024-07-16T05:43:25.903Z] Removing intermediate container 3aa07d0c0dec [2024-07-16T05:43:25.903Z] ---> ad95c806823d [2024-07-16T05:43:25.903Z] Step 5/10 : RUN apk add --update --no-cache make git openssh [2024-07-16T05:43:25.903Z] ---> Running in ce81301018a1 [2024-07-16T05:43:26.873Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-07-16T05:43:27.468Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-07-16T05:43:28.432Z] (1/8) Installing openssh-keygen (9.3_p2-r2) [2024-07-16T05:43:28.432Z] (2/8) Installing libedit (20221030.3.1-r1) [2024-07-16T05:43:28.432Z] (3/8) Installing openssh-client-common (9.3_p2-r2) [2024-07-16T05:43:28.432Z] (4/8) Installing openssh-client-default (9.3_p2-r2) [2024-07-16T05:43:28.432Z] (5/8) Installing openssh-sftp-server (9.3_p2-r2) [2024-07-16T05:43:28.432Z] (6/8) Installing openssh-server-common (9.3_p2-r2) [2024-07-16T05:43:28.432Z] (7/8) Installing openssh-server (9.3_p2-r2) [2024-07-16T05:43:28.432Z] (8/8) Installing openssh (9.3_p2-r2) [2024-07-16T05:43:28.432Z] Executing busybox-1.36.1-r5.trigger [2024-07-16T05:43:28.432Z] OK: 272 MiB in 60 packages [2024-07-16T05:43:29.396Z] Removing intermediate container ce81301018a1 [2024-07-16T05:43:29.396Z] ---> 42814439b8a7 [2024-07-16T05:43:29.396Z] Step 6/10 : WORKDIR /device-modbus-go [2024-07-16T05:43:29.396Z] ---> Running in 407f76493d42 [2024-07-16T05:43:29.984Z] Removing intermediate container 407f76493d42 [2024-07-16T05:43:29.984Z] ---> 482bc82a23b2 [2024-07-16T05:43:29.984Z] Step 7/10 : COPY go.mod vendor* ./ [2024-07-16T05:43:30.254Z] ---> 20a74783fe32 [2024-07-16T05:43:30.254Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-07-16T05:43:30.532Z] ---> Running in b5d7ef47db3a [2024-07-16T05:45:22.248Z] Removing intermediate container b5d7ef47db3a [2024-07-16T05:45:22.248Z] ---> 2f8f94fd590d [2024-07-16T05:45:22.248Z] Step 9/10 : COPY . . [2024-07-16T05:45:22.248Z] ---> 43ea4ffe52be [2024-07-16T05:45:22.248Z] Step 10/10 : RUN ${MAKE} [2024-07-16T05:45:22.248Z] ---> Running in 4fb1d9cab13e [2024-07-16T05:45:22.248Z] noop [2024-07-16T05:45:22.248Z] Removing intermediate container 4fb1d9cab13e [2024-07-16T05:45:22.248Z] ---> 6119fd1e0934 [2024-07-16T05:45:22.248Z] Successfully built 6119fd1e0934 [2024-07-16T05:45:22.248Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-16T05:45:22.791Z] + docker inspect -f . ci-base-image-arm64 [2024-07-16T05:45:22.791Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-16T05:45:23.068Z] prd-ubuntu20.04-docker-arm64-4c-16g-5711 does not seem to be running inside a container [2024-07-16T05:45:23.133Z] $ 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-16T05:45:24.334Z] $ docker top 7b136172665e7f153b7bbe87b15df1300da869bbf4077fd575e4c2b8f09c205e -eo pid,comm [Pipeline] { [Pipeline] sh [2024-07-16T05:45:25.221Z] + go version [2024-07-16T05:45:25.221Z] go version go1.21.9 linux/arm64 [Pipeline] } [2024-07-16T05:45:25.253Z] $ docker stop --time=1 7b136172665e7f153b7bbe87b15df1300da869bbf4077fd575e4c2b8f09c205e [2024-07-16T05:45:26.808Z] $ docker rm -f --volumes 7b136172665e7f153b7bbe87b15df1300da869bbf4077fd575e4c2b8f09c205e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-16T05:45:27.736Z] + docker inspect -f . ci-base-image-arm64 [2024-07-16T05:45:27.736Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-16T05:45:28.003Z] prd-ubuntu20.04-docker-arm64-4c-16g-5711 does not seem to be running inside a container [2024-07-16T05:45:28.066Z] $ 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-16T05:45:29.210Z] $ docker top fbe05f940fed5295fd688dad262f8863cac8fe80c44def61734d58b861dce493 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-07-16T05:45:29.780Z] + git config --global --add safe.directory /w/workspace/device-modbus-go/1 [Pipeline] fileExists [Pipeline] sh [2024-07-16T05:45:30.183Z] + make test [2024-07-16T05:45:30.183Z] go test ./... -coverprofile=coverage.out [2024-07-16T05:45:35.535Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2024-07-16T05:48:42.289Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2024-07-16T05:48:43.723Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.050s coverage: 47.9% of statements [2024-07-16T05:48:44.703Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2024-07-16T05:48:44.703Z] go vet ./... [2024-07-16T05:49:31.572Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-07-16T05:49:31.572Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-07-16T05:49:31.572Z] ./bin/test-attribution-txt.sh [2024-07-16T05:49:31.572Z] An attribution for github.com/panjf2000/ants/v2 is missing from Attribution.txt, please add [Pipeline] echo [2024-07-16T05:49:31.626Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-07-16T05:49:31.664Z] $ docker stop --time=1 fbe05f940fed5295fd688dad262f8863cac8fe80c44def61734d58b861dce493 [2024-07-16T05:49:33.448Z] $ docker rm -f --volumes fbe05f940fed5295fd688dad262f8863cac8fe80c44def61734d58b861dce493 [Pipeline] // withDockerContainer [Pipeline] sh [2024-07-16T05:49:34.936Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-07-16T05:49:34.973Z] Warning: overwriting stash ‘coverage-report’ [2024-07-16T05:49:35.406Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-07-16T05:49:36.065Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-07-16T05:49:36.397Z] + ls -al . [2024-07-16T05:49:36.397Z] total 268 [2024-07-16T05:49:36.397Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 16 05:45 . [2024-07-16T05:49:36.397Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 16 05:42 .. [2024-07-16T05:49:36.397Z] -rw-rw-r-- 1 jenkins jenkins 140 Jul 16 05:42 .dockerignore [2024-07-16T05:49:36.397Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 16 05:42 .git [2024-07-16T05:49:36.397Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 16 05:42 .github [2024-07-16T05:49:36.397Z] -rw-rw-r-- 1 jenkins jenkins 266 Jul 16 05:42 .gitignore [2024-07-16T05:49:36.397Z] -rw-rw-r-- 1 jenkins jenkins 41 Jul 16 05:42 .golangci.yml [2024-07-16T05:49:36.397Z] -rw-rw-r-- 1 jenkins jenkins 19432 Jul 16 05:42 Attribution.txt [2024-07-16T05:49:36.397Z] -rw-rw-r-- 1 jenkins jenkins 16388 Jul 16 05:42 CHANGELOG.md [2024-07-16T05:49:36.397Z] -rw-rw-r-- 1 jenkins jenkins 1474 Jul 16 05:42 Dockerfile [2024-07-16T05:49:36.397Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 16 05:42 GOVERNANCE.md [2024-07-16T05:49:36.397Z] -rw-rw-r-- 1 jenkins jenkins 658 Jul 16 05:42 Jenkinsfile [2024-07-16T05:49:36.397Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jul 16 05:42 LICENSE [2024-07-16T05:49:36.397Z] -rw-rw-r-- 1 jenkins jenkins 1942 Jul 16 05:42 Makefile [2024-07-16T05:49:36.397Z] -rw-rw-r-- 1 jenkins jenkins 622 Jul 16 05:42 OWNERS.md [2024-07-16T05:49:36.397Z] -rw-rw-r-- 1 jenkins jenkins 4463 Jul 16 05:42 README.md [2024-07-16T05:49:36.397Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 16 05:40 VERSION [2024-07-16T05:49:36.397Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 16 05:42 bin [2024-07-16T05:49:36.397Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 16 05:42 cmd [2024-07-16T05:49:36.397Z] -rw-r--r-- 1 jenkins jenkins 24601 Jul 16 05:48 coverage.out [2024-07-16T05:49:36.397Z] -rw-rw-r-- 1 jenkins jenkins 7184 Jul 16 05:42 go.mod [2024-07-16T05:49:36.397Z] -rw-rw-r-- 1 jenkins jenkins 102270 Jul 16 05:42 go.sum [2024-07-16T05:49:36.397Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 16 05:42 internal [2024-07-16T05:49:36.397Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 16 05:42 simulator [2024-07-16T05:49:36.397Z] -rw-rw-r-- 1 jenkins jenkins 229 Jul 16 05:42 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-16T05:49:36.849Z] + 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=fc57f0655aff636f34b1179b7d2e09cd7eca0335 --label arch=arm64 --label version=0.0.0 . [2024-07-16T05:49:37.115Z] Sending build context to Docker daemon 9.056MB [2024-07-16T05:49:37.115Z] Step 1/23 : ARG BASE=golang:1.21-alpine3.18 [2024-07-16T05:49:37.115Z] Step 2/23 : FROM ${BASE} AS builder [2024-07-16T05:49:37.115Z] ---> 6119fd1e0934 [2024-07-16T05:49:37.115Z] Step 3/23 : ARG ADD_BUILD_TAGS="" [2024-07-16T05:49:37.383Z] ---> Running in 921f2e90d82b [2024-07-16T05:49:37.650Z] Removing intermediate container 921f2e90d82b [2024-07-16T05:49:37.650Z] ---> ca5c3fc6b0f2 [2024-07-16T05:49:37.650Z] Step 4/23 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-07-16T05:49:37.650Z] ---> Running in bd7f97b63a42 [2024-07-16T05:49:37.922Z] Removing intermediate container bd7f97b63a42 [2024-07-16T05:49:37.922Z] ---> 83a471a03a89 [2024-07-16T05:49:37.922Z] Step 5/23 : RUN apk add --update --no-cache make git openssh [2024-07-16T05:49:38.200Z] ---> Running in 03d44c809cf2 [2024-07-16T05:49:39.167Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-07-16T05:49:39.433Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-07-16T05:49:40.391Z] OK: 272 MiB in 60 packages [2024-07-16T05:49:40.979Z] Removing intermediate container 03d44c809cf2 [2024-07-16T05:49:40.979Z] ---> 3954bc1161b4 [2024-07-16T05:49:40.979Z] Step 6/23 : WORKDIR /device-modbus-go [2024-07-16T05:49:41.245Z] ---> Running in 1b1f9b5430a4 [2024-07-16T05:49:41.516Z] Removing intermediate container 1b1f9b5430a4 [2024-07-16T05:49:41.516Z] ---> aac51e42d59a [2024-07-16T05:49:41.516Z] Step 7/23 : COPY go.mod vendor* ./ [2024-07-16T05:49:41.786Z] ---> 0d2ad15e2ddb [2024-07-16T05:49:41.786Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-07-16T05:49:42.058Z] ---> Running in d58651404751 [2024-07-16T05:49:44.023Z] Removing intermediate container d58651404751 [2024-07-16T05:49:44.023Z] ---> 8421f3ef3aa8 [2024-07-16T05:49:44.023Z] Step 9/23 : COPY . . [2024-07-16T05:49:45.421Z] ---> 5971f3dfb0c0 [2024-07-16T05:49:45.421Z] Step 10/23 : RUN ${MAKE} [2024-07-16T05:49:45.421Z] ---> Running in f7d8518149b2 [2024-07-16T05:49:46.001Z] 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.24" -trimpath -mod=readonly -o cmd/device-modbus ./cmd [2024-07-16T05:53:07.756Z] Removing intermediate container f7d8518149b2 [2024-07-16T05:53:07.756Z] ---> b551e8a61707 [2024-07-16T05:53:07.756Z] Step 11/23 : FROM alpine:3.18 [2024-07-16T05:53:07.756Z] 3.18: Pulling from library/alpine [2024-07-16T05:53:07.757Z] 5c905c7ebe2f: Pulling fs layer [2024-07-16T05:53:07.757Z] 5c905c7ebe2f: Verifying Checksum [2024-07-16T05:53:07.757Z] 5c905c7ebe2f: Download complete [2024-07-16T05:53:07.757Z] 5c905c7ebe2f: Pull complete [2024-07-16T05:53:07.757Z] Digest: sha256:1875c923b73448b558132e7d4a44b815d078779ed7a73f76209c6372de95ea8d [2024-07-16T05:53:07.757Z] Status: Downloaded newer image for alpine:3.18 [2024-07-16T05:53:07.757Z] ---> dec292d02e07 [2024-07-16T05:53:07.757Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2024-07-16T05:53:07.757Z] ---> Running in c493eccf5d40 [2024-07-16T05:53:07.757Z] Removing intermediate container c493eccf5d40 [2024-07-16T05:53:07.757Z] ---> ab8715a45756 [2024-07-16T05:53:07.757Z] Step 13/23 : RUN apk add --update --no-cache dumb-init [2024-07-16T05:53:07.757Z] ---> Running in feaa85c0394c [2024-07-16T05:53:07.757Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-07-16T05:53:07.757Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-07-16T05:53:07.757Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-07-16T05:53:07.757Z] Executing busybox-1.36.1-r7.trigger [2024-07-16T05:53:07.757Z] OK: 8 MiB in 16 packages [2024-07-16T05:53:07.757Z] Removing intermediate container feaa85c0394c [2024-07-16T05:53:07.757Z] ---> 8a89a4904195 [2024-07-16T05:53:07.757Z] Step 14/23 : RUN apk --no-cache upgrade [2024-07-16T05:53:07.757Z] ---> Running in 687e023f461a [2024-07-16T05:53:07.757Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-07-16T05:53:07.757Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-07-16T05:53:07.757Z] (1/2) Upgrading libcrypto3 (3.1.5-r0 -> 3.1.6-r0) [2024-07-16T05:53:07.757Z] (2/2) Upgrading libssl3 (3.1.5-r0 -> 3.1.6-r0) [2024-07-16T05:53:07.757Z] OK: 8 MiB in 16 packages [2024-07-16T05:53:07.757Z] Removing intermediate container 687e023f461a [2024-07-16T05:53:07.757Z] ---> 67f5d4706f49 [2024-07-16T05:53:07.757Z] Step 15/23 : COPY --from=builder /device-modbus-go/cmd / [2024-07-16T05:53:07.757Z] ---> ce85dc97f5d5 [2024-07-16T05:53:07.757Z] Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / [2024-07-16T05:53:08.029Z] ---> 079430e69d0e [2024-07-16T05:53:08.029Z] Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / [2024-07-16T05:53:08.617Z] ---> 96b64ba8a715 [2024-07-16T05:53:08.617Z] Step 18/23 : EXPOSE 59901 [2024-07-16T05:53:08.617Z] ---> Running in 6e781e476c14 [2024-07-16T05:53:08.885Z] Removing intermediate container 6e781e476c14 [2024-07-16T05:53:08.885Z] ---> dec4fc39a9f6 [2024-07-16T05:53:08.885Z] Step 19/23 : ENTRYPOINT ["/device-modbus"] [2024-07-16T05:53:08.885Z] ---> Running in 3da52ec62cc7 [2024-07-16T05:53:09.161Z] Removing intermediate container 3da52ec62cc7 [2024-07-16T05:53:09.161Z] ---> d7401daa940e [2024-07-16T05:53:09.161Z] Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2024-07-16T05:53:09.432Z] ---> Running in a9bacc05be10 [2024-07-16T05:53:09.699Z] Removing intermediate container a9bacc05be10 [2024-07-16T05:53:09.700Z] ---> 48e1b8281d1c [2024-07-16T05:53:09.700Z] Step 21/23 : LABEL arch=arm64 [2024-07-16T05:53:09.700Z] ---> Running in 0b7968949987 [2024-07-16T05:53:09.966Z] Removing intermediate container 0b7968949987 [2024-07-16T05:53:09.966Z] ---> 0bed896414f7 [2024-07-16T05:53:09.966Z] Step 22/23 : LABEL git_sha=fc57f0655aff636f34b1179b7d2e09cd7eca0335 [2024-07-16T05:53:09.966Z] ---> Running in ce32590e97a7 [2024-07-16T05:53:10.237Z] Removing intermediate container ce32590e97a7 [2024-07-16T05:53:10.237Z] ---> f3938ad223e7 [2024-07-16T05:53:10.237Z] Step 23/23 : LABEL version=0.0.0 [2024-07-16T05:53:10.506Z] ---> Running in 70d66fdc376d [2024-07-16T05:53:10.774Z] Removing intermediate container 70d66fdc376d [2024-07-16T05:53:10.774Z] ---> 26539ab83649 [2024-07-16T05:53:10.774Z] [Warning] One or more build-args [ARCH] were not consumed [2024-07-16T05:53:10.774Z] Successfully built 26539ab83649 [2024-07-16T05:53:10.774Z] 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-16T05:53:11.717Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-07-16T05:53:11.717Z] [2024-07-16T05:53:11.717Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-16T05:53:12.150Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-07-16T05:53:12.150Z] arm64: Pulling from edgex-lftools-log-publisher [2024-07-16T05:53:12.150Z] 8998bd30e6a1: Pulling fs layer [2024-07-16T05:53:12.150Z] 04944245beec: Pulling fs layer [2024-07-16T05:53:12.150Z] 699f458cf7ca: Pulling fs layer [2024-07-16T05:53:12.150Z] 765212b225bb: Pulling fs layer [2024-07-16T05:53:12.150Z] f23df028b6ca: Pulling fs layer [2024-07-16T05:53:12.150Z] d65c8cfc05b1: Pulling fs layer [2024-07-16T05:53:12.150Z] 2437ff75d9bd: Pulling fs layer [2024-07-16T05:53:12.150Z] 765212b225bb: Waiting [2024-07-16T05:53:12.150Z] f23df028b6ca: Waiting [2024-07-16T05:53:12.150Z] d65c8cfc05b1: Waiting [2024-07-16T05:53:12.150Z] 2437ff75d9bd: Waiting [2024-07-16T05:53:12.420Z] 04944245beec: Verifying Checksum [2024-07-16T05:53:12.420Z] 04944245beec: Download complete [2024-07-16T05:53:12.420Z] 765212b225bb: Verifying Checksum [2024-07-16T05:53:12.420Z] 765212b225bb: Download complete [2024-07-16T05:53:12.420Z] f23df028b6ca: Verifying Checksum [2024-07-16T05:53:12.420Z] f23df028b6ca: Download complete [2024-07-16T05:53:12.420Z] d65c8cfc05b1: Download complete [2024-07-16T05:53:12.687Z] 699f458cf7ca: Verifying Checksum [2024-07-16T05:53:12.687Z] 699f458cf7ca: Download complete [2024-07-16T05:53:12.954Z] 8998bd30e6a1: Verifying Checksum [2024-07-16T05:53:12.954Z] 8998bd30e6a1: Download complete [2024-07-16T05:53:15.549Z] 2437ff75d9bd: Verifying Checksum [2024-07-16T05:53:15.549Z] 2437ff75d9bd: Download complete [2024-07-16T05:53:17.486Z] 8998bd30e6a1: Pull complete [2024-07-16T05:53:18.064Z] 04944245beec: Pull complete [2024-07-16T05:53:19.465Z] 699f458cf7ca: Pull complete [2024-07-16T05:53:19.732Z] 765212b225bb: Pull complete [2024-07-16T05:53:20.689Z] f23df028b6ca: Pull complete [2024-07-16T05:53:20.689Z] d65c8cfc05b1: Pull complete [2024-07-16T05:53:38.889Z] 2437ff75d9bd: Pull complete [2024-07-16T05:53:38.889Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-07-16T05:53:38.889Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-07-16T05:53:38.889Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-16T05:53:39.249Z] prd-ubuntu20.04-docker-arm64-4c-16g-5711 does not seem to be running inside a container [2024-07-16T05:53:39.323Z] $ 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-16T05:53:41.944Z] $ docker top 3d1e661a8cdfcd149d270b9bf60e3179b0955ae6936339aa8db3912140b86dc3 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-07-16T05:53:42.577Z] ---> job-cost.sh [2024-07-16T05:53:42.844Z] lf-activate-venv: SKIPPING [2024-07-16T05:53:42.844Z] INFO: No Stack... [2024-07-16T05:53:43.109Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-07-16T05:53:44.061Z] INFO: Archiving Costs [Pipeline] sh [2024-07-16T05:53:44.720Z] + cat /w/workspace/device-modbus-go/1/archives/cost.csv [2024-07-16T05:53:44.720Z] + cut -d, -f6 [Pipeline] lock [2024-07-16T05:53:44.807Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-modbus-go-PR-560-1-stack-cost] [2024-07-16T05:53:44.815Z] Resource [jenkins-edgexfoundry-device-modbus-go-PR-560-1-stack-cost] did not exist. Created. [2024-07-16T05:53:44.825Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-modbus-go-PR-560-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-07-16T05:53:45.580Z] /w/workspace/device-modbus-go/1@tmp/durable-e5b5b56e/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-07-16T05:53:46.253Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-07-16T05:53:46.300Z] Warning: overwriting stash ‘stack-cost’ [2024-07-16T05:53:46.358Z] Stashed 1 file(s) [Pipeline] } [2024-07-16T05:53:46.383Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-modbus-go-PR-560-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-07-16T05:53:46.488Z] $ docker stop --time=1 3d1e661a8cdfcd149d270b9bf60e3179b0955ae6936339aa8db3912140b86dc3 [2024-07-16T05:53:47.999Z] $ docker rm -f --volumes 3d1e661a8cdfcd149d270b9bf60e3179b0955ae6936339aa8db3912140b86dc3 [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-16T05:53:49.206Z] provisioning config files... [2024-07-16T05:53:49.214Z] copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-560@tmp/config6242615236511304434tmp [Pipeline] { [Pipeline] sh [2024-07-16T05:53:49.567Z] + set +x [2024-07-16T05:53:49.567Z] + curl -s https://codecov.io/bash [2024-07-16T05:53:49.567Z] + bash -s -- [2024-07-16T05:53:52.111Z] [2024-07-16T05:53:52.111Z] _____ _ [2024-07-16T05:53:52.111Z] / ____| | | [2024-07-16T05:53:52.111Z] | | ___ __| | ___ ___ _____ __ [2024-07-16T05:53:52.111Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2024-07-16T05:53:52.111Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2024-07-16T05:53:52.111Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2024-07-16T05:53:52.111Z] Bash-1.0.6 [2024-07-16T05:53:52.111Z] [2024-07-16T05:53:52.111Z] [2024-07-16T05:53:52.111Z] ==> git version 2.25.1 found [2024-07-16T05:53:52.111Z] ==> 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-16T05:53:52.111Z] Release-Date: 2020-01-08 [2024-07-16T05:53:52.111Z] 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-16T05:53:52.111Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2024-07-16T05:53:52.111Z] ==> Jenkins CI detected. [2024-07-16T05:53:52.111Z] current dir:  /w/workspace/xfoundry_device-modbus-go_PR-560 [2024-07-16T05:53:52.111Z] project root: . [2024-07-16T05:53:52.111Z] --> token set from env [2024-07-16T05:53:52.111Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2024-07-16T05:53:52.111Z] ==> Running gcov in . (disable via -X gcov) [2024-07-16T05:53:52.111Z] ==> Python coveragepy not found [2024-07-16T05:53:52.111Z] ==> Searching for coverage reports in: [2024-07-16T05:53:52.111Z] + . [2024-07-16T05:53:52.111Z] -> Found 1 reports [2024-07-16T05:53:52.111Z] ==> Detecting git/mercurial file structure [2024-07-16T05:53:52.111Z] ==> Reading reports [2024-07-16T05:53:52.112Z] + ./coverage.out bytes=24601 [2024-07-16T05:53:52.112Z] ==> Appending adjustments [2024-07-16T05:53:52.112Z] https://docs.codecov.io/docs/fixing-reports [2024-07-16T05:53:52.112Z] + Found adjustments [2024-07-16T05:53:52.112Z] ==> Gzipping contents [2024-07-16T05:53:52.112Z] 4.0K /tmp/codecov.wWZFuJ.gz [2024-07-16T05:53:52.112Z] ==> Uploading reports [2024-07-16T05:53:52.112Z] url: https://codecov.io [2024-07-16T05:53:52.112Z] query: branch=PR-560&commit=fc57f0655aff636f34b1179b7d2e09cd7eca0335&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-560%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=560&job=&cmd_args= [2024-07-16T05:53:52.112Z] -> Pinging Codecov [2024-07-16T05:53:52.112Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-560&commit=fc57f0655aff636f34b1179b7d2e09cd7eca0335&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-560%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=560&job=&cmd_args= [2024-07-16T05:53:52.112Z] -> Uploading to [2024-07-16T05:53:52.112Z] https://storage.googleapis.com/codecov/v4/raw/2024-07-16/55DBCA73C666E3227836607328DD7E49/fc57f0655aff636f34b1179b7d2e09cd7eca0335/cac754b8-1204-4113-9f7e-c44084e65f96.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240716%2Fus-west2%2Fs3%2Faws4_request&X-Amz-Date=20240716T055351Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=8522e84505af2b9a409e72256e9008787a7cda5e33e674f8192528469530ab0e [2024-07-16T05:53:52.112Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-07-16T05:53:52.112Z] Dload Upload Total Spent Left Speed [2024-07-16T05:53:52.373Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3843 0 0 100 3843 0 16636 --:--:-- --:--:-- --:--:-- 16636 [2024-07-16T05:53:52.373Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/fc57f0655aff636f34b1179b7d2e09cd7eca0335 [Pipeline] } [2024-07-16T05:53:52.407Z] 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-16T05:53:54.683Z] + [ -d /w/workspace/xfoundry_device-modbus-go_PR-560/archives ] [2024-07-16T05:53:54.683Z] + ls -al /w/workspace/xfoundry_device-modbus-go_PR-560/archives [2024-07-16T05:53:54.683Z] total 16 [2024-07-16T05:53:54.683Z] drwxr-xr-x 3 root root 4096 Jul 16 05:43 . [2024-07-16T05:53:54.683Z] drwxrwxr-x 10 jenkins jenkins 4096 Jul 16 05:43 .. [2024-07-16T05:53:54.683Z] drwxr-xr-x 2 root root 4096 Jul 16 05:43 cost [2024-07-16T05:53:54.683Z] -rw-r--r-- 1 root root 89 Jul 16 05:43 cost.csv [2024-07-16T05:53:54.683Z] + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-560/archives [2024-07-16T05:53:54.683Z] + ls -al /w/workspace/xfoundry_device-modbus-go_PR-560/archives [2024-07-16T05:53:54.683Z] total 16 [2024-07-16T05:53:54.683Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 16 05:43 . [2024-07-16T05:53:54.683Z] drwxrwxr-x 10 jenkins jenkins 4096 Jul 16 05:43 .. [2024-07-16T05:53:54.683Z] drwxr-xr-x 2 jenkins jenkins 4096 Jul 16 05:43 cost [2024-07-16T05:53:54.683Z] -rw-r--r-- 1 jenkins jenkins 89 Jul 16 05:43 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-07-16T05:53:55.034Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-07-16T05:53:55.951Z] ---> package-listing.sh [2024-07-16T05:53:55.951Z] ++ tr '[:upper:]' '[:lower:]' [2024-07-16T05:53:55.951Z] ++ facter osfamily [2024-07-16T05:53:56.211Z] + OS_FAMILY=debian [2024-07-16T05:53:56.211Z] + workspace=/w/workspace/xfoundry_device-modbus-go_PR-560 [2024-07-16T05:53:56.211Z] + START_PACKAGES=/tmp/packages_start.txt [2024-07-16T05:53:56.211Z] + END_PACKAGES=/tmp/packages_end.txt [2024-07-16T05:53:56.211Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-07-16T05:53:56.211Z] + PACKAGES=/tmp/packages_start.txt [2024-07-16T05:53:56.211Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-560 ']' [2024-07-16T05:53:56.211Z] + PACKAGES=/tmp/packages_end.txt [2024-07-16T05:53:56.211Z] + case "${OS_FAMILY}" in [2024-07-16T05:53:56.211Z] + dpkg -l [2024-07-16T05:53:56.211Z] + grep '^ii' [2024-07-16T05:53:56.211Z] + '[' -f /tmp/packages_start.txt ']' [2024-07-16T05:53:56.211Z] + '[' -f /tmp/packages_end.txt ']' [2024-07-16T05:53:56.211Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-07-16T05:53:56.211Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-560 ']' [2024-07-16T05:53:56.211Z] + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-560/archives/ [2024-07-16T05:53:56.211Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-560/archives/ [Pipeline] echo [2024-07-16T05:53:56.255Z] 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-560/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-07-16T05:53:56.553Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-16T05:53:56.962Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-07-16T05:53:56.962Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-16T05:53:57.144Z] prd-ubuntu20.04-docker-8c-8g-5702 does not seem to be running inside a container [2024-07-16T05:53:57.169Z] $ 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-560/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-560 -v /w/workspace/xfoundry_device-modbus-go_PR-560:/w/workspace/xfoundry_device-modbus-go_PR-560:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-560@tmp:/w/workspace/xfoundry_device-modbus-go_PR-560@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-07-16T05:53:57.369Z] $ docker top 187aa095ce3cd07b815844c34a160a4a9bb047d7d1a082d2fafb432b5832aa9b -eo pid,comm [Pipeline] { [Pipeline] sh [2024-07-16T05:53:57.783Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-07-16T05:53:58.103Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-07-16T05:53:58.423Z] + ls /var/log/sa-host [2024-07-16T05:53:58.423Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-07-16T05:53:58.645Z] provisioning config files... [2024-07-16T05:53:58.655Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-560@tmp/config10230995497369242278tmp [Pipeline] { [Pipeline] echo [2024-07-16T05:53:58.727Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-07-16T05:53:59.052Z] ---> create-netrc.sh [Pipeline] } [2024-07-16T05:53:59.084Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-07-16T05:53:59.582Z] ---> python-tools-install.sh [Pipeline] echo [2024-07-16T05:53:59.630Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-07-16T05:53:59.953Z] ---> sudo-logs.sh [2024-07-16T05:53:59.953Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-07-16T05:54:00.054Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-07-16T05:54:00.376Z] ---> job-cost.sh [2024-07-16T05:54:00.376Z] lf-activate-venv: SKIPPING [2024-07-16T05:54:00.376Z] DEBUG: total: 0.4399999976158142 [2024-07-16T05:54:00.376Z] INFO: Retrieving Stack Cost... [2024-07-16T05:54:00.636Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-07-16T05:54:01.206Z] INFO: Archiving Costs [Pipeline] echo [2024-07-16T05:54:01.260Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-07-16T05:54:01.591Z] ---> logs-deploy.sh [2024-07-16T05:54:01.591Z] lf-activate-venv: SKIPPING [2024-07-16T05:54:01.591Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-560/1 [2024-07-16T05:54:01.591Z] INFO: archiving workspace using pattern(s): [2024-07-16T05:54:02.528Z] Archives upload complete. [2024-07-16T05:54:02.528Z] INFO: archiving logs to Nexus