Pull request #586 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of weichou1229 for edgexfoundry/device-modbus-go Obtained Jenkinsfile from 7fc7b392c54a41120ffbbafcc9a21b5a9ec98b7a+7248720eb6e2bf16815f86cf3de46e0922eeefd9 (9ca435b11588cdca284d5b4ae593491d2056c6e7) 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-ssh1363504245941953686.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 0b81fa10a7dd14683a964f04f411324fe83f93ac 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-ssh1777275185634898234.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 0b81fa10a7dd14683a964f04f411324fe83f93ac 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-586/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-586/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3623307814430962182.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-586/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8123095998929473221.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 0b81fa10a7dd14683a964f04f411324fe83f93ac (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 0b81fa10a7dd14683a964f04f411324fe83f93ac # timeout=10 Commit message: "Merge pull request #457 from jinlinGuan/golang-1.23" > 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-ssh2542643461054452040.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-586/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-586/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh62457389555311976.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 0b81fa10a7dd14683a964f04f411324fe83f93ac 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.23 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-modbus DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-24061’ Running on prd-ubuntu20.04-docker-8c-8g-24063 in /w/workspace/xfoundry_device-modbus-go_PR-586 [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-586 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 7248720eb6e2bf16815f86cf3de46e0922eeefd9 into PR head commit 7fc7b392c54a41120ffbbafcc9a21b5a9ec98b7a Merge succeeded, producing 7fc7b392c54a41120ffbbafcc9a21b5a9ec98b7a Checking out Revision 7fc7b392c54a41120ffbbafcc9a21b5a9ec98b7a (PR-586) > 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/586/head:refs/remotes/origin/PR-586 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 7fc7b392c54a41120ffbbafcc9a21b5a9ec98b7a # 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 7248720eb6e2bf16815f86cf3de46e0922eeefd9 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 7fc7b392c54a41120ffbbafcc9a21b5a9ec98b7a # timeout=10 Commit message: "refactor!: update module to v4" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 0b81fa10a7dd14683a964f04f411324fe83f93ac [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-10-30T03:39:57.697Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-10-30T03:39:57.893Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-10-30T03:39:58.026Z] ========================================================= [2024-10-30T03:39:58.027Z] EdgeX Global Pipelines Version Info [2024-10-30T03:39:58.027Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-10-30T03:39:58.853Z] ------------------- [2024-10-30T03:39:58.853Z] stable info: [2024-10-30T03:39:58.853Z] ------------------- [2024-10-30T03:39:58.853Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-10-30T03:39:58.853Z] Commit SHA: 0b81fa10a7dd14683a964f04f411324fe83f93ac [2024-10-30T03:39:58.853Z] Message: update stable to v1.0.265 [2024-10-30T03:39:59.423Z] ------------------- [2024-10-30T03:39:59.423Z] experimental info: [2024-10-30T03:39:59.423Z] ------------------- [2024-10-30T03:39:59.423Z] Commited By: Cherry Wang cherry@iotechsys.com [2024-10-30T03:39:59.423Z] Commit SHA: b5a5e52272fc4198cf3754284eedf36dbf0baa35 [2024-10-30T03:39:59.423Z] Message: update experimental to v1.0.264 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-10-30T03:39:59.630Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo [2024-10-30T03:39:59.681Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo [2024-10-30T03:39:59.740Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-10-30T03:39:59.793Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-10-30T03:39:59.849Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-10-30T03:39:59.908Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo [2024-10-30T03:39:59.967Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-10-30T03:40:00.026Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2024-10-30T03:40:00.091Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-10-30T03:40:00.150Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-10-30T03:40:00.205Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-10-30T03:40:00.260Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo [2024-10-30T03:40:00.322Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-10-30T03:40:00.377Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-10-30T03:40:00.427Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-10-30T03:40:00.490Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2024-10-30T03:40:00.546Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-10-30T03:40:00.599Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-10-30T03:40:00.658Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-10-30T03:40:00.713Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-10-30T03:40:00.767Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2024-10-30T03:40:01.104Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2024-10-30T03:40:01.160Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-10-30T03:40:01.214Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-10-30T03:40:01.273Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-10-30T03:40:01.327Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-10-30T03:40:01.388Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-10-30T03:40:01.444Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-586 [Pipeline] echo [2024-10-30T03:40:01.510Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-586 [Pipeline] echo [2024-10-30T03:40:01.571Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-586 [Pipeline] echo [2024-10-30T03:40:01.625Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 7fc7b392c54a41120ffbbafcc9a21b5a9ec98b7a [Pipeline] echo [2024-10-30T03:40:01.681Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 7fc7b39 [Pipeline] echo [2024-10-30T03:40:01.737Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-10-30T03:40:01.886Z] provisioning config files... [2024-10-30T03:40:01.908Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-586@tmp/config15508211472415509030tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-30T03:40:02.319Z] ---> ****-login.sh [2024-10-30T03:40:02.319Z] nexus3.edgexfoundry.org:10001 [2024-10-30T03:40:02.582Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-30T03:40:02.582Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-30T03:40:02.582Z] Configure a credential helper to remove this warning. See [2024-10-30T03:40:02.582Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-30T03:40:02.582Z] [2024-10-30T03:40:02.582Z] Login Succeeded [2024-10-30T03:40:02.582Z] nexus3.edgexfoundry.org:10002 [2024-10-30T03:40:02.582Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-30T03:40:02.843Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-30T03:40:02.843Z] Configure a credential helper to remove this warning. See [2024-10-30T03:40:02.843Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-30T03:40:02.843Z] [2024-10-30T03:40:02.843Z] Login Succeeded [2024-10-30T03:40:02.843Z] nexus3.edgexfoundry.org:10003 [2024-10-30T03:40:02.843Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-30T03:40:02.843Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-30T03:40:02.843Z] Configure a credential helper to remove this warning. See [2024-10-30T03:40:02.843Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-30T03:40:02.843Z] [2024-10-30T03:40:02.843Z] Login Succeeded [2024-10-30T03:40:02.843Z] nexus3.edgexfoundry.org:10004 [2024-10-30T03:40:02.843Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-30T03:40:02.843Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-30T03:40:02.843Z] Configure a credential helper to remove this warning. See [2024-10-30T03:40:02.843Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-30T03:40:02.843Z] [2024-10-30T03:40:02.843Z] Login Succeeded [2024-10-30T03:40:02.843Z] ****.io [2024-10-30T03:40:03.103Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-30T03:40:03.103Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-30T03:40:03.103Z] Configure a credential helper to remove this warning. See [2024-10-30T03:40:03.103Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-30T03:40:03.103Z] [2024-10-30T03:40:03.103Z] Login Succeeded [2024-10-30T03:40:03.103Z] ---> ****-login.sh ends [Pipeline] } [2024-10-30T03:40:03.136Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-10-30T03:40:03.816Z] + git rev-list -1 --merges 7fc7b392c54a41120ffbbafcc9a21b5a9ec98b7a~1..7fc7b392c54a41120ffbbafcc9a21b5a9ec98b7a [Pipeline] echo [2024-10-30T03:40:03.861Z] -----------> git rev-list -1 --merges 7fc7b392c54a41120ffbbafcc9a21b5a9ec98b7a~1..7fc7b392c54a41120ffbbafcc9a21b5a9ec98b7a 7fc7b392c54a41120ffbbafcc9a21b5a9ec98b7a [false] [Pipeline] sh [2024-10-30T03:40:04.184Z] + git log --format=format:%s -1 7fc7b392c54a41120ffbbafcc9a21b5a9ec98b7a [Pipeline] echo [2024-10-30T03:40:04.228Z] ========================================================= [2024-10-30T03:40:04.228Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-10-30T03:40:04.229Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-10-30T03:40:04.693Z] + git log --format=format:%s -1 7fc7b392c54a41120ffbbafcc9a21b5a9ec98b7a [Pipeline] echo [2024-10-30T03:40:04.734Z] [semverPrep] GIT_COMMIT: 7fc7b392c54a41120ffbbafcc9a21b5a9ec98b7a, Commit Message: refactor!: update module to v4 [Pipeline] echo [2024-10-30T03:40:04.775Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-10-30T03:40:05.204Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-10-30T03:40:05.204Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-10-30T03:40:05.204Z] + [ -e /tmp/ssh_known_hosts ] [2024-10-30T03:40:05.204Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-10-30T03:40:05.204Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-10-30T03:40:05.204Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2024-10-30T03:40:05.204Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-30T03:40:05.731Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-10-30T03:40:05.731Z] [2024-10-30T03:40:05.731Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-30T03:40:06.312Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-10-30T03:40:06.313Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-10-30T03:40:06.313Z] b85a868b505f: Pulling fs layer [2024-10-30T03:40:06.313Z] e2be974225ed: Pulling fs layer [2024-10-30T03:40:06.313Z] 339a4e72a1f5: Pulling fs layer [2024-10-30T03:40:06.313Z] 988bab9f4d93: Pulling fs layer [2024-10-30T03:40:06.313Z] 1469e6f7b9e6: Pulling fs layer [2024-10-30T03:40:06.313Z] eaf3925da568: Pulling fs layer [2024-10-30T03:40:06.313Z] bab4dde63d76: Pulling fs layer [2024-10-30T03:40:06.313Z] bde34c3a00c8: Pulling fs layer [2024-10-30T03:40:06.313Z] b352a97aabf1: Pulling fs layer [2024-10-30T03:40:06.313Z] 4872d77fe225: Pulling fs layer [2024-10-30T03:40:06.313Z] 5851b861e8e6: Pulling fs layer [2024-10-30T03:40:06.313Z] eaf3925da568: Waiting [2024-10-30T03:40:06.313Z] 4872d77fe225: Waiting [2024-10-30T03:40:06.313Z] 988bab9f4d93: Waiting [2024-10-30T03:40:06.313Z] 5851b861e8e6: Waiting [2024-10-30T03:40:06.313Z] 1469e6f7b9e6: Waiting [2024-10-30T03:40:06.313Z] bab4dde63d76: Waiting [2024-10-30T03:40:06.313Z] bde34c3a00c8: Waiting [2024-10-30T03:40:06.313Z] b352a97aabf1: Waiting [2024-10-30T03:40:06.313Z] e2be974225ed: Verifying Checksum [2024-10-30T03:40:06.313Z] e2be974225ed: Download complete [2024-10-30T03:40:06.313Z] 988bab9f4d93: Download complete [2024-10-30T03:40:06.313Z] 1469e6f7b9e6: Verifying Checksum [2024-10-30T03:40:06.313Z] 1469e6f7b9e6: Download complete [2024-10-30T03:40:06.313Z] 339a4e72a1f5: Verifying Checksum [2024-10-30T03:40:06.313Z] 339a4e72a1f5: Download complete [2024-10-30T03:40:06.580Z] b352a97aabf1: Verifying Checksum [2024-10-30T03:40:06.580Z] 4872d77fe225: Verifying Checksum [2024-10-30T03:40:06.580Z] 4872d77fe225: Download complete [2024-10-30T03:40:06.580Z] 5851b861e8e6: Verifying Checksum [2024-10-30T03:40:06.580Z] 5851b861e8e6: Download complete [2024-10-30T03:40:06.580Z] b85a868b505f: Verifying Checksum [2024-10-30T03:40:06.580Z] b85a868b505f: Download complete [2024-10-30T03:40:06.839Z] bab4dde63d76: Verifying Checksum [2024-10-30T03:40:06.839Z] bab4dde63d76: Download complete [2024-10-30T03:40:07.776Z] b85a868b505f: Pull complete [2024-10-30T03:40:07.776Z] e2be974225ed: Pull complete [2024-10-30T03:40:08.347Z] 339a4e72a1f5: Pull complete [2024-10-30T03:40:08.347Z] 988bab9f4d93: Pull complete [2024-10-30T03:40:08.605Z] 1469e6f7b9e6: Pull complete [2024-10-30T03:40:08.863Z] eaf3925da568: Pull complete [2024-10-30T03:40:10.768Z] bab4dde63d76: Pull complete [2024-10-30T03:40:10.768Z] bde34c3a00c8: Pull complete [2024-10-30T03:40:10.768Z] b352a97aabf1: Pull complete [2024-10-30T03:40:10.768Z] 4872d77fe225: Pull complete [2024-10-30T03:40:10.768Z] 5851b861e8e6: Pull complete [2024-10-30T03:40:10.768Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-10-30T03:40:10.768Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-10-30T03:40:10.768Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-30T03:40:11.062Z] prd-ubuntu20.04-docker-8c-8g-24063 does not seem to be running inside a container [2024-10-30T03:40:11.092Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-586 -v /w/workspace/xfoundry_device-modbus-go_PR-586:/w/workspace/xfoundry_device-modbus-go_PR-586:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-586@tmp:/w/workspace/xfoundry_device-modbus-go_PR-586@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-10-30T03:40:13.521Z] $ docker top aa32a40d0ee43760d1721ec0c6561edb01a14bf5ddc3225a740da5615714630b -eo pid,comm [2024-10-30T03:40:13.581Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2024-10-30T03:40:13.581Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-10-30T03:40:13.742Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-10-30T03:40:13.742Z] [ssh-agent] Looking for ssh-agent implementation... [2024-10-30T03:40:13.860Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-10-30T03:40:13.860Z] $ docker exec aa32a40d0ee43760d1721ec0c6561edb01a14bf5ddc3225a740da5615714630b ssh-agent [2024-10-30T03:40:13.966Z] SSH_AUTH_SOCK=/tmp/ssh-QaURr3e1Qnmp/agent.33 [2024-10-30T03:40:13.966Z] SSH_AGENT_PID=39 [2024-10-30T03:40:13.973Z] Running ssh-add (command line suppressed) [2024-10-30T03:40:14.067Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-586@tmp/private_key_5650804363608214404.key (/w/workspace/xfoundry_device-modbus-go_PR-586@tmp/private_key_5650804363608214404.key) [2024-10-30T03:40:14.081Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-10-30T03:40:14.421Z] + git tag --points-at HEAD [Pipeline] } [2024-10-30T03:40:14.446Z] $ docker exec --env ******** --env ******** aa32a40d0ee43760d1721ec0c6561edb01a14bf5ddc3225a740da5615714630b ssh-agent -k [2024-10-30T03:40:14.548Z] unset SSH_AUTH_SOCK; [2024-10-30T03:40:14.548Z] unset SSH_AGENT_PID; [2024-10-30T03:40:14.548Z] echo Agent pid 39 killed; [2024-10-30T03:40:14.560Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-10-30T03:40:14.673Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-10-30T03:40:14.673Z] [ssh-agent] Looking for ssh-agent implementation... [2024-10-30T03:40:14.775Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-10-30T03:40:14.775Z] $ docker exec aa32a40d0ee43760d1721ec0c6561edb01a14bf5ddc3225a740da5615714630b ssh-agent [2024-10-30T03:40:14.871Z] SSH_AUTH_SOCK=/tmp/ssh-RS53zr5MDHz9/agent.72 [2024-10-30T03:40:14.871Z] SSH_AGENT_PID=78 [2024-10-30T03:40:14.876Z] Running ssh-add (command line suppressed) [2024-10-30T03:40:14.972Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-586@tmp/private_key_14543637954256184797.key (/w/workspace/xfoundry_device-modbus-go_PR-586@tmp/private_key_14543637954256184797.key) [2024-10-30T03:40:14.988Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-10-30T03:40:15.342Z] + git semver init [2024-10-30T03:40:15.601Z] 2024-10-30 03:40:15,552 [run_init] DEBUG init version:0.0.0 force:False [2024-10-30T03:40:15.601Z] 2024-10-30 03:40:15,552 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-modbus-go_PR-586/.semver [2024-10-30T03:40:15.601Z] 2024-10-30 03:40:15,553 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/xfoundry_device-modbus-go_PR-586/.semver [2024-10-30T03:40:15.601Z] 2024-10-30 03:40:15,553 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/xfoundry_device-modbus-go_PR-586/.semver'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-586, universal_newlines=False, shell=None, istream=None) [2024-10-30T03:40:16.539Z] 2024-10-30 03:40:16,518 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-modbus-go_PR-586/.git/info/exclude [2024-10-30T03:40:16.539Z] 2024-10-30 03:40:16,519 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-modbus-go_PR-586/.semver/PR-586 with force:False [2024-10-30T03:40:16.539Z] 2024-10-30 03:40:16,519 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-modbus-go_PR-586/.semver/PR-586 [2024-10-30T03:40:16.539Z] 2024-10-30 03:40:16,523 [execute] INFO git cat-file --batch-check [2024-10-30T03:40:16.539Z] 2024-10-30 03:40:16,523 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-586/.semver, universal_newlines=False, shell=None, istream=) [2024-10-30T03:40:16.539Z] 2024-10-30 03:40:16,530 [execute] INFO git cat-file --batch [2024-10-30T03:40:16.539Z] 2024-10-30 03:40:16,530 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-586/.semver, universal_newlines=False, shell=None, istream=) [2024-10-30T03:40:16.539Z] 2024-10-30 03:40:16,536 [read_version] DEBUG read version from /w/workspace/xfoundry_device-modbus-go_PR-586/.semver/PR-586 [2024-10-30T03:40:16.539Z] 0.0.0 [Pipeline] } [2024-10-30T03:40:16.815Z] $ docker exec --env ******** --env ******** aa32a40d0ee43760d1721ec0c6561edb01a14bf5ddc3225a740da5615714630b ssh-agent -k [2024-10-30T03:40:16.913Z] unset SSH_AUTH_SOCK; [2024-10-30T03:40:16.913Z] unset SSH_AGENT_PID; [2024-10-30T03:40:16.913Z] echo Agent pid 78 killed; [2024-10-30T03:40:16.925Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-10-30T03:40:17.383Z] + git semver [Pipeline] } [2024-10-30T03:40:17.671Z] $ docker stop --time=1 aa32a40d0ee43760d1721ec0c6561edb01a14bf5ddc3225a740da5615714630b [2024-10-30T03:40:18.972Z] $ docker rm -f --volumes aa32a40d0ee43760d1721ec0c6561edb01a14bf5ddc3225a740da5615714630b [Pipeline] // withDockerContainer [Pipeline] sh [2024-10-30T03:40:19.396Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-10-30T03:40:19.699Z] Stashed 1 file(s) [Pipeline] echo [2024-10-30T03:40:19.724Z] [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-10-30T03:40:20.399Z] provisioning config files... [2024-10-30T03:40:20.406Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-586@tmp/config17014759991536737533tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-30T03:40:20.754Z] ---> ****-login.sh [2024-10-30T03:40:20.754Z] nexus3.edgexfoundry.org:10001 [2024-10-30T03:40:20.754Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-30T03:40:20.754Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-30T03:40:20.754Z] Configure a credential helper to remove this warning. See [2024-10-30T03:40:20.755Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-30T03:40:20.755Z] [2024-10-30T03:40:20.755Z] Login Succeeded [2024-10-30T03:40:20.755Z] nexus3.edgexfoundry.org:10002 [2024-10-30T03:40:20.755Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-30T03:40:20.755Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-30T03:40:20.755Z] Configure a credential helper to remove this warning. See [2024-10-30T03:40:20.755Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-30T03:40:20.755Z] [2024-10-30T03:40:20.755Z] Login Succeeded [2024-10-30T03:40:20.755Z] nexus3.edgexfoundry.org:10003 [2024-10-30T03:40:21.014Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-30T03:40:21.015Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-30T03:40:21.015Z] Configure a credential helper to remove this warning. See [2024-10-30T03:40:21.015Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-30T03:40:21.015Z] [2024-10-30T03:40:21.015Z] Login Succeeded [2024-10-30T03:40:21.015Z] nexus3.edgexfoundry.org:10004 [2024-10-30T03:40:21.015Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-30T03:40:21.015Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-30T03:40:21.015Z] Configure a credential helper to remove this warning. See [2024-10-30T03:40:21.015Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-30T03:40:21.015Z] [2024-10-30T03:40:21.015Z] Login Succeeded [2024-10-30T03:40:21.015Z] ****.io [2024-10-30T03:40:21.279Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-30T03:40:21.279Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-30T03:40:21.279Z] Configure a credential helper to remove this warning. See [2024-10-30T03:40:21.279Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-30T03:40:21.279Z] [2024-10-30T03:40:21.279Z] Login Succeeded [2024-10-30T03:40:21.279Z] ---> ****-login.sh ends [Pipeline] } [2024-10-30T03:40:21.315Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-10-30T03:40:21.549Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-30T03:40:21.591Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-30T03:40:21.639Z] ========================================================= [2024-10-30T03:40:21.639Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] [2024-10-30T03:40:21.639Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-30T03:40:22.141Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine --build-arg MAKE=echo noop --target=builder . [2024-10-30T03:40:22.141Z] Sending build context to Docker daemon 18.06MB [2024-10-30T03:40:22.141Z] Step 1/10 : ARG BASE=golang:1.23-alpine3.20 [2024-10-30T03:40:22.141Z] Step 2/10 : FROM ${BASE} AS builder [2024-10-30T03:40:22.141Z] 1.23-alpine: Pulling from edgex-devops/edgex-golang-base [2024-10-30T03:40:22.141Z] 43c4264eed91: Pulling fs layer [2024-10-30T03:40:22.141Z] 4cc291be95ef: Pulling fs layer [2024-10-30T03:40:22.141Z] 2ac1f1163629: Pulling fs layer [2024-10-30T03:40:22.141Z] 5c3c966382ef: Pulling fs layer [2024-10-30T03:40:22.141Z] 4f4fb700ef54: Pulling fs layer [2024-10-30T03:40:22.141Z] 5d5c8e513c77: Pulling fs layer [2024-10-30T03:40:22.141Z] 9f66e0745190: Pulling fs layer [2024-10-30T03:40:22.141Z] f49a43e4bbc0: Pulling fs layer [2024-10-30T03:40:22.141Z] 561ebcabdf7f: Pulling fs layer [2024-10-30T03:40:22.141Z] f49a43e4bbc0: Waiting [2024-10-30T03:40:22.141Z] 5d5c8e513c77: Waiting [2024-10-30T03:40:22.141Z] 9f66e0745190: Waiting [2024-10-30T03:40:22.141Z] 561ebcabdf7f: Waiting [2024-10-30T03:40:22.141Z] 5c3c966382ef: Waiting [2024-10-30T03:40:22.405Z] 4cc291be95ef: Verifying Checksum [2024-10-30T03:40:22.405Z] 4cc291be95ef: Download complete [2024-10-30T03:40:22.405Z] 5c3c966382ef: Verifying Checksum [2024-10-30T03:40:22.405Z] 5c3c966382ef: Download complete [2024-10-30T03:40:22.405Z] 4f4fb700ef54: Verifying Checksum [2024-10-30T03:40:22.405Z] 4f4fb700ef54: Download complete [2024-10-30T03:40:22.405Z] 43c4264eed91: Download complete [2024-10-30T03:40:22.405Z] 5d5c8e513c77: Verifying Checksum [2024-10-30T03:40:22.405Z] 5d5c8e513c77: Download complete [2024-10-30T03:40:22.405Z] 9f66e0745190: Verifying Checksum [2024-10-30T03:40:22.405Z] 9f66e0745190: Download complete [2024-10-30T03:40:22.405Z] 43c4264eed91: Pull complete [2024-10-30T03:40:22.664Z] 561ebcabdf7f: Verifying Checksum [2024-10-30T03:40:22.664Z] 561ebcabdf7f: Download complete [2024-10-30T03:40:22.664Z] 4cc291be95ef: Pull complete [2024-10-30T03:40:22.923Z] 2ac1f1163629: Verifying Checksum [2024-10-30T03:40:22.923Z] 2ac1f1163629: Download complete [2024-10-30T03:40:23.183Z] f49a43e4bbc0: Verifying Checksum [2024-10-30T03:40:23.183Z] f49a43e4bbc0: Download complete [2024-10-30T03:40:26.469Z] 2ac1f1163629: Pull complete [2024-10-30T03:40:26.469Z] 5c3c966382ef: Pull complete [2024-10-30T03:40:26.469Z] 4f4fb700ef54: Pull complete [2024-10-30T03:40:26.469Z] 5d5c8e513c77: Pull complete [2024-10-30T03:40:26.469Z] 9f66e0745190: Pull complete [2024-10-30T03:40:28.369Z] f49a43e4bbc0: Pull complete [2024-10-30T03:40:28.953Z] 561ebcabdf7f: Pull complete [2024-10-30T03:40:28.953Z] Digest: sha256:0719486ae9a24b675ee3acaa2cfd867e7a981f2ef22b41d166c62d936fe8de2d [2024-10-30T03:40:28.953Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine [2024-10-30T03:40:28.953Z] ---> 3a752c3f9dda [2024-10-30T03:40:28.953Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2024-10-30T03:40:32.253Z] ---> Running in a17aa045476c [2024-10-30T03:40:32.511Z] Removing intermediate container a17aa045476c [2024-10-30T03:40:32.511Z] ---> b89a41a36d55 [2024-10-30T03:40:32.511Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-10-30T03:40:32.511Z] ---> Running in bb8939fe7be9 [2024-10-30T03:40:32.511Z] Removing intermediate container bb8939fe7be9 [2024-10-30T03:40:32.511Z] ---> 1a8d48e14910 [2024-10-30T03:40:32.511Z] Step 5/10 : RUN apk add --update --no-cache make git openssh [2024-10-30T03:40:32.511Z] ---> Running in 0231acec0c6c [2024-10-30T03:40:32.771Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-30T03:40:33.031Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-30T03:40:33.292Z] (1/8) Installing openssh-keygen (9.7_p1-r4) [2024-10-30T03:40:33.292Z] (2/8) Installing libedit (20240517.3.1-r0) [2024-10-30T03:40:33.292Z] (3/8) Installing openssh-client-common (9.7_p1-r4) [2024-10-30T03:40:33.292Z] (4/8) Installing openssh-client-default (9.7_p1-r4) [2024-10-30T03:40:33.292Z] (5/8) Installing openssh-sftp-server (9.7_p1-r4) [2024-10-30T03:40:33.292Z] (6/8) Installing openssh-server-common (9.7_p1-r4) [2024-10-30T03:40:33.292Z] (7/8) Installing openssh-server (9.7_p1-r4) [2024-10-30T03:40:33.292Z] (8/8) Installing openssh (9.7_p1-r4) [2024-10-30T03:40:33.292Z] Executing busybox-1.36.1-r29.trigger [2024-10-30T03:40:33.292Z] OK: 252 MiB in 62 packages [2024-10-30T03:40:33.863Z] Removing intermediate container 0231acec0c6c [2024-10-30T03:40:33.863Z] ---> 2e5dfb5a3d9a [2024-10-30T03:40:33.863Z] Step 6/10 : WORKDIR /device-modbus-go [2024-10-30T03:40:33.863Z] ---> Running in 4236ae020473 [2024-10-30T03:40:33.863Z] Removing intermediate container 4236ae020473 [2024-10-30T03:40:33.863Z] ---> 23cb19f95199 [2024-10-30T03:40:33.863Z] Step 7/10 : COPY go.mod vendor* ./ [2024-10-30T03:40:33.863Z] ---> a1c61ab97852 [2024-10-30T03:40:33.863Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-10-30T03:40:34.123Z] ---> Running in 09f83229adea [2024-10-30T03:40:35.200Z] Still waiting to schedule task [2024-10-30T03:40:35.200Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-24062’ is offline [2024-10-30T03:41:41.938Z] Removing intermediate container 09f83229adea [2024-10-30T03:41:41.938Z] ---> 0cdfdebb7f70 [2024-10-30T03:41:41.938Z] Step 9/10 : COPY . . [2024-10-30T03:41:41.938Z] ---> 7836a4eca6cc [2024-10-30T03:41:41.938Z] Step 10/10 : RUN ${MAKE} [2024-10-30T03:41:41.938Z] ---> Running in f106f7dbadde [2024-10-30T03:41:41.938Z] noop [2024-10-30T03:41:41.938Z] Removing intermediate container f106f7dbadde [2024-10-30T03:41:41.938Z] ---> 6dfd69bab919 [2024-10-30T03:41:41.938Z] Successfully built 6dfd69bab919 [2024-10-30T03:41:41.938Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-30T03:41:42.436Z] + docker inspect -f . ci-base-image-x86_64 [2024-10-30T03:41:42.436Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-30T03:41:42.609Z] prd-ubuntu20.04-docker-8c-8g-24063 does not seem to be running inside a container [2024-10-30T03:41:42.640Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-586 -v /w/workspace/xfoundry_device-modbus-go_PR-586:/w/workspace/xfoundry_device-modbus-go_PR-586:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-586@tmp:/w/workspace/xfoundry_device-modbus-go_PR-586@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-10-30T03:41:42.954Z] $ docker top 0445408f2ddc3f9ddfcf7b8f1aa90275c300f3aeb2dc254fdde6a94cd62ca5eb -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-30T03:41:43.371Z] + go version [2024-10-30T03:41:43.371Z] go version go1.23.2 linux/amd64 [Pipeline] } [2024-10-30T03:41:43.407Z] $ docker stop --time=1 0445408f2ddc3f9ddfcf7b8f1aa90275c300f3aeb2dc254fdde6a94cd62ca5eb [2024-10-30T03:41:44.638Z] $ docker rm -f --volumes 0445408f2ddc3f9ddfcf7b8f1aa90275c300f3aeb2dc254fdde6a94cd62ca5eb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-30T03:41:45.402Z] + docker inspect -f . ci-base-image-x86_64 [2024-10-30T03:41:45.402Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-30T03:41:45.590Z] prd-ubuntu20.04-docker-8c-8g-24063 does not seem to be running inside a container [2024-10-30T03:41:45.622Z] $ 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-586 -v /w/workspace/xfoundry_device-modbus-go_PR-586:/w/workspace/xfoundry_device-modbus-go_PR-586:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-586@tmp:/w/workspace/xfoundry_device-modbus-go_PR-586@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-10-30T03:41:45.984Z] $ docker top e8eced13ab3759cc8d6e5bc411017adac9c9da8683abf2ad5c4e9132355ca000 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-30T03:41:46.408Z] + git config --global --add safe.directory /w/workspace/xfoundry_device-modbus-go_PR-586 [Pipeline] fileExists [Pipeline] sh [2024-10-30T03:41:46.781Z] + make test [2024-10-30T03:41:46.781Z] go test ./... -coverprofile=coverage.out [2024-10-30T03:41:48.159Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2024-10-30T03:42:04.506Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-24065 in /w/workspace/xfoundry_device-modbus-go_PR-586 [Pipeline] { [Pipeline] ws [2024-10-30T03:42:04.587Z] Running in /w/workspace/device-modbus-go/1 [Pipeline] { [Pipeline] checkout [2024-10-30T03:42:06.228Z] github.com/edgexfoundry/device-modbus-go/cmd coverage: 0.0% of statements [2024-10-30T03:42:06.228Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.006s coverage: 47.9% of statements [2024-10-30T03:42:07.692Z] The recommended git tool is: git [2024-10-30T03:42:12.074Z] using credential edgex-jenkins-ssh [2024-10-30T03:42:12.107Z] Cloning the remote Git repository [2024-10-30T03:42:12.150Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2024-10-30T03:42:12.253Z] > git init /w/workspace/device-modbus-go/1 # timeout=10 [2024-10-30T03:42:12.379Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2024-10-30T03:42:12.380Z] > git --version # timeout=10 [2024-10-30T03:42:12.399Z] > git --version # 'git version 2.25.1' [2024-10-30T03:42:12.401Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-10-30T03:42:12.537Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-10-30T03:42:14.416Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2024-10-30T03:42:14.439Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-10-30T03:42:16.042Z] Merging remotes/origin/main commit 7248720eb6e2bf16815f86cf3de46e0922eeefd9 into PR head commit 7fc7b392c54a41120ffbbafcc9a21b5a9ec98b7a [2024-10-30T03:42:16.189Z] go vet ./... [2024-10-30T03:42:16.319Z] Merge succeeded, producing 7fc7b392c54a41120ffbbafcc9a21b5a9ec98b7a [2024-10-30T03:42:16.319Z] Checking out Revision 7fc7b392c54a41120ffbbafcc9a21b5a9ec98b7a (PR-586) [2024-10-30T03:42:15.387Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2024-10-30T03:42:15.438Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2024-10-30T03:42:15.439Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-10-30T03:42:15.462Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/586/head:refs/remotes/origin/PR-586 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2024-10-30T03:42:16.060Z] > git config core.sparsecheckout # timeout=10 [2024-10-30T03:42:16.125Z] > git checkout -f 7fc7b392c54a41120ffbbafcc9a21b5a9ec98b7a # timeout=10 [2024-10-30T03:42:16.210Z] > git remote # timeout=10 [2024-10-30T03:42:16.229Z] > git config --get remote.origin.url # timeout=10 [2024-10-30T03:42:16.244Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-10-30T03:42:16.264Z] > git merge 7248720eb6e2bf16815f86cf3de46e0922eeefd9 # timeout=10 [2024-10-30T03:42:16.296Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-10-30T03:42:16.325Z] > git config core.sparsecheckout # timeout=10 [2024-10-30T03:42:16.343Z] > git checkout -f 7fc7b392c54a41120ffbbafcc9a21b5a9ec98b7a # timeout=10 [2024-10-30T03:42:19.967Z] Commit message: "refactor!: update module to v4" [2024-10-30T03:42:20.037Z] > git --version # timeout=10 [2024-10-30T03:42:20.053Z] > git --version # 'git version 2.25.1' [2024-10-30T03:42:20.065Z] fatal: bad object 0b81fa10a7dd14683a964f04f411324fe83f93ac [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-10-30T03:42:22.113Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-10-30T03:42:22.113Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-10-30T03:42:22.113Z] Dload Upload Total Spent Left Speed [2024-10-30T03:42:22.113Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 106k 0 --:--:-- --:--:-- --:--:-- 107k [Pipeline] sh [2024-10-30T03:42:22.475Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-10-30T03:42:22.744Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-10-30T03:42:22.744Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-10-30T03:42:22.744Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2024-10-30T03:42:22.785Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-10-30T03:42:22.821Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2024-10-30T03:42:22.821Z] + sudo tee /etc/docker/daemon.new [2024-10-30T03:42:22.821Z] { [2024-10-30T03:42:22.821Z] "registry-mirrors": [ [2024-10-30T03:42:22.821Z] "https://nexus3.edgexfoundry.org:10001" [2024-10-30T03:42:22.821Z] ], [2024-10-30T03:42:22.821Z] "bip": "10.250.0.254/24", [2024-10-30T03:42:22.821Z] "hosts": [ [2024-10-30T03:42:22.821Z] "tcp://0.0.0.0:5555", [2024-10-30T03:42:22.821Z] "unix:///var/run/docker.sock" [2024-10-30T03:42:22.821Z] ], [2024-10-30T03:42:22.821Z] "mtu": 1458, [2024-10-30T03:42:22.821Z] "selinux-enabled": true, [2024-10-30T03:42:22.821Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-10-30T03:42:22.821Z] } [2024-10-30T03:42:22.824Z] $ docker stop --time=1 e8eced13ab3759cc8d6e5bc411017adac9c9da8683abf2ad5c4e9132355ca000 [2024-10-30T03:42:27.478Z] $ docker rm -f --volumes e8eced13ab3759cc8d6e5bc411017adac9c9da8683abf2ad5c4e9132355ca000 [Pipeline] // withDockerContainer [Pipeline] sh [Pipeline] sh [2024-10-30T03:42:28.115Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-10-30T03:42:28.183Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [2024-10-30T03:42:28.186Z] Stashed 1 file(s) [Pipeline] } [Pipeline] sh [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [2024-10-30T03:42:28.549Z] + sudo service docker restart [Pipeline] sh [2024-10-30T03:42:29.029Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-10-30T03:42:29.353Z] + ls -al . [2024-10-30T03:42:29.353Z] total 272 [2024-10-30T03:42:29.353Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 30 03:41 . [2024-10-30T03:42:29.353Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 30 03:39 .. [2024-10-30T03:42:29.353Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 30 03:39 .dockerignore [2024-10-30T03:42:29.353Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 30 03:42 .git [2024-10-30T03:42:29.353Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 30 03:39 .github [2024-10-30T03:42:29.353Z] -rw-rw-r-- 1 jenkins jenkins 266 Oct 30 03:39 .gitignore [2024-10-30T03:42:29.353Z] -rw-rw-r-- 1 jenkins jenkins 199 Oct 30 03:39 .golangci.yml [2024-10-30T03:42:29.353Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 30 03:40 .semver [2024-10-30T03:42:29.353Z] -rw-rw-r-- 1 jenkins jenkins 19818 Oct 30 03:39 Attribution.txt [2024-10-30T03:42:29.353Z] -rw-rw-r-- 1 jenkins jenkins 16388 Oct 30 03:39 CHANGELOG.md [2024-10-30T03:42:29.353Z] -rw-rw-r-- 1 jenkins jenkins 1479 Oct 30 03:39 Dockerfile [2024-10-30T03:42:29.353Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 30 03:39 GOVERNANCE.md [2024-10-30T03:42:29.353Z] -rw-rw-r-- 1 jenkins jenkins 658 Oct 30 03:39 Jenkinsfile [2024-10-30T03:42:29.353Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 30 03:39 LICENSE [2024-10-30T03:42:29.353Z] -rw-rw-r-- 1 jenkins jenkins 2479 Oct 30 03:39 Makefile [2024-10-30T03:42:29.353Z] -rw-rw-r-- 1 jenkins jenkins 622 Oct 30 03:39 OWNERS.md [2024-10-30T03:42:29.353Z] -rw-rw-r-- 1 jenkins jenkins 4463 Oct 30 03:39 README.md [2024-10-30T03:42:29.353Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 30 03:40 VERSION [2024-10-30T03:42:29.353Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 30 03:39 bin [2024-10-30T03:42:29.353Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 30 03:39 cmd [2024-10-30T03:42:29.353Z] -rw-r--r-- 1 jenkins jenkins 24669 Oct 30 03:42 coverage.out [2024-10-30T03:42:29.353Z] -rw-rw-r-- 1 jenkins jenkins 7150 Oct 30 03:39 go.mod [2024-10-30T03:42:29.353Z] -rw-rw-r-- 1 jenkins jenkins 100733 Oct 30 03:39 go.sum [2024-10-30T03:42:29.353Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 30 03:39 internal [2024-10-30T03:42:29.353Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 30 03:39 simulator [2024-10-30T03:42:29.353Z] -rw-rw-r-- 1 jenkins jenkins 229 Oct 30 03:39 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-30T03:42:29.783Z] + 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=7fc7b392c54a41120ffbbafcc9a21b5a9ec98b7a --label arch=amd64 --label version=0.0.0 . [2024-10-30T03:42:29.783Z] Sending build context to Docker daemon 18.08MB [2024-10-30T03:42:29.783Z] Step 1/23 : ARG BASE=golang:1.23-alpine3.20 [2024-10-30T03:42:29.783Z] Step 2/23 : FROM ${BASE} AS builder [2024-10-30T03:42:29.783Z] ---> 6dfd69bab919 [2024-10-30T03:42:29.784Z] Step 3/23 : ARG ADD_BUILD_TAGS="" [2024-10-30T03:42:30.351Z] ---> Running in 5a452a69e3d0 [2024-10-30T03:42:30.352Z] Removing intermediate container 5a452a69e3d0 [2024-10-30T03:42:30.352Z] ---> b11e1aef5165 [2024-10-30T03:42:30.352Z] Step 4/23 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-10-30T03:42:30.352Z] ---> Running in 172f4b3cb941 [2024-10-30T03:42:30.352Z] Removing intermediate container 172f4b3cb941 [2024-10-30T03:42:30.352Z] ---> a1762279b5e6 [2024-10-30T03:42:30.352Z] Step 5/23 : RUN apk add --update --no-cache make git openssh [2024-10-30T03:42:30.352Z] ---> Running in bb52230bc471 [2024-10-30T03:42:30.611Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-30T03:42:30.870Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-30T03:42:31.130Z] OK: 252 MiB in 62 packages [2024-10-30T03:42:31.699Z] Removing intermediate container bb52230bc471 [2024-10-30T03:42:31.699Z] ---> 0e8bc11f3b7c [2024-10-30T03:42:31.699Z] Step 6/23 : WORKDIR /device-modbus-go [2024-10-30T03:42:31.699Z] ---> Running in a3c2ee2c8045 [2024-10-30T03:42:31.699Z] Removing intermediate container a3c2ee2c8045 [2024-10-30T03:42:31.699Z] ---> e11b3b8773fa [2024-10-30T03:42:31.699Z] Step 7/23 : COPY go.mod vendor* ./ [2024-10-30T03:42:31.699Z] ---> 7e5ee4deb427 [2024-10-30T03:42:31.699Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-10-30T03:42:31.699Z] ---> Running in e69a9e5baaeb [2024-10-30T03:42:33.910Z] Removing intermediate container e69a9e5baaeb [2024-10-30T03:42:33.910Z] ---> 21be0bc603a4 [2024-10-30T03:42:33.910Z] Step 9/23 : COPY . . [2024-10-30T03:42:34.526Z] ---> 1d0031af879a [2024-10-30T03:42:34.526Z] Step 10/23 : RUN ${MAKE} [2024-10-30T03:42:34.526Z] ---> Running in 3c9fda36ee4a [2024-10-30T03:42:34.786Z] 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/v4/internal/common.SDKVersion=v4.0.0-dev.1" -trimpath -mod=readonly -ldflags "-bindnow" -buildmode=pie -o cmd/device-modbus ./cmd [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-10-30T03:42:46.874Z] provisioning config files... [2024-10-30T03:42:46.900Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/1@tmp/config16764026613117507964tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-30T03:42:47.393Z] ---> ****-login.sh [2024-10-30T03:42:47.393Z] nexus3.edgexfoundry.org:10001 [2024-10-30T03:42:47.661Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-30T03:42:47.934Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-30T03:42:47.934Z] Configure a credential helper to remove this warning. See [2024-10-30T03:42:47.934Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-30T03:42:47.934Z] [2024-10-30T03:42:47.934Z] Login Succeeded [2024-10-30T03:42:47.934Z] nexus3.edgexfoundry.org:10002 [2024-10-30T03:42:48.203Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-30T03:42:48.203Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-30T03:42:48.203Z] Configure a credential helper to remove this warning. See [2024-10-30T03:42:48.203Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-30T03:42:48.203Z] [2024-10-30T03:42:48.203Z] Login Succeeded [2024-10-30T03:42:48.203Z] nexus3.edgexfoundry.org:10003 [2024-10-30T03:42:48.470Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-30T03:42:48.743Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-30T03:42:48.743Z] Configure a credential helper to remove this warning. See [2024-10-30T03:42:48.743Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-30T03:42:48.743Z] [2024-10-30T03:42:48.743Z] Login Succeeded [2024-10-30T03:42:48.743Z] nexus3.edgexfoundry.org:10004 [2024-10-30T03:42:48.743Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-30T03:42:49.013Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-30T03:42:49.013Z] Configure a credential helper to remove this warning. See [2024-10-30T03:42:49.013Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-30T03:42:49.013Z] [2024-10-30T03:42:49.013Z] Login Succeeded [2024-10-30T03:42:49.013Z] ****.io [2024-10-30T03:42:49.286Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-30T03:42:49.286Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-30T03:42:49.286Z] Configure a credential helper to remove this warning. See [2024-10-30T03:42:49.286Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-30T03:42:49.286Z] [2024-10-30T03:42:49.286Z] Login Succeeded [2024-10-30T03:42:49.286Z] ---> ****-login.sh ends [Pipeline] } [2024-10-30T03:42:49.321Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-10-30T03:42:49.762Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-30T03:42:49.813Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-30T03:42:49.862Z] ========================================================= [2024-10-30T03:42:49.862Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine] [2024-10-30T03:42:49.862Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-30T03:42:50.423Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine --build-arg MAKE=echo noop --target=builder . [2024-10-30T03:42:50.698Z] Sending build context to Docker daemon 9.215MB [2024-10-30T03:42:50.968Z] Step 1/10 : ARG BASE=golang:1.23-alpine3.20 [2024-10-30T03:42:50.968Z] Step 2/10 : FROM ${BASE} AS builder [2024-10-30T03:42:50.968Z] 1.23-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-10-30T03:42:50.968Z] cf04c63912e1: Pulling fs layer [2024-10-30T03:42:50.968Z] 55b35a11ae5e: Pulling fs layer [2024-10-30T03:42:50.968Z] a37a00ec5f00: Pulling fs layer [2024-10-30T03:42:50.968Z] 50b3750afda1: Pulling fs layer [2024-10-30T03:42:50.968Z] 4f4fb700ef54: Pulling fs layer [2024-10-30T03:42:50.968Z] 80978eb59214: Pulling fs layer [2024-10-30T03:42:50.968Z] 50b3750afda1: Waiting [2024-10-30T03:42:50.968Z] 4f4fb700ef54: Waiting [2024-10-30T03:42:50.968Z] c9f46d7d2bd2: Pulling fs layer [2024-10-30T03:42:50.968Z] c5a475d317c9: Pulling fs layer [2024-10-30T03:42:50.968Z] 80978eb59214: Waiting [2024-10-30T03:42:50.968Z] c9f46d7d2bd2: Waiting [2024-10-30T03:42:50.968Z] c5a475d317c9: Waiting [2024-10-30T03:42:50.968Z] 55b35a11ae5e: Download complete [2024-10-30T03:42:50.968Z] 50b3750afda1: Verifying Checksum [2024-10-30T03:42:50.968Z] 50b3750afda1: Download complete [2024-10-30T03:42:51.238Z] 4f4fb700ef54: Verifying Checksum [2024-10-30T03:42:51.238Z] 4f4fb700ef54: Download complete [2024-10-30T03:42:51.238Z] 80978eb59214: Verifying Checksum [2024-10-30T03:42:51.238Z] 80978eb59214: Download complete [2024-10-30T03:42:51.238Z] cf04c63912e1: Verifying Checksum [2024-10-30T03:42:51.238Z] cf04c63912e1: Download complete [2024-10-30T03:42:51.830Z] c5a475d317c9: Verifying Checksum [2024-10-30T03:42:51.830Z] c5a475d317c9: Download complete [2024-10-30T03:42:52.101Z] cf04c63912e1: Pull complete [2024-10-30T03:42:52.696Z] 55b35a11ae5e: Pull complete [2024-10-30T03:42:53.285Z] a37a00ec5f00: Verifying Checksum [2024-10-30T03:42:53.285Z] a37a00ec5f00: Download complete [2024-10-30T03:42:53.871Z] c9f46d7d2bd2: Verifying Checksum [2024-10-30T03:42:53.871Z] c9f46d7d2bd2: Download complete [2024-10-30T03:43:06.855Z] Removing intermediate container 3c9fda36ee4a [2024-10-30T03:43:06.855Z] ---> 4b2ed2b5d4c4 [2024-10-30T03:43:06.855Z] Step 11/23 : FROM alpine:3.20 [2024-10-30T03:43:06.855Z] 3.20: Pulling from library/alpine [2024-10-30T03:43:06.855Z] 43c4264eed91: Already exists [2024-10-30T03:43:06.855Z] Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d [2024-10-30T03:43:06.855Z] Status: Downloaded newer image for alpine:3.20 [2024-10-30T03:43:06.855Z] ---> 91ef0af61f39 [2024-10-30T03:43:06.855Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2024: IoTech Ltd' [2024-10-30T03:43:06.855Z] ---> Running in c7bd56aa47d2 [2024-10-30T03:43:07.115Z] Removing intermediate container c7bd56aa47d2 [2024-10-30T03:43:07.115Z] ---> 410ef9f9cda0 [2024-10-30T03:43:07.115Z] Step 13/23 : RUN apk add --update --no-cache dumb-init [2024-10-30T03:43:07.115Z] ---> Running in 7e8ea407af45 [2024-10-30T03:43:07.374Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-30T03:43:07.374Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-30T03:43:07.943Z] (1/1) Installing dumb-init (1.2.5-r3) [2024-10-30T03:43:07.943Z] Executing busybox-1.36.1-r29.trigger [2024-10-30T03:43:07.943Z] OK: 8 MiB in 15 packages [2024-10-30T03:43:08.202Z] Removing intermediate container 7e8ea407af45 [2024-10-30T03:43:08.202Z] ---> f6fdcd19136b [2024-10-30T03:43:08.202Z] Step 14/23 : RUN apk --no-cache upgrade [2024-10-30T03:43:08.202Z] ---> Running in dfeb4d06b0a9 [2024-10-30T03:43:08.461Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-30T03:43:08.720Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-30T03:43:08.884Z] a37a00ec5f00: Pull complete [2024-10-30T03:43:08.884Z] 50b3750afda1: Pull complete [2024-10-30T03:43:08.884Z] 4f4fb700ef54: Pull complete [2024-10-30T03:43:08.884Z] 80978eb59214: Pull complete [2024-10-30T03:43:08.980Z] Upgrading critical system libraries and apk-tools: [2024-10-30T03:43:08.980Z] (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) [2024-10-30T03:43:08.980Z] Executing busybox-1.36.1-r29.trigger [2024-10-30T03:43:08.980Z] Continuing the upgrade transaction with new apk-tools: [2024-10-30T03:43:08.980Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-30T03:43:08.980Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-30T03:43:09.552Z] (1/2) Upgrading libcrypto3 (3.3.2-r0 -> 3.3.2-r1) [2024-10-30T03:43:09.552Z] (2/2) Upgrading libssl3 (3.3.2-r0 -> 3.3.2-r1) [2024-10-30T03:43:09.552Z] OK: 8 MiB in 15 packages [2024-10-30T03:43:10.120Z] Removing intermediate container dfeb4d06b0a9 [2024-10-30T03:43:10.120Z] ---> 32bf7d941ff2 [2024-10-30T03:43:10.120Z] Step 15/23 : COPY --from=builder /device-modbus-go/cmd / [2024-10-30T03:43:11.493Z] ---> 423554c03355 [2024-10-30T03:43:11.493Z] Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / [2024-10-30T03:43:11.493Z] ---> e5b415b1940e [2024-10-30T03:43:11.493Z] Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / [2024-10-30T03:43:11.493Z] ---> 0d066cf20ff8 [2024-10-30T03:43:11.493Z] Step 18/23 : EXPOSE 59901 [2024-10-30T03:43:11.493Z] ---> Running in 06b39db8783f [2024-10-30T03:43:11.753Z] Removing intermediate container 06b39db8783f [2024-10-30T03:43:11.753Z] ---> dd3dd7fc318f [2024-10-30T03:43:11.753Z] Step 19/23 : ENTRYPOINT ["/device-modbus"] [2024-10-30T03:43:11.753Z] ---> Running in 2ad7004bdb08 [2024-10-30T03:43:11.753Z] Removing intermediate container 2ad7004bdb08 [2024-10-30T03:43:11.753Z] ---> aa0fe7c76731 [2024-10-30T03:43:11.753Z] Step 20/23 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry"] [2024-10-30T03:43:11.753Z] ---> Running in 8ef91856685c [2024-10-30T03:43:11.753Z] Removing intermediate container 8ef91856685c [2024-10-30T03:43:11.753Z] ---> 96df6cf5b4b2 [2024-10-30T03:43:11.753Z] Step 21/23 : LABEL arch=amd64 [2024-10-30T03:43:11.753Z] ---> Running in c072d96aaede [2024-10-30T03:43:12.013Z] Removing intermediate container c072d96aaede [2024-10-30T03:43:12.013Z] ---> 06b52f480ea0 [2024-10-30T03:43:12.013Z] Step 22/23 : LABEL git_sha=7fc7b392c54a41120ffbbafcc9a21b5a9ec98b7a [2024-10-30T03:43:12.013Z] ---> Running in 7141099a72ca [2024-10-30T03:43:12.013Z] Removing intermediate container 7141099a72ca [2024-10-30T03:43:12.013Z] ---> 5d35f821e799 [2024-10-30T03:43:12.013Z] Step 23/23 : LABEL version=0.0.0 [2024-10-30T03:43:12.013Z] ---> Running in b429b6082efc [2024-10-30T03:43:12.013Z] Removing intermediate container b429b6082efc [2024-10-30T03:43:12.013Z] ---> a58d802e7d27 [2024-10-30T03:43:12.013Z] [Warning] One or more build-args [ARCH] were not consumed [2024-10-30T03:43:12.273Z] Successfully built a58d802e7d27 [2024-10-30T03:43:12.273Z] Successfully tagged device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-30T03:43:13.278Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-30T03:43:13.278Z] [2024-10-30T03:43:13.278Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-30T03:43:13.679Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-30T03:43:13.679Z] latest: Pulling from edgex-lftools-log-publisher [2024-10-30T03:43:13.679Z] 5eb5b503b376: Pulling fs layer [2024-10-30T03:43:13.679Z] 5c69ac0246d0: Pulling fs layer [2024-10-30T03:43:13.679Z] ec43610c2a17: Pulling fs layer [2024-10-30T03:43:13.679Z] 3a2ae6a8a46f: Pulling fs layer [2024-10-30T03:43:13.679Z] 33b1e0a273af: Pulling fs layer [2024-10-30T03:43:13.679Z] 3a2ae6a8a46f: Waiting [2024-10-30T03:43:13.679Z] 5d3b04190fa2: Pulling fs layer [2024-10-30T03:43:13.679Z] 2f39f015ded8: Pulling fs layer [2024-10-30T03:43:13.679Z] 33b1e0a273af: Waiting [2024-10-30T03:43:13.679Z] 5d3b04190fa2: Waiting [2024-10-30T03:43:13.679Z] 2f39f015ded8: Waiting [2024-10-30T03:43:13.679Z] 5c69ac0246d0: Download complete [2024-10-30T03:43:13.679Z] 3a2ae6a8a46f: Verifying Checksum [2024-10-30T03:43:13.679Z] 3a2ae6a8a46f: Download complete [2024-10-30T03:43:13.679Z] 33b1e0a273af: Verifying Checksum [2024-10-30T03:43:13.679Z] 33b1e0a273af: Download complete [2024-10-30T03:43:13.938Z] 5d3b04190fa2: Download complete [2024-10-30T03:43:13.938Z] ec43610c2a17: Verifying Checksum [2024-10-30T03:43:13.938Z] ec43610c2a17: Download complete [2024-10-30T03:43:13.938Z] 5eb5b503b376: Verifying Checksum [2024-10-30T03:43:13.938Z] 5eb5b503b376: Download complete [2024-10-30T03:43:14.505Z] 2f39f015ded8: Verifying Checksum [2024-10-30T03:43:14.505Z] 2f39f015ded8: Download complete [2024-10-30T03:43:15.071Z] 5eb5b503b376: Pull complete [2024-10-30T03:43:15.071Z] 5c69ac0246d0: Pull complete [2024-10-30T03:43:15.639Z] ec43610c2a17: Pull complete [2024-10-30T03:43:15.639Z] 3a2ae6a8a46f: Pull complete [2024-10-30T03:43:15.898Z] 33b1e0a273af: Pull complete [2024-10-30T03:43:15.898Z] 5d3b04190fa2: Pull complete [2024-10-30T03:43:17.114Z] c9f46d7d2bd2: Pull complete [2024-10-30T03:43:18.074Z] c5a475d317c9: Pull complete [2024-10-30T03:43:18.074Z] Digest: sha256:2391c17ca386d1fbfa331956bd558234564149703727e64d3c69580d84b42a9b [2024-10-30T03:43:18.074Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine [2024-10-30T03:43:18.074Z] ---> be29e6b0f0d4 [2024-10-30T03:43:18.074Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2024-10-30T03:43:20.023Z] ---> Running in 7bea613485a9 [2024-10-30T03:43:20.023Z] Removing intermediate container 7bea613485a9 [2024-10-30T03:43:20.023Z] ---> 2dbeee79f320 [2024-10-30T03:43:20.023Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-10-30T03:43:20.023Z] ---> Running in 9883d5f70e55 [2024-10-30T03:43:20.081Z] 2f39f015ded8: Pull complete [2024-10-30T03:43:20.081Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-10-30T03:43:20.081Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-30T03:43:20.081Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [2024-10-30T03:43:20.292Z] Removing intermediate container 9883d5f70e55 [2024-10-30T03:43:20.292Z] ---> f645b309bff0 [2024-10-30T03:43:20.292Z] Step 5/10 : RUN apk add --update --no-cache make git openssh [Pipeline] withDockerContainer [2024-10-30T03:43:20.347Z] prd-ubuntu20.04-docker-8c-8g-24063 does not seem to be running inside a container [2024-10-30T03:43:20.373Z] $ 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-586 -v /w/workspace/xfoundry_device-modbus-go_PR-586:/w/workspace/xfoundry_device-modbus-go_PR-586:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-586@tmp:/w/workspace/xfoundry_device-modbus-go_PR-586@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-10-30T03:43:20.568Z] ---> Running in 9c64e588036b [2024-10-30T03:43:21.531Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-30T03:43:21.801Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-30T03:43:23.215Z] (1/8) Installing openssh-keygen (9.7_p1-r4) [2024-10-30T03:43:23.215Z] (2/8) Installing libedit (20240517.3.1-r0) [2024-10-30T03:43:23.215Z] (3/8) Installing openssh-client-common (9.7_p1-r4) [2024-10-30T03:43:23.215Z] (4/8) Installing openssh-client-default (9.7_p1-r4) [2024-10-30T03:43:23.215Z] (5/8) Installing openssh-sftp-server (9.7_p1-r4) [2024-10-30T03:43:23.215Z] (6/8) Installing openssh-server-common (9.7_p1-r4) [2024-10-30T03:43:23.215Z] (7/8) Installing openssh-server (9.7_p1-r4) [2024-10-30T03:43:23.215Z] (8/8) Installing openssh (9.7_p1-r4) [2024-10-30T03:43:23.215Z] Executing busybox-1.36.1-r29.trigger [2024-10-30T03:43:23.215Z] OK: 244 MiB in 62 packages [2024-10-30T03:43:24.628Z] Removing intermediate container 9c64e588036b [2024-10-30T03:43:24.628Z] ---> f49e069eb131 [2024-10-30T03:43:24.628Z] Step 6/10 : WORKDIR /device-modbus-go [2024-10-30T03:43:24.628Z] ---> Running in 8c4add18e1af [2024-10-30T03:43:24.628Z] Removing intermediate container 8c4add18e1af [2024-10-30T03:43:24.628Z] ---> 35816b4988bb [2024-10-30T03:43:24.628Z] Step 7/10 : COPY go.mod vendor* ./ [2024-10-30T03:43:24.907Z] $ docker top 01cdfb35fb8208f79ac40b6aa63df351f45a235b7062949edd9c98c6535e1253 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-30T03:43:25.215Z] ---> b95beb80f022 [2024-10-30T03:43:25.215Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-10-30T03:43:25.215Z] ---> Running in 8d8ec7a8ab50 [2024-10-30T03:43:25.485Z] ---> job-cost.sh [2024-10-30T03:43:25.485Z] lf-activate-venv: SKIPPING [2024-10-30T03:43:25.485Z] INFO: No Stack... [2024-10-30T03:43:25.746Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-10-30T03:43:26.315Z] INFO: Archiving Costs [Pipeline] sh [2024-10-30T03:43:26.645Z] + cat /w/workspace/xfoundry_device-modbus-go_PR-586/archives/cost.csv [2024-10-30T03:43:26.645Z] + cut -d, -f6 [Pipeline] lock [2024-10-30T03:43:26.693Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-modbus-go-PR-586-1-stack-cost] [2024-10-30T03:43:26.701Z] Resource [jenkins-edgexfoundry-device-modbus-go-PR-586-1-stack-cost] did not exist. Created. [2024-10-30T03:43:26.707Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-modbus-go-PR-586-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-10-30T03:43:27.118Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-10-30T03:43:27.179Z] Stashed 1 file(s) [Pipeline] } [2024-10-30T03:43:27.218Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-modbus-go-PR-586-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-10-30T03:43:27.303Z] $ docker stop --time=1 01cdfb35fb8208f79ac40b6aa63df351f45a235b7062949edd9c98c6535e1253 [2024-10-30T03:43:28.593Z] $ docker rm -f --volumes 01cdfb35fb8208f79ac40b6aa63df351f45a235b7062949edd9c98c6535e1253 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-10-30T03:45:16.875Z] Removing intermediate container 8d8ec7a8ab50 [2024-10-30T03:45:16.875Z] ---> 4305327f4465 [2024-10-30T03:45:16.875Z] Step 9/10 : COPY . . [2024-10-30T03:45:17.842Z] ---> 1ae70504d2de [2024-10-30T03:45:17.842Z] Step 10/10 : RUN ${MAKE} [2024-10-30T03:45:17.842Z] ---> Running in 8bf56a70a717 [2024-10-30T03:45:18.811Z] noop [2024-10-30T03:45:19.397Z] Removing intermediate container 8bf56a70a717 [2024-10-30T03:45:19.397Z] ---> 43bdcf71b418 [2024-10-30T03:45:19.664Z] Successfully built 43bdcf71b418 [2024-10-30T03:45:19.664Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-30T03:45:20.188Z] + docker inspect -f . ci-base-image-arm64 [2024-10-30T03:45:20.188Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-30T03:45:20.478Z] prd-ubuntu20.04-docker-arm64-4c-16g-24065 does not seem to be running inside a container [2024-10-30T03:45:20.541Z] $ 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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-10-30T03:45:21.743Z] $ docker top 049cf284cfa1c6342c4af4b2930931c8fc5997c42cb4f0c88d0971bfa09b474b -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-30T03:45:22.632Z] + go version [2024-10-30T03:45:22.632Z] go version go1.23.2 linux/arm64 [Pipeline] } [2024-10-30T03:45:22.667Z] $ docker stop --time=1 049cf284cfa1c6342c4af4b2930931c8fc5997c42cb4f0c88d0971bfa09b474b [2024-10-30T03:45:24.262Z] $ docker rm -f --volumes 049cf284cfa1c6342c4af4b2930931c8fc5997c42cb4f0c88d0971bfa09b474b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-30T03:45:25.162Z] + docker inspect -f . ci-base-image-arm64 [2024-10-30T03:45:25.162Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-30T03:45:25.406Z] prd-ubuntu20.04-docker-arm64-4c-16g-24065 does not seem to be running inside a container [2024-10-30T03:45:25.465Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-10-30T03:45:26.545Z] $ docker top a579dfca0f351c7ac6912824795f1b933288b4f790e0c68a9df42da9920b258d -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-30T03:45:27.087Z] + git config --global --add safe.directory /w/workspace/device-modbus-go/1 [Pipeline] fileExists [Pipeline] sh [2024-10-30T03:45:27.491Z] + make test [2024-10-30T03:45:27.491Z] go test ./... -coverprofile=coverage.out [2024-10-30T03:45:32.827Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2024-10-30T03:48:55.677Z] github.com/edgexfoundry/device-modbus-go/cmd coverage: 0.0% of statements [2024-10-30T03:48:55.677Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.050s coverage: 47.9% of statements [2024-10-30T03:48:55.677Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2024-10-30T03:48:55.677Z] go vet ./... [2024-10-30T03:49:42.553Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-10-30T03:49:42.553Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-10-30T03:49:42.553Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2024-10-30T03:49:42.604Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-10-30T03:49:42.652Z] $ docker stop --time=1 a579dfca0f351c7ac6912824795f1b933288b4f790e0c68a9df42da9920b258d [2024-10-30T03:49:44.579Z] $ docker rm -f --volumes a579dfca0f351c7ac6912824795f1b933288b4f790e0c68a9df42da9920b258d [Pipeline] // withDockerContainer [Pipeline] sh [2024-10-30T03:49:46.348Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-10-30T03:49:46.391Z] Warning: overwriting stash ‘coverage-report’ [2024-10-30T03:49:46.855Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-10-30T03:49:47.547Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-10-30T03:49:47.891Z] + ls -al . [2024-10-30T03:49:47.892Z] total 268 [2024-10-30T03:49:47.892Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 30 03:45 . [2024-10-30T03:49:47.892Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 30 03:42 .. [2024-10-30T03:49:47.892Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 30 03:42 .dockerignore [2024-10-30T03:49:47.892Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 30 03:42 .git [2024-10-30T03:49:47.892Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 30 03:42 .github [2024-10-30T03:49:47.892Z] -rw-rw-r-- 1 jenkins jenkins 266 Oct 30 03:42 .gitignore [2024-10-30T03:49:47.892Z] -rw-rw-r-- 1 jenkins jenkins 199 Oct 30 03:42 .golangci.yml [2024-10-30T03:49:47.892Z] -rw-rw-r-- 1 jenkins jenkins 19818 Oct 30 03:42 Attribution.txt [2024-10-30T03:49:47.892Z] -rw-rw-r-- 1 jenkins jenkins 16388 Oct 30 03:42 CHANGELOG.md [2024-10-30T03:49:47.892Z] -rw-rw-r-- 1 jenkins jenkins 1479 Oct 30 03:42 Dockerfile [2024-10-30T03:49:47.892Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 30 03:42 GOVERNANCE.md [2024-10-30T03:49:47.892Z] -rw-rw-r-- 1 jenkins jenkins 658 Oct 30 03:42 Jenkinsfile [2024-10-30T03:49:47.892Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 30 03:42 LICENSE [2024-10-30T03:49:47.892Z] -rw-rw-r-- 1 jenkins jenkins 2479 Oct 30 03:42 Makefile [2024-10-30T03:49:47.892Z] -rw-rw-r-- 1 jenkins jenkins 622 Oct 30 03:42 OWNERS.md [2024-10-30T03:49:47.892Z] -rw-rw-r-- 1 jenkins jenkins 4463 Oct 30 03:42 README.md [2024-10-30T03:49:47.892Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 30 03:40 VERSION [2024-10-30T03:49:47.892Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 30 03:42 bin [2024-10-30T03:49:47.892Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 30 03:42 cmd [2024-10-30T03:49:47.892Z] -rw-r--r-- 1 jenkins jenkins 24669 Oct 30 03:48 coverage.out [2024-10-30T03:49:47.892Z] -rw-rw-r-- 1 jenkins jenkins 7150 Oct 30 03:42 go.mod [2024-10-30T03:49:47.892Z] -rw-rw-r-- 1 jenkins jenkins 100733 Oct 30 03:42 go.sum [2024-10-30T03:49:47.892Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 30 03:42 internal [2024-10-30T03:49:47.892Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 30 03:42 simulator [2024-10-30T03:49:47.892Z] -rw-rw-r-- 1 jenkins jenkins 229 Oct 30 03:42 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-30T03:49:48.359Z] + 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=7fc7b392c54a41120ffbbafcc9a21b5a9ec98b7a --label arch=arm64 --label version=0.0.0 . [2024-10-30T03:49:48.625Z] Sending build context to Docker daemon 9.241MB [2024-10-30T03:49:48.892Z] Step 1/23 : ARG BASE=golang:1.23-alpine3.20 [2024-10-30T03:49:48.892Z] Step 2/23 : FROM ${BASE} AS builder [2024-10-30T03:49:48.892Z] ---> 43bdcf71b418 [2024-10-30T03:49:48.892Z] Step 3/23 : ARG ADD_BUILD_TAGS="" [2024-10-30T03:49:48.892Z] ---> Running in 88cd04307f25 [2024-10-30T03:49:49.162Z] Removing intermediate container 88cd04307f25 [2024-10-30T03:49:49.162Z] ---> 9bf032ed58e1 [2024-10-30T03:49:49.162Z] Step 4/23 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-10-30T03:49:49.433Z] ---> Running in d0cb3e9f8d72 [2024-10-30T03:49:49.701Z] Removing intermediate container d0cb3e9f8d72 [2024-10-30T03:49:49.701Z] ---> 1338b7d9af01 [2024-10-30T03:49:49.701Z] Step 5/23 : RUN apk add --update --no-cache make git openssh [2024-10-30T03:49:49.701Z] ---> Running in 8a9271ff1498 [2024-10-30T03:49:50.662Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-30T03:49:50.938Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-30T03:49:52.344Z] OK: 244 MiB in 62 packages [2024-10-30T03:49:53.318Z] Removing intermediate container 8a9271ff1498 [2024-10-30T03:49:53.318Z] ---> 0402fd8bebeb [2024-10-30T03:49:53.318Z] Step 6/23 : WORKDIR /device-modbus-go [2024-10-30T03:49:53.318Z] ---> Running in 644f12b787dc [2024-10-30T03:49:53.586Z] Removing intermediate container 644f12b787dc [2024-10-30T03:49:53.587Z] ---> 52c4b4c9dd4d [2024-10-30T03:49:53.587Z] Step 7/23 : COPY go.mod vendor* ./ [2024-10-30T03:49:54.180Z] ---> 703b7fecc850 [2024-10-30T03:49:54.180Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-10-30T03:49:54.180Z] ---> Running in 6e6fb383f704 [2024-10-30T03:49:56.764Z] Removing intermediate container 6e6fb383f704 [2024-10-30T03:49:56.764Z] ---> 904634aa4f27 [2024-10-30T03:49:56.764Z] Step 9/23 : COPY . . [2024-10-30T03:49:57.725Z] ---> bf08676761c2 [2024-10-30T03:49:57.725Z] Step 10/23 : RUN ${MAKE} [2024-10-30T03:49:57.725Z] ---> Running in fe440d07687c [2024-10-30T03:49:58.702Z] 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/v4/internal/common.SDKVersion=v4.0.0-dev.1" -trimpath -mod=readonly -ldflags "-bindnow" -buildmode=pie -o cmd/device-modbus ./cmd [2024-10-30T03:53:50.537Z] Removing intermediate container fe440d07687c [2024-10-30T03:53:50.537Z] ---> 009a9db65555 [2024-10-30T03:53:50.537Z] Step 11/23 : FROM alpine:3.20 [2024-10-30T03:53:50.537Z] 3.20: Pulling from library/alpine [2024-10-30T03:53:50.537Z] cf04c63912e1: Already exists [2024-10-30T03:53:50.537Z] Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d [2024-10-30T03:53:50.537Z] Status: Downloaded newer image for alpine:3.20 [2024-10-30T03:53:50.537Z] ---> c157a85ed455 [2024-10-30T03:53:50.537Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2024: IoTech Ltd' [2024-10-30T03:53:50.537Z] ---> Running in 880b9f7fcd8d [2024-10-30T03:53:50.537Z] Removing intermediate container 880b9f7fcd8d [2024-10-30T03:53:50.537Z] ---> 4dcd755e219f [2024-10-30T03:53:50.537Z] Step 13/23 : RUN apk add --update --no-cache dumb-init [2024-10-30T03:53:50.537Z] ---> Running in 196d59b4c38e [2024-10-30T03:53:50.537Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-30T03:53:50.537Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-30T03:53:50.537Z] (1/1) Installing dumb-init (1.2.5-r3) [2024-10-30T03:53:50.537Z] Executing busybox-1.36.1-r29.trigger [2024-10-30T03:53:50.537Z] OK: 9 MiB in 15 packages [2024-10-30T03:53:50.537Z] Removing intermediate container 196d59b4c38e [2024-10-30T03:53:50.537Z] ---> 0e4f22ddbb26 [2024-10-30T03:53:50.537Z] Step 14/23 : RUN apk --no-cache upgrade [2024-10-30T03:53:50.537Z] ---> Running in 1a5d3c41d951 [2024-10-30T03:53:50.537Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-30T03:53:50.537Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-30T03:53:50.537Z] Upgrading critical system libraries and apk-tools: [2024-10-30T03:53:50.537Z] (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) [2024-10-30T03:53:50.537Z] Executing busybox-1.36.1-r29.trigger [2024-10-30T03:53:50.537Z] Continuing the upgrade transaction with new apk-tools: [2024-10-30T03:53:50.537Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-30T03:53:50.537Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-30T03:53:50.537Z] (1/2) Upgrading libcrypto3 (3.3.2-r0 -> 3.3.2-r1) [2024-10-30T03:53:50.537Z] (2/2) Upgrading libssl3 (3.3.2-r0 -> 3.3.2-r1) [2024-10-30T03:53:50.537Z] OK: 9 MiB in 15 packages [2024-10-30T03:53:50.537Z] Removing intermediate container 1a5d3c41d951 [2024-10-30T03:53:50.537Z] ---> 8edd24090f4f [2024-10-30T03:53:50.537Z] Step 15/23 : COPY --from=builder /device-modbus-go/cmd / [2024-10-30T03:53:50.537Z] ---> 46c213b7789a [2024-10-30T03:53:50.537Z] Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / [2024-10-30T03:53:50.804Z] ---> 17ae76a08af5 [2024-10-30T03:53:50.804Z] Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / [2024-10-30T03:53:51.389Z] ---> d68de7182cd2 [2024-10-30T03:53:51.389Z] Step 18/23 : EXPOSE 59901 [2024-10-30T03:53:51.389Z] ---> Running in b2face6ebbf3 [2024-10-30T03:53:51.656Z] Removing intermediate container b2face6ebbf3 [2024-10-30T03:53:51.656Z] ---> d369f5330385 [2024-10-30T03:53:51.656Z] Step 19/23 : ENTRYPOINT ["/device-modbus"] [2024-10-30T03:53:51.656Z] ---> Running in 8e91e9a2e241 [2024-10-30T03:53:52.242Z] Removing intermediate container 8e91e9a2e241 [2024-10-30T03:53:52.242Z] ---> 536ec997ab7e [2024-10-30T03:53:52.242Z] Step 20/23 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry"] [2024-10-30T03:53:52.242Z] ---> Running in 7012e86a4fef [2024-10-30T03:53:52.510Z] Removing intermediate container 7012e86a4fef [2024-10-30T03:53:52.510Z] ---> f86502422c86 [2024-10-30T03:53:52.510Z] Step 21/23 : LABEL arch=arm64 [2024-10-30T03:53:52.510Z] ---> Running in d947aa1872ca [2024-10-30T03:53:52.790Z] Removing intermediate container d947aa1872ca [2024-10-30T03:53:52.790Z] ---> ab7ed8fe12bd [2024-10-30T03:53:52.790Z] Step 22/23 : LABEL git_sha=7fc7b392c54a41120ffbbafcc9a21b5a9ec98b7a [2024-10-30T03:53:52.790Z] ---> Running in 05c68d9fecaf [2024-10-30T03:53:53.058Z] Removing intermediate container 05c68d9fecaf [2024-10-30T03:53:53.058Z] ---> d96a13f65a9e [2024-10-30T03:53:53.058Z] Step 23/23 : LABEL version=0.0.0 [2024-10-30T03:53:53.326Z] ---> Running in 435d87a943dc [2024-10-30T03:53:53.594Z] Removing intermediate container 435d87a943dc [2024-10-30T03:53:53.594Z] ---> 44215916908e [2024-10-30T03:53:53.594Z] [Warning] One or more build-args [ARCH] were not consumed [2024-10-30T03:53:53.594Z] Successfully built 44215916908e [2024-10-30T03:53:53.594Z] 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-10-30T03:53:54.578Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-10-30T03:53:54.578Z] [2024-10-30T03:53:54.578Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-30T03:53:55.009Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-10-30T03:53:55.009Z] arm64: Pulling from edgex-lftools-log-publisher [2024-10-30T03:53:55.009Z] 8998bd30e6a1: Pulling fs layer [2024-10-30T03:53:55.009Z] 04944245beec: Pulling fs layer [2024-10-30T03:53:55.009Z] 699f458cf7ca: Pulling fs layer [2024-10-30T03:53:55.009Z] 765212b225bb: Pulling fs layer [2024-10-30T03:53:55.009Z] f23df028b6ca: Pulling fs layer [2024-10-30T03:53:55.009Z] d65c8cfc05b1: Pulling fs layer [2024-10-30T03:53:55.009Z] 2437ff75d9bd: Pulling fs layer [2024-10-30T03:53:55.009Z] 765212b225bb: Waiting [2024-10-30T03:53:55.009Z] f23df028b6ca: Waiting [2024-10-30T03:53:55.009Z] d65c8cfc05b1: Waiting [2024-10-30T03:53:55.009Z] 2437ff75d9bd: Waiting [2024-10-30T03:53:55.291Z] 04944245beec: Verifying Checksum [2024-10-30T03:53:55.291Z] 04944245beec: Download complete [2024-10-30T03:53:55.291Z] 765212b225bb: Verifying Checksum [2024-10-30T03:53:55.291Z] 765212b225bb: Download complete [2024-10-30T03:53:55.291Z] f23df028b6ca: Verifying Checksum [2024-10-30T03:53:55.291Z] f23df028b6ca: Download complete [2024-10-30T03:53:55.291Z] d65c8cfc05b1: Verifying Checksum [2024-10-30T03:53:55.291Z] d65c8cfc05b1: Download complete [2024-10-30T03:53:55.558Z] 699f458cf7ca: Verifying Checksum [2024-10-30T03:53:55.558Z] 699f458cf7ca: Download complete [2024-10-30T03:53:55.823Z] 8998bd30e6a1: Verifying Checksum [2024-10-30T03:53:55.823Z] 8998bd30e6a1: Download complete [2024-10-30T03:53:58.398Z] 2437ff75d9bd: Verifying Checksum [2024-10-30T03:53:58.398Z] 2437ff75d9bd: Download complete [2024-10-30T03:54:00.964Z] 8998bd30e6a1: Pull complete [2024-10-30T03:54:00.965Z] 04944245beec: Pull complete [2024-10-30T03:54:02.902Z] 699f458cf7ca: Pull complete [2024-10-30T03:54:02.902Z] 765212b225bb: Pull complete [2024-10-30T03:54:03.489Z] f23df028b6ca: Pull complete [2024-10-30T03:54:03.757Z] d65c8cfc05b1: Pull complete [2024-10-30T03:54:21.959Z] 2437ff75d9bd: Pull complete [2024-10-30T03:54:21.959Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-10-30T03:54:21.959Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-10-30T03:54:21.959Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-30T03:54:22.313Z] prd-ubuntu20.04-docker-arm64-4c-16g-24065 does not seem to be running inside a container [2024-10-30T03:54:22.378Z] $ 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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2024-10-30T03:54:24.927Z] $ docker top e7ee848de33df369dafcd3020df5bdc631477d2806e4871221dd2257a7e4f46f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-30T03:54:25.500Z] ---> job-cost.sh [2024-10-30T03:54:25.766Z] lf-activate-venv: SKIPPING [2024-10-30T03:54:25.766Z] INFO: No Stack... [2024-10-30T03:54:26.032Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-10-30T03:54:26.985Z] INFO: Archiving Costs [Pipeline] sh [2024-10-30T03:54:27.343Z] + cat /w/workspace/device-modbus-go/1/archives/cost.csv [2024-10-30T03:54:27.343Z] + cut -d, -f6 [Pipeline] lock [2024-10-30T03:54:27.427Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-modbus-go-PR-586-1-stack-cost] [2024-10-30T03:54:27.433Z] Resource [jenkins-edgexfoundry-device-modbus-go-PR-586-1-stack-cost] did not exist. Created. [2024-10-30T03:54:27.440Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-modbus-go-PR-586-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-10-30T03:54:27.870Z] /w/workspace/device-modbus-go/1@tmp/durable-927e5a6b/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-10-30T03:54:28.217Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-10-30T03:54:28.263Z] Warning: overwriting stash ‘stack-cost’ [2024-10-30T03:54:28.305Z] Stashed 1 file(s) [Pipeline] } [2024-10-30T03:54:28.323Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-modbus-go-PR-586-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-10-30T03:54:28.422Z] $ docker stop --time=1 e7ee848de33df369dafcd3020df5bdc631477d2806e4871221dd2257a7e4f46f [2024-10-30T03:54:29.856Z] $ docker rm -f --volumes e7ee848de33df369dafcd3020df5bdc631477d2806e4871221dd2257a7e4f46f [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-10-30T03:54:31.019Z] provisioning config files... [2024-10-30T03:54:31.029Z] copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-586@tmp/config13164199918761535839tmp [Pipeline] { [Pipeline] sh [2024-10-30T03:54:31.385Z] + set +x [2024-10-30T03:54:31.385Z] + curl -s https://codecov.io/bash [2024-10-30T03:54:31.385Z] + bash -s -- [2024-10-30T03:54:31.385Z] [2024-10-30T03:54:31.385Z] _____ _ [2024-10-30T03:54:31.385Z] / ____| | | [2024-10-30T03:54:31.385Z] | | ___ __| | ___ ___ _____ __ [2024-10-30T03:54:31.385Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2024-10-30T03:54:31.385Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2024-10-30T03:54:31.385Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2024-10-30T03:54:31.385Z] Bash-1.0.6 [2024-10-30T03:54:31.385Z] [2024-10-30T03:54:31.385Z] [2024-10-30T03:54:31.385Z] ==> git version 2.25.1 found [2024-10-30T03:54:31.385Z] ==> 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-10-30T03:54:31.385Z] Release-Date: 2020-01-08 [2024-10-30T03:54:31.385Z] 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-10-30T03:54:31.385Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2024-10-30T03:54:31.385Z] ==> Jenkins CI detected. [2024-10-30T03:54:31.385Z] current dir:  /w/workspace/xfoundry_device-modbus-go_PR-586 [2024-10-30T03:54:31.385Z] project root: . [2024-10-30T03:54:31.385Z] --> token set from env [2024-10-30T03:54:31.385Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2024-10-30T03:54:31.385Z] ==> Running gcov in . (disable via -X gcov) [2024-10-30T03:54:31.385Z] ==> Python coveragepy not found [2024-10-30T03:54:31.385Z] ==> Searching for coverage reports in: [2024-10-30T03:54:31.385Z] + . [2024-10-30T03:54:31.385Z] -> Found 1 reports [2024-10-30T03:54:31.385Z] ==> Detecting git/mercurial file structure [2024-10-30T03:54:31.385Z] ==> Reading reports [2024-10-30T03:54:31.385Z] + ./coverage.out bytes=24669 [2024-10-30T03:54:31.385Z] ==> Appending adjustments [2024-10-30T03:54:31.385Z] https://docs.codecov.io/docs/fixing-reports [2024-10-30T03:54:31.645Z] + Found adjustments [2024-10-30T03:54:31.645Z] ==> Gzipping contents [2024-10-30T03:54:31.645Z] 4.0K /tmp/codecov.gpwFsr.gz [2024-10-30T03:54:31.645Z] ==> Uploading reports [2024-10-30T03:54:31.645Z] url: https://codecov.io [2024-10-30T03:54:31.645Z] query: branch=PR-586&commit=7fc7b392c54a41120ffbbafcc9a21b5a9ec98b7a&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-586%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=586&job=&cmd_args= [2024-10-30T03:54:31.645Z] -> Pinging Codecov [2024-10-30T03:54:31.645Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-586&commit=7fc7b392c54a41120ffbbafcc9a21b5a9ec98b7a&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-586%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=586&job=&cmd_args= [2024-10-30T03:54:31.645Z] -> Uploading to [2024-10-30T03:54:31.646Z] https://storage.googleapis.com/codecov/shelter/v4/github/edgexfoundry/device-modbus-go/7fc7b392c54a41120ffbbafcc9a21b5a9ec98b7a/dc054f11-244e-4a3f-8c63-b7019e2d7dcd.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20241030%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20241030T035431Z&X-Amz-Expires=30&X-Amz-SignedHeaders=host&X-Amz-Signature=a45934a9b059676cf7c263486205680dbc7c2519ad9269394d05b5c404bc2ac9 [2024-10-30T03:54:31.906Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-10-30T03:54:31.906Z] Dload Upload Total Spent Left Speed [2024-10-30T03:54:32.165Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3859 0 0 100 3859 0 15074 --:--:-- --:--:-- --:--:-- 15074 [2024-10-30T03:54:32.165Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/7fc7b392c54a41120ffbbafcc9a21b5a9ec98b7a [Pipeline] } [2024-10-30T03:54:32.199Z] 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-10-30T03:54:34.490Z] + [ -d /w/workspace/xfoundry_device-modbus-go_PR-586/archives ] [2024-10-30T03:54:34.491Z] + ls -al /w/workspace/xfoundry_device-modbus-go_PR-586/archives [2024-10-30T03:54:34.491Z] total 16 [2024-10-30T03:54:34.491Z] drwxr-xr-x 3 root root 4096 Oct 30 03:43 . [2024-10-30T03:54:34.491Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 30 03:43 .. [2024-10-30T03:54:34.491Z] drwxr-xr-x 2 root root 4096 Oct 30 03:43 cost [2024-10-30T03:54:34.491Z] -rw-r--r-- 1 root root 88 Oct 30 03:43 cost.csv [2024-10-30T03:54:34.491Z] + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-586/archives [2024-10-30T03:54:34.491Z] + ls -al /w/workspace/xfoundry_device-modbus-go_PR-586/archives [2024-10-30T03:54:34.491Z] total 16 [2024-10-30T03:54:34.491Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 30 03:43 . [2024-10-30T03:54:34.491Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 30 03:43 .. [2024-10-30T03:54:34.491Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 30 03:43 cost [2024-10-30T03:54:34.491Z] -rw-r--r-- 1 jenkins jenkins 88 Oct 30 03:43 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-10-30T03:54:34.836Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-30T03:54:35.743Z] ---> package-listing.sh [2024-10-30T03:54:35.743Z] ++ facter osfamily [2024-10-30T03:54:35.743Z] ++ tr '[:upper:]' '[:lower:]' [2024-10-30T03:54:36.003Z] + OS_FAMILY=debian [2024-10-30T03:54:36.003Z] + workspace=/w/workspace/xfoundry_device-modbus-go_PR-586 [2024-10-30T03:54:36.003Z] + START_PACKAGES=/tmp/packages_start.txt [2024-10-30T03:54:36.003Z] + END_PACKAGES=/tmp/packages_end.txt [2024-10-30T03:54:36.003Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-10-30T03:54:36.003Z] + PACKAGES=/tmp/packages_start.txt [2024-10-30T03:54:36.003Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-586 ']' [2024-10-30T03:54:36.003Z] + PACKAGES=/tmp/packages_end.txt [2024-10-30T03:54:36.003Z] + case "${OS_FAMILY}" in [2024-10-30T03:54:36.003Z] + dpkg -l [2024-10-30T03:54:36.003Z] + grep '^ii' [2024-10-30T03:54:36.003Z] + '[' -f /tmp/packages_start.txt ']' [2024-10-30T03:54:36.003Z] + '[' -f /tmp/packages_end.txt ']' [2024-10-30T03:54:36.003Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-10-30T03:54:36.003Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-586 ']' [2024-10-30T03:54:36.003Z] + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-586/archives/ [2024-10-30T03:54:36.003Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-586/archives/ [Pipeline] echo [2024-10-30T03:54:36.046Z] 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-586/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-10-30T03:54:36.348Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-30T03:54:37.001Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-30T03:54:37.001Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-30T03:54:37.166Z] prd-ubuntu20.04-docker-8c-8g-24063 does not seem to be running inside a container [2024-10-30T03:54:37.194Z] $ 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-586/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-586 -v /w/workspace/xfoundry_device-modbus-go_PR-586:/w/workspace/xfoundry_device-modbus-go_PR-586:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-586@tmp:/w/workspace/xfoundry_device-modbus-go_PR-586@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-10-30T03:54:37.429Z] $ docker top a8f165a51bda302e6a1f190682e1580f09815bd2d3a29dbf59f018481033c241 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-30T03:54:37.846Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-10-30T03:54:38.169Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-10-30T03:54:38.480Z] + ls /var/log/sa-host [2024-10-30T03:54:38.480Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-10-30T03:54:38.754Z] provisioning config files... [2024-10-30T03:54:38.763Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-586@tmp/config1620860920321294608tmp [Pipeline] { [Pipeline] echo [2024-10-30T03:54:38.834Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-30T03:54:39.161Z] ---> create-netrc.sh [Pipeline] } [2024-10-30T03:54:39.191Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-10-30T03:54:39.636Z] ---> python-tools-install.sh [Pipeline] echo [2024-10-30T03:54:39.684Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-30T03:54:40.014Z] ---> sudo-logs.sh [2024-10-30T03:54:40.015Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-10-30T03:54:40.131Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-30T03:54:40.577Z] ---> job-cost.sh [2024-10-30T03:54:40.577Z] lf-activate-venv: SKIPPING [2024-10-30T03:54:40.577Z] DEBUG: total: 0.2199999988079071 [2024-10-30T03:54:40.577Z] INFO: Retrieving Stack Cost... [2024-10-30T03:54:40.839Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-10-30T03:54:41.099Z] INFO: Archiving Costs [Pipeline] echo [2024-10-30T03:54:41.142Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-30T03:54:41.482Z] ---> logs-deploy.sh [2024-10-30T03:54:41.482Z] lf-activate-venv: SKIPPING [2024-10-30T03:54:41.482Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-586/1 [2024-10-30T03:54:41.482Z] INFO: archiving workspace using pattern(s): [2024-10-30T03:54:42.874Z] Archives upload complete. [2024-10-30T03:54:42.874Z] INFO: archiving logs to Nexus