Pull request #580 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 7c62755f5388df9da306739af29f645847b5ea3f+e778c6a7e22bae4333302da5b4dc0bc2aa806a86 (b79890ccd951e2d0bc8b05d1edbb0a801ef1571a) 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-ssh9726584787104192613.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-ssh9965584212159480307.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-580/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-580/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7447148130954403820.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-580/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14330543123162870874.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-ssh13138844511784981099.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-580/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-580/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh15061432235080117500.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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-22404 in /w/workspace/xfoundry_device-modbus-go_PR-580 [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-580 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/580/head:refs/remotes/origin/PR-580 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit e778c6a7e22bae4333302da5b4dc0bc2aa806a86 into PR head commit 7c62755f5388df9da306739af29f645847b5ea3f Merge succeeded, producing 7c62755f5388df9da306739af29f645847b5ea3f Checking out Revision 7c62755f5388df9da306739af29f645847b5ea3f (PR-580) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 0b81fa10a7dd14683a964f04f411324fe83f93ac > git config core.sparsecheckout # timeout=10 > git checkout -f 7c62755f5388df9da306739af29f645847b5ea3f # 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 e778c6a7e22bae4333302da5b4dc0bc2aa806a86 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 7c62755f5388df9da306739af29f645847b5ea3f # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-10-10T05:10:02.436Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-10-10T05:10:02.671Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-10-10T05:10:02.772Z] ========================================================= [2024-10-10T05:10:02.772Z] EdgeX Global Pipelines Version Info [2024-10-10T05:10:02.772Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-10-10T05:10:03.908Z] ------------------- [2024-10-10T05:10:03.908Z] stable info: [2024-10-10T05:10:03.908Z] ------------------- [2024-10-10T05:10:03.908Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-10-10T05:10:03.908Z] Commit SHA: 0b81fa10a7dd14683a964f04f411324fe83f93ac [2024-10-10T05:10:03.908Z] Message: update stable to v1.0.265 [2024-10-10T05:10:04.167Z] ------------------- [2024-10-10T05:10:04.167Z] experimental info: [2024-10-10T05:10:04.167Z] ------------------- [2024-10-10T05:10:04.167Z] Commited By: Cherry Wang cherry@iotechsys.com [2024-10-10T05:10:04.167Z] Commit SHA: b5a5e52272fc4198cf3754284eedf36dbf0baa35 [2024-10-10T05:10:04.167Z] Message: update experimental to v1.0.264 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-10-10T05:10:04.407Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo [2024-10-10T05:10:04.462Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo [2024-10-10T05:10:04.523Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-10-10T05:10:04.582Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-10-10T05:10:04.646Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-10-10T05:10:04.709Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo [2024-10-10T05:10:04.772Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-10-10T05:10:04.830Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2024-10-10T05:10:04.891Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-10-10T05:10:04.944Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-10-10T05:10:04.999Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-10-10T05:10:05.056Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo [2024-10-10T05:10:05.108Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-10-10T05:10:05.160Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-10-10T05:10:05.215Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-10-10T05:10:05.272Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2024-10-10T05:10:05.327Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-10-10T05:10:05.386Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-10-10T05:10:05.439Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-10-10T05:10:05.493Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-10-10T05:10:05.549Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2024-10-10T05:10:05.605Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2024-10-10T05:10:05.667Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-10-10T05:10:05.726Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-10-10T05:10:05.784Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-10-10T05:10:05.840Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-10-10T05:10:05.896Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-10-10T05:10:05.950Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-580 [Pipeline] echo [2024-10-10T05:10:06.005Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-580 [Pipeline] echo [2024-10-10T05:10:06.066Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-580 [Pipeline] echo [2024-10-10T05:10:06.121Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 7c62755f5388df9da306739af29f645847b5ea3f [Pipeline] echo [2024-10-10T05:10:06.178Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 7c62755 [Pipeline] echo [2024-10-10T05:10:06.235Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-10-10T05:10:06.383Z] provisioning config files... [2024-10-10T05:10:06.395Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-580@tmp/config5472399992898989557tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-10T05:10:06.792Z] ---> ****-login.sh [2024-10-10T05:10:06.792Z] nexus3.edgexfoundry.org:10001 [2024-10-10T05:10:06.792Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-10T05:10:07.052Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-10T05:10:07.052Z] Configure a credential helper to remove this warning. See [2024-10-10T05:10:07.052Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-10T05:10:07.052Z] [2024-10-10T05:10:07.052Z] Login Succeeded [2024-10-10T05:10:07.052Z] nexus3.edgexfoundry.org:10002 [2024-10-10T05:10:07.052Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-10T05:10:07.053Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-10T05:10:07.053Z] Configure a credential helper to remove this warning. See [2024-10-10T05:10:07.053Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-10T05:10:07.053Z] [2024-10-10T05:10:07.053Z] Login Succeeded [2024-10-10T05:10:07.053Z] nexus3.edgexfoundry.org:10003 [2024-10-10T05:10:07.313Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-10T05:10:07.313Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-10T05:10:07.313Z] Configure a credential helper to remove this warning. See [2024-10-10T05:10:07.313Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-10T05:10:07.313Z] [2024-10-10T05:10:07.313Z] Login Succeeded [2024-10-10T05:10:07.313Z] nexus3.edgexfoundry.org:10004 [2024-10-10T05:10:07.314Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-10T05:10:07.314Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-10T05:10:07.314Z] Configure a credential helper to remove this warning. See [2024-10-10T05:10:07.314Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-10T05:10:07.314Z] [2024-10-10T05:10:07.314Z] Login Succeeded [2024-10-10T05:10:07.314Z] ****.io [2024-10-10T05:10:07.574Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-10T05:10:07.575Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-10T05:10:07.575Z] Configure a credential helper to remove this warning. See [2024-10-10T05:10:07.575Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-10T05:10:07.575Z] [2024-10-10T05:10:07.575Z] Login Succeeded [2024-10-10T05:10:07.575Z] ---> ****-login.sh ends [Pipeline] } [2024-10-10T05:10:07.606Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-10-10T05:10:08.298Z] + git rev-list -1 --merges 7c62755f5388df9da306739af29f645847b5ea3f~1..7c62755f5388df9da306739af29f645847b5ea3f [Pipeline] echo [2024-10-10T05:10:08.349Z] -----------> git rev-list -1 --merges 7c62755f5388df9da306739af29f645847b5ea3f~1..7c62755f5388df9da306739af29f645847b5ea3f 7c62755f5388df9da306739af29f645847b5ea3f [false] [Pipeline] sh [2024-10-10T05:10:08.673Z] + git log --format=format:%s -1 7c62755f5388df9da306739af29f645847b5ea3f [Pipeline] echo [2024-10-10T05:10:08.719Z] ========================================================= [2024-10-10T05:10:08.719Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-10-10T05:10:08.719Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-10-10T05:10:09.197Z] + git log --format=format:%s -1 7c62755f5388df9da306739af29f645847b5ea3f [Pipeline] echo [2024-10-10T05:10:09.238Z] [semverPrep] GIT_COMMIT: 7c62755f5388df9da306739af29f645847b5ea3f, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo [2024-10-10T05:10:09.281Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-10-10T05:10:09.689Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-10-10T05:10:09.689Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-10-10T05:10:09.689Z] + [ -e /tmp/ssh_known_hosts ] [2024-10-10T05:10:09.689Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-10-10T05:10:09.689Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-10-10T05:10:09.689Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2024-10-10T05:10:09.689Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-10T05:10:10.206Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-10-10T05:10:10.206Z] [2024-10-10T05:10:10.206Z] 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-10T05:10:10.610Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-10-10T05:10:10.610Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-10-10T05:10:10.610Z] b85a868b505f: Pulling fs layer [2024-10-10T05:10:10.610Z] e2be974225ed: Pulling fs layer [2024-10-10T05:10:10.610Z] 339a4e72a1f5: Pulling fs layer [2024-10-10T05:10:10.610Z] 988bab9f4d93: Pulling fs layer [2024-10-10T05:10:10.610Z] 1469e6f7b9e6: Pulling fs layer [2024-10-10T05:10:10.610Z] eaf3925da568: Pulling fs layer [2024-10-10T05:10:10.610Z] 988bab9f4d93: Waiting [2024-10-10T05:10:10.610Z] 1469e6f7b9e6: Waiting [2024-10-10T05:10:10.610Z] bab4dde63d76: Pulling fs layer [2024-10-10T05:10:10.610Z] bde34c3a00c8: Pulling fs layer [2024-10-10T05:10:10.610Z] b352a97aabf1: Pulling fs layer [2024-10-10T05:10:10.610Z] bab4dde63d76: Waiting [2024-10-10T05:10:10.610Z] bde34c3a00c8: Waiting [2024-10-10T05:10:10.610Z] 4872d77fe225: Pulling fs layer [2024-10-10T05:10:10.610Z] 5851b861e8e6: Pulling fs layer [2024-10-10T05:10:10.610Z] b352a97aabf1: Waiting [2024-10-10T05:10:10.610Z] 4872d77fe225: Waiting [2024-10-10T05:10:10.610Z] 5851b861e8e6: Waiting [2024-10-10T05:10:10.610Z] eaf3925da568: Waiting [2024-10-10T05:10:10.610Z] e2be974225ed: Download complete [2024-10-10T05:10:10.610Z] 988bab9f4d93: Verifying Checksum [2024-10-10T05:10:10.610Z] 988bab9f4d93: Download complete [2024-10-10T05:10:10.610Z] 1469e6f7b9e6: Verifying Checksum [2024-10-10T05:10:10.610Z] 1469e6f7b9e6: Download complete [2024-10-10T05:10:10.870Z] eaf3925da568: Download complete [2024-10-10T05:10:10.870Z] 339a4e72a1f5: Verifying Checksum [2024-10-10T05:10:10.870Z] 339a4e72a1f5: Download complete [2024-10-10T05:10:10.870Z] bde34c3a00c8: Verifying Checksum [2024-10-10T05:10:10.870Z] bde34c3a00c8: Download complete [2024-10-10T05:10:10.870Z] b352a97aabf1: Download complete [2024-10-10T05:10:10.870Z] 4872d77fe225: Download complete [2024-10-10T05:10:10.870Z] 5851b861e8e6: Verifying Checksum [2024-10-10T05:10:10.870Z] 5851b861e8e6: Download complete [2024-10-10T05:10:10.870Z] b85a868b505f: Verifying Checksum [2024-10-10T05:10:10.870Z] b85a868b505f: Download complete [2024-10-10T05:10:11.128Z] bab4dde63d76: Verifying Checksum [2024-10-10T05:10:11.128Z] bab4dde63d76: Download complete [2024-10-10T05:10:12.064Z] b85a868b505f: Pull complete [2024-10-10T05:10:12.064Z] e2be974225ed: Pull complete [2024-10-10T05:10:12.633Z] 339a4e72a1f5: Pull complete [2024-10-10T05:10:12.633Z] 988bab9f4d93: Pull complete [2024-10-10T05:10:12.894Z] 1469e6f7b9e6: Pull complete [2024-10-10T05:10:13.152Z] eaf3925da568: Pull complete [2024-10-10T05:10:15.055Z] bab4dde63d76: Pull complete [2024-10-10T05:10:15.055Z] bde34c3a00c8: Pull complete [2024-10-10T05:10:15.055Z] b352a97aabf1: Pull complete [2024-10-10T05:10:15.055Z] 4872d77fe225: Pull complete [2024-10-10T05:10:15.055Z] 5851b861e8e6: Pull complete [2024-10-10T05:10:15.055Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-10-10T05:10:15.055Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-10-10T05:10:15.055Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-10T05:10:15.352Z] prd-ubuntu20.04-docker-8c-8g-22404 does not seem to be running inside a container [2024-10-10T05:10:15.380Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-580 -v /w/workspace/xfoundry_device-modbus-go_PR-580:/w/workspace/xfoundry_device-modbus-go_PR-580:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-580@tmp:/w/workspace/xfoundry_device-modbus-go_PR-580@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-10-10T05:10:17.803Z] $ docker top 1bf09729cd9177ae086a294f2112f0e158b6ee8380fa57aedd8611ca814bc879 -eo pid,comm [2024-10-10T05:10:17.855Z] 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-10T05:10:17.855Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-10-10T05:10:18.022Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-10-10T05:10:18.022Z] [ssh-agent] Looking for ssh-agent implementation... [2024-10-10T05:10:18.141Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-10-10T05:10:18.142Z] $ docker exec 1bf09729cd9177ae086a294f2112f0e158b6ee8380fa57aedd8611ca814bc879 ssh-agent [2024-10-10T05:10:18.240Z] SSH_AUTH_SOCK=/tmp/ssh-rBZfmR2pd3TX/agent.31 [2024-10-10T05:10:18.240Z] SSH_AGENT_PID=37 [2024-10-10T05:10:18.246Z] Running ssh-add (command line suppressed) [2024-10-10T05:10:18.337Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-580@tmp/private_key_3284743363270659298.key (/w/workspace/xfoundry_device-modbus-go_PR-580@tmp/private_key_3284743363270659298.key) [2024-10-10T05:10:18.351Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-10-10T05:10:18.702Z] + git tag --points-at HEAD [Pipeline] } [2024-10-10T05:10:18.728Z] $ docker exec --env ******** --env ******** 1bf09729cd9177ae086a294f2112f0e158b6ee8380fa57aedd8611ca814bc879 ssh-agent -k [2024-10-10T05:10:18.824Z] unset SSH_AUTH_SOCK; [2024-10-10T05:10:18.824Z] unset SSH_AGENT_PID; [2024-10-10T05:10:18.824Z] echo Agent pid 37 killed; [2024-10-10T05:10:18.834Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-10-10T05:10:18.946Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-10-10T05:10:18.946Z] [ssh-agent] Looking for ssh-agent implementation... [2024-10-10T05:10:19.056Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-10-10T05:10:19.058Z] $ docker exec 1bf09729cd9177ae086a294f2112f0e158b6ee8380fa57aedd8611ca814bc879 ssh-agent [2024-10-10T05:10:19.172Z] SSH_AUTH_SOCK=/tmp/ssh-ZkCaO7jRquOO/agent.70 [2024-10-10T05:10:19.172Z] SSH_AGENT_PID=76 [2024-10-10T05:10:19.176Z] Running ssh-add (command line suppressed) [2024-10-10T05:10:19.269Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-580@tmp/private_key_7564770120750489190.key (/w/workspace/xfoundry_device-modbus-go_PR-580@tmp/private_key_7564770120750489190.key) [2024-10-10T05:10:19.283Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-10-10T05:10:19.630Z] + git semver init [2024-10-10T05:10:19.889Z] 2024-10-10 05:10:19,808 [run_init] DEBUG init version:0.0.0 force:False [2024-10-10T05:10:19.889Z] 2024-10-10 05:10:19,809 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-modbus-go_PR-580/.semver [2024-10-10T05:10:19.889Z] 2024-10-10 05:10:19,809 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/xfoundry_device-modbus-go_PR-580/.semver [2024-10-10T05:10:19.889Z] 2024-10-10 05:10:19,809 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/xfoundry_device-modbus-go_PR-580/.semver'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-580, universal_newlines=False, shell=None, istream=None) [2024-10-10T05:10:20.835Z] 2024-10-10 05:10:20,785 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-modbus-go_PR-580/.git/info/exclude [2024-10-10T05:10:20.835Z] 2024-10-10 05:10:20,786 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-modbus-go_PR-580/.semver/PR-580 with force:False [2024-10-10T05:10:20.835Z] 2024-10-10 05:10:20,786 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-modbus-go_PR-580/.semver/PR-580 [2024-10-10T05:10:20.835Z] 2024-10-10 05:10:20,790 [execute] INFO git cat-file --batch-check [2024-10-10T05:10:20.835Z] 2024-10-10 05:10:20,791 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-580/.semver, universal_newlines=False, shell=None, istream=) [2024-10-10T05:10:20.835Z] 2024-10-10 05:10:20,796 [execute] INFO git cat-file --batch [2024-10-10T05:10:20.835Z] 2024-10-10 05:10:20,797 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-580/.semver, universal_newlines=False, shell=None, istream=) [2024-10-10T05:10:20.835Z] 2024-10-10 05:10:20,801 [read_version] DEBUG read version from /w/workspace/xfoundry_device-modbus-go_PR-580/.semver/PR-580 [2024-10-10T05:10:20.835Z] 0.0.0 [Pipeline] } [2024-10-10T05:10:20.866Z] $ docker exec --env ******** --env ******** 1bf09729cd9177ae086a294f2112f0e158b6ee8380fa57aedd8611ca814bc879 ssh-agent -k [2024-10-10T05:10:20.964Z] unset SSH_AUTH_SOCK; [2024-10-10T05:10:20.965Z] unset SSH_AGENT_PID; [2024-10-10T05:10:20.967Z] echo Agent pid 76 killed; [2024-10-10T05:10:20.974Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-10-10T05:10:21.430Z] + git semver [Pipeline] } [2024-10-10T05:10:21.732Z] $ docker stop --time=1 1bf09729cd9177ae086a294f2112f0e158b6ee8380fa57aedd8611ca814bc879 [2024-10-10T05:10:23.084Z] $ docker rm -f --volumes 1bf09729cd9177ae086a294f2112f0e158b6ee8380fa57aedd8611ca814bc879 [Pipeline] // withDockerContainer [Pipeline] sh [2024-10-10T05:10:23.518Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-10-10T05:10:23.820Z] Stashed 1 file(s) [Pipeline] echo [2024-10-10T05:10:23.841Z] [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-10T05:10:24.500Z] provisioning config files... [2024-10-10T05:10:24.510Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-580@tmp/config4614497104709056018tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-10T05:10:24.881Z] ---> ****-login.sh [2024-10-10T05:10:24.881Z] nexus3.edgexfoundry.org:10001 [2024-10-10T05:10:24.881Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-10T05:10:25.820Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-10T05:10:25.820Z] Configure a credential helper to remove this warning. See [2024-10-10T05:10:25.820Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-10T05:10:25.820Z] [2024-10-10T05:10:25.820Z] Login Succeeded [2024-10-10T05:10:25.820Z] nexus3.edgexfoundry.org:10002 [2024-10-10T05:10:26.079Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-10T05:10:27.458Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-10T05:10:27.458Z] Configure a credential helper to remove this warning. See [2024-10-10T05:10:27.458Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-10T05:10:27.458Z] [2024-10-10T05:10:27.458Z] Login Succeeded [2024-10-10T05:10:27.458Z] nexus3.edgexfoundry.org:10003 [2024-10-10T05:10:27.458Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-10T05:10:28.395Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-10T05:10:28.396Z] Configure a credential helper to remove this warning. See [2024-10-10T05:10:28.396Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-10T05:10:28.396Z] [2024-10-10T05:10:28.396Z] Login Succeeded [2024-10-10T05:10:28.396Z] nexus3.edgexfoundry.org:10004 [2024-10-10T05:10:28.396Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-10T05:10:28.396Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-10T05:10:28.396Z] Configure a credential helper to remove this warning. See [2024-10-10T05:10:28.396Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-10T05:10:28.396Z] [2024-10-10T05:10:28.396Z] Login Succeeded [2024-10-10T05:10:28.396Z] ****.io [2024-10-10T05:10:28.396Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-10T05:10:28.657Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-10T05:10:28.657Z] Configure a credential helper to remove this warning. See [2024-10-10T05:10:28.657Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-10T05:10:28.657Z] [2024-10-10T05:10:28.657Z] Login Succeeded [2024-10-10T05:10:28.657Z] ---> ****-login.sh ends [Pipeline] } [2024-10-10T05:10:28.691Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-10-10T05:10:28.903Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-10T05:10:28.948Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-10T05:10:28.994Z] ========================================================= [2024-10-10T05:10:28.994Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] [2024-10-10T05:10:28.994Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-10T05:10:29.513Z] + 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-10T05:10:29.513Z] Sending build context to Docker daemon 17.96MB [2024-10-10T05:10:29.513Z] Step 1/10 : ARG BASE=golang:1.23-alpine3.20 [2024-10-10T05:10:29.513Z] Step 2/10 : FROM ${BASE} AS builder [2024-10-10T05:10:29.513Z] 1.23-alpine: Pulling from edgex-devops/edgex-golang-base [2024-10-10T05:10:29.513Z] 43c4264eed91: Pulling fs layer [2024-10-10T05:10:29.513Z] 4cc291be95ef: Pulling fs layer [2024-10-10T05:10:29.513Z] 2ac1f1163629: Pulling fs layer [2024-10-10T05:10:29.513Z] 5c3c966382ef: Pulling fs layer [2024-10-10T05:10:29.513Z] 4f4fb700ef54: Pulling fs layer [2024-10-10T05:10:29.513Z] 5d5c8e513c77: Pulling fs layer [2024-10-10T05:10:29.513Z] 9f66e0745190: Pulling fs layer [2024-10-10T05:10:29.513Z] f49a43e4bbc0: Pulling fs layer [2024-10-10T05:10:29.513Z] 561ebcabdf7f: Pulling fs layer [2024-10-10T05:10:29.513Z] 5c3c966382ef: Waiting [2024-10-10T05:10:29.513Z] f49a43e4bbc0: Waiting [2024-10-10T05:10:29.513Z] 4f4fb700ef54: Waiting [2024-10-10T05:10:29.513Z] 5d5c8e513c77: Waiting [2024-10-10T05:10:29.513Z] 561ebcabdf7f: Waiting [2024-10-10T05:10:29.513Z] 9f66e0745190: Waiting [2024-10-10T05:10:29.775Z] 4cc291be95ef: Verifying Checksum [2024-10-10T05:10:29.775Z] 4cc291be95ef: Download complete [2024-10-10T05:10:29.775Z] 5c3c966382ef: Verifying Checksum [2024-10-10T05:10:29.775Z] 5c3c966382ef: Download complete [2024-10-10T05:10:29.775Z] 4f4fb700ef54: Verifying Checksum [2024-10-10T05:10:29.775Z] 4f4fb700ef54: Download complete [2024-10-10T05:10:29.775Z] 5d5c8e513c77: Verifying Checksum [2024-10-10T05:10:29.775Z] 5d5c8e513c77: Download complete [2024-10-10T05:10:29.775Z] 43c4264eed91: Download complete [2024-10-10T05:10:29.775Z] 9f66e0745190: Verifying Checksum [2024-10-10T05:10:29.775Z] 9f66e0745190: Download complete [2024-10-10T05:10:29.775Z] 43c4264eed91: Pull complete [2024-10-10T05:10:30.034Z] 561ebcabdf7f: Download complete [2024-10-10T05:10:30.034Z] 4cc291be95ef: Pull complete [2024-10-10T05:10:30.034Z] 2ac1f1163629: Verifying Checksum [2024-10-10T05:10:30.034Z] 2ac1f1163629: Download complete [2024-10-10T05:10:30.600Z] f49a43e4bbc0: Verifying Checksum [2024-10-10T05:10:30.600Z] f49a43e4bbc0: Download complete [2024-10-10T05:10:33.886Z] 2ac1f1163629: Pull complete [2024-10-10T05:10:33.886Z] 5c3c966382ef: Pull complete [2024-10-10T05:10:33.886Z] 4f4fb700ef54: Pull complete [2024-10-10T05:10:33.886Z] 5d5c8e513c77: Pull complete [2024-10-10T05:10:33.886Z] 9f66e0745190: Pull complete [2024-10-10T05:10:35.786Z] f49a43e4bbc0: Pull complete [2024-10-10T05:10:36.049Z] 561ebcabdf7f: Pull complete [2024-10-10T05:10:36.049Z] Digest: sha256:0719486ae9a24b675ee3acaa2cfd867e7a981f2ef22b41d166c62d936fe8de2d [2024-10-10T05:10:36.049Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine [2024-10-10T05:10:36.049Z] ---> 3a752c3f9dda [2024-10-10T05:10:36.049Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2024-10-10T05:10:39.297Z] Still waiting to schedule task [2024-10-10T05:10:39.297Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2024-10-10T05:10:40.241Z] ---> Running in 54d707212825 [2024-10-10T05:10:40.241Z] Removing intermediate container 54d707212825 [2024-10-10T05:10:40.241Z] ---> 5c7cf08575a4 [2024-10-10T05:10:40.241Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-10-10T05:10:40.241Z] ---> Running in 6838bd3a2186 [2024-10-10T05:10:40.241Z] Removing intermediate container 6838bd3a2186 [2024-10-10T05:10:40.241Z] ---> 5358d2d6059b [2024-10-10T05:10:40.241Z] Step 5/10 : RUN apk add --update --no-cache make git openssh [2024-10-10T05:10:40.241Z] ---> Running in efe0fdd13b01 [2024-10-10T05:10:40.500Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-10T05:10:40.500Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-10T05:10:40.759Z] (1/8) Installing openssh-keygen (9.7_p1-r4) [2024-10-10T05:10:40.759Z] (2/8) Installing libedit (20240517.3.1-r0) [2024-10-10T05:10:40.759Z] (3/8) Installing openssh-client-common (9.7_p1-r4) [2024-10-10T05:10:40.759Z] (4/8) Installing openssh-client-default (9.7_p1-r4) [2024-10-10T05:10:40.759Z] (5/8) Installing openssh-sftp-server (9.7_p1-r4) [2024-10-10T05:10:40.759Z] (6/8) Installing openssh-server-common (9.7_p1-r4) [2024-10-10T05:10:40.759Z] (7/8) Installing openssh-server (9.7_p1-r4) [2024-10-10T05:10:40.759Z] (8/8) Installing openssh (9.7_p1-r4) [2024-10-10T05:10:40.759Z] Executing busybox-1.36.1-r29.trigger [2024-10-10T05:10:40.759Z] OK: 252 MiB in 62 packages [2024-10-10T05:10:41.327Z] Removing intermediate container efe0fdd13b01 [2024-10-10T05:10:41.327Z] ---> 05512c409aad [2024-10-10T05:10:41.327Z] Step 6/10 : WORKDIR /device-modbus-go [2024-10-10T05:10:41.327Z] ---> Running in c98113b7502c [2024-10-10T05:10:41.327Z] Removing intermediate container c98113b7502c [2024-10-10T05:10:41.327Z] ---> 91375d834b74 [2024-10-10T05:10:41.327Z] Step 7/10 : COPY go.mod vendor* ./ [2024-10-10T05:10:41.587Z] ---> 580a39a6c9ed [2024-10-10T05:10:41.587Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-10-10T05:10:41.587Z] ---> Running in ccc03f63d958 [2024-10-10T05:11:49.289Z] Removing intermediate container ccc03f63d958 [2024-10-10T05:11:49.289Z] ---> 428c3cc47d02 [2024-10-10T05:11:49.289Z] Step 9/10 : COPY . . [2024-10-10T05:11:49.289Z] ---> a457b4e1c05d [2024-10-10T05:11:49.289Z] Step 10/10 : RUN ${MAKE} [2024-10-10T05:11:49.289Z] ---> Running in a1d533815224 [2024-10-10T05:11:49.289Z] noop [2024-10-10T05:11:49.289Z] Removing intermediate container a1d533815224 [2024-10-10T05:11:49.289Z] ---> 8ba81c42a374 [2024-10-10T05:11:49.289Z] Successfully built 8ba81c42a374 [2024-10-10T05:11:49.289Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-10T05:11:49.842Z] + docker inspect -f . ci-base-image-x86_64 [2024-10-10T05:11:49.842Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-10T05:11:49.999Z] prd-ubuntu20.04-docker-8c-8g-22404 does not seem to be running inside a container [2024-10-10T05:11:50.028Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-580 -v /w/workspace/xfoundry_device-modbus-go_PR-580:/w/workspace/xfoundry_device-modbus-go_PR-580:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-580@tmp:/w/workspace/xfoundry_device-modbus-go_PR-580@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-10-10T05:11:50.334Z] $ docker top ae7042f76733fa667ece69a5cc5e49373c8ffb64ea350ab812e90439898dafb2 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-10T05:11:50.739Z] + go version [2024-10-10T05:11:50.739Z] go version go1.23.2 linux/amd64 [Pipeline] } [2024-10-10T05:11:50.780Z] $ docker stop --time=1 ae7042f76733fa667ece69a5cc5e49373c8ffb64ea350ab812e90439898dafb2 [2024-10-10T05:11:52.043Z] $ docker rm -f --volumes ae7042f76733fa667ece69a5cc5e49373c8ffb64ea350ab812e90439898dafb2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-10T05:11:52.816Z] + docker inspect -f . ci-base-image-x86_64 [2024-10-10T05:11:52.816Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-10T05:11:52.980Z] prd-ubuntu20.04-docker-8c-8g-22404 does not seem to be running inside a container [2024-10-10T05:11:53.012Z] $ 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-580 -v /w/workspace/xfoundry_device-modbus-go_PR-580:/w/workspace/xfoundry_device-modbus-go_PR-580:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-580@tmp:/w/workspace/xfoundry_device-modbus-go_PR-580@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-10-10T05:11:53.330Z] $ docker top 8ee3ab32421e3b59890d5c4ec16eca825870fb8f9d26ab8c106e1155cadf9a41 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-10T05:11:53.739Z] + git config --global --add safe.directory /w/workspace/xfoundry_device-modbus-go_PR-580 [Pipeline] fileExists [Pipeline] sh [2024-10-10T05:11:54.129Z] + make test [2024-10-10T05:11:54.129Z] go test ./... -coverprofile=coverage.out [2024-10-10T05:11:55.507Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2024-10-10T05:12:09.630Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-22405 in /w/workspace/xfoundry_device-modbus-go_PR-580 [Pipeline] { [Pipeline] ws [2024-10-10T05:12:09.718Z] Running in /w/workspace/device-modbus-go/1 [Pipeline] { [Pipeline] checkout [2024-10-10T05:12:12.820Z] The recommended git tool is: git [2024-10-10T05:12:13.639Z] github.com/edgexfoundry/device-modbus-go/cmd coverage: 0.0% of statements [2024-10-10T05:12:13.639Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.007s coverage: 47.9% of statements [2024-10-10T05:12:17.185Z] using credential edgex-jenkins-ssh [2024-10-10T05:12:17.207Z] Cloning the remote Git repository [2024-10-10T05:12:17.250Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2024-10-10T05:12:17.343Z] > git init /w/workspace/device-modbus-go/1 # timeout=10 [2024-10-10T05:12:17.497Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2024-10-10T05:12:17.498Z] > git --version # timeout=10 [2024-10-10T05:12:17.525Z] > git --version # 'git version 2.25.1' [2024-10-10T05:12:17.528Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-10-10T05:12:17.680Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-10-10T05:12:19.540Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2024-10-10T05:12:19.566Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-10-10T05:12:20.952Z] Merging remotes/origin/main commit e778c6a7e22bae4333302da5b4dc0bc2aa806a86 into PR head commit 7c62755f5388df9da306739af29f645847b5ea3f [2024-10-10T05:12:21.225Z] Merge succeeded, producing 7c62755f5388df9da306739af29f645847b5ea3f [2024-10-10T05:12:21.225Z] Checking out Revision 7c62755f5388df9da306739af29f645847b5ea3f (PR-580) [2024-10-10T05:12:20.412Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2024-10-10T05:12:20.461Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2024-10-10T05:12:20.462Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-10-10T05:12:20.487Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/580/head:refs/remotes/origin/PR-580 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2024-10-10T05:12:20.971Z] > git config core.sparsecheckout # timeout=10 [2024-10-10T05:12:21.037Z] > git checkout -f 7c62755f5388df9da306739af29f645847b5ea3f # timeout=10 [2024-10-10T05:12:21.122Z] > git remote # timeout=10 [2024-10-10T05:12:21.139Z] > git config --get remote.origin.url # timeout=10 [2024-10-10T05:12:21.156Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-10-10T05:12:21.177Z] > git merge e778c6a7e22bae4333302da5b4dc0bc2aa806a86 # timeout=10 [2024-10-10T05:12:21.203Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-10-10T05:12:21.231Z] > git config core.sparsecheckout # timeout=10 [2024-10-10T05:12:21.245Z] > git checkout -f 7c62755f5388df9da306739af29f645847b5ea3f # timeout=10 [2024-10-10T05:12:21.726Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" [2024-10-10T05:12:21.778Z] > git --version # timeout=10 [2024-10-10T05:12:21.789Z] > git --version # 'git version 2.25.1' [2024-10-10T05:12:21.805Z] fatal: bad object 0b81fa10a7dd14683a964f04f411324fe83f93ac [2024-10-10T05:12:23.608Z] go vet ./... [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-10-10T05:12:26.579Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-10-10T05:12:26.579Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-10-10T05:12:26.579Z] Dload Upload Total Spent Left Speed [2024-10-10T05:12:26.579Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 73724 0 --:--:-- --:--:-- --:--:-- 74150 [Pipeline] sh [2024-10-10T05:12:26.927Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-10-10T05:12:27.284Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2024-10-10T05:12:27.285Z] + sudo tee /etc/docker/daemon.new [2024-10-10T05:12:27.285Z] { [2024-10-10T05:12:27.285Z] "registry-mirrors": [ [2024-10-10T05:12:27.285Z] "https://nexus3.edgexfoundry.org:10001" [2024-10-10T05:12:27.285Z] ], [2024-10-10T05:12:27.285Z] "bip": "10.250.0.254/24", [2024-10-10T05:12:27.285Z] "hosts": [ [2024-10-10T05:12:27.285Z] "tcp://0.0.0.0:5555", [2024-10-10T05:12:27.285Z] "unix:///var/run/docker.sock" [2024-10-10T05:12:27.285Z] ], [2024-10-10T05:12:27.285Z] "mtu": 1458, [2024-10-10T05:12:27.285Z] "selinux-enabled": true, [2024-10-10T05:12:27.285Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-10-10T05:12:27.285Z] } [Pipeline] sh [2024-10-10T05:12:27.634Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-10-10T05:12:27.983Z] + sudo service docker restart [2024-10-10T05:12:28.870Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-10-10T05:12:28.870Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-10-10T05:12:28.870Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2024-10-10T05:12:28.911Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-10-10T05:12:28.949Z] $ docker stop --time=1 8ee3ab32421e3b59890d5c4ec16eca825870fb8f9d26ab8c106e1155cadf9a41 [2024-10-10T05:12:33.129Z] $ docker rm -f --volumes 8ee3ab32421e3b59890d5c4ec16eca825870fb8f9d26ab8c106e1155cadf9a41 [Pipeline] // withDockerContainer [Pipeline] sh [2024-10-10T05:12:33.741Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-10-10T05:12:33.814Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2024-10-10T05:12:34.589Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-10-10T05:12:34.905Z] + ls -al . [2024-10-10T05:12:34.905Z] total 272 [2024-10-10T05:12:34.905Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 10 05:11 . [2024-10-10T05:12:34.905Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 10 05:09 .. [2024-10-10T05:12:34.905Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 10 05:09 .dockerignore [2024-10-10T05:12:34.905Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 10 05:12 .git [2024-10-10T05:12:34.905Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 10 05:09 .github [2024-10-10T05:12:34.905Z] -rw-rw-r-- 1 jenkins jenkins 266 Oct 10 05:09 .gitignore [2024-10-10T05:12:34.905Z] -rw-rw-r-- 1 jenkins jenkins 199 Oct 10 05:09 .golangci.yml [2024-10-10T05:12:34.905Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 10 05:10 .semver [2024-10-10T05:12:34.905Z] -rw-rw-r-- 1 jenkins jenkins 19818 Oct 10 05:09 Attribution.txt [2024-10-10T05:12:34.905Z] -rw-rw-r-- 1 jenkins jenkins 16388 Oct 10 05:09 CHANGELOG.md [2024-10-10T05:12:34.905Z] -rw-rw-r-- 1 jenkins jenkins 1474 Oct 10 05:09 Dockerfile [2024-10-10T05:12:34.905Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 10 05:09 GOVERNANCE.md [2024-10-10T05:12:34.905Z] -rw-rw-r-- 1 jenkins jenkins 658 Oct 10 05:09 Jenkinsfile [2024-10-10T05:12:34.905Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 10 05:09 LICENSE [2024-10-10T05:12:34.905Z] -rw-rw-r-- 1 jenkins jenkins 1942 Oct 10 05:09 Makefile [2024-10-10T05:12:34.905Z] -rw-rw-r-- 1 jenkins jenkins 622 Oct 10 05:09 OWNERS.md [2024-10-10T05:12:34.905Z] -rw-rw-r-- 1 jenkins jenkins 4463 Oct 10 05:09 README.md [2024-10-10T05:12:34.905Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 10 05:10 VERSION [2024-10-10T05:12:34.905Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 10 05:09 bin [2024-10-10T05:12:34.905Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 10 05:09 cmd [2024-10-10T05:12:34.905Z] -rw-r--r-- 1 jenkins jenkins 24669 Oct 10 05:12 coverage.out [2024-10-10T05:12:34.905Z] -rw-rw-r-- 1 jenkins jenkins 7157 Oct 10 05:09 go.mod [2024-10-10T05:12:34.905Z] -rw-rw-r-- 1 jenkins jenkins 100518 Oct 10 05:09 go.sum [2024-10-10T05:12:34.905Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 10 05:09 internal [2024-10-10T05:12:34.905Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 10 05:09 simulator [2024-10-10T05:12:34.905Z] -rw-rw-r-- 1 jenkins jenkins 229 Oct 10 05:09 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-10T05:12:35.330Z] + 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=7c62755f5388df9da306739af29f645847b5ea3f --label arch=amd64 --label version=0.0.0 . [2024-10-10T05:12:35.330Z] Sending build context to Docker daemon 17.98MB [2024-10-10T05:12:35.330Z] Step 1/23 : ARG BASE=golang:1.23-alpine3.20 [2024-10-10T05:12:35.330Z] Step 2/23 : FROM ${BASE} AS builder [2024-10-10T05:12:35.330Z] ---> 8ba81c42a374 [2024-10-10T05:12:35.330Z] Step 3/23 : ARG ADD_BUILD_TAGS="" [2024-10-10T05:12:35.589Z] ---> Running in 90c6143f734d [2024-10-10T05:12:35.589Z] Removing intermediate container 90c6143f734d [2024-10-10T05:12:35.589Z] ---> efb21d708137 [2024-10-10T05:12:35.589Z] Step 4/23 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-10-10T05:12:35.589Z] ---> Running in 5b1d3a8e9841 [2024-10-10T05:12:35.848Z] Removing intermediate container 5b1d3a8e9841 [2024-10-10T05:12:35.848Z] ---> 28e0f05e4207 [2024-10-10T05:12:35.848Z] Step 5/23 : RUN apk add --update --no-cache make git openssh [2024-10-10T05:12:35.848Z] ---> Running in 1e21322c3c83 [2024-10-10T05:12:36.108Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-10T05:12:36.108Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-10T05:12:36.675Z] OK: 252 MiB in 62 packages [2024-10-10T05:12:36.935Z] Removing intermediate container 1e21322c3c83 [2024-10-10T05:12:36.935Z] ---> 250e0bebb522 [2024-10-10T05:12:36.935Z] Step 6/23 : WORKDIR /device-modbus-go [2024-10-10T05:12:36.935Z] ---> Running in 485e2f19f624 [2024-10-10T05:12:36.935Z] Removing intermediate container 485e2f19f624 [2024-10-10T05:12:36.935Z] ---> ed53acb45622 [2024-10-10T05:12:36.935Z] Step 7/23 : COPY go.mod vendor* ./ [2024-10-10T05:12:37.192Z] ---> d578c47dc204 [2024-10-10T05:12:37.192Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-10-10T05:12:37.192Z] ---> Running in 8fa0c35f3245 [2024-10-10T05:12:37.757Z] Removing intermediate container 8fa0c35f3245 [2024-10-10T05:12:37.757Z] ---> 27f3c5f73434 [2024-10-10T05:12:37.757Z] Step 9/23 : COPY . . [2024-10-10T05:12:38.693Z] ---> 623403ff8f30 [2024-10-10T05:12:38.693Z] Step 10/23 : RUN ${MAKE} [2024-10-10T05:12:38.693Z] ---> Running in 85bdf327bc2a [2024-10-10T05:12:38.693Z] CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-modbus-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.45" -trimpath -mod=readonly -o cmd/device-modbus ./cmd [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-10-10T05:12:46.338Z] provisioning config files... [2024-10-10T05:12:46.361Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/1@tmp/config29533127109893047tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-10T05:12:46.862Z] ---> ****-login.sh [2024-10-10T05:12:46.862Z] nexus3.edgexfoundry.org:10001 [2024-10-10T05:12:47.450Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-10T05:12:47.450Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-10T05:12:47.450Z] Configure a credential helper to remove this warning. See [2024-10-10T05:12:47.450Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-10T05:12:47.450Z] [2024-10-10T05:12:47.451Z] Login Succeeded [2024-10-10T05:12:47.451Z] nexus3.edgexfoundry.org:10002 [2024-10-10T05:12:47.722Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-10T05:12:47.992Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-10T05:12:47.992Z] Configure a credential helper to remove this warning. See [2024-10-10T05:12:47.992Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-10T05:12:47.992Z] [2024-10-10T05:12:47.992Z] Login Succeeded [2024-10-10T05:12:47.992Z] nexus3.edgexfoundry.org:10003 [2024-10-10T05:12:48.264Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-10T05:12:48.264Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-10T05:12:48.264Z] Configure a credential helper to remove this warning. See [2024-10-10T05:12:48.264Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-10T05:12:48.264Z] [2024-10-10T05:12:48.264Z] Login Succeeded [2024-10-10T05:12:48.264Z] nexus3.edgexfoundry.org:10004 [2024-10-10T05:12:48.538Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-10T05:12:48.538Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-10T05:12:48.538Z] Configure a credential helper to remove this warning. See [2024-10-10T05:12:48.538Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-10T05:12:48.538Z] [2024-10-10T05:12:48.538Z] Login Succeeded [2024-10-10T05:12:48.812Z] ****.io [2024-10-10T05:12:48.812Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-10T05:12:49.081Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-10T05:12:49.081Z] Configure a credential helper to remove this warning. See [2024-10-10T05:12:49.081Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-10T05:12:49.081Z] [2024-10-10T05:12:49.081Z] Login Succeeded [2024-10-10T05:12:49.081Z] ---> ****-login.sh ends [Pipeline] } [2024-10-10T05:12:49.115Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-10-10T05:12:49.578Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-10T05:12:49.629Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-10T05:12:49.679Z] ========================================================= [2024-10-10T05:12:49.679Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine] [2024-10-10T05:12:49.679Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-10T05:12:50.246Z] + 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-10T05:12:50.514Z] Sending build context to Docker daemon 9.12MB [2024-10-10T05:12:50.780Z] Step 1/10 : ARG BASE=golang:1.23-alpine3.20 [2024-10-10T05:12:50.780Z] Step 2/10 : FROM ${BASE} AS builder [2024-10-10T05:12:50.780Z] 1.23-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-10-10T05:12:50.780Z] cf04c63912e1: Pulling fs layer [2024-10-10T05:12:50.780Z] 55b35a11ae5e: Pulling fs layer [2024-10-10T05:12:50.780Z] a37a00ec5f00: Pulling fs layer [2024-10-10T05:12:50.780Z] 50b3750afda1: Pulling fs layer [2024-10-10T05:12:50.780Z] 4f4fb700ef54: Pulling fs layer [2024-10-10T05:12:50.780Z] 80978eb59214: Pulling fs layer [2024-10-10T05:12:50.780Z] c9f46d7d2bd2: Pulling fs layer [2024-10-10T05:12:50.780Z] c5a475d317c9: Pulling fs layer [2024-10-10T05:12:50.780Z] 50b3750afda1: Waiting [2024-10-10T05:12:50.780Z] 4f4fb700ef54: Waiting [2024-10-10T05:12:50.780Z] 80978eb59214: Waiting [2024-10-10T05:12:50.780Z] c9f46d7d2bd2: Waiting [2024-10-10T05:12:50.780Z] c5a475d317c9: Waiting [2024-10-10T05:12:50.780Z] 55b35a11ae5e: Download complete [2024-10-10T05:12:50.780Z] 50b3750afda1: Verifying Checksum [2024-10-10T05:12:50.780Z] 50b3750afda1: Download complete [2024-10-10T05:12:50.780Z] 4f4fb700ef54: Verifying Checksum [2024-10-10T05:12:50.780Z] 4f4fb700ef54: Download complete [2024-10-10T05:12:51.047Z] 80978eb59214: Verifying Checksum [2024-10-10T05:12:51.047Z] 80978eb59214: Download complete [2024-10-10T05:12:51.047Z] cf04c63912e1: Verifying Checksum [2024-10-10T05:12:51.047Z] cf04c63912e1: Download complete [2024-10-10T05:12:51.314Z] c5a475d317c9: Verifying Checksum [2024-10-10T05:12:51.314Z] c5a475d317c9: Download complete [2024-10-10T05:12:51.897Z] cf04c63912e1: Pull complete [2024-10-10T05:12:52.484Z] 55b35a11ae5e: Pull complete [2024-10-10T05:12:52.750Z] a37a00ec5f00: Verifying Checksum [2024-10-10T05:12:52.750Z] a37a00ec5f00: Download complete [2024-10-10T05:12:53.705Z] c9f46d7d2bd2: Verifying Checksum [2024-10-10T05:12:53.705Z] c9f46d7d2bd2: Download complete [2024-10-10T05:13:06.011Z] a37a00ec5f00: Pull complete [2024-10-10T05:13:06.011Z] 50b3750afda1: Pull complete [2024-10-10T05:13:06.011Z] 4f4fb700ef54: Pull complete [2024-10-10T05:13:06.276Z] 80978eb59214: Pull complete [2024-10-10T05:13:10.761Z] Removing intermediate container 85bdf327bc2a [2024-10-10T05:13:10.761Z] ---> b868bff63b18 [2024-10-10T05:13:10.761Z] Step 11/23 : FROM alpine:3.20 [2024-10-10T05:13:10.761Z] 3.20: Pulling from library/alpine [2024-10-10T05:13:10.761Z] 43c4264eed91: Already exists [2024-10-10T05:13:10.761Z] Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d [2024-10-10T05:13:10.761Z] Status: Downloaded newer image for alpine:3.20 [2024-10-10T05:13:10.761Z] ---> 91ef0af61f39 [2024-10-10T05:13:10.761Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2024: IoTech Ltd' [2024-10-10T05:13:10.761Z] ---> Running in 73776755e48d [2024-10-10T05:13:10.761Z] Removing intermediate container 73776755e48d [2024-10-10T05:13:10.761Z] ---> 6be892e56681 [2024-10-10T05:13:10.761Z] Step 13/23 : RUN apk add --update --no-cache dumb-init [2024-10-10T05:13:10.761Z] ---> Running in d4ec1fede8f7 [2024-10-10T05:13:11.021Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-10T05:13:11.278Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-10T05:13:11.537Z] (1/1) Installing dumb-init (1.2.5-r3) [2024-10-10T05:13:11.537Z] Executing busybox-1.36.1-r29.trigger [2024-10-10T05:13:11.537Z] OK: 8 MiB in 15 packages [2024-10-10T05:13:11.797Z] Removing intermediate container d4ec1fede8f7 [2024-10-10T05:13:11.797Z] ---> e6a65c1c7e16 [2024-10-10T05:13:11.797Z] Step 14/23 : RUN apk --no-cache upgrade [2024-10-10T05:13:11.797Z] ---> Running in 76aab7cebde7 [2024-10-10T05:13:12.056Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-10T05:13:12.315Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-10T05:13:12.572Z] Upgrading critical system libraries and apk-tools: [2024-10-10T05:13:12.573Z] (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) [2024-10-10T05:13:12.573Z] Executing busybox-1.36.1-r29.trigger [2024-10-10T05:13:12.573Z] Continuing the upgrade transaction with new apk-tools: [2024-10-10T05:13:12.573Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-10T05:13:12.573Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-10T05:13:12.831Z] OK: 8 MiB in 15 packages [2024-10-10T05:13:13.397Z] Removing intermediate container 76aab7cebde7 [2024-10-10T05:13:13.397Z] ---> 3bef53956e1a [2024-10-10T05:13:13.397Z] Step 15/23 : COPY --from=builder /device-modbus-go/cmd / [2024-10-10T05:13:14.335Z] ---> 2d24b86bd8c4 [2024-10-10T05:13:14.335Z] Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / [2024-10-10T05:13:14.335Z] ---> 98a803cee46b [2024-10-10T05:13:14.335Z] Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / [2024-10-10T05:13:14.335Z] ---> 17affa4310ba [2024-10-10T05:13:14.335Z] Step 18/23 : EXPOSE 59901 [2024-10-10T05:13:14.335Z] ---> Running in c4a4725a974d [2024-10-10T05:13:14.501Z] c9f46d7d2bd2: Pull complete [2024-10-10T05:13:14.593Z] Removing intermediate container c4a4725a974d [2024-10-10T05:13:14.593Z] ---> 6785c98ebe45 [2024-10-10T05:13:14.593Z] Step 19/23 : ENTRYPOINT ["/device-modbus"] [2024-10-10T05:13:14.593Z] ---> Running in 41f21795c9c8 [2024-10-10T05:13:14.593Z] Removing intermediate container 41f21795c9c8 [2024-10-10T05:13:14.593Z] ---> eee3a0e1da25 [2024-10-10T05:13:14.593Z] Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2024-10-10T05:13:14.593Z] ---> Running in aecf226d7062 [2024-10-10T05:13:14.593Z] Removing intermediate container aecf226d7062 [2024-10-10T05:13:14.593Z] ---> f929c845489b [2024-10-10T05:13:14.593Z] Step 21/23 : LABEL arch=amd64 [2024-10-10T05:13:14.593Z] ---> Running in 16378c24fa00 [2024-10-10T05:13:14.851Z] Removing intermediate container 16378c24fa00 [2024-10-10T05:13:14.851Z] ---> 372c3afab681 [2024-10-10T05:13:14.851Z] Step 22/23 : LABEL git_sha=7c62755f5388df9da306739af29f645847b5ea3f [2024-10-10T05:13:14.851Z] ---> Running in 61047dab5b03 [2024-10-10T05:13:14.851Z] Removing intermediate container 61047dab5b03 [2024-10-10T05:13:14.851Z] ---> 86a41c7cf9d8 [2024-10-10T05:13:14.851Z] Step 23/23 : LABEL version=0.0.0 [2024-10-10T05:13:14.851Z] ---> Running in a1774e0f79d3 [2024-10-10T05:13:15.109Z] Removing intermediate container a1774e0f79d3 [2024-10-10T05:13:15.109Z] ---> ddfa4247d40f [2024-10-10T05:13:15.109Z] [Warning] One or more build-args [ARCH] were not consumed [2024-10-10T05:13:15.109Z] Successfully built ddfa4247d40f [2024-10-10T05:13:15.109Z] 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-10T05:13:15.903Z] c5a475d317c9: Pull complete [2024-10-10T05:13:15.904Z] Digest: sha256:2391c17ca386d1fbfa331956bd558234564149703727e64d3c69580d84b42a9b [2024-10-10T05:13:15.904Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine [2024-10-10T05:13:15.904Z] ---> be29e6b0f0d4 [2024-10-10T05:13:15.904Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2024-10-10T05:13:16.148Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-10T05:13:16.148Z] [2024-10-10T05:13:16.149Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-10T05:13:16.482Z] ---> Running in fb28b100a4fb [2024-10-10T05:13:16.558Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-10T05:13:16.559Z] latest: Pulling from edgex-lftools-log-publisher [2024-10-10T05:13:16.559Z] 5eb5b503b376: Pulling fs layer [2024-10-10T05:13:16.559Z] 5c69ac0246d0: Pulling fs layer [2024-10-10T05:13:16.559Z] ec43610c2a17: Pulling fs layer [2024-10-10T05:13:16.559Z] 3a2ae6a8a46f: Pulling fs layer [2024-10-10T05:13:16.559Z] 33b1e0a273af: Pulling fs layer [2024-10-10T05:13:16.559Z] 5d3b04190fa2: Pulling fs layer [2024-10-10T05:13:16.559Z] 2f39f015ded8: Pulling fs layer [2024-10-10T05:13:16.559Z] 33b1e0a273af: Waiting [2024-10-10T05:13:16.559Z] 5d3b04190fa2: Waiting [2024-10-10T05:13:16.559Z] 2f39f015ded8: Waiting [2024-10-10T05:13:16.559Z] 3a2ae6a8a46f: Waiting [2024-10-10T05:13:16.559Z] 5c69ac0246d0: Download complete [2024-10-10T05:13:16.559Z] 3a2ae6a8a46f: Verifying Checksum [2024-10-10T05:13:16.559Z] 3a2ae6a8a46f: Download complete [2024-10-10T05:13:16.559Z] 33b1e0a273af: Verifying Checksum [2024-10-10T05:13:16.559Z] 33b1e0a273af: Download complete [2024-10-10T05:13:16.559Z] 5d3b04190fa2: Verifying Checksum [2024-10-10T05:13:16.559Z] 5d3b04190fa2: Download complete [2024-10-10T05:13:16.559Z] ec43610c2a17: Verifying Checksum [2024-10-10T05:13:16.559Z] ec43610c2a17: Download complete [2024-10-10T05:13:16.748Z] Removing intermediate container fb28b100a4fb [2024-10-10T05:13:16.748Z] ---> 9f1628e7362b [2024-10-10T05:13:16.748Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-10-10T05:13:16.748Z] ---> Running in 17e64fc238b7 [2024-10-10T05:13:16.817Z] 5eb5b503b376: Verifying Checksum [2024-10-10T05:13:16.817Z] 5eb5b503b376: Download complete [2024-10-10T05:13:17.020Z] Removing intermediate container 17e64fc238b7 [2024-10-10T05:13:17.020Z] ---> 84aa5f498a38 [2024-10-10T05:13:17.020Z] Step 5/10 : RUN apk add --update --no-cache make git openssh [2024-10-10T05:13:17.286Z] ---> Running in 868c5c312f0d [2024-10-10T05:13:17.383Z] 2f39f015ded8: Download complete [2024-10-10T05:13:17.950Z] 5eb5b503b376: Pull complete [2024-10-10T05:13:17.950Z] 5c69ac0246d0: Pull complete [2024-10-10T05:13:18.208Z] ec43610c2a17: Pull complete [2024-10-10T05:13:18.244Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-10T05:13:18.469Z] 3a2ae6a8a46f: Pull complete [2024-10-10T05:13:18.469Z] 33b1e0a273af: Pull complete [2024-10-10T05:13:18.728Z] 5d3b04190fa2: Pull complete [2024-10-10T05:13:18.824Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-10T05:13:19.792Z] (1/8) Installing openssh-keygen (9.7_p1-r4) [2024-10-10T05:13:19.793Z] (2/8) Installing libedit (20240517.3.1-r0) [2024-10-10T05:13:20.064Z] (3/8) Installing openssh-client-common (9.7_p1-r4) [2024-10-10T05:13:20.064Z] (4/8) Installing openssh-client-default (9.7_p1-r4) [2024-10-10T05:13:20.064Z] (5/8) Installing openssh-sftp-server (9.7_p1-r4) [2024-10-10T05:13:20.064Z] (6/8) Installing openssh-server-common (9.7_p1-r4) [2024-10-10T05:13:20.064Z] (7/8) Installing openssh-server (9.7_p1-r4) [2024-10-10T05:13:20.064Z] (8/8) Installing openssh (9.7_p1-r4) [2024-10-10T05:13:20.064Z] Executing busybox-1.36.1-r29.trigger [2024-10-10T05:13:20.064Z] OK: 244 MiB in 62 packages [2024-10-10T05:13:21.034Z] Removing intermediate container 868c5c312f0d [2024-10-10T05:13:21.034Z] ---> c63133ea73d8 [2024-10-10T05:13:21.034Z] Step 6/10 : WORKDIR /device-modbus-go [2024-10-10T05:13:21.302Z] ---> Running in 00a4654c684d [2024-10-10T05:13:21.571Z] Removing intermediate container 00a4654c684d [2024-10-10T05:13:21.571Z] ---> 30a170e964db [2024-10-10T05:13:21.571Z] Step 7/10 : COPY go.mod vendor* ./ [2024-10-10T05:13:21.847Z] ---> 1a65619a70bf [2024-10-10T05:13:21.847Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-10-10T05:13:22.118Z] ---> Running in bc6fca4d3a5f [2024-10-10T05:13:22.913Z] 2f39f015ded8: Pull complete [2024-10-10T05:13:22.913Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-10-10T05:13:22.913Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-10T05:13:22.913Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-10T05:13:23.167Z] prd-ubuntu20.04-docker-8c-8g-22404 does not seem to be running inside a container [2024-10-10T05:13:23.198Z] $ 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-580 -v /w/workspace/xfoundry_device-modbus-go_PR-580:/w/workspace/xfoundry_device-modbus-go_PR-580:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-580@tmp:/w/workspace/xfoundry_device-modbus-go_PR-580@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-10-10T05:13:27.803Z] $ docker top 76e810ca848445e5a8954e699d0cf12c53e6fca073d756494f1e97cdc42ce17b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-10T05:13:28.299Z] ---> job-cost.sh [2024-10-10T05:13:28.299Z] lf-activate-venv: SKIPPING [2024-10-10T05:13:28.299Z] INFO: No Stack... [2024-10-10T05:13:28.562Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-10-10T05:13:28.822Z] INFO: Archiving Costs [Pipeline] sh [2024-10-10T05:13:29.145Z] + cat /w/workspace/xfoundry_device-modbus-go_PR-580/archives/cost.csv [2024-10-10T05:13:29.145Z] + cut -d, -f6 [Pipeline] lock [2024-10-10T05:13:29.200Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-modbus-go-PR-580-1-stack-cost] [2024-10-10T05:13:29.207Z] Resource [jenkins-edgexfoundry-device-modbus-go-PR-580-1-stack-cost] did not exist. Created. [2024-10-10T05:13:29.215Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-modbus-go-PR-580-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-10-10T05:13:29.624Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-10-10T05:13:29.770Z] Stashed 1 file(s) [Pipeline] } [2024-10-10T05:13:29.802Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-modbus-go-PR-580-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-10-10T05:13:29.885Z] $ docker stop --time=1 76e810ca848445e5a8954e699d0cf12c53e6fca073d756494f1e97cdc42ce17b [2024-10-10T05:13:31.039Z] $ docker rm -f --volumes 76e810ca848445e5a8954e699d0cf12c53e6fca073d756494f1e97cdc42ce17b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-10-10T05:15:28.835Z] Removing intermediate container bc6fca4d3a5f [2024-10-10T05:15:28.835Z] ---> 6ec902ab9b8f [2024-10-10T05:15:28.835Z] Step 9/10 : COPY . . [2024-10-10T05:15:28.835Z] ---> dc17b8130977 [2024-10-10T05:15:28.835Z] Step 10/10 : RUN ${MAKE} [2024-10-10T05:15:28.835Z] ---> Running in 20bcac891f5a [2024-10-10T05:15:28.835Z] noop [2024-10-10T05:15:28.835Z] Removing intermediate container 20bcac891f5a [2024-10-10T05:15:28.835Z] ---> e06f23508496 [2024-10-10T05:15:28.835Z] Successfully built e06f23508496 [2024-10-10T05:15:28.835Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-10T05:15:29.354Z] + docker inspect -f . ci-base-image-arm64 [2024-10-10T05:15:29.354Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-10T05:15:29.647Z] prd-ubuntu20.04-docker-arm64-4c-16g-22405 does not seem to be running inside a container [2024-10-10T05:15:29.708Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-10-10T05:15:30.844Z] $ docker top 4b3108568fb2d70f0882f7dd3a878228c1d0681cf1592b2df0fbe38fa0889c31 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-10T05:15:31.727Z] + go version [2024-10-10T05:15:31.727Z] go version go1.23.2 linux/arm64 [Pipeline] } [2024-10-10T05:15:31.766Z] $ docker stop --time=1 4b3108568fb2d70f0882f7dd3a878228c1d0681cf1592b2df0fbe38fa0889c31 [2024-10-10T05:15:33.317Z] $ docker rm -f --volumes 4b3108568fb2d70f0882f7dd3a878228c1d0681cf1592b2df0fbe38fa0889c31 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-10T05:15:34.227Z] + docker inspect -f . ci-base-image-arm64 [2024-10-10T05:15:34.227Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-10T05:15:34.486Z] prd-ubuntu20.04-docker-arm64-4c-16g-22405 does not seem to be running inside a container [2024-10-10T05:15:34.542Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-10-10T05:15:35.598Z] $ docker top 65fb08ff63d2c6391e82aac404000ac8e567841540fa22e95d2a8709fb124e75 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-10T05:15:36.153Z] + git config --global --add safe.directory /w/workspace/device-modbus-go/1 [Pipeline] fileExists [Pipeline] sh [2024-10-10T05:15:36.553Z] + make test [2024-10-10T05:15:36.553Z] go test ./... -coverprofile=coverage.out [2024-10-10T05:15:41.901Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2024-10-10T05:19:03.717Z] github.com/edgexfoundry/device-modbus-go/cmd coverage: 0.0% of statements [2024-10-10T05:19:03.717Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.051s coverage: 47.9% of statements [2024-10-10T05:19:03.717Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2024-10-10T05:19:03.717Z] go vet ./... [2024-10-10T05:19:42.734Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-10-10T05:19:42.734Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-10-10T05:19:42.734Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2024-10-10T05:19:43.366Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-10-10T05:19:43.405Z] $ docker stop --time=1 65fb08ff63d2c6391e82aac404000ac8e567841540fa22e95d2a8709fb124e75 [2024-10-10T05:19:45.454Z] $ docker rm -f --volumes 65fb08ff63d2c6391e82aac404000ac8e567841540fa22e95d2a8709fb124e75 [Pipeline] // withDockerContainer [Pipeline] sh [2024-10-10T05:19:47.132Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-10-10T05:19:47.171Z] Warning: overwriting stash ‘coverage-report’ [2024-10-10T05:19:47.676Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-10-10T05:19:48.316Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-10-10T05:19:48.661Z] + ls -al . [2024-10-10T05:19:48.661Z] total 268 [2024-10-10T05:19:48.661Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 10 05:15 . [2024-10-10T05:19:48.661Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 10 05:12 .. [2024-10-10T05:19:48.661Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 10 05:12 .dockerignore [2024-10-10T05:19:48.661Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 10 05:12 .git [2024-10-10T05:19:48.661Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 10 05:12 .github [2024-10-10T05:19:48.661Z] -rw-rw-r-- 1 jenkins jenkins 266 Oct 10 05:12 .gitignore [2024-10-10T05:19:48.661Z] -rw-rw-r-- 1 jenkins jenkins 199 Oct 10 05:12 .golangci.yml [2024-10-10T05:19:48.661Z] -rw-rw-r-- 1 jenkins jenkins 19818 Oct 10 05:12 Attribution.txt [2024-10-10T05:19:48.661Z] -rw-rw-r-- 1 jenkins jenkins 16388 Oct 10 05:12 CHANGELOG.md [2024-10-10T05:19:48.661Z] -rw-rw-r-- 1 jenkins jenkins 1474 Oct 10 05:12 Dockerfile [2024-10-10T05:19:48.661Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 10 05:12 GOVERNANCE.md [2024-10-10T05:19:48.661Z] -rw-rw-r-- 1 jenkins jenkins 658 Oct 10 05:12 Jenkinsfile [2024-10-10T05:19:48.661Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 10 05:12 LICENSE [2024-10-10T05:19:48.661Z] -rw-rw-r-- 1 jenkins jenkins 1942 Oct 10 05:12 Makefile [2024-10-10T05:19:48.661Z] -rw-rw-r-- 1 jenkins jenkins 622 Oct 10 05:12 OWNERS.md [2024-10-10T05:19:48.661Z] -rw-rw-r-- 1 jenkins jenkins 4463 Oct 10 05:12 README.md [2024-10-10T05:19:48.661Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 10 05:10 VERSION [2024-10-10T05:19:48.661Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 10 05:12 bin [2024-10-10T05:19:48.661Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 10 05:12 cmd [2024-10-10T05:19:48.661Z] -rw-r--r-- 1 jenkins jenkins 24669 Oct 10 05:18 coverage.out [2024-10-10T05:19:48.661Z] -rw-rw-r-- 1 jenkins jenkins 7157 Oct 10 05:12 go.mod [2024-10-10T05:19:48.661Z] -rw-rw-r-- 1 jenkins jenkins 100518 Oct 10 05:12 go.sum [2024-10-10T05:19:48.661Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 10 05:12 internal [2024-10-10T05:19:48.661Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 10 05:12 simulator [2024-10-10T05:19:48.661Z] -rw-rw-r-- 1 jenkins jenkins 229 Oct 10 05:12 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-10T05:19:49.117Z] + 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=7c62755f5388df9da306739af29f645847b5ea3f --label arch=arm64 --label version=0.0.0 . [2024-10-10T05:19:49.384Z] Sending build context to Docker daemon 9.145MB [2024-10-10T05:19:49.650Z] Step 1/23 : ARG BASE=golang:1.23-alpine3.20 [2024-10-10T05:19:49.650Z] Step 2/23 : FROM ${BASE} AS builder [2024-10-10T05:19:49.650Z] ---> e06f23508496 [2024-10-10T05:19:49.650Z] Step 3/23 : ARG ADD_BUILD_TAGS="" [2024-10-10T05:19:49.650Z] ---> Running in 8bced63d9c57 [2024-10-10T05:19:49.918Z] Removing intermediate container 8bced63d9c57 [2024-10-10T05:19:49.918Z] ---> 630090f32a38 [2024-10-10T05:19:49.918Z] Step 4/23 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-10-10T05:19:49.918Z] ---> Running in 1543f96fb5e0 [2024-10-10T05:19:50.508Z] Removing intermediate container 1543f96fb5e0 [2024-10-10T05:19:50.508Z] ---> e952a5e2e28b [2024-10-10T05:19:50.508Z] Step 5/23 : RUN apk add --update --no-cache make git openssh [2024-10-10T05:19:50.508Z] ---> Running in dcbb74dff418 [2024-10-10T05:19:51.471Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-10T05:19:51.737Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-10T05:19:53.151Z] OK: 244 MiB in 62 packages [2024-10-10T05:19:54.112Z] Removing intermediate container dcbb74dff418 [2024-10-10T05:19:54.112Z] ---> 5d54cedfdd25 [2024-10-10T05:19:54.112Z] Step 6/23 : WORKDIR /device-modbus-go [2024-10-10T05:19:54.380Z] ---> Running in 51aba8ebee10 [2024-10-10T05:19:54.647Z] Removing intermediate container 51aba8ebee10 [2024-10-10T05:19:54.647Z] ---> 1389430f615d [2024-10-10T05:19:54.647Z] Step 7/23 : COPY go.mod vendor* ./ [2024-10-10T05:19:55.235Z] ---> d74dcd1f2293 [2024-10-10T05:19:55.235Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-10-10T05:19:55.235Z] ---> Running in 7f0d6742d0f4 [2024-10-10T05:19:57.813Z] Removing intermediate container 7f0d6742d0f4 [2024-10-10T05:19:57.813Z] ---> e327ae3e4c57 [2024-10-10T05:19:57.813Z] Step 9/23 : COPY . . [2024-10-10T05:19:58.771Z] ---> bf7527fbfbf1 [2024-10-10T05:19:58.772Z] Step 10/23 : RUN ${MAKE} [2024-10-10T05:19:58.772Z] ---> Running in 0a543679fed4 [2024-10-10T05:19:59.731Z] CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-modbus-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.45" -trimpath -mod=readonly -o cmd/device-modbus ./cmd [2024-10-10T05:23:21.515Z] Removing intermediate container 0a543679fed4 [2024-10-10T05:23:21.515Z] ---> e2986433830a [2024-10-10T05:23:21.515Z] Step 11/23 : FROM alpine:3.20 [2024-10-10T05:23:21.515Z] 3.20: Pulling from library/alpine [2024-10-10T05:23:21.515Z] cf04c63912e1: Already exists [2024-10-10T05:23:21.515Z] Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d [2024-10-10T05:23:21.515Z] Status: Downloaded newer image for alpine:3.20 [2024-10-10T05:23:21.515Z] ---> c157a85ed455 [2024-10-10T05:23:21.515Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2024: IoTech Ltd' [2024-10-10T05:23:21.515Z] ---> Running in d61b2729beb4 [2024-10-10T05:23:21.515Z] Removing intermediate container d61b2729beb4 [2024-10-10T05:23:21.515Z] ---> 1b7a9d197f02 [2024-10-10T05:23:21.515Z] Step 13/23 : RUN apk add --update --no-cache dumb-init [2024-10-10T05:23:21.515Z] ---> Running in c4c6da8c0cfc [2024-10-10T05:23:22.098Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-10T05:23:22.363Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-10T05:23:23.767Z] (1/1) Installing dumb-init (1.2.5-r3) [2024-10-10T05:23:23.767Z] Executing busybox-1.36.1-r29.trigger [2024-10-10T05:23:23.767Z] OK: 9 MiB in 15 packages [2024-10-10T05:23:24.726Z] Removing intermediate container c4c6da8c0cfc [2024-10-10T05:23:24.726Z] ---> 8d1319e77198 [2024-10-10T05:23:24.726Z] Step 14/23 : RUN apk --no-cache upgrade [2024-10-10T05:23:24.726Z] ---> Running in fd0e309b6f39 [2024-10-10T05:23:25.680Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-10T05:23:25.945Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-10T05:23:27.344Z] Upgrading critical system libraries and apk-tools: [2024-10-10T05:23:27.344Z] (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) [2024-10-10T05:23:27.344Z] Executing busybox-1.36.1-r29.trigger [2024-10-10T05:23:27.344Z] Continuing the upgrade transaction with new apk-tools: [2024-10-10T05:23:27.344Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-10T05:23:27.609Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-10T05:23:29.010Z] OK: 9 MiB in 15 packages [2024-10-10T05:23:29.589Z] Removing intermediate container fd0e309b6f39 [2024-10-10T05:23:29.589Z] ---> 0d43e56add3d [2024-10-10T05:23:29.589Z] Step 15/23 : COPY --from=builder /device-modbus-go/cmd / [2024-10-10T05:23:31.520Z] ---> ca5ad06aecb5 [2024-10-10T05:23:31.520Z] Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / [2024-10-10T05:23:31.790Z] ---> 34b528af875d [2024-10-10T05:23:31.790Z] Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / [2024-10-10T05:23:32.375Z] ---> 30e1406ab85f [2024-10-10T05:23:32.375Z] Step 18/23 : EXPOSE 59901 [2024-10-10T05:23:32.375Z] ---> Running in d827d244c710 [2024-10-10T05:23:32.642Z] Removing intermediate container d827d244c710 [2024-10-10T05:23:32.642Z] ---> b8962c1d55ea [2024-10-10T05:23:32.642Z] Step 19/23 : ENTRYPOINT ["/device-modbus"] [2024-10-10T05:23:32.642Z] ---> Running in 409a7754a899 [2024-10-10T05:23:32.909Z] Removing intermediate container 409a7754a899 [2024-10-10T05:23:32.909Z] ---> 38fa3771cc2c [2024-10-10T05:23:32.909Z] Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2024-10-10T05:23:33.175Z] ---> Running in fe3f09910576 [2024-10-10T05:23:33.440Z] Removing intermediate container fe3f09910576 [2024-10-10T05:23:33.440Z] ---> 64319848de66 [2024-10-10T05:23:33.440Z] Step 21/23 : LABEL arch=arm64 [2024-10-10T05:23:33.440Z] ---> Running in 1174e33362da [2024-10-10T05:23:33.706Z] Removing intermediate container 1174e33362da [2024-10-10T05:23:33.706Z] ---> 9efeca479183 [2024-10-10T05:23:33.706Z] Step 22/23 : LABEL git_sha=7c62755f5388df9da306739af29f645847b5ea3f [2024-10-10T05:23:33.706Z] ---> Running in 02d68c447fa3 [2024-10-10T05:23:33.972Z] Removing intermediate container 02d68c447fa3 [2024-10-10T05:23:33.972Z] ---> 185a9972c5d5 [2024-10-10T05:23:33.972Z] Step 23/23 : LABEL version=0.0.0 [2024-10-10T05:23:33.972Z] ---> Running in c6ba6c893443 [2024-10-10T05:23:34.237Z] Removing intermediate container c6ba6c893443 [2024-10-10T05:23:34.237Z] ---> a4ca30fdcf33 [2024-10-10T05:23:34.237Z] [Warning] One or more build-args [ARCH] were not consumed [2024-10-10T05:23:34.237Z] Successfully built a4ca30fdcf33 [2024-10-10T05:23:34.237Z] 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-10T05:23:35.401Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-10-10T05:23:35.401Z] [2024-10-10T05:23:35.401Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-10T05:23:35.823Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-10-10T05:23:35.823Z] arm64: Pulling from edgex-lftools-log-publisher [2024-10-10T05:23:35.823Z] 8998bd30e6a1: Pulling fs layer [2024-10-10T05:23:35.823Z] 04944245beec: Pulling fs layer [2024-10-10T05:23:35.823Z] 699f458cf7ca: Pulling fs layer [2024-10-10T05:23:35.823Z] 765212b225bb: Pulling fs layer [2024-10-10T05:23:35.823Z] f23df028b6ca: Pulling fs layer [2024-10-10T05:23:35.823Z] d65c8cfc05b1: Pulling fs layer [2024-10-10T05:23:35.823Z] 2437ff75d9bd: Pulling fs layer [2024-10-10T05:23:35.823Z] f23df028b6ca: Waiting [2024-10-10T05:23:35.823Z] 765212b225bb: Waiting [2024-10-10T05:23:35.823Z] d65c8cfc05b1: Waiting [2024-10-10T05:23:35.823Z] 2437ff75d9bd: Waiting [2024-10-10T05:23:36.091Z] 04944245beec: Verifying Checksum [2024-10-10T05:23:36.091Z] 04944245beec: Download complete [2024-10-10T05:23:36.091Z] 765212b225bb: Verifying Checksum [2024-10-10T05:23:36.091Z] 765212b225bb: Download complete [2024-10-10T05:23:36.091Z] f23df028b6ca: Verifying Checksum [2024-10-10T05:23:36.091Z] f23df028b6ca: Download complete [2024-10-10T05:23:36.091Z] d65c8cfc05b1: Verifying Checksum [2024-10-10T05:23:36.091Z] d65c8cfc05b1: Download complete [2024-10-10T05:23:36.091Z] 699f458cf7ca: Verifying Checksum [2024-10-10T05:23:36.091Z] 699f458cf7ca: Download complete [2024-10-10T05:23:36.670Z] 8998bd30e6a1: Verifying Checksum [2024-10-10T05:23:36.670Z] 8998bd30e6a1: Download complete [2024-10-10T05:23:39.251Z] 2437ff75d9bd: Verifying Checksum [2024-10-10T05:23:39.251Z] 2437ff75d9bd: Download complete [2024-10-10T05:23:41.196Z] 8998bd30e6a1: Pull complete [2024-10-10T05:23:41.775Z] 04944245beec: Pull complete [2024-10-10T05:23:43.180Z] 699f458cf7ca: Pull complete [2024-10-10T05:23:43.447Z] 765212b225bb: Pull complete [2024-10-10T05:23:44.401Z] f23df028b6ca: Pull complete [2024-10-10T05:23:44.401Z] d65c8cfc05b1: Pull complete [2024-10-10T05:24:02.600Z] 2437ff75d9bd: Pull complete [2024-10-10T05:24:02.600Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-10-10T05:24:02.600Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-10-10T05:24:02.600Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-10T05:24:02.960Z] prd-ubuntu20.04-docker-arm64-4c-16g-22405 does not seem to be running inside a container [2024-10-10T05:24:03.020Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2024-10-10T05:24:05.665Z] $ docker top d72ca1971e6572556be683662e606796ea6e2571df9662ade4f64cf706baf5cd -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-10T05:24:06.601Z] ---> job-cost.sh [2024-10-10T05:24:06.601Z] lf-activate-venv: SKIPPING [2024-10-10T05:24:06.601Z] INFO: No Stack... [2024-10-10T05:24:06.866Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-10-10T05:24:07.819Z] INFO: Archiving Costs [Pipeline] sh [2024-10-10T05:24:08.483Z] + cat /w/workspace/device-modbus-go/1/archives/cost.csv [2024-10-10T05:24:08.483Z] + cut -d, -f6 [Pipeline] lock [2024-10-10T05:24:08.571Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-modbus-go-PR-580-1-stack-cost] [2024-10-10T05:24:08.578Z] Resource [jenkins-edgexfoundry-device-modbus-go-PR-580-1-stack-cost] did not exist. Created. [2024-10-10T05:24:08.585Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-modbus-go-PR-580-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-10-10T05:24:09.023Z] /w/workspace/device-modbus-go/1@tmp/durable-177ade78/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-10-10T05:24:09.706Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-10-10T05:24:09.749Z] Warning: overwriting stash ‘stack-cost’ [2024-10-10T05:24:09.796Z] Stashed 1 file(s) [Pipeline] } [2024-10-10T05:24:09.818Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-modbus-go-PR-580-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-10-10T05:24:09.898Z] $ docker stop --time=1 d72ca1971e6572556be683662e606796ea6e2571df9662ade4f64cf706baf5cd [2024-10-10T05:24:11.409Z] $ docker rm -f --volumes d72ca1971e6572556be683662e606796ea6e2571df9662ade4f64cf706baf5cd [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-10T05:24:12.585Z] provisioning config files... [2024-10-10T05:24:12.594Z] copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-580@tmp/config16337283853780042661tmp [Pipeline] { [Pipeline] sh [2024-10-10T05:24:12.948Z] + set +x [2024-10-10T05:24:12.948Z] + curl -s https://codecov.io/bash [2024-10-10T05:24:12.948Z] + bash -s -- [2024-10-10T05:24:12.948Z] [2024-10-10T05:24:12.948Z] _____ _ [2024-10-10T05:24:12.948Z] / ____| | | [2024-10-10T05:24:12.948Z] | | ___ __| | ___ ___ _____ __ [2024-10-10T05:24:12.948Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2024-10-10T05:24:12.948Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2024-10-10T05:24:12.948Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2024-10-10T05:24:12.948Z] Bash-1.0.6 [2024-10-10T05:24:12.948Z] [2024-10-10T05:24:12.948Z] [2024-10-10T05:24:12.948Z] ==> git version 2.25.1 found [2024-10-10T05:24:12.948Z] ==> 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-10T05:24:12.948Z] Release-Date: 2020-01-08 [2024-10-10T05:24:12.948Z] 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-10T05:24:12.948Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2024-10-10T05:24:12.948Z] ==> Jenkins CI detected. [2024-10-10T05:24:12.948Z] current dir:  /w/workspace/xfoundry_device-modbus-go_PR-580 [2024-10-10T05:24:12.948Z] project root: . [2024-10-10T05:24:12.948Z] --> token set from env [2024-10-10T05:24:12.948Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2024-10-10T05:24:12.948Z] ==> Running gcov in . (disable via -X gcov) [2024-10-10T05:24:12.948Z] ==> Python coveragepy not found [2024-10-10T05:24:12.948Z] ==> Searching for coverage reports in: [2024-10-10T05:24:12.948Z] + . [2024-10-10T05:24:13.210Z] -> Found 1 reports [2024-10-10T05:24:13.211Z] ==> Detecting git/mercurial file structure [2024-10-10T05:24:13.211Z] ==> Reading reports [2024-10-10T05:24:13.211Z] + ./coverage.out bytes=24669 [2024-10-10T05:24:13.211Z] ==> Appending adjustments [2024-10-10T05:24:13.211Z] https://docs.codecov.io/docs/fixing-reports [2024-10-10T05:24:13.211Z] + Found adjustments [2024-10-10T05:24:13.211Z] ==> Gzipping contents [2024-10-10T05:24:13.211Z] 4.0K /tmp/codecov.tVwbKl.gz [2024-10-10T05:24:13.211Z] ==> Uploading reports [2024-10-10T05:24:13.211Z] url: https://codecov.io [2024-10-10T05:24:13.211Z] query: branch=PR-580&commit=7c62755f5388df9da306739af29f645847b5ea3f&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-580%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=580&job=&cmd_args= [2024-10-10T05:24:13.211Z] -> Pinging Codecov [2024-10-10T05:24:13.211Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-580&commit=7c62755f5388df9da306739af29f645847b5ea3f&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-580%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=580&job=&cmd_args= [2024-10-10T05:24:13.550Z] -> Uploading to [2024-10-10T05:24:13.550Z] https://storage.googleapis.com/codecov/shelter/v4/github/edgexfoundry/device-modbus-go/7c62755f5388df9da306739af29f645847b5ea3f/65c59bc7-97e8-4213-9842-506fd130146d.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20241010%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20241010T052413Z&X-Amz-Expires=30&X-Amz-SignedHeaders=host&X-Amz-Signature=a0e52c4b35746e76b5763bcd7d7d07f3495b2ff12920d5c11974ff4ebb1fe916 [2024-10-10T05:24:13.550Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-10-10T05:24:13.550Z] Dload Upload Total Spent Left Speed [2024-10-10T05:24:13.845Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3859 0 0 100 3859 0 18642 --:--:-- --:--:-- --:--:-- 18642 100 3859 0 0 100 3859 0 16421 --:--:-- --:--:-- --:--:-- 16351 [2024-10-10T05:24:13.845Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/7c62755f5388df9da306739af29f645847b5ea3f [Pipeline] } [2024-10-10T05:24:13.890Z] 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-10T05:24:16.161Z] + [ -d /w/workspace/xfoundry_device-modbus-go_PR-580/archives ] [2024-10-10T05:24:16.162Z] + ls -al /w/workspace/xfoundry_device-modbus-go_PR-580/archives [2024-10-10T05:24:16.162Z] total 16 [2024-10-10T05:24:16.162Z] drwxr-xr-x 3 root root 4096 Oct 10 05:13 . [2024-10-10T05:24:16.162Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 10 05:13 .. [2024-10-10T05:24:16.162Z] drwxr-xr-x 2 root root 4096 Oct 10 05:13 cost [2024-10-10T05:24:16.162Z] -rw-r--r-- 1 root root 88 Oct 10 05:13 cost.csv [2024-10-10T05:24:16.162Z] + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-580/archives [2024-10-10T05:24:16.162Z] + ls -al /w/workspace/xfoundry_device-modbus-go_PR-580/archives [2024-10-10T05:24:16.162Z] total 16 [2024-10-10T05:24:16.162Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 10 05:13 . [2024-10-10T05:24:16.162Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 10 05:13 .. [2024-10-10T05:24:16.162Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 10 05:13 cost [2024-10-10T05:24:16.162Z] -rw-r--r-- 1 jenkins jenkins 88 Oct 10 05:13 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-10-10T05:24:16.518Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-10T05:24:17.424Z] ---> package-listing.sh [2024-10-10T05:24:17.424Z] ++ facter osfamily [2024-10-10T05:24:17.424Z] ++ tr '[:upper:]' '[:lower:]' [2024-10-10T05:24:17.684Z] + OS_FAMILY=debian [2024-10-10T05:24:17.684Z] + workspace=/w/workspace/xfoundry_device-modbus-go_PR-580 [2024-10-10T05:24:17.684Z] + START_PACKAGES=/tmp/packages_start.txt [2024-10-10T05:24:17.684Z] + END_PACKAGES=/tmp/packages_end.txt [2024-10-10T05:24:17.684Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-10-10T05:24:17.684Z] + PACKAGES=/tmp/packages_start.txt [2024-10-10T05:24:17.684Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-580 ']' [2024-10-10T05:24:17.684Z] + PACKAGES=/tmp/packages_end.txt [2024-10-10T05:24:17.684Z] + case "${OS_FAMILY}" in [2024-10-10T05:24:17.684Z] + dpkg -l [2024-10-10T05:24:17.684Z] + grep '^ii' [2024-10-10T05:24:17.684Z] + '[' -f /tmp/packages_start.txt ']' [2024-10-10T05:24:17.684Z] + '[' -f /tmp/packages_end.txt ']' [2024-10-10T05:24:17.684Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-10-10T05:24:17.684Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-580 ']' [2024-10-10T05:24:17.684Z] + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-580/archives/ [2024-10-10T05:24:17.684Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-580/archives/ [Pipeline] echo [2024-10-10T05:24:17.722Z] 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-580/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-10-10T05:24:18.025Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-10T05:24:18.674Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-10T05:24:18.674Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-10T05:24:18.840Z] prd-ubuntu20.04-docker-8c-8g-22404 does not seem to be running inside a container [2024-10-10T05:24:18.874Z] $ 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-580/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-580 -v /w/workspace/xfoundry_device-modbus-go_PR-580:/w/workspace/xfoundry_device-modbus-go_PR-580:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-580@tmp:/w/workspace/xfoundry_device-modbus-go_PR-580@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-10-10T05:24:19.047Z] $ docker top 6ced4e6538a98973d1efaf4b79a7b9935edd26ad7e6db55bae4ea9c3256219e7 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-10T05:24:19.450Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-10-10T05:24:19.769Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-10-10T05:24:20.092Z] + ls /var/log/sa-host [2024-10-10T05:24:20.092Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-10-10T05:24:20.354Z] provisioning config files... [2024-10-10T05:24:20.364Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-580@tmp/config10982245881844445678tmp [Pipeline] { [Pipeline] echo [2024-10-10T05:24:20.437Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-10T05:24:20.758Z] ---> create-netrc.sh [Pipeline] } [2024-10-10T05:24:20.786Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-10-10T05:24:21.216Z] ---> python-tools-install.sh [Pipeline] echo [2024-10-10T05:24:21.256Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-10T05:24:21.584Z] ---> sudo-logs.sh [2024-10-10T05:24:21.584Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-10-10T05:24:21.692Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-10T05:24:22.019Z] ---> job-cost.sh [2024-10-10T05:24:22.019Z] lf-activate-venv: SKIPPING [2024-10-10T05:24:22.019Z] DEBUG: total: 0.2199999988079071 [2024-10-10T05:24:22.019Z] INFO: Retrieving Stack Cost... [2024-10-10T05:24:22.588Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-10-10T05:24:22.850Z] INFO: Archiving Costs [Pipeline] echo [2024-10-10T05:24:22.891Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-10T05:24:23.220Z] ---> logs-deploy.sh [2024-10-10T05:24:23.220Z] lf-activate-venv: SKIPPING [2024-10-10T05:24:23.220Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-580/1 [2024-10-10T05:24:23.220Z] INFO: archiving workspace using pattern(s): [2024-10-10T05:24:24.162Z] Archives upload complete. [2024-10-10T05:24:24.162Z] INFO: archiving logs to Nexus