Pull request #588 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 7ef68773ff4b2c3bcd48dd99fd8009602923f542+dad323708bb7fb3ae7999ed6872af7cbf93de804 (15053a13a7181bf1594e6813ef46aabbfb605b76) 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-ssh3541346606693268677.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-ssh16388544814499037962.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-588/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-588/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17715170897782032998.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-588/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh818304550486080829.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-ssh17003030313478639103.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-588/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-588/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh16533351705329494050.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 0b81fa10a7dd14683a964f04f411324fe83f93ac Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-modbus-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-modbus-go-settings PROJECT: device-modbus-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.23 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-modbus DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-24482’ Running on prd-ubuntu20.04-docker-8c-8g-24484 in /w/workspace/xfoundry_device-modbus-go_PR-588 [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-588 # 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/588/head:refs/remotes/origin/PR-588 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit dad323708bb7fb3ae7999ed6872af7cbf93de804 into PR head commit 7ef68773ff4b2c3bcd48dd99fd8009602923f542 Merge succeeded, producing 7ef68773ff4b2c3bcd48dd99fd8009602923f542 Checking out Revision 7ef68773ff4b2c3bcd48dd99fd8009602923f542 (PR-588) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v4" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 0b81fa10a7dd14683a964f04f411324fe83f93ac > git config core.sparsecheckout # timeout=10 > git checkout -f 7ef68773ff4b2c3bcd48dd99fd8009602923f542 # 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 dad323708bb7fb3ae7999ed6872af7cbf93de804 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 7ef68773ff4b2c3bcd48dd99fd8009602923f542 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-11-04T05:41:12.130Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-11-04T05:41:12.357Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-11-04T05:41:12.467Z] ========================================================= [2024-11-04T05:41:12.467Z] EdgeX Global Pipelines Version Info [2024-11-04T05:41:12.467Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-11-04T05:41:13.261Z] ------------------- [2024-11-04T05:41:13.261Z] stable info: [2024-11-04T05:41:13.261Z] ------------------- [2024-11-04T05:41:13.261Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-11-04T05:41:13.261Z] Commit SHA: 0b81fa10a7dd14683a964f04f411324fe83f93ac [2024-11-04T05:41:13.261Z] Message: update stable to v1.0.265 [2024-11-04T05:41:13.832Z] ------------------- [2024-11-04T05:41:13.832Z] experimental info: [2024-11-04T05:41:13.832Z] ------------------- [2024-11-04T05:41:13.832Z] Commited By: Cherry Wang cherry@iotechsys.com [2024-11-04T05:41:13.832Z] Commit SHA: b5a5e52272fc4198cf3754284eedf36dbf0baa35 [2024-11-04T05:41:13.832Z] Message: update experimental to v1.0.264 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-11-04T05:41:14.053Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo [2024-11-04T05:41:14.117Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo [2024-11-04T05:41:14.179Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-11-04T05:41:14.239Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-11-04T05:41:14.300Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-11-04T05:41:14.361Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo [2024-11-04T05:41:14.421Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-11-04T05:41:14.481Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2024-11-04T05:41:14.539Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-11-04T05:41:14.596Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-11-04T05:41:14.655Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-11-04T05:41:14.715Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo [2024-11-04T05:41:14.777Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-11-04T05:41:14.832Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-11-04T05:41:14.887Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-11-04T05:41:14.943Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2024-11-04T05:41:15.000Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-11-04T05:41:15.062Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-11-04T05:41:15.118Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-11-04T05:41:15.173Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-11-04T05:41:15.227Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2024-11-04T05:41:15.287Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2024-11-04T05:41:15.343Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-11-04T05:41:15.400Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-11-04T05:41:15.464Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-11-04T05:41:15.520Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-11-04T05:41:15.578Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-11-04T05:41:15.636Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-588 [Pipeline] echo [2024-11-04T05:41:15.694Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-588 [Pipeline] echo [2024-11-04T05:41:15.754Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-588 [Pipeline] echo [2024-11-04T05:41:15.809Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 7ef68773ff4b2c3bcd48dd99fd8009602923f542 [Pipeline] echo [2024-11-04T05:41:15.869Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 7ef6877 [Pipeline] echo [2024-11-04T05:41:15.927Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-11-04T05:41:16.071Z] provisioning config files... [2024-11-04T05:41:16.086Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-588@tmp/config13745493435993244662tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-11-04T05:41:16.480Z] ---> ****-login.sh [2024-11-04T05:41:16.480Z] nexus3.edgexfoundry.org:10001 [2024-11-04T05:41:16.740Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-04T05:41:16.740Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-04T05:41:16.740Z] Configure a credential helper to remove this warning. See [2024-11-04T05:41:16.741Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-04T05:41:16.741Z] [2024-11-04T05:41:16.741Z] Login Succeeded [2024-11-04T05:41:16.741Z] nexus3.edgexfoundry.org:10002 [2024-11-04T05:41:16.741Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-04T05:41:16.741Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-04T05:41:16.741Z] Configure a credential helper to remove this warning. See [2024-11-04T05:41:16.741Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-04T05:41:16.741Z] [2024-11-04T05:41:16.741Z] Login Succeeded [2024-11-04T05:41:16.741Z] nexus3.edgexfoundry.org:10003 [2024-11-04T05:41:17.002Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-04T05:41:17.002Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-04T05:41:17.002Z] Configure a credential helper to remove this warning. See [2024-11-04T05:41:17.002Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-04T05:41:17.002Z] [2024-11-04T05:41:17.002Z] Login Succeeded [2024-11-04T05:41:17.002Z] nexus3.edgexfoundry.org:10004 [2024-11-04T05:41:17.002Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-04T05:41:17.002Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-04T05:41:17.002Z] Configure a credential helper to remove this warning. See [2024-11-04T05:41:17.002Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-04T05:41:17.002Z] [2024-11-04T05:41:17.002Z] Login Succeeded [2024-11-04T05:41:17.002Z] ****.io [2024-11-04T05:41:17.262Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-04T05:41:17.262Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-04T05:41:17.262Z] Configure a credential helper to remove this warning. See [2024-11-04T05:41:17.262Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-04T05:41:17.262Z] [2024-11-04T05:41:17.262Z] Login Succeeded [2024-11-04T05:41:17.262Z] ---> ****-login.sh ends [Pipeline] } [2024-11-04T05:41:17.297Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-11-04T05:41:18.027Z] + git rev-list -1 --merges 7ef68773ff4b2c3bcd48dd99fd8009602923f542~1..7ef68773ff4b2c3bcd48dd99fd8009602923f542 [Pipeline] echo [2024-11-04T05:41:18.079Z] -----------> git rev-list -1 --merges 7ef68773ff4b2c3bcd48dd99fd8009602923f542~1..7ef68773ff4b2c3bcd48dd99fd8009602923f542 7ef68773ff4b2c3bcd48dd99fd8009602923f542 [false] [Pipeline] sh [2024-11-04T05:41:18.511Z] + git log --format=format:%s -1 7ef68773ff4b2c3bcd48dd99fd8009602923f542 [Pipeline] echo [2024-11-04T05:41:18.560Z] ========================================================= [2024-11-04T05:41:18.560Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-11-04T05:41:18.560Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-11-04T05:41:19.031Z] + git log --format=format:%s -1 7ef68773ff4b2c3bcd48dd99fd8009602923f542 [Pipeline] echo [2024-11-04T05:41:19.074Z] [semverPrep] GIT_COMMIT: 7ef68773ff4b2c3bcd48dd99fd8009602923f542, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v4 [Pipeline] echo [2024-11-04T05:41:19.122Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-11-04T05:41:19.534Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-11-04T05:41:19.534Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-11-04T05:41:19.534Z] + [ -e /tmp/ssh_known_hosts ] [2024-11-04T05:41:19.534Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-11-04T05:41:19.534Z] + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-11-04T05:41:19.534Z] sudo tee -a /etc/ssh/ssh_known_hosts [2024-11-04T05:41:19.534Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-04T05:41:19.975Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-11-04T05:41:19.975Z] [2024-11-04T05:41:19.975Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-04T05:41:20.397Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-11-04T05:41:20.397Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-11-04T05:41:20.397Z] b85a868b505f: Pulling fs layer [2024-11-04T05:41:20.397Z] e2be974225ed: Pulling fs layer [2024-11-04T05:41:20.397Z] 339a4e72a1f5: Pulling fs layer [2024-11-04T05:41:20.397Z] 988bab9f4d93: Pulling fs layer [2024-11-04T05:41:20.397Z] 1469e6f7b9e6: Pulling fs layer [2024-11-04T05:41:20.397Z] eaf3925da568: Pulling fs layer [2024-11-04T05:41:20.397Z] bab4dde63d76: Pulling fs layer [2024-11-04T05:41:20.397Z] bde34c3a00c8: Pulling fs layer [2024-11-04T05:41:20.397Z] 988bab9f4d93: Waiting [2024-11-04T05:41:20.397Z] b352a97aabf1: Pulling fs layer [2024-11-04T05:41:20.397Z] 4872d77fe225: Pulling fs layer [2024-11-04T05:41:20.397Z] 5851b861e8e6: Pulling fs layer [2024-11-04T05:41:20.397Z] bab4dde63d76: Waiting [2024-11-04T05:41:20.397Z] bde34c3a00c8: Waiting [2024-11-04T05:41:20.397Z] 4872d77fe225: Waiting [2024-11-04T05:41:20.397Z] b352a97aabf1: Waiting [2024-11-04T05:41:20.397Z] 5851b861e8e6: Waiting [2024-11-04T05:41:20.397Z] eaf3925da568: Waiting [2024-11-04T05:41:20.397Z] e2be974225ed: Download complete [2024-11-04T05:41:20.397Z] 988bab9f4d93: Verifying Checksum [2024-11-04T05:41:20.397Z] 988bab9f4d93: Download complete [2024-11-04T05:41:20.397Z] 339a4e72a1f5: Verifying Checksum [2024-11-04T05:41:20.397Z] 339a4e72a1f5: Download complete [2024-11-04T05:41:20.397Z] 1469e6f7b9e6: Verifying Checksum [2024-11-04T05:41:20.397Z] 1469e6f7b9e6: Download complete [2024-11-04T05:41:20.660Z] eaf3925da568: Download complete [2024-11-04T05:41:20.660Z] bde34c3a00c8: Download complete [2024-11-04T05:41:20.660Z] b352a97aabf1: Verifying Checksum [2024-11-04T05:41:20.660Z] b352a97aabf1: Download complete [2024-11-04T05:41:20.660Z] 4872d77fe225: Verifying Checksum [2024-11-04T05:41:20.660Z] 4872d77fe225: Download complete [2024-11-04T05:41:20.660Z] b85a868b505f: Verifying Checksum [2024-11-04T05:41:20.660Z] b85a868b505f: Download complete [2024-11-04T05:41:20.934Z] bab4dde63d76: Verifying Checksum [2024-11-04T05:41:20.934Z] bab4dde63d76: Download complete [2024-11-04T05:41:21.876Z] b85a868b505f: Pull complete [2024-11-04T05:41:22.135Z] e2be974225ed: Pull complete [2024-11-04T05:41:22.395Z] 339a4e72a1f5: Pull complete [2024-11-04T05:41:22.655Z] 988bab9f4d93: Pull complete [2024-11-04T05:41:22.914Z] 1469e6f7b9e6: Pull complete [2024-11-04T05:41:22.914Z] eaf3925da568: Pull complete [2024-11-04T05:41:24.821Z] bab4dde63d76: Pull complete [2024-11-04T05:41:24.821Z] bde34c3a00c8: Pull complete [2024-11-04T05:41:25.081Z] b352a97aabf1: Pull complete [2024-11-04T05:41:25.081Z] 4872d77fe225: Pull complete [2024-11-04T05:41:25.081Z] 5851b861e8e6: Pull complete [2024-11-04T05:41:25.081Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-11-04T05:41:25.081Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-11-04T05:41:25.081Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-04T05:41:25.361Z] prd-ubuntu20.04-docker-8c-8g-24484 does not seem to be running inside a container [2024-11-04T05:41:25.395Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-588 -v /w/workspace/xfoundry_device-modbus-go_PR-588:/w/workspace/xfoundry_device-modbus-go_PR-588:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-588@tmp:/w/workspace/xfoundry_device-modbus-go_PR-588@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-11-04T05:41:27.474Z] $ docker top 369ce9ef5ef5457eb9c988b4ba1b9ceb3e9f24bd16fd7fceb5f37d84feb67a67 -eo pid,comm [2024-11-04T05:41:27.526Z] 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-11-04T05:41:27.526Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-11-04T05:41:27.706Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-11-04T05:41:27.706Z] [ssh-agent] Looking for ssh-agent implementation... [2024-11-04T05:41:27.811Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-11-04T05:41:27.812Z] $ docker exec 369ce9ef5ef5457eb9c988b4ba1b9ceb3e9f24bd16fd7fceb5f37d84feb67a67 ssh-agent [2024-11-04T05:41:27.927Z] SSH_AUTH_SOCK=/tmp/ssh-YgYuUT2t1aKN/agent.33 [2024-11-04T05:41:27.927Z] SSH_AGENT_PID=39 [2024-11-04T05:41:27.933Z] Running ssh-add (command line suppressed) [2024-11-04T05:41:28.027Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-588@tmp/private_key_1845370416492009477.key (/w/workspace/xfoundry_device-modbus-go_PR-588@tmp/private_key_1845370416492009477.key) [2024-11-04T05:41:28.044Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-11-04T05:41:28.392Z] + git tag --points-at HEAD [Pipeline] } [2024-11-04T05:41:28.419Z] $ docker exec --env ******** --env ******** 369ce9ef5ef5457eb9c988b4ba1b9ceb3e9f24bd16fd7fceb5f37d84feb67a67 ssh-agent -k [2024-11-04T05:41:28.532Z] unset SSH_AUTH_SOCK; [2024-11-04T05:41:28.533Z] unset SSH_AGENT_PID; [2024-11-04T05:41:28.533Z] echo Agent pid 39 killed; [2024-11-04T05:41:28.545Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-11-04T05:41:28.666Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-11-04T05:41:28.666Z] [ssh-agent] Looking for ssh-agent implementation... [2024-11-04T05:41:28.788Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-11-04T05:41:28.790Z] $ docker exec 369ce9ef5ef5457eb9c988b4ba1b9ceb3e9f24bd16fd7fceb5f37d84feb67a67 ssh-agent [2024-11-04T05:41:28.905Z] SSH_AUTH_SOCK=/tmp/ssh-bTz52k1fKLxm/agent.72 [2024-11-04T05:41:28.905Z] SSH_AGENT_PID=78 [2024-11-04T05:41:28.910Z] Running ssh-add (command line suppressed) [2024-11-04T05:41:29.002Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-588@tmp/private_key_16192224453481623844.key (/w/workspace/xfoundry_device-modbus-go_PR-588@tmp/private_key_16192224453481623844.key) [2024-11-04T05:41:29.018Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-11-04T05:41:29.370Z] + git semver init [2024-11-04T05:41:29.632Z] 2024-11-04 05:41:29,540 [run_init] DEBUG init version:0.0.0 force:False [2024-11-04T05:41:29.632Z] 2024-11-04 05:41:29,541 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-modbus-go_PR-588/.semver [2024-11-04T05:41:29.632Z] 2024-11-04 05:41:29,541 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/xfoundry_device-modbus-go_PR-588/.semver [2024-11-04T05:41:29.632Z] 2024-11-04 05:41:29,541 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/xfoundry_device-modbus-go_PR-588/.semver'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-588, universal_newlines=False, shell=None, istream=None) [2024-11-04T05:41:30.573Z] 2024-11-04 05:41:30,538 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-modbus-go_PR-588/.git/info/exclude [2024-11-04T05:41:30.573Z] 2024-11-04 05:41:30,538 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-modbus-go_PR-588/.semver/PR-588 with force:False [2024-11-04T05:41:30.573Z] 2024-11-04 05:41:30,538 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-modbus-go_PR-588/.semver/PR-588 [2024-11-04T05:41:30.573Z] 2024-11-04 05:41:30,541 [execute] INFO git cat-file --batch-check [2024-11-04T05:41:30.573Z] 2024-11-04 05:41:30,541 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-588/.semver, universal_newlines=False, shell=None, istream=) [2024-11-04T05:41:30.573Z] 2024-11-04 05:41:30,547 [execute] INFO git cat-file --batch [2024-11-04T05:41:30.573Z] 2024-11-04 05:41:30,548 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-588/.semver, universal_newlines=False, shell=None, istream=) [2024-11-04T05:41:30.573Z] 2024-11-04 05:41:30,553 [read_version] DEBUG read version from /w/workspace/xfoundry_device-modbus-go_PR-588/.semver/PR-588 [2024-11-04T05:41:30.573Z] 0.0.0 [Pipeline] } [2024-11-04T05:41:30.603Z] $ docker exec --env ******** --env ******** 369ce9ef5ef5457eb9c988b4ba1b9ceb3e9f24bd16fd7fceb5f37d84feb67a67 ssh-agent -k [2024-11-04T05:41:30.703Z] unset SSH_AUTH_SOCK; [2024-11-04T05:41:30.704Z] unset SSH_AGENT_PID; [2024-11-04T05:41:30.704Z] echo Agent pid 78 killed; [2024-11-04T05:41:30.716Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-11-04T05:41:31.163Z] + git semver [Pipeline] } [2024-11-04T05:41:31.452Z] $ docker stop --time=1 369ce9ef5ef5457eb9c988b4ba1b9ceb3e9f24bd16fd7fceb5f37d84feb67a67 [2024-11-04T05:41:32.786Z] $ docker rm -f --volumes 369ce9ef5ef5457eb9c988b4ba1b9ceb3e9f24bd16fd7fceb5f37d84feb67a67 [Pipeline] // withDockerContainer [Pipeline] sh [2024-11-04T05:41:33.208Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-11-04T05:41:33.529Z] Stashed 1 file(s) [Pipeline] echo [2024-11-04T05:41:33.553Z] [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-11-04T05:41:34.188Z] provisioning config files... [2024-11-04T05:41:34.200Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-588@tmp/config9593496733318823984tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-11-04T05:41:34.570Z] ---> ****-login.sh [2024-11-04T05:41:34.570Z] nexus3.edgexfoundry.org:10001 [2024-11-04T05:41:34.570Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-04T05:41:34.570Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-04T05:41:34.570Z] Configure a credential helper to remove this warning. See [2024-11-04T05:41:34.570Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-04T05:41:34.570Z] [2024-11-04T05:41:34.570Z] Login Succeeded [2024-11-04T05:41:34.570Z] nexus3.edgexfoundry.org:10002 [2024-11-04T05:41:34.570Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-04T05:41:34.570Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-04T05:41:34.570Z] Configure a credential helper to remove this warning. See [2024-11-04T05:41:34.570Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-04T05:41:34.570Z] [2024-11-04T05:41:34.570Z] Login Succeeded [2024-11-04T05:41:34.570Z] nexus3.edgexfoundry.org:10003 [2024-11-04T05:41:34.832Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-04T05:41:34.832Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-04T05:41:34.832Z] Configure a credential helper to remove this warning. See [2024-11-04T05:41:34.832Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-04T05:41:34.832Z] [2024-11-04T05:41:34.832Z] Login Succeeded [2024-11-04T05:41:34.832Z] nexus3.edgexfoundry.org:10004 [2024-11-04T05:41:34.832Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-04T05:41:34.832Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-04T05:41:34.833Z] Configure a credential helper to remove this warning. See [2024-11-04T05:41:34.833Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-04T05:41:34.833Z] [2024-11-04T05:41:34.833Z] Login Succeeded [2024-11-04T05:41:34.833Z] ****.io [2024-11-04T05:41:35.093Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-04T05:41:35.093Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-04T05:41:35.093Z] Configure a credential helper to remove this warning. See [2024-11-04T05:41:35.093Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-04T05:41:35.093Z] [2024-11-04T05:41:35.093Z] Login Succeeded [2024-11-04T05:41:35.093Z] ---> ****-login.sh ends [Pipeline] } [2024-11-04T05:41:35.129Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-11-04T05:41:35.358Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-11-04T05:41:35.406Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-11-04T05:41:35.452Z] ========================================================= [2024-11-04T05:41:35.452Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] [2024-11-04T05:41:35.452Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-04T05:41:35.936Z] + 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-11-04T05:41:35.936Z] Sending build context to Docker daemon 18.04MB [2024-11-04T05:41:35.936Z] Step 1/10 : ARG BASE=golang:1.23-alpine3.20 [2024-11-04T05:41:35.936Z] Step 2/10 : FROM ${BASE} AS builder [2024-11-04T05:41:35.936Z] 1.23-alpine: Pulling from edgex-devops/edgex-golang-base [2024-11-04T05:41:35.936Z] 43c4264eed91: Pulling fs layer [2024-11-04T05:41:35.936Z] 4cc291be95ef: Pulling fs layer [2024-11-04T05:41:35.936Z] 2ac1f1163629: Pulling fs layer [2024-11-04T05:41:35.936Z] 5c3c966382ef: Pulling fs layer [2024-11-04T05:41:35.936Z] 4f4fb700ef54: Pulling fs layer [2024-11-04T05:41:35.936Z] 5d5c8e513c77: Pulling fs layer [2024-11-04T05:41:35.936Z] 9f66e0745190: Pulling fs layer [2024-11-04T05:41:35.936Z] f49a43e4bbc0: Pulling fs layer [2024-11-04T05:41:35.936Z] 561ebcabdf7f: Pulling fs layer [2024-11-04T05:41:35.936Z] 5d5c8e513c77: Waiting [2024-11-04T05:41:35.936Z] 9f66e0745190: Waiting [2024-11-04T05:41:35.936Z] f49a43e4bbc0: Waiting [2024-11-04T05:41:35.936Z] 5c3c966382ef: Waiting [2024-11-04T05:41:35.936Z] 4f4fb700ef54: Waiting [2024-11-04T05:41:35.936Z] 561ebcabdf7f: Waiting [2024-11-04T05:41:36.196Z] 4cc291be95ef: Download complete [2024-11-04T05:41:36.196Z] 5c3c966382ef: Verifying Checksum [2024-11-04T05:41:36.196Z] 5c3c966382ef: Download complete [2024-11-04T05:41:36.196Z] 4f4fb700ef54: Verifying Checksum [2024-11-04T05:41:36.196Z] 4f4fb700ef54: Download complete [2024-11-04T05:41:36.196Z] 5d5c8e513c77: Verifying Checksum [2024-11-04T05:41:36.196Z] 5d5c8e513c77: Download complete [2024-11-04T05:41:36.196Z] 43c4264eed91: Download complete [2024-11-04T05:41:36.196Z] 9f66e0745190: Verifying Checksum [2024-11-04T05:41:36.196Z] 9f66e0745190: Download complete [2024-11-04T05:41:36.196Z] 43c4264eed91: Pull complete [2024-11-04T05:41:36.456Z] 561ebcabdf7f: Verifying Checksum [2024-11-04T05:41:36.456Z] 561ebcabdf7f: Download complete [2024-11-04T05:41:36.456Z] 4cc291be95ef: Pull complete [2024-11-04T05:41:36.456Z] 2ac1f1163629: Verifying Checksum [2024-11-04T05:41:36.456Z] 2ac1f1163629: Download complete [2024-11-04T05:41:36.714Z] f49a43e4bbc0: Verifying Checksum [2024-11-04T05:41:36.714Z] f49a43e4bbc0: Download complete [2024-11-04T05:41:40.909Z] 2ac1f1163629: Pull complete [2024-11-04T05:41:40.909Z] 5c3c966382ef: Pull complete [2024-11-04T05:41:40.909Z] 4f4fb700ef54: Pull complete [2024-11-04T05:41:40.909Z] 5d5c8e513c77: Pull complete [2024-11-04T05:41:40.909Z] 9f66e0745190: Pull complete [2024-11-04T05:41:42.809Z] f49a43e4bbc0: Pull complete [2024-11-04T05:41:43.376Z] 561ebcabdf7f: Pull complete [2024-11-04T05:41:43.376Z] Digest: sha256:0719486ae9a24b675ee3acaa2cfd867e7a981f2ef22b41d166c62d936fe8de2d [2024-11-04T05:41:43.376Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine [2024-11-04T05:41:43.376Z] ---> 3a752c3f9dda [2024-11-04T05:41:43.376Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2024-11-04T05:41:45.915Z] ---> Running in 9697f492b03d [2024-11-04T05:41:45.915Z] Removing intermediate container 9697f492b03d [2024-11-04T05:41:45.915Z] ---> 4225ed71abb3 [2024-11-04T05:41:45.915Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-11-04T05:41:45.915Z] ---> Running in e357fc8c848d [2024-11-04T05:41:45.915Z] Removing intermediate container e357fc8c848d [2024-11-04T05:41:45.915Z] ---> a9381abcde73 [2024-11-04T05:41:45.915Z] Step 5/10 : RUN apk add --update --no-cache make git openssh [2024-11-04T05:41:45.915Z] ---> Running in 92c205535e16 [2024-11-04T05:41:46.175Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-11-04T05:41:46.435Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-11-04T05:41:46.695Z] (1/8) Installing openssh-keygen (9.7_p1-r4) [2024-11-04T05:41:46.695Z] (2/8) Installing libedit (20240517.3.1-r0) [2024-11-04T05:41:46.695Z] (3/8) Installing openssh-client-common (9.7_p1-r4) [2024-11-04T05:41:46.695Z] (4/8) Installing openssh-client-default (9.7_p1-r4) [2024-11-04T05:41:46.695Z] (5/8) Installing openssh-sftp-server (9.7_p1-r4) [2024-11-04T05:41:46.695Z] (6/8) Installing openssh-server-common (9.7_p1-r4) [2024-11-04T05:41:46.695Z] (7/8) Installing openssh-server (9.7_p1-r4) [2024-11-04T05:41:46.695Z] (8/8) Installing openssh (9.7_p1-r4) [2024-11-04T05:41:46.695Z] Executing busybox-1.36.1-r29.trigger [2024-11-04T05:41:46.695Z] OK: 252 MiB in 62 packages [2024-11-04T05:41:47.264Z] Removing intermediate container 92c205535e16 [2024-11-04T05:41:47.265Z] ---> 633384d050e0 [2024-11-04T05:41:47.265Z] Step 6/10 : WORKDIR /device-modbus-go [2024-11-04T05:41:47.265Z] ---> Running in 785343fd6571 [2024-11-04T05:41:47.265Z] Removing intermediate container 785343fd6571 [2024-11-04T05:41:47.265Z] ---> 9aa025d39d27 [2024-11-04T05:41:47.265Z] Step 7/10 : COPY go.mod vendor* ./ [2024-11-04T05:41:47.524Z] ---> 457556012005 [2024-11-04T05:41:47.524Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-11-04T05:41:47.524Z] ---> Running in 7ccbf48c6369 [2024-11-04T05:41:48.993Z] Still waiting to schedule task [2024-11-04T05:41:48.993Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-24483’ [2024-11-04T05:42:26.286Z] Removing intermediate container 7ccbf48c6369 [2024-11-04T05:42:26.286Z] ---> b7952df00256 [2024-11-04T05:42:26.286Z] Step 9/10 : COPY . . [2024-11-04T05:42:26.286Z] ---> a09fd60f02da [2024-11-04T05:42:26.286Z] Step 10/10 : RUN ${MAKE} [2024-11-04T05:42:26.286Z] ---> Running in 419dcc153626 [2024-11-04T05:42:26.286Z] noop [2024-11-04T05:42:26.286Z] Removing intermediate container 419dcc153626 [2024-11-04T05:42:26.286Z] ---> a7004d88ee29 [2024-11-04T05:42:26.287Z] Successfully built a7004d88ee29 [2024-11-04T05:42:26.287Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-04T05:42:26.776Z] + docker inspect -f . ci-base-image-x86_64 [2024-11-04T05:42:26.776Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-04T05:42:26.946Z] prd-ubuntu20.04-docker-8c-8g-24484 does not seem to be running inside a container [2024-11-04T05:42:26.979Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-588 -v /w/workspace/xfoundry_device-modbus-go_PR-588:/w/workspace/xfoundry_device-modbus-go_PR-588:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-588@tmp:/w/workspace/xfoundry_device-modbus-go_PR-588@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-11-04T05:42:27.353Z] $ docker top 8ca32a7cfca00f41a06d0b12e96a6ff80677092ed7ee9552198175f95584fcd3 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-11-04T05:42:27.766Z] + go version [2024-11-04T05:42:27.767Z] go version go1.23.2 linux/amd64 [Pipeline] } [2024-11-04T05:42:27.799Z] $ docker stop --time=1 8ca32a7cfca00f41a06d0b12e96a6ff80677092ed7ee9552198175f95584fcd3 [2024-11-04T05:42:29.071Z] $ docker rm -f --volumes 8ca32a7cfca00f41a06d0b12e96a6ff80677092ed7ee9552198175f95584fcd3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-04T05:42:29.863Z] + docker inspect -f . ci-base-image-x86_64 [2024-11-04T05:42:29.864Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-04T05:42:30.034Z] prd-ubuntu20.04-docker-8c-8g-24484 does not seem to be running inside a container [2024-11-04T05:42:30.060Z] $ 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-588 -v /w/workspace/xfoundry_device-modbus-go_PR-588:/w/workspace/xfoundry_device-modbus-go_PR-588:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-588@tmp:/w/workspace/xfoundry_device-modbus-go_PR-588@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-11-04T05:42:30.415Z] $ docker top 2ff695554374902e5211aafbe10959aa7d57d68ae640ff273544f2a3bf639344 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-11-04T05:42:30.834Z] + git config --global --add safe.directory /w/workspace/xfoundry_device-modbus-go_PR-588 [Pipeline] fileExists [Pipeline] sh [2024-11-04T05:42:31.209Z] + make test [2024-11-04T05:42:31.209Z] go test ./... -coverprofile=coverage.out [2024-11-04T05:42:32.584Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2024-11-04T05:42:54.509Z] github.com/edgexfoundry/device-modbus-go/cmd coverage: 0.0% of statements [2024-11-04T05:42:54.509Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.013s coverage: 48.0% of statements [2024-11-04T05:43:04.510Z] go vet ./... [2024-11-04T05:43:11.072Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-11-04T05:43:11.072Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-11-04T05:43:11.072Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2024-11-04T05:43:11.114Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-11-04T05:43:11.153Z] $ docker stop --time=1 2ff695554374902e5211aafbe10959aa7d57d68ae640ff273544f2a3bf639344 [2024-11-04T05:43:13.117Z] $ docker rm -f --volumes 2ff695554374902e5211aafbe10959aa7d57d68ae640ff273544f2a3bf639344 [Pipeline] // withDockerContainer [Pipeline] sh [2024-11-04T05:43:13.808Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-11-04T05:43:13.901Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2024-11-04T05:43:14.609Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-11-04T05:43:14.935Z] + ls -al . [2024-11-04T05:43:14.935Z] total 260 [2024-11-04T05:43:14.935Z] drwxrwxr-x 9 jenkins jenkins 4096 Nov 4 05:42 . [2024-11-04T05:43:14.935Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 4 05:41 .. [2024-11-04T05:43:14.935Z] -rw-rw-r-- 1 jenkins jenkins 140 Nov 4 05:41 .dockerignore [2024-11-04T05:43:14.935Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 4 05:42 .git [2024-11-04T05:43:14.935Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 4 05:41 .github [2024-11-04T05:43:14.935Z] -rw-rw-r-- 1 jenkins jenkins 266 Nov 4 05:41 .gitignore [2024-11-04T05:43:14.935Z] -rw-rw-r-- 1 jenkins jenkins 199 Nov 4 05:41 .golangci.yml [2024-11-04T05:43:14.935Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 4 05:41 .semver [2024-11-04T05:43:14.935Z] -rw-rw-r-- 1 jenkins jenkins 19818 Nov 4 05:41 Attribution.txt [2024-11-04T05:43:14.935Z] -rw-rw-r-- 1 jenkins jenkins 16388 Nov 4 05:41 CHANGELOG.md [2024-11-04T05:43:14.935Z] -rw-rw-r-- 1 jenkins jenkins 1479 Nov 4 05:41 Dockerfile [2024-11-04T05:43:14.935Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 4 05:41 GOVERNANCE.md [2024-11-04T05:43:14.935Z] -rw-rw-r-- 1 jenkins jenkins 658 Nov 4 05:41 Jenkinsfile [2024-11-04T05:43:14.935Z] -rw-rw-r-- 1 jenkins jenkins 11340 Nov 4 05:41 LICENSE [2024-11-04T05:43:14.935Z] -rw-rw-r-- 1 jenkins jenkins 2479 Nov 4 05:41 Makefile [2024-11-04T05:43:14.935Z] -rw-rw-r-- 1 jenkins jenkins 622 Nov 4 05:41 OWNERS.md [2024-11-04T05:43:14.935Z] -rw-rw-r-- 1 jenkins jenkins 4463 Nov 4 05:41 README.md [2024-11-04T05:43:14.935Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 4 05:41 VERSION [2024-11-04T05:43:14.935Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 4 05:41 bin [2024-11-04T05:43:14.935Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 4 05:41 cmd [2024-11-04T05:43:14.935Z] -rw-r--r-- 1 jenkins jenkins 25464 Nov 4 05:42 coverage.out [2024-11-04T05:43:14.935Z] -rw-rw-r-- 1 jenkins jenkins 6490 Nov 4 05:41 go.mod [2024-11-04T05:43:14.935Z] -rw-rw-r-- 1 jenkins jenkins 88426 Nov 4 05:41 go.sum [2024-11-04T05:43:14.935Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 4 05:41 internal [2024-11-04T05:43:14.935Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 4 05:41 simulator [2024-11-04T05:43:14.935Z] -rw-rw-r-- 1 jenkins jenkins 229 Nov 4 05:41 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-04T05:43:15.365Z] + 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=7ef68773ff4b2c3bcd48dd99fd8009602923f542 --label arch=amd64 --label version=0.0.0 . [2024-11-04T05:43:15.366Z] Sending build context to Docker daemon 18.06MB [2024-11-04T05:43:15.366Z] Step 1/23 : ARG BASE=golang:1.23-alpine3.20 [2024-11-04T05:43:15.366Z] Step 2/23 : FROM ${BASE} AS builder [2024-11-04T05:43:15.366Z] ---> a7004d88ee29 [2024-11-04T05:43:15.366Z] Step 3/23 : ARG ADD_BUILD_TAGS="" [2024-11-04T05:43:15.366Z] ---> Running in d682c8ec255b [2024-11-04T05:43:15.630Z] Removing intermediate container d682c8ec255b [2024-11-04T05:43:15.630Z] ---> 6da5237ca99f [2024-11-04T05:43:15.630Z] Step 4/23 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-11-04T05:43:15.630Z] ---> Running in 41356f07b983 [2024-11-04T05:43:15.630Z] Removing intermediate container 41356f07b983 [2024-11-04T05:43:15.630Z] ---> 235705e79e38 [2024-11-04T05:43:15.630Z] Step 5/23 : RUN apk add --update --no-cache make git openssh [2024-11-04T05:43:15.630Z] ---> Running in 3ba9fac23af9 [2024-11-04T05:43:15.890Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-11-04T05:43:16.151Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-11-04T05:43:16.417Z] OK: 252 MiB in 62 packages [2024-11-04T05:43:16.679Z] Removing intermediate container 3ba9fac23af9 [2024-11-04T05:43:16.679Z] ---> 61ad1a8174b1 [2024-11-04T05:43:16.679Z] Step 6/23 : WORKDIR /device-modbus-go [2024-11-04T05:43:16.939Z] ---> Running in 239554ef0523 [2024-11-04T05:43:16.939Z] Removing intermediate container 239554ef0523 [2024-11-04T05:43:16.939Z] ---> 14526128b22e [2024-11-04T05:43:16.939Z] Step 7/23 : COPY go.mod vendor* ./ [2024-11-04T05:43:16.939Z] ---> 66b27ad89fa5 [2024-11-04T05:43:16.939Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-11-04T05:43:17.200Z] ---> Running in 21df2d9a3386 [2024-11-04T05:43:17.771Z] Removing intermediate container 21df2d9a3386 [2024-11-04T05:43:17.771Z] ---> 42204f4f3133 [2024-11-04T05:43:17.771Z] Step 9/23 : COPY . . [2024-11-04T05:43:18.341Z] ---> 45ef33eeb710 [2024-11-04T05:43:18.341Z] Step 10/23 : RUN ${MAKE} [2024-11-04T05:43:18.341Z] ---> Running in 24c78732a50a [2024-11-04T05:43:18.341Z] CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-modbus-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v4/internal/common.SDKVersion=v4.0.0-dev.3" -trimpath -mod=readonly -ldflags "-bindnow" -buildmode=pie -o cmd/device-modbus ./cmd [2024-11-04T05:43:50.602Z] Removing intermediate container 24c78732a50a [2024-11-04T05:43:50.602Z] ---> 5aaebfb1fd30 [2024-11-04T05:43:50.602Z] Step 11/23 : FROM alpine:3.20 [2024-11-04T05:43:50.602Z] 3.20: Pulling from library/alpine [2024-11-04T05:43:50.602Z] 43c4264eed91: Already exists [2024-11-04T05:43:50.602Z] Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d [2024-11-04T05:43:50.602Z] Status: Downloaded newer image for alpine:3.20 [2024-11-04T05:43:50.602Z] ---> 91ef0af61f39 [2024-11-04T05:43:50.602Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2024: IoTech Ltd' [2024-11-04T05:43:50.602Z] ---> Running in 0ac7fa2b5762 [2024-11-04T05:43:50.602Z] Removing intermediate container 0ac7fa2b5762 [2024-11-04T05:43:50.602Z] ---> d32dfd9a19d2 [2024-11-04T05:43:50.602Z] Step 13/23 : RUN apk add --update --no-cache dumb-init [2024-11-04T05:43:50.602Z] ---> Running in 3e66420c8b52 [2024-11-04T05:43:50.602Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-11-04T05:43:50.602Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-11-04T05:43:50.602Z] (1/1) Installing dumb-init (1.2.5-r3) [2024-11-04T05:43:50.602Z] Executing busybox-1.36.1-r29.trigger [2024-11-04T05:43:50.602Z] OK: 8 MiB in 15 packages [2024-11-04T05:43:50.602Z] Removing intermediate container 3e66420c8b52 [2024-11-04T05:43:50.602Z] ---> d605128e2ed7 [2024-11-04T05:43:50.602Z] Step 14/23 : RUN apk --no-cache upgrade [2024-11-04T05:43:50.602Z] ---> Running in c0776c1b3087 [2024-11-04T05:43:50.602Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-11-04T05:43:50.602Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-11-04T05:43:50.602Z] Upgrading critical system libraries and apk-tools: [2024-11-04T05:43:50.602Z] (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) [2024-11-04T05:43:50.602Z] Executing busybox-1.36.1-r29.trigger [2024-11-04T05:43:50.861Z] Continuing the upgrade transaction with new apk-tools: [2024-11-04T05:43:50.862Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-11-04T05:43:50.862Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-11-04T05:43:51.122Z] (1/2) Upgrading libcrypto3 (3.3.2-r0 -> 3.3.2-r1) [2024-11-04T05:43:51.122Z] (2/2) Upgrading libssl3 (3.3.2-r0 -> 3.3.2-r1) [2024-11-04T05:43:51.122Z] OK: 8 MiB in 15 packages [2024-11-04T05:43:51.692Z] Removing intermediate container c0776c1b3087 [2024-11-04T05:43:51.692Z] ---> 2b38fce547f8 [2024-11-04T05:43:51.692Z] Step 15/23 : COPY --from=builder /device-modbus-go/cmd / [2024-11-04T05:43:52.629Z] ---> f7e91bf3aa72 [2024-11-04T05:43:52.629Z] Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / [2024-11-04T05:43:52.629Z] ---> e6998ba392de [2024-11-04T05:43:52.629Z] Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / [2024-11-04T05:43:52.629Z] ---> c09c2d2480ca [2024-11-04T05:43:52.629Z] Step 18/23 : EXPOSE 59901 [2024-11-04T05:43:52.629Z] ---> Running in 809aa28aaefe [2024-11-04T05:43:52.889Z] Removing intermediate container 809aa28aaefe [2024-11-04T05:43:52.889Z] ---> 613d584734fa [2024-11-04T05:43:52.889Z] Step 19/23 : ENTRYPOINT ["/device-modbus"] [2024-11-04T05:43:52.889Z] ---> Running in 3f59dc95322c [2024-11-04T05:43:52.889Z] Removing intermediate container 3f59dc95322c [2024-11-04T05:43:52.889Z] ---> 22b708b7d01e [2024-11-04T05:43:52.889Z] Step 20/23 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry"] [2024-11-04T05:43:52.889Z] ---> Running in 5547df046fa6 [2024-11-04T05:43:52.889Z] Removing intermediate container 5547df046fa6 [2024-11-04T05:43:52.889Z] ---> 8d086bd07490 [2024-11-04T05:43:52.889Z] Step 21/23 : LABEL arch=amd64 [2024-11-04T05:43:52.889Z] ---> Running in ba7fa8789d6a [2024-11-04T05:43:53.150Z] Removing intermediate container ba7fa8789d6a [2024-11-04T05:43:53.150Z] ---> fcc9645820a9 [2024-11-04T05:43:53.150Z] Step 22/23 : LABEL git_sha=7ef68773ff4b2c3bcd48dd99fd8009602923f542 [2024-11-04T05:43:53.150Z] ---> Running in 8d76eb35245b [2024-11-04T05:43:53.150Z] Removing intermediate container 8d76eb35245b [2024-11-04T05:43:53.150Z] ---> 1f6cf5270f6e [2024-11-04T05:43:53.150Z] Step 23/23 : LABEL version=0.0.0 [2024-11-04T05:43:53.150Z] ---> Running in 1af2ec34a489 [2024-11-04T05:43:53.410Z] Removing intermediate container 1af2ec34a489 [2024-11-04T05:43:53.410Z] ---> dc722f0a51ab [2024-11-04T05:43:53.410Z] [Warning] One or more build-args [ARCH] were not consumed [2024-11-04T05:43:53.410Z] Successfully built dc722f0a51ab [2024-11-04T05:43:53.410Z] 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-11-04T05:43:54.461Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-11-04T05:43:54.461Z] [2024-11-04T05:43:54.461Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-04T05:43:54.863Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-11-04T05:43:54.864Z] latest: Pulling from edgex-lftools-log-publisher [2024-11-04T05:43:54.864Z] 5eb5b503b376: Pulling fs layer [2024-11-04T05:43:54.864Z] 5c69ac0246d0: Pulling fs layer [2024-11-04T05:43:54.864Z] ec43610c2a17: Pulling fs layer [2024-11-04T05:43:54.864Z] 3a2ae6a8a46f: Pulling fs layer [2024-11-04T05:43:54.864Z] 33b1e0a273af: Pulling fs layer [2024-11-04T05:43:54.864Z] 5d3b04190fa2: Pulling fs layer [2024-11-04T05:43:54.864Z] 2f39f015ded8: Pulling fs layer [2024-11-04T05:43:54.864Z] 3a2ae6a8a46f: Waiting [2024-11-04T05:43:54.864Z] 5d3b04190fa2: Waiting [2024-11-04T05:43:54.864Z] 2f39f015ded8: Waiting [2024-11-04T05:43:54.864Z] 33b1e0a273af: Waiting [2024-11-04T05:43:54.864Z] 5c69ac0246d0: Verifying Checksum [2024-11-04T05:43:54.864Z] 5c69ac0246d0: Download complete [2024-11-04T05:43:54.864Z] 3a2ae6a8a46f: Verifying Checksum [2024-11-04T05:43:54.864Z] 3a2ae6a8a46f: Download complete [2024-11-04T05:43:54.864Z] 33b1e0a273af: Verifying Checksum [2024-11-04T05:43:54.864Z] 33b1e0a273af: Download complete [2024-11-04T05:43:54.864Z] ec43610c2a17: Verifying Checksum [2024-11-04T05:43:54.864Z] ec43610c2a17: Download complete [2024-11-04T05:43:54.864Z] 5d3b04190fa2: Download complete [2024-11-04T05:43:55.126Z] 5eb5b503b376: Verifying Checksum [2024-11-04T05:43:55.126Z] 5eb5b503b376: Download complete [2024-11-04T05:43:55.694Z] 2f39f015ded8: Verifying Checksum [2024-11-04T05:43:56.263Z] 5eb5b503b376: Pull complete [2024-11-04T05:43:56.523Z] 5c69ac0246d0: Pull complete [2024-11-04T05:43:56.782Z] ec43610c2a17: Pull complete [2024-11-04T05:43:57.040Z] 3a2ae6a8a46f: Pull complete [2024-11-04T05:43:57.299Z] 33b1e0a273af: Pull complete [2024-11-04T05:43:57.299Z] 5d3b04190fa2: Pull complete [2024-11-04T05:44:01.590Z] 2f39f015ded8: Pull complete [2024-11-04T05:44:01.590Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-11-04T05:44:01.590Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-11-04T05:44:01.590Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-04T05:44:01.857Z] prd-ubuntu20.04-docker-8c-8g-24484 does not seem to be running inside a container [2024-11-04T05:44:01.886Z] $ 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-588 -v /w/workspace/xfoundry_device-modbus-go_PR-588:/w/workspace/xfoundry_device-modbus-go_PR-588:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-588@tmp:/w/workspace/xfoundry_device-modbus-go_PR-588@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-11-04T05:44:03.064Z] $ docker top 49eb7a2a4b00bf5556f75593346fc357f7260ee061bba6d508ae63c2671ce63b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-11-04T05:44:03.568Z] ---> job-cost.sh [2024-11-04T05:44:03.568Z] lf-activate-venv: SKIPPING [2024-11-04T05:44:03.568Z] INFO: No Stack... [2024-11-04T05:44:03.828Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-11-04T05:44:04.088Z] INFO: Archiving Costs [Pipeline] sh [2024-11-04T05:44:04.418Z] + cat /w/workspace/xfoundry_device-modbus-go_PR-588/archives/cost.csv [2024-11-04T05:44:04.418Z] + cut -d, -f6 [Pipeline] lock [2024-11-04T05:44:04.477Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-modbus-go-PR-588-1-stack-cost] [2024-11-04T05:44:04.484Z] Resource [jenkins-edgexfoundry-device-modbus-go-PR-588-1-stack-cost] did not exist. Created. [2024-11-04T05:44:04.492Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-modbus-go-PR-588-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-11-04T05:44:04.915Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-11-04T05:44:04.972Z] Stashed 1 file(s) [Pipeline] } [2024-11-04T05:44:05.011Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-modbus-go-PR-588-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-11-04T05:44:05.106Z] $ docker stop --time=1 49eb7a2a4b00bf5556f75593346fc357f7260ee061bba6d508ae63c2671ce63b [2024-11-04T05:44:06.286Z] $ docker rm -f --volumes 49eb7a2a4b00bf5556f75593346fc357f7260ee061bba6d508ae63c2671ce63b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-11-04T05:45:19.945Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-24485 in /w/workspace/xfoundry_device-modbus-go_PR-588 [Pipeline] { [Pipeline] ws [2024-11-04T05:45:20.021Z] Running in /w/workspace/device-modbus-go/1 [Pipeline] { [Pipeline] checkout [2024-11-04T05:45:23.141Z] The recommended git tool is: git [2024-11-04T05:45:30.892Z] using credential edgex-jenkins-ssh [2024-11-04T05:45:30.918Z] Cloning the remote Git repository [2024-11-04T05:45:30.966Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2024-11-04T05:45:31.124Z] > git init /w/workspace/device-modbus-go/1 # timeout=10 [2024-11-04T05:45:31.377Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2024-11-04T05:45:31.378Z] > git --version # timeout=10 [2024-11-04T05:45:31.428Z] > git --version # 'git version 2.25.1' [2024-11-04T05:45:31.432Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-11-04T05:45:31.651Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-11-04T05:45:33.834Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2024-11-04T05:45:33.895Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-11-04T05:45:35.513Z] Merging remotes/origin/main commit dad323708bb7fb3ae7999ed6872af7cbf93de804 into PR head commit 7ef68773ff4b2c3bcd48dd99fd8009602923f542 [2024-11-04T05:45:34.921Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2024-11-04T05:45:34.959Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2024-11-04T05:45:34.960Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-11-04T05:45:34.982Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/588/head:refs/remotes/origin/PR-588 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2024-11-04T05:45:35.526Z] > git config core.sparsecheckout # timeout=10 [2024-11-04T05:45:35.784Z] Merge succeeded, producing 7ef68773ff4b2c3bcd48dd99fd8009602923f542 [2024-11-04T05:45:35.785Z] Checking out Revision 7ef68773ff4b2c3bcd48dd99fd8009602923f542 (PR-588) [2024-11-04T05:45:36.325Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v4" [2024-11-04T05:45:36.370Z] > git --version # timeout=10 [2024-11-04T05:45:36.386Z] > git --version # 'git version 2.25.1' [2024-11-04T05:45:36.400Z] fatal: bad object 0b81fa10a7dd14683a964f04f411324fe83f93ac [2024-11-04T05:45:35.587Z] > git checkout -f 7ef68773ff4b2c3bcd48dd99fd8009602923f542 # timeout=10 [2024-11-04T05:45:35.672Z] > git remote # timeout=10 [2024-11-04T05:45:35.692Z] > git config --get remote.origin.url # timeout=10 [2024-11-04T05:45:35.712Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-11-04T05:45:35.735Z] > git merge dad323708bb7fb3ae7999ed6872af7cbf93de804 # timeout=10 [2024-11-04T05:45:35.763Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-11-04T05:45:35.787Z] > git config core.sparsecheckout # timeout=10 [2024-11-04T05:45:35.804Z] > git checkout -f 7ef68773ff4b2c3bcd48dd99fd8009602923f542 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-11-04T05:45:41.388Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-11-04T05:45:41.388Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-11-04T05:45:41.388Z] Dload Upload Total Spent Left Speed [2024-11-04T05:45:41.388Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 101k 0 --:--:-- --:--:-- --:--:-- 101k [Pipeline] sh [2024-11-04T05:45:41.752Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-11-04T05:45:42.113Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2024-11-04T05:45:42.113Z] + sudo tee /etc/docker/daemon.new [2024-11-04T05:45:42.113Z] { [2024-11-04T05:45:42.113Z] "registry-mirrors": [ [2024-11-04T05:45:42.113Z] "https://nexus3.edgexfoundry.org:10001" [2024-11-04T05:45:42.113Z] ], [2024-11-04T05:45:42.113Z] "bip": "10.250.0.254/24", [2024-11-04T05:45:42.113Z] "hosts": [ [2024-11-04T05:45:42.113Z] "tcp://0.0.0.0:5555", [2024-11-04T05:45:42.113Z] "unix:///var/run/docker.sock" [2024-11-04T05:45:42.113Z] ], [2024-11-04T05:45:42.113Z] "mtu": 1458, [2024-11-04T05:45:42.113Z] "selinux-enabled": true, [2024-11-04T05:45:42.113Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-11-04T05:45:42.113Z] } [Pipeline] sh [2024-11-04T05:45:42.475Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-11-04T05:45:42.843Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-11-04T05:46:01.244Z] provisioning config files... [2024-11-04T05:46:01.277Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/1@tmp/config4040625360385746232tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-11-04T05:46:01.835Z] ---> ****-login.sh [2024-11-04T05:46:01.835Z] nexus3.edgexfoundry.org:10001 [2024-11-04T05:46:02.107Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-04T05:46:02.379Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-04T05:46:02.379Z] Configure a credential helper to remove this warning. See [2024-11-04T05:46:02.379Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-04T05:46:02.379Z] [2024-11-04T05:46:02.379Z] Login Succeeded [2024-11-04T05:46:02.379Z] nexus3.edgexfoundry.org:10002 [2024-11-04T05:46:02.649Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-04T05:46:02.920Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-04T05:46:02.921Z] Configure a credential helper to remove this warning. See [2024-11-04T05:46:02.921Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-04T05:46:02.921Z] [2024-11-04T05:46:02.921Z] Login Succeeded [2024-11-04T05:46:02.921Z] nexus3.edgexfoundry.org:10003 [2024-11-04T05:46:03.197Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-04T05:46:03.197Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-04T05:46:03.198Z] Configure a credential helper to remove this warning. See [2024-11-04T05:46:03.198Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-04T05:46:03.198Z] [2024-11-04T05:46:03.198Z] Login Succeeded [2024-11-04T05:46:03.198Z] nexus3.edgexfoundry.org:10004 [2024-11-04T05:46:03.674Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-04T05:46:03.674Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-04T05:46:03.674Z] Configure a credential helper to remove this warning. See [2024-11-04T05:46:03.674Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-04T05:46:03.674Z] [2024-11-04T05:46:03.674Z] Login Succeeded [2024-11-04T05:46:03.674Z] ****.io [2024-11-04T05:46:03.945Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-04T05:46:04.216Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-04T05:46:04.216Z] Configure a credential helper to remove this warning. See [2024-11-04T05:46:04.216Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-04T05:46:04.216Z] [2024-11-04T05:46:04.216Z] Login Succeeded [2024-11-04T05:46:04.216Z] ---> ****-login.sh ends [Pipeline] } [2024-11-04T05:46:04.250Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-11-04T05:46:04.737Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-11-04T05:46:04.795Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-11-04T05:46:04.844Z] ========================================================= [2024-11-04T05:46:04.844Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine] [2024-11-04T05:46:04.844Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-04T05:46:05.417Z] + 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-11-04T05:46:06.033Z] Sending build context to Docker daemon 9.158MB [2024-11-04T05:46:06.033Z] Step 1/10 : ARG BASE=golang:1.23-alpine3.20 [2024-11-04T05:46:06.033Z] Step 2/10 : FROM ${BASE} AS builder [2024-11-04T05:46:06.033Z] 1.23-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-11-04T05:46:06.033Z] cf04c63912e1: Pulling fs layer [2024-11-04T05:46:06.033Z] 55b35a11ae5e: Pulling fs layer [2024-11-04T05:46:06.033Z] a37a00ec5f00: Pulling fs layer [2024-11-04T05:46:06.033Z] 50b3750afda1: Pulling fs layer [2024-11-04T05:46:06.033Z] 4f4fb700ef54: Pulling fs layer [2024-11-04T05:46:06.033Z] 80978eb59214: Pulling fs layer [2024-11-04T05:46:06.033Z] c9f46d7d2bd2: Pulling fs layer [2024-11-04T05:46:06.033Z] c5a475d317c9: Pulling fs layer [2024-11-04T05:46:06.033Z] 4f4fb700ef54: Waiting [2024-11-04T05:46:06.033Z] 80978eb59214: Waiting [2024-11-04T05:46:06.033Z] c9f46d7d2bd2: Waiting [2024-11-04T05:46:06.033Z] c5a475d317c9: Waiting [2024-11-04T05:46:06.033Z] 50b3750afda1: Waiting [2024-11-04T05:46:06.033Z] 55b35a11ae5e: Verifying Checksum [2024-11-04T05:46:06.033Z] 55b35a11ae5e: Download complete [2024-11-04T05:46:06.315Z] 50b3750afda1: Verifying Checksum [2024-11-04T05:46:06.315Z] 50b3750afda1: Download complete [2024-11-04T05:46:06.315Z] 4f4fb700ef54: Verifying Checksum [2024-11-04T05:46:06.315Z] 4f4fb700ef54: Download complete [2024-11-04T05:46:06.315Z] 80978eb59214: Verifying Checksum [2024-11-04T05:46:06.315Z] 80978eb59214: Download complete [2024-11-04T05:46:06.315Z] cf04c63912e1: Verifying Checksum [2024-11-04T05:46:06.315Z] cf04c63912e1: Download complete [2024-11-04T05:46:06.906Z] c5a475d317c9: Verifying Checksum [2024-11-04T05:46:06.906Z] c5a475d317c9: Download complete [2024-11-04T05:46:07.178Z] cf04c63912e1: Pull complete [2024-11-04T05:46:08.153Z] 55b35a11ae5e: Pull complete [2024-11-04T05:46:08.153Z] a37a00ec5f00: Download complete [2024-11-04T05:46:09.123Z] c9f46d7d2bd2: Verifying Checksum [2024-11-04T05:46:09.123Z] c9f46d7d2bd2: Download complete [2024-11-04T05:46:21.476Z] a37a00ec5f00: Pull complete [2024-11-04T05:46:21.746Z] 50b3750afda1: Pull complete [2024-11-04T05:46:21.746Z] 4f4fb700ef54: Pull complete [2024-11-04T05:46:22.017Z] 80978eb59214: Pull complete [2024-11-04T05:46:31.189Z] c9f46d7d2bd2: Pull complete [2024-11-04T05:46:31.782Z] c5a475d317c9: Pull complete [2024-11-04T05:46:31.782Z] Digest: sha256:2391c17ca386d1fbfa331956bd558234564149703727e64d3c69580d84b42a9b [2024-11-04T05:46:31.782Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine [2024-11-04T05:46:31.782Z] ---> be29e6b0f0d4 [2024-11-04T05:46:31.782Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2024-11-04T05:46:32.747Z] ---> Running in d7c83b8a5c24 [2024-11-04T05:46:32.747Z] Removing intermediate container d7c83b8a5c24 [2024-11-04T05:46:32.747Z] ---> 646a61c5c17e [2024-11-04T05:46:32.747Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-11-04T05:46:33.017Z] ---> Running in 6e3a07fbee16 [2024-11-04T05:46:33.285Z] Removing intermediate container 6e3a07fbee16 [2024-11-04T05:46:33.285Z] ---> 932eadcc4f9e [2024-11-04T05:46:33.285Z] Step 5/10 : RUN apk add --update --no-cache make git openssh [2024-11-04T05:46:33.285Z] ---> Running in 5738e79d0f0f [2024-11-04T05:46:34.248Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-11-04T05:46:34.833Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-11-04T05:46:36.268Z] (1/8) Installing openssh-keygen (9.7_p1-r4) [2024-11-04T05:46:36.268Z] (2/8) Installing libedit (20240517.3.1-r0) [2024-11-04T05:46:36.268Z] (3/8) Installing openssh-client-common (9.7_p1-r4) [2024-11-04T05:46:36.268Z] (4/8) Installing openssh-client-default (9.7_p1-r4) [2024-11-04T05:46:36.268Z] (5/8) Installing openssh-sftp-server (9.7_p1-r4) [2024-11-04T05:46:36.268Z] (6/8) Installing openssh-server-common (9.7_p1-r4) [2024-11-04T05:46:36.268Z] (7/8) Installing openssh-server (9.7_p1-r4) [2024-11-04T05:46:36.268Z] (8/8) Installing openssh (9.7_p1-r4) [2024-11-04T05:46:36.268Z] Executing busybox-1.36.1-r29.trigger [2024-11-04T05:46:36.268Z] OK: 244 MiB in 62 packages [2024-11-04T05:46:37.237Z] Removing intermediate container 5738e79d0f0f [2024-11-04T05:46:37.237Z] ---> f5f0bfb9750f [2024-11-04T05:46:37.237Z] Step 6/10 : WORKDIR /device-modbus-go [2024-11-04T05:46:37.508Z] ---> Running in 39a0fd668621 [2024-11-04T05:46:37.773Z] Removing intermediate container 39a0fd668621 [2024-11-04T05:46:37.773Z] ---> 8cc44d37cd65 [2024-11-04T05:46:37.773Z] Step 7/10 : COPY go.mod vendor* ./ [2024-11-04T05:46:38.039Z] ---> 2c3e49ba69e3 [2024-11-04T05:46:38.039Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-11-04T05:46:38.309Z] ---> Running in 23eb8ebbe69f [2024-11-04T05:48:31.733Z] Removing intermediate container 23eb8ebbe69f [2024-11-04T05:48:31.733Z] ---> 7e46d9a8b792 [2024-11-04T05:48:31.733Z] Step 9/10 : COPY . . [2024-11-04T05:48:31.733Z] ---> 6424c12d102e [2024-11-04T05:48:31.733Z] Step 10/10 : RUN ${MAKE} [2024-11-04T05:48:31.733Z] ---> Running in 9ddc6bd2d929 [2024-11-04T05:48:31.733Z] noop [2024-11-04T05:48:31.733Z] Removing intermediate container 9ddc6bd2d929 [2024-11-04T05:48:31.733Z] ---> 7aff53332f4d [2024-11-04T05:48:31.733Z] Successfully built 7aff53332f4d [2024-11-04T05:48:31.733Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-04T05:48:32.258Z] + docker inspect -f . ci-base-image-arm64 [2024-11-04T05:48:32.258Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-04T05:48:32.551Z] prd-ubuntu20.04-docker-arm64-4c-16g-24485 does not seem to be running inside a container [2024-11-04T05:48:32.615Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-11-04T05:48:33.863Z] $ docker top e67484199b90b8f824eab73ca3e86447ebac062075104ab01d57a3c7ea9b2cde -eo pid,comm [Pipeline] { [Pipeline] sh [2024-11-04T05:48:34.773Z] + go version [2024-11-04T05:48:34.773Z] go version go1.23.2 linux/arm64 [Pipeline] } [2024-11-04T05:48:34.807Z] $ docker stop --time=1 e67484199b90b8f824eab73ca3e86447ebac062075104ab01d57a3c7ea9b2cde [2024-11-04T05:48:36.414Z] $ docker rm -f --volumes e67484199b90b8f824eab73ca3e86447ebac062075104ab01d57a3c7ea9b2cde [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-04T05:48:37.344Z] + docker inspect -f . ci-base-image-arm64 [2024-11-04T05:48:37.344Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-04T05:48:37.624Z] prd-ubuntu20.04-docker-arm64-4c-16g-24485 does not seem to be running inside a container [2024-11-04T05:48:37.681Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-11-04T05:48:38.804Z] $ docker top aab92ab0fad1f50b13a605af43612c49e1075129cebb084e07be5edc8f3348c0 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-11-04T05:48:39.374Z] + git config --global --add safe.directory /w/workspace/device-modbus-go/1 [Pipeline] fileExists [Pipeline] sh [2024-11-04T05:48:40.037Z] + make test [2024-11-04T05:48:40.037Z] go test ./... -coverprofile=coverage.out [2024-11-04T05:48:46.685Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2024-11-04T05:52:08.754Z] github.com/edgexfoundry/device-modbus-go/cmd coverage: 0.0% of statements [2024-11-04T05:52:08.754Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.053s coverage: 48.0% of statements [2024-11-04T05:52:08.754Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2024-11-04T05:52:08.754Z] go vet ./... [2024-11-04T05:52:55.673Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-11-04T05:52:55.673Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-11-04T05:52:55.673Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2024-11-04T05:52:55.719Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-11-04T05:52:55.753Z] $ docker stop --time=1 aab92ab0fad1f50b13a605af43612c49e1075129cebb084e07be5edc8f3348c0 [2024-11-04T05:52:57.628Z] $ docker rm -f --volumes aab92ab0fad1f50b13a605af43612c49e1075129cebb084e07be5edc8f3348c0 [Pipeline] // withDockerContainer [Pipeline] sh [2024-11-04T05:52:59.157Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-11-04T05:52:59.200Z] Warning: overwriting stash ‘coverage-report’ [2024-11-04T05:52:59.655Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-11-04T05:53:00.286Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-11-04T05:53:00.622Z] + ls -al . [2024-11-04T05:53:00.622Z] total 256 [2024-11-04T05:53:00.622Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 4 05:48 . [2024-11-04T05:53:00.622Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 4 05:45 .. [2024-11-04T05:53:00.622Z] -rw-rw-r-- 1 jenkins jenkins 140 Nov 4 05:45 .dockerignore [2024-11-04T05:53:00.622Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 4 05:45 .git [2024-11-04T05:53:00.622Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 4 05:45 .github [2024-11-04T05:53:00.622Z] -rw-rw-r-- 1 jenkins jenkins 266 Nov 4 05:45 .gitignore [2024-11-04T05:53:00.622Z] -rw-rw-r-- 1 jenkins jenkins 199 Nov 4 05:45 .golangci.yml [2024-11-04T05:53:00.622Z] -rw-rw-r-- 1 jenkins jenkins 19818 Nov 4 05:45 Attribution.txt [2024-11-04T05:53:00.622Z] -rw-rw-r-- 1 jenkins jenkins 16388 Nov 4 05:45 CHANGELOG.md [2024-11-04T05:53:00.622Z] -rw-rw-r-- 1 jenkins jenkins 1479 Nov 4 05:45 Dockerfile [2024-11-04T05:53:00.622Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 4 05:45 GOVERNANCE.md [2024-11-04T05:53:00.622Z] -rw-rw-r-- 1 jenkins jenkins 658 Nov 4 05:45 Jenkinsfile [2024-11-04T05:53:00.622Z] -rw-rw-r-- 1 jenkins jenkins 11340 Nov 4 05:45 LICENSE [2024-11-04T05:53:00.622Z] -rw-rw-r-- 1 jenkins jenkins 2479 Nov 4 05:45 Makefile [2024-11-04T05:53:00.622Z] -rw-rw-r-- 1 jenkins jenkins 622 Nov 4 05:45 OWNERS.md [2024-11-04T05:53:00.622Z] -rw-rw-r-- 1 jenkins jenkins 4463 Nov 4 05:45 README.md [2024-11-04T05:53:00.622Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 4 05:41 VERSION [2024-11-04T05:53:00.622Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 4 05:45 bin [2024-11-04T05:53:00.622Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 4 05:45 cmd [2024-11-04T05:53:00.622Z] -rw-r--r-- 1 jenkins jenkins 25464 Nov 4 05:52 coverage.out [2024-11-04T05:53:00.622Z] -rw-rw-r-- 1 jenkins jenkins 6490 Nov 4 05:45 go.mod [2024-11-04T05:53:00.622Z] -rw-rw-r-- 1 jenkins jenkins 88426 Nov 4 05:45 go.sum [2024-11-04T05:53:00.622Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 4 05:45 internal [2024-11-04T05:53:00.622Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 4 05:45 simulator [2024-11-04T05:53:00.622Z] -rw-rw-r-- 1 jenkins jenkins 229 Nov 4 05:45 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-04T05:53:01.059Z] + 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=7ef68773ff4b2c3bcd48dd99fd8009602923f542 --label arch=arm64 --label version=0.0.0 . [2024-11-04T05:53:01.639Z] Sending build context to Docker daemon 9.184MB [2024-11-04T05:53:01.639Z] Step 1/23 : ARG BASE=golang:1.23-alpine3.20 [2024-11-04T05:53:01.639Z] Step 2/23 : FROM ${BASE} AS builder [2024-11-04T05:53:01.639Z] ---> 7aff53332f4d [2024-11-04T05:53:01.639Z] Step 3/23 : ARG ADD_BUILD_TAGS="" [2024-11-04T05:53:01.639Z] ---> Running in ac8ebe907847 [2024-11-04T05:53:01.906Z] Removing intermediate container ac8ebe907847 [2024-11-04T05:53:01.906Z] ---> e72ae3ef0799 [2024-11-04T05:53:01.906Z] Step 4/23 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-11-04T05:53:01.906Z] ---> Running in 1d3dc0da1530 [2024-11-04T05:53:02.171Z] Removing intermediate container 1d3dc0da1530 [2024-11-04T05:53:02.171Z] ---> baa9eeab135a [2024-11-04T05:53:02.171Z] Step 5/23 : RUN apk add --update --no-cache make git openssh [2024-11-04T05:53:02.436Z] ---> Running in c524b6368a3b [2024-11-04T05:53:03.390Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-11-04T05:53:03.969Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-11-04T05:53:05.374Z] OK: 244 MiB in 62 packages [2024-11-04T05:53:06.338Z] Removing intermediate container c524b6368a3b [2024-11-04T05:53:06.338Z] ---> 16ce5ad02b23 [2024-11-04T05:53:06.338Z] Step 6/23 : WORKDIR /device-modbus-go [2024-11-04T05:53:06.338Z] ---> Running in d98a1a5ccba7 [2024-11-04T05:53:06.605Z] Removing intermediate container d98a1a5ccba7 [2024-11-04T05:53:06.605Z] ---> 698126218378 [2024-11-04T05:53:06.605Z] Step 7/23 : COPY go.mod vendor* ./ [2024-11-04T05:53:07.193Z] ---> 923cb8343383 [2024-11-04T05:53:07.193Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-11-04T05:53:07.193Z] ---> Running in 9637c9c0e693 [2024-11-04T05:53:09.781Z] Removing intermediate container 9637c9c0e693 [2024-11-04T05:53:09.781Z] ---> 86437fe967ff [2024-11-04T05:53:09.781Z] Step 9/23 : COPY . . [2024-11-04T05:53:10.748Z] ---> 4a1a9341822b [2024-11-04T05:53:10.748Z] Step 10/23 : RUN ${MAKE} [2024-11-04T05:53:10.748Z] ---> Running in d6e50002958c [2024-11-04T05:53:11.706Z] CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-modbus-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v4/internal/common.SDKVersion=v4.0.0-dev.3" -trimpath -mod=readonly -ldflags "-bindnow" -buildmode=pie -o cmd/device-modbus ./cmd [2024-11-04T05:56:48.516Z] Removing intermediate container d6e50002958c [2024-11-04T05:56:48.516Z] ---> 76c3ac584a60 [2024-11-04T05:56:48.516Z] Step 11/23 : FROM alpine:3.20 [2024-11-04T05:56:48.516Z] 3.20: Pulling from library/alpine [2024-11-04T05:56:48.516Z] cf04c63912e1: Already exists [2024-11-04T05:56:48.516Z] Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d [2024-11-04T05:56:48.516Z] Status: Downloaded newer image for alpine:3.20 [2024-11-04T05:56:48.516Z] ---> c157a85ed455 [2024-11-04T05:56:48.516Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2024: IoTech Ltd' [2024-11-04T05:56:48.516Z] ---> Running in a01bda6dfd29 [2024-11-04T05:56:48.516Z] Removing intermediate container a01bda6dfd29 [2024-11-04T05:56:48.516Z] ---> 4e4b0ff42e14 [2024-11-04T05:56:48.516Z] Step 13/23 : RUN apk add --update --no-cache dumb-init [2024-11-04T05:56:48.516Z] ---> Running in 74d9013f29e5 [2024-11-04T05:56:48.516Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-11-04T05:56:48.516Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-11-04T05:56:48.516Z] (1/1) Installing dumb-init (1.2.5-r3) [2024-11-04T05:56:48.516Z] Executing busybox-1.36.1-r29.trigger [2024-11-04T05:56:48.516Z] OK: 9 MiB in 15 packages [2024-11-04T05:56:48.789Z] Removing intermediate container 74d9013f29e5 [2024-11-04T05:56:48.790Z] ---> 30aeb7a5d8a5 [2024-11-04T05:56:48.790Z] Step 14/23 : RUN apk --no-cache upgrade [2024-11-04T05:56:48.790Z] ---> Running in f5be488b03d1 [2024-11-04T05:56:49.751Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-11-04T05:56:49.751Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-11-04T05:56:51.158Z] Upgrading critical system libraries and apk-tools: [2024-11-04T05:56:51.158Z] (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) [2024-11-04T05:56:51.158Z] Executing busybox-1.36.1-r29.trigger [2024-11-04T05:56:51.424Z] Continuing the upgrade transaction with new apk-tools: [2024-11-04T05:56:51.424Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-11-04T05:56:51.692Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-11-04T05:56:52.656Z] (1/2) Upgrading libcrypto3 (3.3.2-r0 -> 3.3.2-r1) [2024-11-04T05:56:52.925Z] (2/2) Upgrading libssl3 (3.3.2-r0 -> 3.3.2-r1) [2024-11-04T05:56:52.925Z] OK: 9 MiB in 15 packages [2024-11-04T05:56:53.887Z] Removing intermediate container f5be488b03d1 [2024-11-04T05:56:53.887Z] ---> d09efeb5811f [2024-11-04T05:56:53.887Z] Step 15/23 : COPY --from=builder /device-modbus-go/cmd / [2024-11-04T05:56:56.472Z] ---> 2b458a2f5f4f [2024-11-04T05:56:56.472Z] Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / [2024-11-04T05:56:56.741Z] ---> 69fe21211adc [2024-11-04T05:56:56.741Z] Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / [2024-11-04T05:56:57.333Z] ---> 01b3af6b6f46 [2024-11-04T05:56:57.333Z] Step 18/23 : EXPOSE 59901 [2024-11-04T05:56:57.333Z] ---> Running in 413f41f2674e [2024-11-04T05:56:57.603Z] Removing intermediate container 413f41f2674e [2024-11-04T05:56:57.603Z] ---> 81050ea63148 [2024-11-04T05:56:57.603Z] Step 19/23 : ENTRYPOINT ["/device-modbus"] [2024-11-04T05:56:57.603Z] ---> Running in c2849bee8cc0 [2024-11-04T05:56:57.869Z] Removing intermediate container c2849bee8cc0 [2024-11-04T05:56:57.869Z] ---> 84afe3844aad [2024-11-04T05:56:57.869Z] Step 20/23 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry"] [2024-11-04T05:56:57.869Z] ---> Running in 255b729736bb [2024-11-04T05:56:58.135Z] Removing intermediate container 255b729736bb [2024-11-04T05:56:58.135Z] ---> a53015b6951c [2024-11-04T05:56:58.135Z] Step 21/23 : LABEL arch=arm64 [2024-11-04T05:56:58.135Z] ---> Running in 7a7149003a53 [2024-11-04T05:56:58.720Z] Removing intermediate container 7a7149003a53 [2024-11-04T05:56:58.720Z] ---> f147f282443d [2024-11-04T05:56:58.720Z] Step 22/23 : LABEL git_sha=7ef68773ff4b2c3bcd48dd99fd8009602923f542 [2024-11-04T05:56:58.720Z] ---> Running in 71025f80e815 [2024-11-04T05:56:58.988Z] Removing intermediate container 71025f80e815 [2024-11-04T05:56:58.988Z] ---> e843cfcafe67 [2024-11-04T05:56:58.988Z] Step 23/23 : LABEL version=0.0.0 [2024-11-04T05:56:58.988Z] ---> Running in 6cd927ec8efe [2024-11-04T05:56:59.252Z] Removing intermediate container 6cd927ec8efe [2024-11-04T05:56:59.252Z] ---> c93ffd75b3f9 [2024-11-04T05:56:59.252Z] [Warning] One or more build-args [ARCH] were not consumed [2024-11-04T05:56:59.252Z] Successfully built c93ffd75b3f9 [2024-11-04T05:56:59.252Z] 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-11-04T05:57:00.430Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-11-04T05:57:00.430Z] [2024-11-04T05:57:00.430Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-04T05:57:00.853Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-11-04T05:57:00.853Z] arm64: Pulling from edgex-lftools-log-publisher [2024-11-04T05:57:00.853Z] 8998bd30e6a1: Pulling fs layer [2024-11-04T05:57:00.853Z] 04944245beec: Pulling fs layer [2024-11-04T05:57:00.853Z] 699f458cf7ca: Pulling fs layer [2024-11-04T05:57:00.853Z] 765212b225bb: Pulling fs layer [2024-11-04T05:57:00.853Z] f23df028b6ca: Pulling fs layer [2024-11-04T05:57:00.853Z] d65c8cfc05b1: Pulling fs layer [2024-11-04T05:57:00.853Z] 2437ff75d9bd: Pulling fs layer [2024-11-04T05:57:00.853Z] 765212b225bb: Waiting [2024-11-04T05:57:00.853Z] f23df028b6ca: Waiting [2024-11-04T05:57:00.853Z] 2437ff75d9bd: Waiting [2024-11-04T05:57:01.121Z] 04944245beec: Verifying Checksum [2024-11-04T05:57:01.121Z] 04944245beec: Download complete [2024-11-04T05:57:01.121Z] 765212b225bb: Verifying Checksum [2024-11-04T05:57:01.121Z] 765212b225bb: Download complete [2024-11-04T05:57:01.121Z] f23df028b6ca: Verifying Checksum [2024-11-04T05:57:01.121Z] f23df028b6ca: Download complete [2024-11-04T05:57:01.121Z] d65c8cfc05b1: Verifying Checksum [2024-11-04T05:57:01.121Z] d65c8cfc05b1: Download complete [2024-11-04T05:57:01.390Z] 699f458cf7ca: Verifying Checksum [2024-11-04T05:57:01.390Z] 699f458cf7ca: Download complete [2024-11-04T05:57:01.660Z] 8998bd30e6a1: Verifying Checksum [2024-11-04T05:57:01.660Z] 8998bd30e6a1: Download complete [2024-11-04T05:57:04.246Z] 2437ff75d9bd: Verifying Checksum [2024-11-04T05:57:04.246Z] 2437ff75d9bd: Download complete [2024-11-04T05:57:06.817Z] 8998bd30e6a1: Pull complete [2024-11-04T05:57:06.817Z] 04944245beec: Pull complete [2024-11-04T05:57:08.217Z] 699f458cf7ca: Pull complete [2024-11-04T05:57:08.482Z] 765212b225bb: Pull complete [2024-11-04T05:57:09.436Z] f23df028b6ca: Pull complete [2024-11-04T05:57:09.436Z] d65c8cfc05b1: Pull complete [2024-11-04T05:57:27.630Z] 2437ff75d9bd: Pull complete [2024-11-04T05:57:27.630Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-11-04T05:57:27.630Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-11-04T05:57:27.630Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-04T05:57:27.996Z] prd-ubuntu20.04-docker-arm64-4c-16g-24485 does not seem to be running inside a container [2024-11-04T05:57:28.054Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2024-11-04T05:57:30.804Z] $ docker top cfc85e197762245ae3f64fc3f7642b0a803f631f3eb0378a05b5def2485b06cb -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-11-04T05:57:31.761Z] ---> job-cost.sh [2024-11-04T05:57:31.762Z] lf-activate-venv: SKIPPING [2024-11-04T05:57:31.762Z] INFO: No Stack... [2024-11-04T05:57:32.344Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-11-04T05:57:32.928Z] INFO: Archiving Costs [Pipeline] sh [2024-11-04T05:57:33.598Z] + cut -d, -f6 [2024-11-04T05:57:33.598Z] + cat /w/workspace/device-modbus-go/1/archives/cost.csv [Pipeline] lock [2024-11-04T05:57:33.691Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-modbus-go-PR-588-1-stack-cost] [2024-11-04T05:57:33.700Z] Resource [jenkins-edgexfoundry-device-modbus-go-PR-588-1-stack-cost] did not exist. Created. [2024-11-04T05:57:33.706Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-modbus-go-PR-588-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-11-04T05:57:34.448Z] /w/workspace/device-modbus-go/1@tmp/durable-01dbb894/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-11-04T05:57:35.124Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-11-04T05:57:35.167Z] Warning: overwriting stash ‘stack-cost’ [2024-11-04T05:57:35.218Z] Stashed 1 file(s) [Pipeline] } [2024-11-04T05:57:35.236Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-modbus-go-PR-588-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-11-04T05:57:35.318Z] $ docker stop --time=1 cfc85e197762245ae3f64fc3f7642b0a803f631f3eb0378a05b5def2485b06cb [2024-11-04T05:57:37.027Z] $ docker rm -f --volumes cfc85e197762245ae3f64fc3f7642b0a803f631f3eb0378a05b5def2485b06cb [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-11-04T05:57:38.178Z] provisioning config files... [2024-11-04T05:57:38.184Z] copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-588@tmp/config13388116231368009246tmp [Pipeline] { [Pipeline] sh [2024-11-04T05:57:38.548Z] + set +x [2024-11-04T05:57:38.548Z] + curl -s https://codecov.io/bash [2024-11-04T05:57:38.548Z] + bash -s -- [2024-11-04T05:57:38.548Z] [2024-11-04T05:57:38.548Z] _____ _ [2024-11-04T05:57:38.548Z] / ____| | | [2024-11-04T05:57:38.548Z] | | ___ __| | ___ ___ _____ __ [2024-11-04T05:57:38.548Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2024-11-04T05:57:38.548Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2024-11-04T05:57:38.548Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2024-11-04T05:57:38.548Z] Bash-1.0.6 [2024-11-04T05:57:38.548Z] [2024-11-04T05:57:38.548Z] [2024-11-04T05:57:38.548Z] ==> git version 2.25.1 found [2024-11-04T05:57:38.548Z] ==> 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-11-04T05:57:38.548Z] Release-Date: 2020-01-08 [2024-11-04T05:57:38.548Z] 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-11-04T05:57:38.548Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2024-11-04T05:57:38.548Z] ==> Jenkins CI detected. [2024-11-04T05:57:38.548Z] current dir:  /w/workspace/xfoundry_device-modbus-go_PR-588 [2024-11-04T05:57:38.548Z] project root: . [2024-11-04T05:57:38.548Z] --> token set from env [2024-11-04T05:57:38.548Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2024-11-04T05:57:38.548Z] ==> Running gcov in . (disable via -X gcov) [2024-11-04T05:57:38.548Z] ==> Python coveragepy not found [2024-11-04T05:57:38.548Z] ==> Searching for coverage reports in: [2024-11-04T05:57:38.548Z] + . [2024-11-04T05:57:38.548Z] -> Found 1 reports [2024-11-04T05:57:38.548Z] ==> Detecting git/mercurial file structure [2024-11-04T05:57:38.808Z] ==> Reading reports [2024-11-04T05:57:38.808Z] + ./coverage.out bytes=25464 [2024-11-04T05:57:38.808Z] ==> Appending adjustments [2024-11-04T05:57:38.808Z] https://docs.codecov.io/docs/fixing-reports [2024-11-04T05:57:38.808Z] + Found adjustments [2024-11-04T05:57:38.808Z] ==> Gzipping contents [2024-11-04T05:57:38.808Z] 4.0K /tmp/codecov.qKSgSs.gz [2024-11-04T05:57:38.808Z] ==> Uploading reports [2024-11-04T05:57:38.808Z] url: https://codecov.io [2024-11-04T05:57:38.808Z] query: branch=PR-588&commit=7ef68773ff4b2c3bcd48dd99fd8009602923f542&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-588%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=588&job=&cmd_args= [2024-11-04T05:57:38.808Z] -> Pinging Codecov [2024-11-04T05:57:38.808Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-588&commit=7ef68773ff4b2c3bcd48dd99fd8009602923f542&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-588%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=588&job=&cmd_args= [2024-11-04T05:57:39.069Z] -> Uploading to [2024-11-04T05:57:39.069Z] https://storage.googleapis.com/codecov/shelter/v4/github/edgexfoundry/device-modbus-go/7ef68773ff4b2c3bcd48dd99fd8009602923f542/f8fc7be3-4722-4643-84b0-7d432f84c1a0.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20241104%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20241104T055738Z&X-Amz-Expires=30&X-Amz-SignedHeaders=host&X-Amz-Signature=48b836946716427e2d74f8e3738c370a86eb179ce0039fd1ebff134d5d5eafd7 [2024-11-04T05:57:39.069Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-11-04T05:57:39.069Z] Dload Upload Total Spent Left Speed [2024-11-04T05:57:39.329Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3932 0 0 100 3932 0 19274 --:--:-- --:--:-- --:--:-- 19180 100 3932 0 0 100 3932 0 17398 --:--:-- --:--:-- --:--:-- 17321 [2024-11-04T05:57:39.329Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/7ef68773ff4b2c3bcd48dd99fd8009602923f542 [Pipeline] } [2024-11-04T05:57:39.367Z] 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-11-04T05:57:42.626Z] + [ -d /w/workspace/xfoundry_device-modbus-go_PR-588/archives ] [2024-11-04T05:57:42.627Z] + ls -al /w/workspace/xfoundry_device-modbus-go_PR-588/archives [2024-11-04T05:57:42.627Z] total 16 [2024-11-04T05:57:42.627Z] drwxr-xr-x 3 root root 4096 Nov 4 05:44 . [2024-11-04T05:57:42.627Z] drwxrwxr-x 10 jenkins jenkins 4096 Nov 4 05:44 .. [2024-11-04T05:57:42.627Z] drwxr-xr-x 2 root root 4096 Nov 4 05:44 cost [2024-11-04T05:57:42.627Z] -rw-r--r-- 1 root root 88 Nov 4 05:44 cost.csv [2024-11-04T05:57:42.627Z] + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-588/archives [2024-11-04T05:57:42.627Z] + ls -al /w/workspace/xfoundry_device-modbus-go_PR-588/archives [2024-11-04T05:57:42.627Z] total 16 [2024-11-04T05:57:42.627Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 4 05:44 . [2024-11-04T05:57:42.627Z] drwxrwxr-x 10 jenkins jenkins 4096 Nov 4 05:44 .. [2024-11-04T05:57:42.627Z] drwxr-xr-x 2 jenkins jenkins 4096 Nov 4 05:44 cost [2024-11-04T05:57:42.627Z] -rw-r--r-- 1 jenkins jenkins 88 Nov 4 05:44 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-11-04T05:57:42.966Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-11-04T05:57:43.871Z] ---> package-listing.sh [2024-11-04T05:57:43.871Z] ++ facter osfamily [2024-11-04T05:57:43.871Z] ++ tr '[:upper:]' '[:lower:]' [2024-11-04T05:57:44.130Z] + OS_FAMILY=debian [2024-11-04T05:57:44.130Z] + workspace=/w/workspace/xfoundry_device-modbus-go_PR-588 [2024-11-04T05:57:44.130Z] + START_PACKAGES=/tmp/packages_start.txt [2024-11-04T05:57:44.130Z] + END_PACKAGES=/tmp/packages_end.txt [2024-11-04T05:57:44.130Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-11-04T05:57:44.130Z] + PACKAGES=/tmp/packages_start.txt [2024-11-04T05:57:44.130Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-588 ']' [2024-11-04T05:57:44.130Z] + PACKAGES=/tmp/packages_end.txt [2024-11-04T05:57:44.130Z] + case "${OS_FAMILY}" in [2024-11-04T05:57:44.130Z] + dpkg -l [2024-11-04T05:57:44.130Z] + grep '^ii' [2024-11-04T05:57:44.130Z] + '[' -f /tmp/packages_start.txt ']' [2024-11-04T05:57:44.130Z] + '[' -f /tmp/packages_end.txt ']' [2024-11-04T05:57:44.130Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-11-04T05:57:44.130Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-588 ']' [2024-11-04T05:57:44.130Z] + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-588/archives/ [2024-11-04T05:57:44.130Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-588/archives/ [Pipeline] echo [2024-11-04T05:57:44.169Z] 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-588/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-11-04T05:57:44.467Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-04T05:57:45.115Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-11-04T05:57:45.115Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-04T05:57:45.279Z] prd-ubuntu20.04-docker-8c-8g-24484 does not seem to be running inside a container [2024-11-04T05:57:45.304Z] $ 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-588/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-588 -v /w/workspace/xfoundry_device-modbus-go_PR-588:/w/workspace/xfoundry_device-modbus-go_PR-588:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-588@tmp:/w/workspace/xfoundry_device-modbus-go_PR-588@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-11-04T05:57:45.510Z] $ docker top f7c1c7401c0821a110b94b7061be6dd290a3c3f6e3ffa3e5e97e5e9c3776d139 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-11-04T05:57:45.935Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-11-04T05:57:46.252Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-11-04T05:57:46.572Z] + ls /var/log/sa-host [2024-11-04T05:57:46.572Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-11-04T05:57:46.724Z] provisioning config files... [2024-11-04T05:57:46.737Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-588@tmp/config17352964091443968487tmp [Pipeline] { [Pipeline] echo [2024-11-04T05:57:46.798Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-11-04T05:57:47.192Z] ---> create-netrc.sh [Pipeline] } [2024-11-04T05:57:47.231Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-11-04T05:57:47.697Z] ---> python-tools-install.sh [Pipeline] echo [2024-11-04T05:57:47.737Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-11-04T05:57:48.106Z] ---> sudo-logs.sh [2024-11-04T05:57:48.106Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-11-04T05:57:48.218Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-11-04T05:57:48.545Z] ---> job-cost.sh [2024-11-04T05:57:48.545Z] lf-activate-venv: SKIPPING [2024-11-04T05:57:48.545Z] DEBUG: total: 0.2199999988079071 [2024-11-04T05:57:48.545Z] INFO: Retrieving Stack Cost... [2024-11-04T05:57:49.114Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-11-04T05:57:49.374Z] INFO: Archiving Costs [Pipeline] echo [2024-11-04T05:57:49.414Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-11-04T05:57:49.742Z] ---> logs-deploy.sh [2024-11-04T05:57:49.742Z] lf-activate-venv: SKIPPING [2024-11-04T05:57:49.742Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-588/1 [2024-11-04T05:57:49.742Z] INFO: archiving workspace using pattern(s): [2024-11-04T05:57:50.680Z] Archives upload complete. [2024-11-04T05:57:50.680Z] INFO: archiving logs to Nexus