Pull request #577 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of jinlinGuan for edgexfoundry/device-modbus-go Obtained Jenkinsfile from 740c30d7b950d417d20c8a92a82ead1f4c53b564+a3ee41877b048388e7c3cdab8b1927d49f235cab (7089e6d87638deb03883baa1dde409943b4e1ed8) 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-ssh9614883182321721515.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-ssh18122252512115327523.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-577/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-577/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7674730572697313840.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-577/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5786078875960960585.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-ssh11820369144923291104.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-577/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-577/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh3464458698362273473.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 0b81fa10a7dd14683a964f04f411324fe83f93ac Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-modbus-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-modbus-go-settings PROJECT: device-modbus-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.23 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-modbus DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-15717 in /w/workspace/xfoundry_device-modbus-go_PR-577 [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-577 # 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/577/head:refs/remotes/origin/PR-577 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit a3ee41877b048388e7c3cdab8b1927d49f235cab into PR head commit 740c30d7b950d417d20c8a92a82ead1f4c53b564 Merge succeeded, producing 740c30d7b950d417d20c8a92a82ead1f4c53b564 Checking out Revision 740c30d7b950d417d20c8a92a82ead1f4c53b564 (PR-577) > git config core.sparsecheckout # timeout=10 > git checkout -f 740c30d7b950d417d20c8a92a82ead1f4c53b564 # 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 a3ee41877b048388e7c3cdab8b1927d49f235cab # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 740c30d7b950d417d20c8a92a82ead1f4c53b564 # timeout=10 Commit message: "build: Upgrade to go-1.23, Linter1.61.0 and Alpine 3.20" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 0b81fa10a7dd14683a964f04f411324fe83f93ac [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-10-04T06:37:34.631Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-10-04T06:37:34.861Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-10-04T06:37:34.992Z] ========================================================= [2024-10-04T06:37:34.992Z] EdgeX Global Pipelines Version Info [2024-10-04T06:37:34.992Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-10-04T06:37:35.760Z] ------------------- [2024-10-04T06:37:35.760Z] stable info: [2024-10-04T06:37:35.760Z] ------------------- [2024-10-04T06:37:35.760Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-10-04T06:37:35.760Z] Commit SHA: 0b81fa10a7dd14683a964f04f411324fe83f93ac [2024-10-04T06:37:35.760Z] Message: update stable to v1.0.265 [2024-10-04T06:37:36.330Z] ------------------- [2024-10-04T06:37:36.330Z] experimental info: [2024-10-04T06:37:36.330Z] ------------------- [2024-10-04T06:37:36.330Z] Commited By: Cherry Wang cherry@iotechsys.com [2024-10-04T06:37:36.330Z] Commit SHA: b5a5e52272fc4198cf3754284eedf36dbf0baa35 [2024-10-04T06:37:36.330Z] Message: update experimental to v1.0.264 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-10-04T06:37:36.522Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo [2024-10-04T06:37:36.580Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo [2024-10-04T06:37:36.635Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-10-04T06:37:36.693Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-10-04T06:37:36.747Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-10-04T06:37:36.802Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo [2024-10-04T06:37:36.857Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-10-04T06:37:36.915Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2024-10-04T06:37:36.969Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-10-04T06:37:37.029Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-10-04T06:37:37.090Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-10-04T06:37:37.148Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo [2024-10-04T06:37:37.205Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-10-04T06:37:37.267Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-10-04T06:37:37.326Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-10-04T06:37:37.382Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2024-10-04T06:37:37.439Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-10-04T06:37:37.503Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-10-04T06:37:37.565Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-10-04T06:37:37.622Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-10-04T06:37:37.675Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2024-10-04T06:37:37.732Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2024-10-04T06:37:37.790Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-10-04T06:37:37.849Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-10-04T06:37:37.906Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-10-04T06:37:37.965Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-10-04T06:37:38.028Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-10-04T06:37:38.088Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-577 [Pipeline] echo [2024-10-04T06:37:38.144Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-577 [Pipeline] echo [2024-10-04T06:37:38.203Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-577 [Pipeline] echo [2024-10-04T06:37:38.265Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 740c30d7b950d417d20c8a92a82ead1f4c53b564 [Pipeline] echo [2024-10-04T06:37:38.324Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 740c30d [Pipeline] echo [2024-10-04T06:37:38.379Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-10-04T06:37:38.533Z] provisioning config files... [2024-10-04T06:37:38.549Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-577@tmp/config8307807926376741164tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-04T06:37:38.946Z] ---> ****-login.sh [2024-10-04T06:37:38.946Z] nexus3.edgexfoundry.org:10001 [2024-10-04T06:37:39.205Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-04T06:37:39.206Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-04T06:37:39.206Z] Configure a credential helper to remove this warning. See [2024-10-04T06:37:39.206Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-04T06:37:39.206Z] [2024-10-04T06:37:39.206Z] Login Succeeded [2024-10-04T06:37:39.206Z] nexus3.edgexfoundry.org:10002 [2024-10-04T06:37:39.206Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-04T06:37:39.206Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-04T06:37:39.206Z] Configure a credential helper to remove this warning. See [2024-10-04T06:37:39.206Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-04T06:37:39.206Z] [2024-10-04T06:37:39.206Z] Login Succeeded [2024-10-04T06:37:39.206Z] nexus3.edgexfoundry.org:10003 [2024-10-04T06:37:39.465Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-04T06:37:39.465Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-04T06:37:39.465Z] Configure a credential helper to remove this warning. See [2024-10-04T06:37:39.465Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-04T06:37:39.465Z] [2024-10-04T06:37:39.465Z] Login Succeeded [2024-10-04T06:37:39.465Z] nexus3.edgexfoundry.org:10004 [2024-10-04T06:37:39.465Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-04T06:37:39.465Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-04T06:37:39.465Z] Configure a credential helper to remove this warning. See [2024-10-04T06:37:39.465Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-04T06:37:39.465Z] [2024-10-04T06:37:39.465Z] Login Succeeded [2024-10-04T06:37:39.465Z] ****.io [2024-10-04T06:37:39.725Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-04T06:37:39.726Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-04T06:37:39.726Z] Configure a credential helper to remove this warning. See [2024-10-04T06:37:39.726Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-04T06:37:39.726Z] [2024-10-04T06:37:39.726Z] Login Succeeded [2024-10-04T06:37:39.726Z] ---> ****-login.sh ends [Pipeline] } [2024-10-04T06:37:39.762Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-10-04T06:37:40.450Z] + git rev-list -1 --merges 740c30d7b950d417d20c8a92a82ead1f4c53b564~1..740c30d7b950d417d20c8a92a82ead1f4c53b564 [Pipeline] echo [2024-10-04T06:37:40.501Z] -----------> git rev-list -1 --merges 740c30d7b950d417d20c8a92a82ead1f4c53b564~1..740c30d7b950d417d20c8a92a82ead1f4c53b564 740c30d7b950d417d20c8a92a82ead1f4c53b564 [false] [Pipeline] sh [2024-10-04T06:37:40.820Z] + git log --format=format:%s -1 740c30d7b950d417d20c8a92a82ead1f4c53b564 [Pipeline] echo [2024-10-04T06:37:40.862Z] ========================================================= [2024-10-04T06:37:40.862Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-10-04T06:37:40.862Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-10-04T06:37:41.323Z] + git log --format=format:%s -1 740c30d7b950d417d20c8a92a82ead1f4c53b564 [Pipeline] echo [2024-10-04T06:37:41.368Z] [semverPrep] GIT_COMMIT: 740c30d7b950d417d20c8a92a82ead1f4c53b564, Commit Message: build: Upgrade to go-1.23, Linter1.61.0 and Alpine 3.20 [Pipeline] echo [2024-10-04T06:37:41.414Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-10-04T06:37:41.819Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-10-04T06:37:41.819Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-10-04T06:37:41.819Z] + [ -e /tmp/ssh_known_hosts ] [2024-10-04T06:37:41.819Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-10-04T06:37:41.819Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-10-04T06:37:41.819Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2024-10-04T06:37:41.819Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-04T06:37:42.277Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-10-04T06:37:42.277Z] [2024-10-04T06:37:42.277Z] 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-04T06:37:42.677Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-10-04T06:37:42.677Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-10-04T06:37:42.677Z] b85a868b505f: Pulling fs layer [2024-10-04T06:37:42.677Z] e2be974225ed: Pulling fs layer [2024-10-04T06:37:42.677Z] 339a4e72a1f5: Pulling fs layer [2024-10-04T06:37:42.677Z] 988bab9f4d93: Pulling fs layer [2024-10-04T06:37:42.677Z] 1469e6f7b9e6: Pulling fs layer [2024-10-04T06:37:42.677Z] eaf3925da568: Pulling fs layer [2024-10-04T06:37:42.677Z] bab4dde63d76: Pulling fs layer [2024-10-04T06:37:42.677Z] bde34c3a00c8: Pulling fs layer [2024-10-04T06:37:42.677Z] b352a97aabf1: Pulling fs layer [2024-10-04T06:37:42.677Z] 4872d77fe225: Pulling fs layer [2024-10-04T06:37:42.677Z] 5851b861e8e6: Pulling fs layer [2024-10-04T06:37:42.677Z] bab4dde63d76: Waiting [2024-10-04T06:37:42.677Z] 4872d77fe225: Waiting [2024-10-04T06:37:42.677Z] bde34c3a00c8: Waiting [2024-10-04T06:37:42.677Z] b352a97aabf1: Waiting [2024-10-04T06:37:42.677Z] 5851b861e8e6: Waiting [2024-10-04T06:37:42.677Z] 988bab9f4d93: Waiting [2024-10-04T06:37:42.677Z] 1469e6f7b9e6: Waiting [2024-10-04T06:37:42.677Z] e2be974225ed: Verifying Checksum [2024-10-04T06:37:42.677Z] e2be974225ed: Download complete [2024-10-04T06:37:42.677Z] 988bab9f4d93: Verifying Checksum [2024-10-04T06:37:42.677Z] 988bab9f4d93: Download complete [2024-10-04T06:37:42.677Z] 1469e6f7b9e6: Verifying Checksum [2024-10-04T06:37:42.677Z] 1469e6f7b9e6: Download complete [2024-10-04T06:37:42.937Z] eaf3925da568: Download complete [2024-10-04T06:37:42.937Z] 339a4e72a1f5: Verifying Checksum [2024-10-04T06:37:42.937Z] 339a4e72a1f5: Download complete [2024-10-04T06:37:42.937Z] bde34c3a00c8: Verifying Checksum [2024-10-04T06:37:42.937Z] bde34c3a00c8: Download complete [2024-10-04T06:37:42.937Z] b352a97aabf1: Verifying Checksum [2024-10-04T06:37:42.937Z] b352a97aabf1: Download complete [2024-10-04T06:37:42.937Z] 4872d77fe225: Verifying Checksum [2024-10-04T06:37:42.937Z] 4872d77fe225: Download complete [2024-10-04T06:37:42.937Z] 5851b861e8e6: Verifying Checksum [2024-10-04T06:37:42.937Z] 5851b861e8e6: Download complete [2024-10-04T06:37:42.937Z] b85a868b505f: Download complete [2024-10-04T06:37:43.195Z] bab4dde63d76: Verifying Checksum [2024-10-04T06:37:43.195Z] bab4dde63d76: Download complete [2024-10-04T06:37:44.575Z] b85a868b505f: Pull complete [2024-10-04T06:37:44.575Z] e2be974225ed: Pull complete [2024-10-04T06:37:44.836Z] 339a4e72a1f5: Pull complete [2024-10-04T06:37:45.099Z] 988bab9f4d93: Pull complete [2024-10-04T06:37:45.358Z] 1469e6f7b9e6: Pull complete [2024-10-04T06:37:45.358Z] eaf3925da568: Pull complete [2024-10-04T06:37:47.266Z] bab4dde63d76: Pull complete [2024-10-04T06:37:47.266Z] bde34c3a00c8: Pull complete [2024-10-04T06:37:47.526Z] b352a97aabf1: Pull complete [2024-10-04T06:37:47.526Z] 4872d77fe225: Pull complete [2024-10-04T06:37:47.526Z] 5851b861e8e6: Pull complete [2024-10-04T06:37:47.526Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-10-04T06:37:47.526Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-10-04T06:37:47.526Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-04T06:37:47.835Z] prd-ubuntu20.04-docker-8c-8g-15717 does not seem to be running inside a container [2024-10-04T06:37:47.866Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-577 -v /w/workspace/xfoundry_device-modbus-go_PR-577:/w/workspace/xfoundry_device-modbus-go_PR-577:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-577@tmp:/w/workspace/xfoundry_device-modbus-go_PR-577@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-devops/py-git-semver:0.1.4 cat [2024-10-04T06:37:51.026Z] $ docker top f72e4e0e8ec0155bf37533451f8d5859abc52f4401954dc2cb6ebf55a18a1bd1 -eo pid,comm [2024-10-04T06:37:51.080Z] 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-04T06:37:51.080Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-10-04T06:37:51.233Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-10-04T06:37:51.233Z] [ssh-agent] Looking for ssh-agent implementation... [2024-10-04T06:37:51.378Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-10-04T06:37:51.380Z] $ docker exec f72e4e0e8ec0155bf37533451f8d5859abc52f4401954dc2cb6ebf55a18a1bd1 ssh-agent [2024-10-04T06:37:51.495Z] SSH_AUTH_SOCK=/tmp/ssh-RqyFuIFCzlCJ/agent.31 [2024-10-04T06:37:51.495Z] SSH_AGENT_PID=37 [2024-10-04T06:37:51.502Z] Running ssh-add (command line suppressed) [2024-10-04T06:37:51.608Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-577@tmp/private_key_12280260292266209486.key (/w/workspace/xfoundry_device-modbus-go_PR-577@tmp/private_key_12280260292266209486.key) [2024-10-04T06:37:51.621Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-10-04T06:37:51.967Z] + git tag --points-at HEAD [Pipeline] } [2024-10-04T06:37:51.993Z] $ docker exec --env ******** --env ******** f72e4e0e8ec0155bf37533451f8d5859abc52f4401954dc2cb6ebf55a18a1bd1 ssh-agent -k [2024-10-04T06:37:52.111Z] unset SSH_AUTH_SOCK; [2024-10-04T06:37:52.111Z] unset SSH_AGENT_PID; [2024-10-04T06:37:52.112Z] echo Agent pid 37 killed; [2024-10-04T06:37:52.122Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-10-04T06:37:52.229Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-10-04T06:37:52.229Z] [ssh-agent] Looking for ssh-agent implementation... [2024-10-04T06:37:52.340Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-10-04T06:37:52.342Z] $ docker exec f72e4e0e8ec0155bf37533451f8d5859abc52f4401954dc2cb6ebf55a18a1bd1 ssh-agent [2024-10-04T06:37:52.443Z] SSH_AUTH_SOCK=/tmp/ssh-f5ZPfuLYb34r/agent.70 [2024-10-04T06:37:52.443Z] SSH_AGENT_PID=76 [2024-10-04T06:37:52.448Z] Running ssh-add (command line suppressed) [2024-10-04T06:37:52.555Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-577@tmp/private_key_12590731902840848286.key (/w/workspace/xfoundry_device-modbus-go_PR-577@tmp/private_key_12590731902840848286.key) [2024-10-04T06:37:52.568Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-10-04T06:37:52.909Z] + git semver init [2024-10-04T06:37:53.169Z] 2024-10-04 06:37:53,111 [run_init] DEBUG init version:0.0.0 force:False [2024-10-04T06:37:53.169Z] 2024-10-04 06:37:53,112 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-modbus-go_PR-577/.semver [2024-10-04T06:37:53.169Z] 2024-10-04 06:37:53,112 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/xfoundry_device-modbus-go_PR-577/.semver [2024-10-04T06:37:53.169Z] 2024-10-04 06:37:53,112 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/xfoundry_device-modbus-go_PR-577/.semver'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-577, universal_newlines=False, shell=None, istream=None) [2024-10-04T06:37:54.552Z] 2024-10-04 06:37:54,125 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-modbus-go_PR-577/.git/info/exclude [2024-10-04T06:37:54.552Z] 2024-10-04 06:37:54,126 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-modbus-go_PR-577/.semver/PR-577 with force:False [2024-10-04T06:37:54.552Z] 2024-10-04 06:37:54,126 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-modbus-go_PR-577/.semver/PR-577 [2024-10-04T06:37:54.552Z] 2024-10-04 06:37:54,131 [execute] INFO git cat-file --batch-check [2024-10-04T06:37:54.552Z] 2024-10-04 06:37:54,132 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-577/.semver, universal_newlines=False, shell=None, istream=) [2024-10-04T06:37:54.552Z] 2024-10-04 06:37:54,138 [execute] INFO git cat-file --batch [2024-10-04T06:37:54.552Z] 2024-10-04 06:37:54,138 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-577/.semver, universal_newlines=False, shell=None, istream=) [2024-10-04T06:37:54.552Z] 2024-10-04 06:37:54,143 [read_version] DEBUG read version from /w/workspace/xfoundry_device-modbus-go_PR-577/.semver/PR-577 [2024-10-04T06:37:54.552Z] 0.0.0 [Pipeline] } [2024-10-04T06:37:54.578Z] $ docker exec --env ******** --env ******** f72e4e0e8ec0155bf37533451f8d5859abc52f4401954dc2cb6ebf55a18a1bd1 ssh-agent -k [2024-10-04T06:37:54.675Z] unset SSH_AUTH_SOCK; [2024-10-04T06:37:54.676Z] unset SSH_AGENT_PID; [2024-10-04T06:37:54.676Z] echo Agent pid 76 killed; [2024-10-04T06:37:54.686Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-10-04T06:37:55.152Z] + git semver [Pipeline] } [2024-10-04T06:37:55.440Z] $ docker stop --time=1 f72e4e0e8ec0155bf37533451f8d5859abc52f4401954dc2cb6ebf55a18a1bd1 [2024-10-04T06:37:56.754Z] $ docker rm -f --volumes f72e4e0e8ec0155bf37533451f8d5859abc52f4401954dc2cb6ebf55a18a1bd1 [Pipeline] // withDockerContainer [Pipeline] sh [2024-10-04T06:37:57.169Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-10-04T06:37:57.475Z] Stashed 1 file(s) [Pipeline] echo [2024-10-04T06:37:57.499Z] [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-04T06:37:58.240Z] provisioning config files... [2024-10-04T06:37:58.250Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-577@tmp/config10963663042064942942tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-04T06:37:58.666Z] ---> ****-login.sh [2024-10-04T06:37:58.666Z] nexus3.edgexfoundry.org:10001 [2024-10-04T06:37:58.666Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-04T06:37:58.666Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-04T06:37:58.666Z] Configure a credential helper to remove this warning. See [2024-10-04T06:37:58.666Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-04T06:37:58.666Z] [2024-10-04T06:37:58.666Z] Login Succeeded [2024-10-04T06:37:58.666Z] nexus3.edgexfoundry.org:10002 [2024-10-04T06:37:58.666Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-04T06:37:58.666Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-04T06:37:58.666Z] Configure a credential helper to remove this warning. See [2024-10-04T06:37:58.666Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-04T06:37:58.666Z] [2024-10-04T06:37:58.666Z] Login Succeeded [2024-10-04T06:37:58.666Z] nexus3.edgexfoundry.org:10003 [2024-10-04T06:37:58.926Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-04T06:37:58.926Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-04T06:37:58.926Z] Configure a credential helper to remove this warning. See [2024-10-04T06:37:58.926Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-04T06:37:58.926Z] [2024-10-04T06:37:58.926Z] Login Succeeded [2024-10-04T06:37:58.926Z] nexus3.edgexfoundry.org:10004 [2024-10-04T06:37:58.926Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-04T06:37:58.926Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-04T06:37:58.926Z] Configure a credential helper to remove this warning. See [2024-10-04T06:37:58.927Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-04T06:37:58.927Z] [2024-10-04T06:37:58.927Z] Login Succeeded [2024-10-04T06:37:58.927Z] ****.io [2024-10-04T06:37:59.186Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-04T06:37:59.186Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-04T06:37:59.186Z] Configure a credential helper to remove this warning. See [2024-10-04T06:37:59.186Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-04T06:37:59.186Z] [2024-10-04T06:37:59.186Z] Login Succeeded [2024-10-04T06:37:59.186Z] ---> ****-login.sh ends [Pipeline] } [2024-10-04T06:37:59.226Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-10-04T06:37:59.451Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-04T06:37:59.500Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-04T06:37:59.542Z] ========================================================= [2024-10-04T06:37:59.542Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] [2024-10-04T06:37:59.542Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-04T06:38:00.055Z] + 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-04T06:38:00.055Z] Sending build context to Docker daemon 17.94MB [2024-10-04T06:38:00.055Z] Step 1/10 : ARG BASE=golang:1.23-alpine3.20 [2024-10-04T06:38:00.055Z] Step 2/10 : FROM ${BASE} AS builder [2024-10-04T06:38:00.315Z] 1.23-alpine: Pulling from edgex-devops/edgex-golang-base [2024-10-04T06:38:00.315Z] 43c4264eed91: Pulling fs layer [2024-10-04T06:38:00.315Z] 4cc291be95ef: Pulling fs layer [2024-10-04T06:38:00.315Z] 2ac1f1163629: Pulling fs layer [2024-10-04T06:38:00.315Z] 5c3c966382ef: Pulling fs layer [2024-10-04T06:38:00.315Z] 4f4fb700ef54: Pulling fs layer [2024-10-04T06:38:00.315Z] 5d5c8e513c77: Pulling fs layer [2024-10-04T06:38:00.315Z] 9f66e0745190: Pulling fs layer [2024-10-04T06:38:00.315Z] f49a43e4bbc0: Pulling fs layer [2024-10-04T06:38:00.315Z] 561ebcabdf7f: Pulling fs layer [2024-10-04T06:38:00.315Z] 4f4fb700ef54: Waiting [2024-10-04T06:38:00.315Z] 5c3c966382ef: Waiting [2024-10-04T06:38:00.315Z] 5d5c8e513c77: Waiting [2024-10-04T06:38:00.315Z] 9f66e0745190: Waiting [2024-10-04T06:38:00.315Z] 561ebcabdf7f: Waiting [2024-10-04T06:38:00.315Z] f49a43e4bbc0: Waiting [2024-10-04T06:38:00.315Z] 4cc291be95ef: Verifying Checksum [2024-10-04T06:38:00.315Z] 4cc291be95ef: Download complete [2024-10-04T06:38:00.315Z] 5c3c966382ef: Download complete [2024-10-04T06:38:00.315Z] 4f4fb700ef54: Verifying Checksum [2024-10-04T06:38:00.315Z] 4f4fb700ef54: Download complete [2024-10-04T06:38:00.315Z] 5d5c8e513c77: Verifying Checksum [2024-10-04T06:38:00.315Z] 5d5c8e513c77: Download complete [2024-10-04T06:38:00.315Z] 43c4264eed91: Verifying Checksum [2024-10-04T06:38:00.315Z] 43c4264eed91: Download complete [2024-10-04T06:38:00.315Z] 9f66e0745190: Verifying Checksum [2024-10-04T06:38:00.315Z] 9f66e0745190: Download complete [2024-10-04T06:38:00.574Z] 43c4264eed91: Pull complete [2024-10-04T06:38:00.574Z] 561ebcabdf7f: Download complete [2024-10-04T06:38:00.574Z] 4cc291be95ef: Pull complete [2024-10-04T06:38:00.833Z] 2ac1f1163629: Verifying Checksum [2024-10-04T06:38:00.833Z] 2ac1f1163629: Download complete [2024-10-04T06:38:01.092Z] f49a43e4bbc0: Verifying Checksum [2024-10-04T06:38:01.092Z] f49a43e4bbc0: Download complete [2024-10-04T06:38:05.299Z] 2ac1f1163629: Pull complete [2024-10-04T06:38:05.299Z] 5c3c966382ef: Pull complete [2024-10-04T06:38:05.299Z] 4f4fb700ef54: Pull complete [2024-10-04T06:38:05.299Z] 5d5c8e513c77: Pull complete [2024-10-04T06:38:05.299Z] 9f66e0745190: Pull complete [2024-10-04T06:38:07.832Z] f49a43e4bbc0: Pull complete [2024-10-04T06:38:07.833Z] 561ebcabdf7f: Pull complete [2024-10-04T06:38:07.833Z] Digest: sha256:0719486ae9a24b675ee3acaa2cfd867e7a981f2ef22b41d166c62d936fe8de2d [2024-10-04T06:38:07.833Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine [2024-10-04T06:38:07.833Z] ---> 3a752c3f9dda [2024-10-04T06:38:07.833Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2024-10-04T06:38:12.058Z] ---> Running in 01babee5bcd9 [2024-10-04T06:38:12.058Z] Removing intermediate container 01babee5bcd9 [2024-10-04T06:38:12.058Z] ---> e51751a0dd65 [2024-10-04T06:38:12.058Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-10-04T06:38:12.058Z] ---> Running in a3b62d7f84dc [2024-10-04T06:38:12.058Z] Removing intermediate container a3b62d7f84dc [2024-10-04T06:38:12.058Z] ---> 6d2e2aeb7b69 [2024-10-04T06:38:12.058Z] Step 5/10 : RUN apk add --update --no-cache make git openssh [2024-10-04T06:38:12.058Z] ---> Running in 034649b7137c [2024-10-04T06:38:12.323Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-04T06:38:12.323Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-04T06:38:12.892Z] (1/8) Installing openssh-keygen (9.7_p1-r4) [2024-10-04T06:38:12.892Z] (2/8) Installing libedit (20240517.3.1-r0) [2024-10-04T06:38:12.892Z] (3/8) Installing openssh-client-common (9.7_p1-r4) [2024-10-04T06:38:12.892Z] (4/8) Installing openssh-client-default (9.7_p1-r4) [2024-10-04T06:38:12.892Z] (5/8) Installing openssh-sftp-server (9.7_p1-r4) [2024-10-04T06:38:12.892Z] (6/8) Installing openssh-server-common (9.7_p1-r4) [2024-10-04T06:38:12.892Z] (7/8) Installing openssh-server (9.7_p1-r4) [2024-10-04T06:38:12.892Z] (8/8) Installing openssh (9.7_p1-r4) [2024-10-04T06:38:12.892Z] Executing busybox-1.36.1-r29.trigger [2024-10-04T06:38:12.892Z] OK: 252 MiB in 62 packages [2024-10-04T06:38:13.026Z] Still waiting to schedule task [2024-10-04T06:38:13.026Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-15715’ [2024-10-04T06:38:13.462Z] Removing intermediate container 034649b7137c [2024-10-04T06:38:13.462Z] ---> 70b1e8cfebea [2024-10-04T06:38:13.462Z] Step 6/10 : WORKDIR /device-modbus-go [2024-10-04T06:38:13.462Z] ---> Running in a740127538c3 [2024-10-04T06:38:13.462Z] Removing intermediate container a740127538c3 [2024-10-04T06:38:13.462Z] ---> 7aba4bd956c6 [2024-10-04T06:38:13.462Z] Step 7/10 : COPY go.mod vendor* ./ [2024-10-04T06:38:13.462Z] ---> 8ba120effd94 [2024-10-04T06:38:13.462Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-10-04T06:38:13.462Z] ---> Running in 9ad60fa2be77 [2024-10-04T06:39:00.224Z] Removing intermediate container 9ad60fa2be77 [2024-10-04T06:39:00.224Z] ---> a205890427a0 [2024-10-04T06:39:00.224Z] Step 9/10 : COPY . . [2024-10-04T06:39:00.224Z] ---> 034f41c24597 [2024-10-04T06:39:00.224Z] Step 10/10 : RUN ${MAKE} [2024-10-04T06:39:00.224Z] ---> Running in ba46cd95700b [2024-10-04T06:39:00.224Z] noop [2024-10-04T06:39:00.482Z] Removing intermediate container ba46cd95700b [2024-10-04T06:39:00.483Z] ---> f53b08edc84f [2024-10-04T06:39:00.483Z] Successfully built f53b08edc84f [2024-10-04T06:39:00.483Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-04T06:39:00.962Z] + docker inspect -f . ci-base-image-x86_64 [2024-10-04T06:39:00.962Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-04T06:39:01.132Z] prd-ubuntu20.04-docker-8c-8g-15717 does not seem to be running inside a container [2024-10-04T06:39:01.161Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-577 -v /w/workspace/xfoundry_device-modbus-go_PR-577:/w/workspace/xfoundry_device-modbus-go_PR-577:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-577@tmp:/w/workspace/xfoundry_device-modbus-go_PR-577@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-10-04T06:39:01.509Z] $ docker top b7efa70561fc53929c50f4b1bd85f8487336c355fd8c86591334014e1dba4658 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-04T06:39:01.911Z] + go version [2024-10-04T06:39:01.911Z] go version go1.23.2 linux/amd64 [Pipeline] } [2024-10-04T06:39:01.944Z] $ docker stop --time=1 b7efa70561fc53929c50f4b1bd85f8487336c355fd8c86591334014e1dba4658 [2024-10-04T06:39:03.219Z] $ docker rm -f --volumes b7efa70561fc53929c50f4b1bd85f8487336c355fd8c86591334014e1dba4658 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-04T06:39:03.989Z] + docker inspect -f . ci-base-image-x86_64 [2024-10-04T06:39:03.989Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-04T06:39:04.167Z] prd-ubuntu20.04-docker-8c-8g-15717 does not seem to be running inside a container [2024-10-04T06:39:04.191Z] $ 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-577 -v /w/workspace/xfoundry_device-modbus-go_PR-577:/w/workspace/xfoundry_device-modbus-go_PR-577:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-577@tmp:/w/workspace/xfoundry_device-modbus-go_PR-577@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-10-04T06:39:04.494Z] $ docker top 723a49eff434ef1faebc8aae729a58ef8a29247afa12add4d6d0e0526874ae45 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-04T06:39:04.908Z] + git config --global --add safe.directory /w/workspace/xfoundry_device-modbus-go_PR-577 [Pipeline] fileExists [Pipeline] sh [2024-10-04T06:39:05.281Z] + make test [2024-10-04T06:39:05.281Z] go test ./... -coverprofile=coverage.out [2024-10-04T06:39:07.197Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2024-10-04T06:39:29.114Z] github.com/edgexfoundry/device-modbus-go/cmd coverage: 0.0% of statements [2024-10-04T06:39:29.114Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.009s coverage: 47.9% of statements [2024-10-04T06:39:39.077Z] go vet ./... [2024-10-04T06:39:44.359Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-10-04T06:39:44.359Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-10-04T06:39:44.359Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2024-10-04T06:39:44.410Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-10-04T06:39:44.450Z] $ docker stop --time=1 723a49eff434ef1faebc8aae729a58ef8a29247afa12add4d6d0e0526874ae45 [2024-10-04T06:39:48.772Z] $ docker rm -f --volumes 723a49eff434ef1faebc8aae729a58ef8a29247afa12add4d6d0e0526874ae45 [Pipeline] // withDockerContainer [Pipeline] sh [2024-10-04T06:39:49.393Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-10-04T06:39:49.463Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2024-10-04T06:39:50.224Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-10-04T06:39:50.592Z] + ls -al . [2024-10-04T06:39:50.592Z] total 272 [2024-10-04T06:39:50.592Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 4 06:39 . [2024-10-04T06:39:50.592Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 4 06:37 .. [2024-10-04T06:39:50.592Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 4 06:37 .dockerignore [2024-10-04T06:39:50.592Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 4 06:39 .git [2024-10-04T06:39:50.592Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 4 06:37 .github [2024-10-04T06:39:50.592Z] -rw-rw-r-- 1 jenkins jenkins 266 Oct 4 06:37 .gitignore [2024-10-04T06:39:50.592Z] -rw-rw-r-- 1 jenkins jenkins 199 Oct 4 06:37 .golangci.yml [2024-10-04T06:39:50.592Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 4 06:37 .semver [2024-10-04T06:39:50.592Z] -rw-rw-r-- 1 jenkins jenkins 19818 Oct 4 06:37 Attribution.txt [2024-10-04T06:39:50.592Z] -rw-rw-r-- 1 jenkins jenkins 16388 Oct 4 06:37 CHANGELOG.md [2024-10-04T06:39:50.592Z] -rw-rw-r-- 1 jenkins jenkins 1474 Oct 4 06:37 Dockerfile [2024-10-04T06:39:50.592Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 4 06:37 GOVERNANCE.md [2024-10-04T06:39:50.592Z] -rw-rw-r-- 1 jenkins jenkins 658 Oct 4 06:37 Jenkinsfile [2024-10-04T06:39:50.592Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 4 06:37 LICENSE [2024-10-04T06:39:50.592Z] -rw-rw-r-- 1 jenkins jenkins 1942 Oct 4 06:37 Makefile [2024-10-04T06:39:50.592Z] -rw-rw-r-- 1 jenkins jenkins 622 Oct 4 06:37 OWNERS.md [2024-10-04T06:39:50.592Z] -rw-rw-r-- 1 jenkins jenkins 4463 Oct 4 06:37 README.md [2024-10-04T06:39:50.592Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 4 06:37 VERSION [2024-10-04T06:39:50.592Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 4 06:37 bin [2024-10-04T06:39:50.592Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 4 06:37 cmd [2024-10-04T06:39:50.592Z] -rw-r--r-- 1 jenkins jenkins 24669 Oct 4 06:39 coverage.out [2024-10-04T06:39:50.592Z] -rw-rw-r-- 1 jenkins jenkins 7157 Oct 4 06:37 go.mod [2024-10-04T06:39:50.592Z] -rw-rw-r-- 1 jenkins jenkins 100518 Oct 4 06:37 go.sum [2024-10-04T06:39:50.592Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 4 06:37 internal [2024-10-04T06:39:50.592Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 4 06:37 simulator [2024-10-04T06:39:50.592Z] -rw-rw-r-- 1 jenkins jenkins 229 Oct 4 06:37 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-04T06:39:51.008Z] + 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=740c30d7b950d417d20c8a92a82ead1f4c53b564 --label arch=amd64 --label version=0.0.0 . [2024-10-04T06:39:51.009Z] Sending build context to Docker daemon 17.97MB [2024-10-04T06:39:51.009Z] Step 1/23 : ARG BASE=golang:1.23-alpine3.20 [2024-10-04T06:39:51.009Z] Step 2/23 : FROM ${BASE} AS builder [2024-10-04T06:39:51.009Z] ---> f53b08edc84f [2024-10-04T06:39:51.009Z] Step 3/23 : ARG ADD_BUILD_TAGS="" [2024-10-04T06:39:51.578Z] ---> Running in 8ee669957f3e [2024-10-04T06:39:51.578Z] Removing intermediate container 8ee669957f3e [2024-10-04T06:39:51.578Z] ---> e12baae99429 [2024-10-04T06:39:51.578Z] Step 4/23 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-10-04T06:39:51.578Z] ---> Running in 18bb9c93497a [2024-10-04T06:39:51.578Z] Removing intermediate container 18bb9c93497a [2024-10-04T06:39:51.578Z] ---> 8918d9132a1c [2024-10-04T06:39:51.578Z] Step 5/23 : RUN apk add --update --no-cache make git openssh [2024-10-04T06:39:51.578Z] ---> Running in 37552a70fb72 [2024-10-04T06:39:51.839Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-04T06:39:52.097Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-04T06:39:52.356Z] OK: 252 MiB in 62 packages [2024-10-04T06:39:52.616Z] Removing intermediate container 37552a70fb72 [2024-10-04T06:39:52.616Z] ---> 2c6720f91893 [2024-10-04T06:39:52.616Z] Step 6/23 : WORKDIR /device-modbus-go [2024-10-04T06:39:52.616Z] ---> Running in c0a3e0d0c1f6 [2024-10-04T06:39:52.874Z] Removing intermediate container c0a3e0d0c1f6 [2024-10-04T06:39:52.874Z] ---> 51a68beb0564 [2024-10-04T06:39:52.874Z] Step 7/23 : COPY go.mod vendor* ./ [2024-10-04T06:39:52.874Z] ---> 19c7f11e11bf [2024-10-04T06:39:52.874Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-10-04T06:39:52.874Z] ---> Running in 4942e6588e4f [2024-10-04T06:39:53.811Z] Removing intermediate container 4942e6588e4f [2024-10-04T06:39:53.811Z] ---> be4cdbc13511 [2024-10-04T06:39:53.811Z] Step 9/23 : COPY . . [2024-10-04T06:39:54.378Z] ---> 93d318145ac3 [2024-10-04T06:39:54.378Z] Step 10/23 : RUN ${MAKE} [2024-10-04T06:39:54.378Z] ---> Running in bfc8c05e1e83 [2024-10-04T06:39:54.639Z] 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.41" -trimpath -mod=readonly -o cmd/device-modbus ./cmd [2024-10-04T06:40:33.373Z] Removing intermediate container bfc8c05e1e83 [2024-10-04T06:40:33.373Z] ---> 1cc5933d6914 [2024-10-04T06:40:33.373Z] Step 11/23 : FROM alpine:3.20 [2024-10-04T06:40:33.373Z] 3.20: Pulling from library/alpine [2024-10-04T06:40:33.373Z] 43c4264eed91: Already exists [2024-10-04T06:40:33.373Z] Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d [2024-10-04T06:40:33.373Z] Status: Downloaded newer image for alpine:3.20 [2024-10-04T06:40:33.373Z] ---> 91ef0af61f39 [2024-10-04T06:40:33.373Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2024: IoTech Ltd' [2024-10-04T06:40:33.373Z] ---> Running in 87c3f949e17c [2024-10-04T06:40:33.373Z] Removing intermediate container 87c3f949e17c [2024-10-04T06:40:33.373Z] ---> 087065f97750 [2024-10-04T06:40:33.373Z] Step 13/23 : RUN apk add --update --no-cache dumb-init [2024-10-04T06:40:33.373Z] ---> Running in 617a5d0c5e96 [2024-10-04T06:40:33.373Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-04T06:40:33.373Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-04T06:40:33.373Z] (1/1) Installing dumb-init (1.2.5-r3) [2024-10-04T06:40:33.373Z] Executing busybox-1.36.1-r29.trigger [2024-10-04T06:40:33.373Z] OK: 8 MiB in 15 packages [2024-10-04T06:40:33.373Z] Removing intermediate container 617a5d0c5e96 [2024-10-04T06:40:33.373Z] ---> 10dcfa08b529 [2024-10-04T06:40:33.373Z] Step 14/23 : RUN apk --no-cache upgrade [2024-10-04T06:40:33.373Z] ---> Running in 4409c030d5e8 [2024-10-04T06:40:33.373Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-04T06:40:33.373Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-04T06:40:33.373Z] Upgrading critical system libraries and apk-tools: [2024-10-04T06:40:33.373Z] (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) [2024-10-04T06:40:33.373Z] Executing busybox-1.36.1-r29.trigger [2024-10-04T06:40:33.373Z] Continuing the upgrade transaction with new apk-tools: [2024-10-04T06:40:33.373Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-04T06:40:33.373Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-04T06:40:33.373Z] OK: 8 MiB in 15 packages [2024-10-04T06:40:33.373Z] Removing intermediate container 4409c030d5e8 [2024-10-04T06:40:33.373Z] ---> ce52e3805477 [2024-10-04T06:40:33.373Z] Step 15/23 : COPY --from=builder /device-modbus-go/cmd / [2024-10-04T06:40:33.373Z] ---> 18b4a7995ad2 [2024-10-04T06:40:33.373Z] Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / [2024-10-04T06:40:33.373Z] ---> 332abe3320ce [2024-10-04T06:40:33.373Z] Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / [2024-10-04T06:40:33.373Z] ---> 8aff7a1b9ecf [2024-10-04T06:40:33.373Z] Step 18/23 : EXPOSE 59901 [2024-10-04T06:40:33.373Z] ---> Running in ebc4841e7ee8 [2024-10-04T06:40:33.373Z] Removing intermediate container ebc4841e7ee8 [2024-10-04T06:40:33.373Z] ---> 0db85406c078 [2024-10-04T06:40:33.373Z] Step 19/23 : ENTRYPOINT ["/device-modbus"] [2024-10-04T06:40:33.373Z] ---> Running in 7f7a93d073e0 [2024-10-04T06:40:33.373Z] Removing intermediate container 7f7a93d073e0 [2024-10-04T06:40:33.373Z] ---> 3f990cca19a5 [2024-10-04T06:40:33.373Z] Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2024-10-04T06:40:33.373Z] ---> Running in 43b104a81b61 [2024-10-04T06:40:33.373Z] Removing intermediate container 43b104a81b61 [2024-10-04T06:40:33.373Z] ---> e8ef997cd4a7 [2024-10-04T06:40:33.373Z] Step 21/23 : LABEL arch=amd64 [2024-10-04T06:40:33.373Z] ---> Running in 4c9543141430 [2024-10-04T06:40:33.373Z] Removing intermediate container 4c9543141430 [2024-10-04T06:40:33.373Z] ---> f73de2307d35 [2024-10-04T06:40:33.373Z] Step 22/23 : LABEL git_sha=740c30d7b950d417d20c8a92a82ead1f4c53b564 [2024-10-04T06:40:33.373Z] ---> Running in cedec440b774 [2024-10-04T06:40:33.373Z] Removing intermediate container cedec440b774 [2024-10-04T06:40:33.373Z] ---> 56a5b4acb0cc [2024-10-04T06:40:33.373Z] Step 23/23 : LABEL version=0.0.0 [2024-10-04T06:40:33.373Z] ---> Running in de6c9f4f90d0 [2024-10-04T06:40:33.373Z] Removing intermediate container de6c9f4f90d0 [2024-10-04T06:40:33.373Z] ---> 6ae3e3762f32 [2024-10-04T06:40:33.373Z] [Warning] One or more build-args [ARCH] were not consumed [2024-10-04T06:40:33.373Z] Successfully built 6ae3e3762f32 [2024-10-04T06:40:33.373Z] 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-04T06:40:34.386Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-04T06:40:34.386Z] [2024-10-04T06:40:34.386Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-04T06:40:34.799Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-04T06:40:34.799Z] latest: Pulling from edgex-lftools-log-publisher [2024-10-04T06:40:34.799Z] 5eb5b503b376: Pulling fs layer [2024-10-04T06:40:34.799Z] 5c69ac0246d0: Pulling fs layer [2024-10-04T06:40:34.799Z] ec43610c2a17: Pulling fs layer [2024-10-04T06:40:34.799Z] 3a2ae6a8a46f: Pulling fs layer [2024-10-04T06:40:34.799Z] 33b1e0a273af: Pulling fs layer [2024-10-04T06:40:34.799Z] 5d3b04190fa2: Pulling fs layer [2024-10-04T06:40:34.799Z] 2f39f015ded8: Pulling fs layer [2024-10-04T06:40:34.799Z] 3a2ae6a8a46f: Waiting [2024-10-04T06:40:34.799Z] 33b1e0a273af: Waiting [2024-10-04T06:40:34.799Z] 5d3b04190fa2: Waiting [2024-10-04T06:40:34.799Z] 2f39f015ded8: Waiting [2024-10-04T06:40:34.799Z] 5c69ac0246d0: Download complete [2024-10-04T06:40:34.799Z] 3a2ae6a8a46f: Verifying Checksum [2024-10-04T06:40:34.799Z] 3a2ae6a8a46f: Download complete [2024-10-04T06:40:34.799Z] 33b1e0a273af: Verifying Checksum [2024-10-04T06:40:34.799Z] 33b1e0a273af: Download complete [2024-10-04T06:40:34.799Z] 5d3b04190fa2: Download complete [2024-10-04T06:40:34.799Z] ec43610c2a17: Download complete [2024-10-04T06:40:35.059Z] 5eb5b503b376: Verifying Checksum [2024-10-04T06:40:35.059Z] 5eb5b503b376: Download complete [2024-10-04T06:40:35.624Z] 2f39f015ded8: Download complete [2024-10-04T06:40:36.560Z] 5eb5b503b376: Pull complete [2024-10-04T06:40:36.560Z] 5c69ac0246d0: Pull complete [2024-10-04T06:40:37.127Z] ec43610c2a17: Pull complete [2024-10-04T06:40:37.127Z] 3a2ae6a8a46f: Pull complete [2024-10-04T06:40:37.385Z] 33b1e0a273af: Pull complete [2024-10-04T06:40:37.385Z] 5d3b04190fa2: Pull complete [2024-10-04T06:40:42.653Z] 2f39f015ded8: Pull complete [2024-10-04T06:40:42.653Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-10-04T06:40:42.653Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-04T06:40:42.653Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-04T06:40:42.939Z] prd-ubuntu20.04-docker-8c-8g-15717 does not seem to be running inside a container [2024-10-04T06:40:42.967Z] $ 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-577 -v /w/workspace/xfoundry_device-modbus-go_PR-577:/w/workspace/xfoundry_device-modbus-go_PR-577:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-577@tmp:/w/workspace/xfoundry_device-modbus-go_PR-577@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-10-04T06:40:47.444Z] $ docker top d18f2792472a1abaf675ce43e7f1686c442022bdea95bf05e349a8dc366a977c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-04T06:40:47.916Z] ---> job-cost.sh [2024-10-04T06:40:47.916Z] lf-activate-venv: SKIPPING [2024-10-04T06:40:47.916Z] INFO: No Stack... [2024-10-04T06:40:48.484Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-10-04T06:40:48.744Z] INFO: Archiving Costs [Pipeline] sh [2024-10-04T06:40:49.065Z] + cat /w/workspace/xfoundry_device-modbus-go_PR-577/archives/cost.csv [2024-10-04T06:40:49.065Z] + cut -d, -f6 [Pipeline] lock [2024-10-04T06:40:49.115Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-modbus-go-PR-577-1-stack-cost] [2024-10-04T06:40:49.122Z] Resource [jenkins-edgexfoundry-device-modbus-go-PR-577-1-stack-cost] did not exist. Created. [2024-10-04T06:40:49.128Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-modbus-go-PR-577-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-10-04T06:40:49.549Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-10-04T06:40:49.619Z] Stashed 1 file(s) [Pipeline] } [2024-10-04T06:40:49.660Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-modbus-go-PR-577-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-10-04T06:40:49.751Z] $ docker stop --time=1 d18f2792472a1abaf675ce43e7f1686c442022bdea95bf05e349a8dc366a977c [2024-10-04T06:40:50.905Z] $ docker rm -f --volumes d18f2792472a1abaf675ce43e7f1686c442022bdea95bf05e349a8dc366a977c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-10-04T06:53:37.556Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-15783 in /w/workspace/xfoundry_device-modbus-go_PR-577 [Pipeline] { [Pipeline] ws [2024-10-04T06:53:37.638Z] Running in /w/workspace/device-modbus-go/1 [Pipeline] { [Pipeline] checkout [2024-10-04T06:53:37.725Z] The recommended git tool is: git [2024-10-04T06:53:45.859Z] using credential edgex-jenkins-ssh [2024-10-04T06:53:45.884Z] Cloning the remote Git repository [2024-10-04T06:53:45.935Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2024-10-04T06:53:46.043Z] > git init /w/workspace/device-modbus-go/1 # timeout=10 [2024-10-04T06:53:46.256Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2024-10-04T06:53:46.257Z] > git --version # timeout=10 [2024-10-04T06:53:46.302Z] > git --version # 'git version 2.25.1' [2024-10-04T06:53:46.304Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-10-04T06:53:46.505Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-10-04T06:53:48.774Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2024-10-04T06:53:48.833Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-10-04T06:53:50.973Z] Merging remotes/origin/main commit a3ee41877b048388e7c3cdab8b1927d49f235cab into PR head commit 740c30d7b950d417d20c8a92a82ead1f4c53b564 [2024-10-04T06:53:50.207Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2024-10-04T06:53:50.282Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2024-10-04T06:53:50.283Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-10-04T06:53:50.321Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/577/head:refs/remotes/origin/PR-577 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2024-10-04T06:53:51.008Z] > git config core.sparsecheckout # timeout=10 [2024-10-04T06:53:51.119Z] > git checkout -f 740c30d7b950d417d20c8a92a82ead1f4c53b564 # timeout=10 [2024-10-04T06:53:51.452Z] Merge succeeded, producing 740c30d7b950d417d20c8a92a82ead1f4c53b564 [2024-10-04T06:53:51.453Z] Checking out Revision 740c30d7b950d417d20c8a92a82ead1f4c53b564 (PR-577) [2024-10-04T06:53:51.235Z] > git remote # timeout=10 [2024-10-04T06:53:51.275Z] > git config --get remote.origin.url # timeout=10 [2024-10-04T06:53:51.326Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-10-04T06:53:51.375Z] > git merge a3ee41877b048388e7c3cdab8b1927d49f235cab # timeout=10 [2024-10-04T06:53:51.420Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-10-04T06:53:51.460Z] > git config core.sparsecheckout # timeout=10 [2024-10-04T06:53:51.484Z] > git checkout -f 740c30d7b950d417d20c8a92a82ead1f4c53b564 # timeout=10 [2024-10-04T06:53:55.292Z] Commit message: "build: Upgrade to go-1.23, Linter1.61.0 and Alpine 3.20" [2024-10-04T06:53:55.338Z] > git --version # timeout=10 [2024-10-04T06:53:55.348Z] > git --version # 'git version 2.25.1' [2024-10-04T06:53:55.362Z] fatal: bad object 0b81fa10a7dd14683a964f04f411324fe83f93ac [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-10-04T06:53:57.320Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-10-04T06:53:57.320Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-10-04T06:53:57.320Z] Dload Upload Total Spent Left Speed [2024-10-04T06:53:57.320Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 114k 0 --:--:-- --:--:-- --:--:-- 113k [Pipeline] sh [2024-10-04T06:53:57.672Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-10-04T06:53:58.017Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2024-10-04T06:53:58.017Z] + sudo tee /etc/docker/daemon.new [2024-10-04T06:53:58.017Z] { [2024-10-04T06:53:58.017Z] "registry-mirrors": [ [2024-10-04T06:53:58.017Z] "https://nexus3.edgexfoundry.org:10001" [2024-10-04T06:53:58.017Z] ], [2024-10-04T06:53:58.017Z] "bip": "10.250.0.254/24", [2024-10-04T06:53:58.017Z] "hosts": [ [2024-10-04T06:53:58.017Z] "tcp://0.0.0.0:5555", [2024-10-04T06:53:58.017Z] "unix:///var/run/docker.sock" [2024-10-04T06:53:58.017Z] ], [2024-10-04T06:53:58.017Z] "mtu": 1458, [2024-10-04T06:53:58.017Z] "selinux-enabled": true, [2024-10-04T06:53:58.017Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-10-04T06:53:58.017Z] } [Pipeline] sh [2024-10-04T06:53:58.364Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-10-04T06:53:58.728Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-10-04T06:54:17.064Z] provisioning config files... [2024-10-04T06:54:17.105Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/1@tmp/config16744997308371455590tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-04T06:54:17.634Z] ---> ****-login.sh [2024-10-04T06:54:17.634Z] nexus3.edgexfoundry.org:10001 [2024-10-04T06:54:18.219Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-04T06:54:18.488Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-04T06:54:18.488Z] Configure a credential helper to remove this warning. See [2024-10-04T06:54:18.488Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-04T06:54:18.488Z] [2024-10-04T06:54:18.488Z] Login Succeeded [2024-10-04T06:54:18.488Z] nexus3.edgexfoundry.org:10002 [2024-10-04T06:54:18.758Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-04T06:54:18.758Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-04T06:54:18.758Z] Configure a credential helper to remove this warning. See [2024-10-04T06:54:18.758Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-04T06:54:18.758Z] [2024-10-04T06:54:18.758Z] Login Succeeded [2024-10-04T06:54:18.758Z] nexus3.edgexfoundry.org:10003 [2024-10-04T06:54:19.035Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-04T06:54:19.035Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-04T06:54:19.035Z] Configure a credential helper to remove this warning. See [2024-10-04T06:54:19.035Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-04T06:54:19.035Z] [2024-10-04T06:54:19.035Z] Login Succeeded [2024-10-04T06:54:19.035Z] nexus3.edgexfoundry.org:10004 [2024-10-04T06:54:19.307Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-04T06:54:19.307Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-04T06:54:19.307Z] Configure a credential helper to remove this warning. See [2024-10-04T06:54:19.307Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-04T06:54:19.307Z] [2024-10-04T06:54:19.307Z] Login Succeeded [2024-10-04T06:54:19.307Z] ****.io [2024-10-04T06:54:19.575Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-04T06:54:19.843Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-04T06:54:19.843Z] Configure a credential helper to remove this warning. See [2024-10-04T06:54:19.843Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-04T06:54:19.843Z] [2024-10-04T06:54:19.843Z] Login Succeeded [2024-10-04T06:54:19.844Z] ---> ****-login.sh ends [Pipeline] } [2024-10-04T06:54:19.880Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-10-04T06:54:20.372Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-04T06:54:20.421Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-04T06:54:20.465Z] ========================================================= [2024-10-04T06:54:20.466Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine] [2024-10-04T06:54:20.466Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-04T06:54:21.004Z] + 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-04T06:54:21.272Z] Sending build context to Docker daemon 9.145MB [2024-10-04T06:54:21.272Z] Step 1/10 : ARG BASE=golang:1.23-alpine3.20 [2024-10-04T06:54:21.272Z] Step 2/10 : FROM ${BASE} AS builder [2024-10-04T06:54:21.542Z] 1.23-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-10-04T06:54:21.542Z] cf04c63912e1: Pulling fs layer [2024-10-04T06:54:21.542Z] 55b35a11ae5e: Pulling fs layer [2024-10-04T06:54:21.542Z] a37a00ec5f00: Pulling fs layer [2024-10-04T06:54:21.542Z] 50b3750afda1: Pulling fs layer [2024-10-04T06:54:21.542Z] 4f4fb700ef54: Pulling fs layer [2024-10-04T06:54:21.542Z] 80978eb59214: Pulling fs layer [2024-10-04T06:54:21.542Z] c9f46d7d2bd2: Pulling fs layer [2024-10-04T06:54:21.542Z] c5a475d317c9: Pulling fs layer [2024-10-04T06:54:21.542Z] 50b3750afda1: Waiting [2024-10-04T06:54:21.542Z] 4f4fb700ef54: Waiting [2024-10-04T06:54:21.542Z] 80978eb59214: Waiting [2024-10-04T06:54:21.542Z] c9f46d7d2bd2: Waiting [2024-10-04T06:54:21.542Z] c5a475d317c9: Waiting [2024-10-04T06:54:21.542Z] 55b35a11ae5e: Verifying Checksum [2024-10-04T06:54:21.542Z] 55b35a11ae5e: Download complete [2024-10-04T06:54:21.542Z] 50b3750afda1: Verifying Checksum [2024-10-04T06:54:21.542Z] 50b3750afda1: Download complete [2024-10-04T06:54:21.542Z] 4f4fb700ef54: Verifying Checksum [2024-10-04T06:54:21.542Z] 4f4fb700ef54: Download complete [2024-10-04T06:54:21.542Z] 80978eb59214: Verifying Checksum [2024-10-04T06:54:21.542Z] 80978eb59214: Download complete [2024-10-04T06:54:21.542Z] cf04c63912e1: Verifying Checksum [2024-10-04T06:54:21.542Z] cf04c63912e1: Download complete [2024-10-04T06:54:22.148Z] c5a475d317c9: Verifying Checksum [2024-10-04T06:54:22.148Z] c5a475d317c9: Download complete [2024-10-04T06:54:22.417Z] cf04c63912e1: Pull complete [2024-10-04T06:54:23.003Z] 55b35a11ae5e: Pull complete [2024-10-04T06:54:23.588Z] a37a00ec5f00: Download complete [2024-10-04T06:54:24.173Z] c9f46d7d2bd2: Verifying Checksum [2024-10-04T06:54:24.173Z] c9f46d7d2bd2: Download complete [2024-10-04T06:54:36.482Z] a37a00ec5f00: Pull complete [2024-10-04T06:54:36.482Z] 50b3750afda1: Pull complete [2024-10-04T06:54:36.482Z] 4f4fb700ef54: Pull complete [2024-10-04T06:54:36.748Z] 80978eb59214: Pull complete [2024-10-04T06:54:44.954Z] c9f46d7d2bd2: Pull complete [2024-10-04T06:54:45.913Z] c5a475d317c9: Pull complete [2024-10-04T06:54:45.913Z] Digest: sha256:2391c17ca386d1fbfa331956bd558234564149703727e64d3c69580d84b42a9b [2024-10-04T06:54:45.913Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine [2024-10-04T06:54:45.913Z] ---> be29e6b0f0d4 [2024-10-04T06:54:45.913Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2024-10-04T06:54:47.846Z] ---> Running in edc08a14bbda [2024-10-04T06:54:47.846Z] Removing intermediate container edc08a14bbda [2024-10-04T06:54:47.846Z] ---> a6b3b932a978 [2024-10-04T06:54:47.846Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-10-04T06:54:47.846Z] ---> Running in 20f96e4ab10b [2024-10-04T06:54:48.114Z] Removing intermediate container 20f96e4ab10b [2024-10-04T06:54:48.114Z] ---> 99ef6a44fafb [2024-10-04T06:54:48.115Z] Step 5/10 : RUN apk add --update --no-cache make git openssh [2024-10-04T06:54:48.115Z] ---> Running in d78e07c42717 [2024-10-04T06:54:49.522Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-04T06:54:49.522Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-04T06:54:50.938Z] (1/8) Installing openssh-keygen (9.7_p1-r4) [2024-10-04T06:54:50.938Z] (2/8) Installing libedit (20240517.3.1-r0) [2024-10-04T06:54:50.938Z] (3/8) Installing openssh-client-common (9.7_p1-r4) [2024-10-04T06:54:50.938Z] (4/8) Installing openssh-client-default (9.7_p1-r4) [2024-10-04T06:54:50.938Z] (5/8) Installing openssh-sftp-server (9.7_p1-r4) [2024-10-04T06:54:50.938Z] (6/8) Installing openssh-server-common (9.7_p1-r4) [2024-10-04T06:54:50.938Z] (7/8) Installing openssh-server (9.7_p1-r4) [2024-10-04T06:54:50.938Z] (8/8) Installing openssh (9.7_p1-r4) [2024-10-04T06:54:50.938Z] Executing busybox-1.36.1-r29.trigger [2024-10-04T06:54:51.206Z] OK: 244 MiB in 62 packages [2024-10-04T06:54:52.172Z] Removing intermediate container d78e07c42717 [2024-10-04T06:54:52.172Z] ---> 15b63dd252cd [2024-10-04T06:54:52.172Z] Step 6/10 : WORKDIR /device-modbus-go [2024-10-04T06:54:52.172Z] ---> Running in f28fd0a38dbf [2024-10-04T06:54:52.438Z] Removing intermediate container f28fd0a38dbf [2024-10-04T06:54:52.438Z] ---> 14eaab7ddb5a [2024-10-04T06:54:52.438Z] Step 7/10 : COPY go.mod vendor* ./ [2024-10-04T06:54:53.028Z] ---> 35d897a3a183 [2024-10-04T06:54:53.028Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-10-04T06:54:53.028Z] ---> Running in ddbb558fdaa4 [2024-10-04T06:56:44.735Z] Removing intermediate container ddbb558fdaa4 [2024-10-04T06:56:44.735Z] ---> a164ff8ff649 [2024-10-04T06:56:44.735Z] Step 9/10 : COPY . . [2024-10-04T06:56:44.735Z] ---> 6e87d3671c3b [2024-10-04T06:56:44.735Z] Step 10/10 : RUN ${MAKE} [2024-10-04T06:56:44.735Z] ---> Running in a3fcd505ac19 [2024-10-04T06:56:44.735Z] noop [2024-10-04T06:56:44.735Z] Removing intermediate container a3fcd505ac19 [2024-10-04T06:56:44.735Z] ---> fa31adf85f88 [2024-10-04T06:56:44.735Z] Successfully built fa31adf85f88 [2024-10-04T06:56:44.735Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-04T06:56:45.275Z] + docker inspect -f . ci-base-image-arm64 [2024-10-04T06:56:45.275Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-04T06:56:45.559Z] prd-ubuntu20.04-docker-arm64-4c-16g-15783 does not seem to be running inside a container [2024-10-04T06:56:45.617Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-10-04T06:56:46.748Z] $ docker top cb94d0e58cc082baf601dd5c5cc0c51686e05e6d82b96ab39d9f34de4ae9aab9 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-04T06:56:47.632Z] + go version [2024-10-04T06:56:47.633Z] go version go1.23.2 linux/arm64 [Pipeline] } [2024-10-04T06:56:47.674Z] $ docker stop --time=1 cb94d0e58cc082baf601dd5c5cc0c51686e05e6d82b96ab39d9f34de4ae9aab9 [2024-10-04T06:56:49.270Z] $ docker rm -f --volumes cb94d0e58cc082baf601dd5c5cc0c51686e05e6d82b96ab39d9f34de4ae9aab9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-04T06:56:50.195Z] + docker inspect -f . ci-base-image-arm64 [2024-10-04T06:56:50.195Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-04T06:56:50.461Z] prd-ubuntu20.04-docker-arm64-4c-16g-15783 does not seem to be running inside a container [2024-10-04T06:56:50.516Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-10-04T06:56:51.700Z] $ docker top 1ee1a24e70e92ad23fbb81462cffe18ae8de03cd2eb17cd516e007f92506f343 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-04T06:56:52.273Z] + git config --global --add safe.directory /w/workspace/device-modbus-go/1 [Pipeline] fileExists [Pipeline] sh [2024-10-04T06:56:52.679Z] + make test [2024-10-04T06:56:52.953Z] go test ./... -coverprofile=coverage.out [2024-10-04T06:56:59.603Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2024-10-04T07:00:21.487Z] github.com/edgexfoundry/device-modbus-go/cmd coverage: 0.0% of statements [2024-10-04T07:00:21.487Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.050s coverage: 47.9% of statements [2024-10-04T07:00:21.487Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2024-10-04T07:00:21.487Z] go vet ./... [2024-10-04T07:01:08.345Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-10-04T07:01:08.345Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-10-04T07:01:08.345Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2024-10-04T07:01:08.392Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-10-04T07:01:08.439Z] $ docker stop --time=1 1ee1a24e70e92ad23fbb81462cffe18ae8de03cd2eb17cd516e007f92506f343 [2024-10-04T07:01:10.348Z] $ docker rm -f --volumes 1ee1a24e70e92ad23fbb81462cffe18ae8de03cd2eb17cd516e007f92506f343 [Pipeline] // withDockerContainer [Pipeline] sh [2024-10-04T07:01:11.970Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-10-04T07:01:12.009Z] Warning: overwriting stash ‘coverage-report’ [2024-10-04T07:01:12.453Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-10-04T07:01:13.084Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-10-04T07:01:13.420Z] + ls -al . [2024-10-04T07:01:13.420Z] total 268 [2024-10-04T07:01:13.420Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 4 06:56 . [2024-10-04T07:01:13.420Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 4 06:53 .. [2024-10-04T07:01:13.420Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 4 06:53 .dockerignore [2024-10-04T07:01:13.420Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 4 06:53 .git [2024-10-04T07:01:13.420Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 4 06:53 .github [2024-10-04T07:01:13.420Z] -rw-rw-r-- 1 jenkins jenkins 266 Oct 4 06:53 .gitignore [2024-10-04T07:01:13.420Z] -rw-rw-r-- 1 jenkins jenkins 199 Oct 4 06:53 .golangci.yml [2024-10-04T07:01:13.421Z] -rw-rw-r-- 1 jenkins jenkins 19818 Oct 4 06:53 Attribution.txt [2024-10-04T07:01:13.421Z] -rw-rw-r-- 1 jenkins jenkins 16388 Oct 4 06:53 CHANGELOG.md [2024-10-04T07:01:13.421Z] -rw-rw-r-- 1 jenkins jenkins 1474 Oct 4 06:53 Dockerfile [2024-10-04T07:01:13.421Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 4 06:53 GOVERNANCE.md [2024-10-04T07:01:13.421Z] -rw-rw-r-- 1 jenkins jenkins 658 Oct 4 06:53 Jenkinsfile [2024-10-04T07:01:13.421Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 4 06:53 LICENSE [2024-10-04T07:01:13.421Z] -rw-rw-r-- 1 jenkins jenkins 1942 Oct 4 06:53 Makefile [2024-10-04T07:01:13.421Z] -rw-rw-r-- 1 jenkins jenkins 622 Oct 4 06:53 OWNERS.md [2024-10-04T07:01:13.421Z] -rw-rw-r-- 1 jenkins jenkins 4463 Oct 4 06:53 README.md [2024-10-04T07:01:13.421Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 4 06:37 VERSION [2024-10-04T07:01:13.421Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 4 06:53 bin [2024-10-04T07:01:13.421Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 4 06:53 cmd [2024-10-04T07:01:13.421Z] -rw-r--r-- 1 jenkins jenkins 24669 Oct 4 07:00 coverage.out [2024-10-04T07:01:13.421Z] -rw-rw-r-- 1 jenkins jenkins 7157 Oct 4 06:53 go.mod [2024-10-04T07:01:13.421Z] -rw-rw-r-- 1 jenkins jenkins 100518 Oct 4 06:53 go.sum [2024-10-04T07:01:13.421Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 4 06:53 internal [2024-10-04T07:01:13.421Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 4 06:53 simulator [2024-10-04T07:01:13.421Z] -rw-rw-r-- 1 jenkins jenkins 229 Oct 4 06:53 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-04T07:01:13.853Z] + 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=740c30d7b950d417d20c8a92a82ead1f4c53b564 --label arch=arm64 --label version=0.0.0 . [2024-10-04T07:01:14.438Z] Sending build context to Docker daemon 9.17MB [2024-10-04T07:01:14.438Z] Step 1/23 : ARG BASE=golang:1.23-alpine3.20 [2024-10-04T07:01:14.438Z] Step 2/23 : FROM ${BASE} AS builder [2024-10-04T07:01:14.438Z] ---> fa31adf85f88 [2024-10-04T07:01:14.438Z] Step 3/23 : ARG ADD_BUILD_TAGS="" [2024-10-04T07:01:14.438Z] ---> Running in cf2caf36bb56 [2024-10-04T07:01:14.705Z] Removing intermediate container cf2caf36bb56 [2024-10-04T07:01:14.705Z] ---> 87f27d160a88 [2024-10-04T07:01:14.705Z] Step 4/23 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-10-04T07:01:14.978Z] ---> Running in 6b5a39df33b7 [2024-10-04T07:01:15.247Z] Removing intermediate container 6b5a39df33b7 [2024-10-04T07:01:15.247Z] ---> 913840ee72f6 [2024-10-04T07:01:15.247Z] Step 5/23 : RUN apk add --update --no-cache make git openssh [2024-10-04T07:01:15.247Z] ---> Running in 7b7ac5f71ebb [2024-10-04T07:01:16.236Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-04T07:01:16.816Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-04T07:01:18.225Z] OK: 244 MiB in 62 packages [2024-10-04T07:01:19.183Z] Removing intermediate container 7b7ac5f71ebb [2024-10-04T07:01:19.183Z] ---> 541b6a501405 [2024-10-04T07:01:19.183Z] Step 6/23 : WORKDIR /device-modbus-go [2024-10-04T07:01:19.183Z] ---> Running in 053836d8c818 [2024-10-04T07:01:19.451Z] Removing intermediate container 053836d8c818 [2024-10-04T07:01:19.451Z] ---> c92d66fae161 [2024-10-04T07:01:19.451Z] Step 7/23 : COPY go.mod vendor* ./ [2024-10-04T07:01:20.042Z] ---> 20cdb76b520a [2024-10-04T07:01:20.042Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-10-04T07:01:20.042Z] ---> Running in d193d3fa51ba [2024-10-04T07:01:22.627Z] Removing intermediate container d193d3fa51ba [2024-10-04T07:01:22.627Z] ---> 47f4263de534 [2024-10-04T07:01:22.627Z] Step 9/23 : COPY . . [2024-10-04T07:01:23.589Z] ---> f1d077170c45 [2024-10-04T07:01:23.589Z] Step 10/23 : RUN ${MAKE} [2024-10-04T07:01:23.589Z] ---> Running in 58e856d4849a [2024-10-04T07:01:24.551Z] 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.41" -trimpath -mod=readonly -o cmd/device-modbus ./cmd [2024-10-04T07:04:46.320Z] Removing intermediate container 58e856d4849a [2024-10-04T07:04:46.320Z] ---> 1eadf2e2bf3e [2024-10-04T07:04:46.320Z] Step 11/23 : FROM alpine:3.20 [2024-10-04T07:04:46.320Z] 3.20: Pulling from library/alpine [2024-10-04T07:04:46.320Z] cf04c63912e1: Already exists [2024-10-04T07:04:46.320Z] Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d [2024-10-04T07:04:46.320Z] Status: Downloaded newer image for alpine:3.20 [2024-10-04T07:04:46.320Z] ---> c157a85ed455 [2024-10-04T07:04:46.320Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2024: IoTech Ltd' [2024-10-04T07:04:46.320Z] ---> Running in 4a251db1b0da [2024-10-04T07:04:46.320Z] Removing intermediate container 4a251db1b0da [2024-10-04T07:04:46.320Z] ---> c5f2a106dae0 [2024-10-04T07:04:46.320Z] Step 13/23 : RUN apk add --update --no-cache dumb-init [2024-10-04T07:04:46.320Z] ---> Running in fc22d5083bae [2024-10-04T07:04:46.320Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-04T07:04:46.320Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-04T07:04:46.320Z] (1/1) Installing dumb-init (1.2.5-r3) [2024-10-04T07:04:46.320Z] Executing busybox-1.36.1-r29.trigger [2024-10-04T07:04:46.320Z] OK: 9 MiB in 15 packages [2024-10-04T07:04:46.320Z] Removing intermediate container fc22d5083bae [2024-10-04T07:04:46.320Z] ---> ae9691a95e4c [2024-10-04T07:04:46.320Z] Step 14/23 : RUN apk --no-cache upgrade [2024-10-04T07:04:46.320Z] ---> Running in 96aad521839a [2024-10-04T07:04:47.282Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-04T07:04:47.282Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-04T07:04:48.692Z] Upgrading critical system libraries and apk-tools: [2024-10-04T07:04:48.692Z] (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) [2024-10-04T07:04:48.692Z] Executing busybox-1.36.1-r29.trigger [2024-10-04T07:04:48.960Z] Continuing the upgrade transaction with new apk-tools: [2024-10-04T07:04:48.960Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-04T07:04:49.229Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-04T07:04:50.653Z] OK: 9 MiB in 15 packages [2024-10-04T07:04:51.237Z] Removing intermediate container 96aad521839a [2024-10-04T07:04:51.237Z] ---> 7ac854d44708 [2024-10-04T07:04:51.237Z] Step 15/23 : COPY --from=builder /device-modbus-go/cmd / [2024-10-04T07:04:53.195Z] ---> 6fb373e88ef5 [2024-10-04T07:04:53.195Z] Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / [2024-10-04T07:04:53.460Z] ---> 399a240f0c9a [2024-10-04T07:04:53.460Z] Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / [2024-10-04T07:04:54.042Z] ---> 0d4498020671 [2024-10-04T07:04:54.042Z] Step 18/23 : EXPOSE 59901 [2024-10-04T07:04:54.042Z] ---> Running in 7a19cbea6f83 [2024-10-04T07:04:54.307Z] Removing intermediate container 7a19cbea6f83 [2024-10-04T07:04:54.307Z] ---> 7619d7dd2507 [2024-10-04T07:04:54.307Z] Step 19/23 : ENTRYPOINT ["/device-modbus"] [2024-10-04T07:04:54.307Z] ---> Running in d5b65d5d1160 [2024-10-04T07:04:54.887Z] Removing intermediate container d5b65d5d1160 [2024-10-04T07:04:54.887Z] ---> 1cba70b66091 [2024-10-04T07:04:54.887Z] Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2024-10-04T07:04:54.887Z] ---> Running in 4b8d9d856d83 [2024-10-04T07:04:55.152Z] Removing intermediate container 4b8d9d856d83 [2024-10-04T07:04:55.152Z] ---> 622238af640e [2024-10-04T07:04:55.152Z] Step 21/23 : LABEL arch=arm64 [2024-10-04T07:04:55.152Z] ---> Running in 91321eaaee1c [2024-10-04T07:04:55.416Z] Removing intermediate container 91321eaaee1c [2024-10-04T07:04:55.416Z] ---> b7c55aa8903b [2024-10-04T07:04:55.416Z] Step 22/23 : LABEL git_sha=740c30d7b950d417d20c8a92a82ead1f4c53b564 [2024-10-04T07:04:55.416Z] ---> Running in c5b279a54747 [2024-10-04T07:04:55.681Z] Removing intermediate container c5b279a54747 [2024-10-04T07:04:55.681Z] ---> 1030bb5df93d [2024-10-04T07:04:55.681Z] Step 23/23 : LABEL version=0.0.0 [2024-10-04T07:04:55.957Z] ---> Running in a0cf7ad60629 [2024-10-04T07:04:56.231Z] Removing intermediate container a0cf7ad60629 [2024-10-04T07:04:56.231Z] ---> 83b8b9c42e3b [2024-10-04T07:04:56.231Z] [Warning] One or more build-args [ARCH] were not consumed [2024-10-04T07:04:56.231Z] Successfully built 83b8b9c42e3b [2024-10-04T07:04:56.231Z] 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-04T07:04:57.154Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-10-04T07:04:57.154Z] [2024-10-04T07:04:57.154Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-04T07:04:57.604Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-10-04T07:04:57.604Z] arm64: Pulling from edgex-lftools-log-publisher [2024-10-04T07:04:57.604Z] 8998bd30e6a1: Pulling fs layer [2024-10-04T07:04:57.604Z] 04944245beec: Pulling fs layer [2024-10-04T07:04:57.604Z] 699f458cf7ca: Pulling fs layer [2024-10-04T07:04:57.604Z] 765212b225bb: Pulling fs layer [2024-10-04T07:04:57.604Z] f23df028b6ca: Pulling fs layer [2024-10-04T07:04:57.604Z] d65c8cfc05b1: Pulling fs layer [2024-10-04T07:04:57.604Z] 2437ff75d9bd: Pulling fs layer [2024-10-04T07:04:57.604Z] 765212b225bb: Waiting [2024-10-04T07:04:57.604Z] f23df028b6ca: Waiting [2024-10-04T07:04:57.604Z] d65c8cfc05b1: Waiting [2024-10-04T07:04:57.604Z] 2437ff75d9bd: Waiting [2024-10-04T07:04:57.880Z] 04944245beec: Verifying Checksum [2024-10-04T07:04:57.880Z] 04944245beec: Download complete [2024-10-04T07:04:57.880Z] 765212b225bb: Verifying Checksum [2024-10-04T07:04:57.880Z] 765212b225bb: Download complete [2024-10-04T07:04:57.880Z] f23df028b6ca: Verifying Checksum [2024-10-04T07:04:57.880Z] f23df028b6ca: Download complete [2024-10-04T07:04:57.880Z] d65c8cfc05b1: Verifying Checksum [2024-10-04T07:04:57.880Z] d65c8cfc05b1: Download complete [2024-10-04T07:04:57.880Z] 699f458cf7ca: Verifying Checksum [2024-10-04T07:04:57.880Z] 699f458cf7ca: Download complete [2024-10-04T07:04:58.471Z] 8998bd30e6a1: Verifying Checksum [2024-10-04T07:04:58.471Z] 8998bd30e6a1: Download complete [2024-10-04T07:05:01.057Z] 2437ff75d9bd: Verifying Checksum [2024-10-04T07:05:01.057Z] 2437ff75d9bd: Download complete [2024-10-04T07:05:03.014Z] 8998bd30e6a1: Pull complete [2024-10-04T07:05:03.606Z] 04944245beec: Pull complete [2024-10-04T07:05:05.020Z] 699f458cf7ca: Pull complete [2024-10-04T07:05:05.289Z] 765212b225bb: Pull complete [2024-10-04T07:05:06.264Z] f23df028b6ca: Pull complete [2024-10-04T07:05:06.264Z] d65c8cfc05b1: Pull complete [2024-10-04T07:05:24.911Z] 2437ff75d9bd: Pull complete [2024-10-04T07:05:24.911Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-10-04T07:05:24.911Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-10-04T07:05:24.911Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-04T07:05:25.292Z] prd-ubuntu20.04-docker-arm64-4c-16g-15783 does not seem to be running inside a container [2024-10-04T07:05:25.358Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2024-10-04T07:05:28.102Z] $ docker top 1481c1834f49206b2e4474bba0dbffe5408057554e93ef0eb5a1b68db2d216d8 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-04T07:05:28.745Z] ---> job-cost.sh [2024-10-04T07:05:29.015Z] lf-activate-venv: SKIPPING [2024-10-04T07:05:29.015Z] INFO: No Stack... [2024-10-04T07:05:29.595Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-10-04T07:05:30.553Z] INFO: Archiving Costs [Pipeline] sh [2024-10-04T07:05:31.212Z] + cat /w/workspace/device-modbus-go/1/archives/cost.csv [2024-10-04T07:05:31.212Z] + cut -d, -f6 [Pipeline] lock [2024-10-04T07:05:31.268Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-modbus-go-PR-577-1-stack-cost] [2024-10-04T07:05:31.289Z] Resource [jenkins-edgexfoundry-device-modbus-go-PR-577-1-stack-cost] did not exist. Created. [2024-10-04T07:05:31.295Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-modbus-go-PR-577-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-10-04T07:05:32.071Z] /w/workspace/device-modbus-go/1@tmp/durable-0538f6b4/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-10-04T07:05:32.500Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-10-04T07:05:32.545Z] Warning: overwriting stash ‘stack-cost’ [2024-10-04T07:05:32.587Z] Stashed 1 file(s) [Pipeline] } [2024-10-04T07:05:32.607Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-modbus-go-PR-577-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-10-04T07:05:32.697Z] $ docker stop --time=1 1481c1834f49206b2e4474bba0dbffe5408057554e93ef0eb5a1b68db2d216d8 [2024-10-04T07:05:34.149Z] $ docker rm -f --volumes 1481c1834f49206b2e4474bba0dbffe5408057554e93ef0eb5a1b68db2d216d8 [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-04T07:05:35.309Z] provisioning config files... [2024-10-04T07:05:35.322Z] copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-577@tmp/config7843117721045338382tmp [Pipeline] { [Pipeline] sh [2024-10-04T07:05:35.692Z] + set +x [2024-10-04T07:05:35.692Z] + bash -s -- [2024-10-04T07:05:35.692Z] + curl -s https://codecov.io/bash [2024-10-04T07:05:35.692Z] [2024-10-04T07:05:35.692Z] _____ _ [2024-10-04T07:05:35.692Z] / ____| | | [2024-10-04T07:05:35.692Z] | | ___ __| | ___ ___ _____ __ [2024-10-04T07:05:35.692Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2024-10-04T07:05:35.692Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2024-10-04T07:05:35.692Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2024-10-04T07:05:35.692Z] Bash-1.0.6 [2024-10-04T07:05:35.692Z] [2024-10-04T07:05:35.692Z] [2024-10-04T07:05:35.692Z] ==> git version 2.25.1 found [2024-10-04T07:05:35.692Z] ==> 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-04T07:05:35.692Z] Release-Date: 2020-01-08 [2024-10-04T07:05:35.692Z] 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-04T07:05:35.692Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2024-10-04T07:05:35.692Z] ==> Jenkins CI detected. [2024-10-04T07:05:35.692Z] current dir:  /w/workspace/xfoundry_device-modbus-go_PR-577 [2024-10-04T07:05:35.692Z] project root: . [2024-10-04T07:05:35.692Z] --> token set from env [2024-10-04T07:05:35.692Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2024-10-04T07:05:35.949Z] ==> Running gcov in . (disable via -X gcov) [2024-10-04T07:05:35.949Z] ==> Python coveragepy not found [2024-10-04T07:05:35.949Z] ==> Searching for coverage reports in: [2024-10-04T07:05:35.949Z] + . [2024-10-04T07:05:35.949Z] -> Found 1 reports [2024-10-04T07:05:35.949Z] ==> Detecting git/mercurial file structure [2024-10-04T07:05:35.949Z] ==> Reading reports [2024-10-04T07:05:35.949Z] + ./coverage.out bytes=24669 [2024-10-04T07:05:35.949Z] ==> Appending adjustments [2024-10-04T07:05:35.949Z] https://docs.codecov.io/docs/fixing-reports [2024-10-04T07:05:35.949Z] + Found adjustments [2024-10-04T07:05:35.949Z] ==> Gzipping contents [2024-10-04T07:05:35.949Z] 4.0K /tmp/codecov.Xo77MM.gz [2024-10-04T07:05:35.949Z] ==> Uploading reports [2024-10-04T07:05:35.949Z] url: https://codecov.io [2024-10-04T07:05:35.949Z] query: branch=PR-577&commit=740c30d7b950d417d20c8a92a82ead1f4c53b564&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-577%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=577&job=&cmd_args= [2024-10-04T07:05:35.949Z] -> Pinging Codecov [2024-10-04T07:05:35.949Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-577&commit=740c30d7b950d417d20c8a92a82ead1f4c53b564&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-577%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=577&job=&cmd_args= [2024-10-04T07:05:36.208Z] -> Uploading to [2024-10-04T07:05:36.208Z] https://storage.googleapis.com/codecov/shelter/v4/github/edgexfoundry/device-modbus-go/740c30d7b950d417d20c8a92a82ead1f4c53b564/ee4686dc-de9d-4f7a-b983-d5b5b64d4fc6.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20241004%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20241004T070536Z&X-Amz-Expires=30&X-Amz-SignedHeaders=host&X-Amz-Signature=7395b6f3b2fa8f8fbbec6269066370ab5091f2032e9d057d560286cdc4dab9a7 [2024-10-04T07:05:36.208Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-10-04T07:05:36.208Z] Dload Upload Total Spent Left Speed [2024-10-04T07:05:37.385Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3859 0 0 100 3859 0 17382 --:--:-- --:--:-- --:--:-- 17382 [2024-10-04T07:05:37.385Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/740c30d7b950d417d20c8a92a82ead1f4c53b564 [Pipeline] } [2024-10-04T07:05:37.415Z] 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-04T07:05:39.573Z] + [ -d /w/workspace/xfoundry_device-modbus-go_PR-577/archives ] [2024-10-04T07:05:39.573Z] + ls -al /w/workspace/xfoundry_device-modbus-go_PR-577/archives [2024-10-04T07:05:39.573Z] total 16 [2024-10-04T07:05:39.573Z] drwxr-xr-x 3 root root 4096 Oct 4 06:40 . [2024-10-04T07:05:39.573Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 4 06:40 .. [2024-10-04T07:05:39.573Z] drwxr-xr-x 2 root root 4096 Oct 4 06:40 cost [2024-10-04T07:05:39.573Z] -rw-r--r-- 1 root root 88 Oct 4 06:40 cost.csv [2024-10-04T07:05:39.573Z] + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-577/archives [2024-10-04T07:05:39.573Z] + ls -al /w/workspace/xfoundry_device-modbus-go_PR-577/archives [2024-10-04T07:05:39.573Z] total 16 [2024-10-04T07:05:39.573Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 4 06:40 . [2024-10-04T07:05:39.573Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 4 06:40 .. [2024-10-04T07:05:39.573Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 4 06:40 cost [2024-10-04T07:05:39.573Z] -rw-r--r-- 1 jenkins jenkins 88 Oct 4 06:40 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-10-04T07:05:40.182Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-04T07:05:40.820Z] ---> package-listing.sh [2024-10-04T07:05:40.820Z] ++ facter osfamily [2024-10-04T07:05:40.820Z] ++ tr '[:upper:]' '[:lower:]' [2024-10-04T07:05:41.085Z] + OS_FAMILY=debian [2024-10-04T07:05:41.085Z] + workspace=/w/workspace/xfoundry_device-modbus-go_PR-577 [2024-10-04T07:05:41.085Z] + START_PACKAGES=/tmp/packages_start.txt [2024-10-04T07:05:41.085Z] + END_PACKAGES=/tmp/packages_end.txt [2024-10-04T07:05:41.085Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-10-04T07:05:41.085Z] + PACKAGES=/tmp/packages_start.txt [2024-10-04T07:05:41.085Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-577 ']' [2024-10-04T07:05:41.085Z] + PACKAGES=/tmp/packages_end.txt [2024-10-04T07:05:41.085Z] + case "${OS_FAMILY}" in [2024-10-04T07:05:41.085Z] + dpkg -l [2024-10-04T07:05:41.085Z] + grep '^ii' [2024-10-04T07:05:41.085Z] + '[' -f /tmp/packages_start.txt ']' [2024-10-04T07:05:41.085Z] + '[' -f /tmp/packages_end.txt ']' [2024-10-04T07:05:41.085Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-10-04T07:05:41.085Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-577 ']' [2024-10-04T07:05:41.085Z] + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-577/archives/ [2024-10-04T07:05:41.085Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-577/archives/ [Pipeline] echo [2024-10-04T07:05:41.124Z] 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-577/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-10-04T07:05:41.420Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-04T07:05:42.083Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-04T07:05:42.083Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-04T07:05:42.249Z] prd-ubuntu20.04-docker-8c-8g-15717 does not seem to be running inside a container [2024-10-04T07:05:42.265Z] $ 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-577/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-577 -v /w/workspace/xfoundry_device-modbus-go_PR-577:/w/workspace/xfoundry_device-modbus-go_PR-577:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-577@tmp:/w/workspace/xfoundry_device-modbus-go_PR-577@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-10-04T07:05:42.473Z] $ docker top f9c445a0b13366a6c348d47dc59e1efbf87f2e176ae804076e8454b735c1b245 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-04T07:05:42.900Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-10-04T07:05:43.219Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-10-04T07:05:43.542Z] + ls /var/log/sa-host [2024-10-04T07:05:43.542Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-10-04T07:05:43.804Z] provisioning config files... [2024-10-04T07:05:43.814Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-577@tmp/config8524192122097263359tmp [Pipeline] { [Pipeline] echo [2024-10-04T07:05:43.881Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-04T07:05:44.210Z] ---> create-netrc.sh [Pipeline] } [2024-10-04T07:05:44.239Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-10-04T07:05:44.683Z] ---> python-tools-install.sh [Pipeline] echo [2024-10-04T07:05:44.722Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-04T07:05:45.055Z] ---> sudo-logs.sh [2024-10-04T07:05:45.055Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-10-04T07:05:45.156Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-04T07:05:45.476Z] ---> job-cost.sh [2024-10-04T07:05:45.476Z] lf-activate-venv: SKIPPING [2024-10-04T07:05:45.476Z] DEBUG: total: 0.2199999988079071 [2024-10-04T07:05:45.476Z] INFO: Retrieving Stack Cost... [2024-10-04T07:05:46.045Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-10-04T07:05:46.319Z] INFO: Archiving Costs [Pipeline] echo [2024-10-04T07:05:46.365Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-04T07:05:46.689Z] ---> logs-deploy.sh [2024-10-04T07:05:46.689Z] lf-activate-venv: SKIPPING [2024-10-04T07:05:46.689Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-577/1 [2024-10-04T07:05:46.689Z] INFO: archiving workspace using pattern(s): [2024-10-04T07:05:53.261Z] Archives upload complete. [2024-10-04T07:05:53.261Z] INFO: archiving logs to Nexus