Pull request #589 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of jackchenjc for edgexfoundry/device-modbus-go Obtained Jenkinsfile from 7c4bbfadab17425ea955584c2cfb2af15322662d+dad323708bb7fb3ae7999ed6872af7cbf93de804 (95c52d6773f89081015495300da7c20168eaa97c) 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-ssh4720361460377887463.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-ssh7179385984186083695.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-589/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-589/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh606167347555024931.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-589/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh1502107883365917674.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-ssh6960157524282028775.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-589/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-589/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh1053190168855690644.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 0b81fa10a7dd14683a964f04f411324fe83f93ac Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-modbus-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-modbus-go-settings PROJECT: device-modbus-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.23 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-modbus DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-24736 in /w/workspace/xfoundry_device-modbus-go_PR-589 [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-589 # 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/589/head:refs/remotes/origin/PR-589 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit dad323708bb7fb3ae7999ed6872af7cbf93de804 into PR head commit 7c4bbfadab17425ea955584c2cfb2af15322662d Merge succeeded, producing 7c4bbfadab17425ea955584c2cfb2af15322662d Checking out Revision 7c4bbfadab17425ea955584c2cfb2af15322662d (PR-589) > git config core.sparsecheckout # timeout=10 > git checkout -f 7c4bbfadab17425ea955584c2cfb2af15322662d # 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 7c4bbfadab17425ea955584c2cfb2af15322662d # timeout=10 Commit message: "fix: Only one ldflags flag is allowed" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 0b81fa10a7dd14683a964f04f411324fe83f93ac [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-11-07T09:14:11.774Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-11-07T09:14:11.976Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-11-07T09:14:12.097Z] ========================================================= [2024-11-07T09:14:12.097Z] EdgeX Global Pipelines Version Info [2024-11-07T09:14:12.097Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-11-07T09:14:12.867Z] ------------------- [2024-11-07T09:14:12.867Z] stable info: [2024-11-07T09:14:12.867Z] ------------------- [2024-11-07T09:14:12.867Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-11-07T09:14:12.867Z] Commit SHA: 0b81fa10a7dd14683a964f04f411324fe83f93ac [2024-11-07T09:14:12.867Z] Message: update stable to v1.0.265 [2024-11-07T09:14:13.438Z] ------------------- [2024-11-07T09:14:13.438Z] experimental info: [2024-11-07T09:14:13.438Z] ------------------- [2024-11-07T09:14:13.438Z] Commited By: Cherry Wang cherry@iotechsys.com [2024-11-07T09:14:13.438Z] Commit SHA: b5a5e52272fc4198cf3754284eedf36dbf0baa35 [2024-11-07T09:14:13.438Z] Message: update experimental to v1.0.264 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-11-07T09:14:13.654Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo [2024-11-07T09:14:13.718Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo [2024-11-07T09:14:13.784Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-11-07T09:14:13.842Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-11-07T09:14:13.904Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-11-07T09:14:13.955Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo [2024-11-07T09:14:14.014Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-11-07T09:14:14.071Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2024-11-07T09:14:14.132Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-11-07T09:14:14.192Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-11-07T09:14:14.253Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-11-07T09:14:14.322Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo [2024-11-07T09:14:14.380Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-11-07T09:14:14.443Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-11-07T09:14:14.506Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-11-07T09:14:14.562Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2024-11-07T09:14:14.611Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-11-07T09:14:14.664Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-11-07T09:14:14.721Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-11-07T09:14:14.768Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-11-07T09:14:14.828Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2024-11-07T09:14:14.882Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2024-11-07T09:14:14.937Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-11-07T09:14:15.000Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-11-07T09:14:15.054Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-11-07T09:14:15.113Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-11-07T09:14:15.169Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-11-07T09:14:15.226Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-589 [Pipeline] echo [2024-11-07T09:14:15.292Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-589 [Pipeline] echo [2024-11-07T09:14:15.353Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-589 [Pipeline] echo [2024-11-07T09:14:15.410Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 7c4bbfadab17425ea955584c2cfb2af15322662d [Pipeline] echo [2024-11-07T09:14:15.469Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 7c4bbfa [Pipeline] echo [2024-11-07T09:14:15.532Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-11-07T09:14:15.687Z] provisioning config files... [2024-11-07T09:14:15.700Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-589@tmp/config17701454078000283996tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-11-07T09:14:16.098Z] ---> ****-login.sh [2024-11-07T09:14:16.098Z] nexus3.edgexfoundry.org:10001 [2024-11-07T09:14:16.357Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-07T09:14:16.358Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-07T09:14:16.358Z] Configure a credential helper to remove this warning. See [2024-11-07T09:14:16.358Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-07T09:14:16.358Z] [2024-11-07T09:14:16.358Z] Login Succeeded [2024-11-07T09:14:16.358Z] nexus3.edgexfoundry.org:10002 [2024-11-07T09:14:16.358Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-07T09:14:16.358Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-07T09:14:16.358Z] Configure a credential helper to remove this warning. See [2024-11-07T09:14:16.358Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-07T09:14:16.358Z] [2024-11-07T09:14:16.358Z] Login Succeeded [2024-11-07T09:14:16.358Z] nexus3.edgexfoundry.org:10003 [2024-11-07T09:14:16.619Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-07T09:14:16.619Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-07T09:14:16.619Z] Configure a credential helper to remove this warning. See [2024-11-07T09:14:16.619Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-07T09:14:16.619Z] [2024-11-07T09:14:16.619Z] Login Succeeded [2024-11-07T09:14:16.619Z] nexus3.edgexfoundry.org:10004 [2024-11-07T09:14:16.619Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-07T09:14:16.620Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-07T09:14:16.620Z] Configure a credential helper to remove this warning. See [2024-11-07T09:14:16.620Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-07T09:14:16.620Z] [2024-11-07T09:14:16.620Z] Login Succeeded [2024-11-07T09:14:16.620Z] ****.io [2024-11-07T09:14:16.881Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-07T09:14:16.881Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-07T09:14:16.881Z] Configure a credential helper to remove this warning. See [2024-11-07T09:14:16.881Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-07T09:14:16.881Z] [2024-11-07T09:14:16.881Z] Login Succeeded [2024-11-07T09:14:16.881Z] ---> ****-login.sh ends [Pipeline] } [2024-11-07T09:14:16.917Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-11-07T09:14:17.561Z] + git rev-list -1 --merges 7c4bbfadab17425ea955584c2cfb2af15322662d~1..7c4bbfadab17425ea955584c2cfb2af15322662d [Pipeline] echo [2024-11-07T09:14:17.609Z] -----------> git rev-list -1 --merges 7c4bbfadab17425ea955584c2cfb2af15322662d~1..7c4bbfadab17425ea955584c2cfb2af15322662d 7c4bbfadab17425ea955584c2cfb2af15322662d [false] [Pipeline] sh [2024-11-07T09:14:17.929Z] + git log --format=format:%s -1 7c4bbfadab17425ea955584c2cfb2af15322662d [Pipeline] echo [2024-11-07T09:14:17.974Z] ========================================================= [2024-11-07T09:14:17.974Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-11-07T09:14:17.974Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-11-07T09:14:18.440Z] + git log --format=format:%s -1 7c4bbfadab17425ea955584c2cfb2af15322662d [Pipeline] echo [2024-11-07T09:14:18.486Z] [semverPrep] GIT_COMMIT: 7c4bbfadab17425ea955584c2cfb2af15322662d, Commit Message: fix: Only one ldflags flag is allowed [Pipeline] echo [2024-11-07T09:14:18.524Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-11-07T09:14:18.914Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-11-07T09:14:18.914Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-11-07T09:14:18.914Z] + [ -e /tmp/ssh_known_hosts ] [2024-11-07T09:14:18.915Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-11-07T09:14:18.915Z] + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-11-07T09:14:18.915Z] sudo tee -a /etc/ssh/ssh_known_hosts [2024-11-07T09:14:18.915Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-07T09:14:19.375Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-11-07T09:14:19.375Z] [2024-11-07T09:14:19.375Z] 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-07T09:14:19.780Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-11-07T09:14:19.780Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-11-07T09:14:19.780Z] b85a868b505f: Pulling fs layer [2024-11-07T09:14:19.780Z] e2be974225ed: Pulling fs layer [2024-11-07T09:14:19.780Z] 339a4e72a1f5: Pulling fs layer [2024-11-07T09:14:19.780Z] 988bab9f4d93: Pulling fs layer [2024-11-07T09:14:19.780Z] 1469e6f7b9e6: Pulling fs layer [2024-11-07T09:14:19.780Z] eaf3925da568: Pulling fs layer [2024-11-07T09:14:19.780Z] bab4dde63d76: Pulling fs layer [2024-11-07T09:14:19.780Z] bde34c3a00c8: Pulling fs layer [2024-11-07T09:14:19.780Z] b352a97aabf1: Pulling fs layer [2024-11-07T09:14:19.780Z] 4872d77fe225: Pulling fs layer [2024-11-07T09:14:19.780Z] 5851b861e8e6: Pulling fs layer [2024-11-07T09:14:19.780Z] bab4dde63d76: Waiting [2024-11-07T09:14:19.780Z] bde34c3a00c8: Waiting [2024-11-07T09:14:19.780Z] 1469e6f7b9e6: Waiting [2024-11-07T09:14:19.780Z] b352a97aabf1: Waiting [2024-11-07T09:14:19.780Z] eaf3925da568: Waiting [2024-11-07T09:14:19.780Z] 5851b861e8e6: Waiting [2024-11-07T09:14:19.780Z] 4872d77fe225: Waiting [2024-11-07T09:14:19.780Z] 988bab9f4d93: Waiting [2024-11-07T09:14:19.780Z] 988bab9f4d93: Verifying Checksum [2024-11-07T09:14:19.780Z] 988bab9f4d93: Download complete [2024-11-07T09:14:20.039Z] 1469e6f7b9e6: Verifying Checksum [2024-11-07T09:14:20.039Z] 1469e6f7b9e6: Download complete [2024-11-07T09:14:20.039Z] 339a4e72a1f5: Verifying Checksum [2024-11-07T09:14:20.039Z] 339a4e72a1f5: Download complete [2024-11-07T09:14:20.039Z] eaf3925da568: Verifying Checksum [2024-11-07T09:14:20.039Z] eaf3925da568: Download complete [2024-11-07T09:14:20.039Z] bde34c3a00c8: Verifying Checksum [2024-11-07T09:14:20.039Z] bde34c3a00c8: Download complete [2024-11-07T09:14:20.039Z] b352a97aabf1: Download complete [2024-11-07T09:14:20.039Z] 4872d77fe225: Verifying Checksum [2024-11-07T09:14:20.039Z] 4872d77fe225: Download complete [2024-11-07T09:14:20.039Z] 5851b861e8e6: Verifying Checksum [2024-11-07T09:14:20.039Z] 5851b861e8e6: Download complete [2024-11-07T09:14:20.039Z] b85a868b505f: Verifying Checksum [2024-11-07T09:14:20.039Z] b85a868b505f: Download complete [2024-11-07T09:14:20.298Z] bab4dde63d76: Verifying Checksum [2024-11-07T09:14:20.298Z] bab4dde63d76: Download complete [2024-11-07T09:14:21.281Z] b85a868b505f: Pull complete [2024-11-07T09:14:21.546Z] e2be974225ed: Pull complete [2024-11-07T09:14:22.167Z] 339a4e72a1f5: Pull complete [2024-11-07T09:14:22.167Z] 988bab9f4d93: Pull complete [2024-11-07T09:14:22.426Z] 1469e6f7b9e6: Pull complete [2024-11-07T09:14:22.426Z] eaf3925da568: Pull complete [2024-11-07T09:14:24.333Z] bab4dde63d76: Pull complete [2024-11-07T09:14:24.333Z] bde34c3a00c8: Pull complete [2024-11-07T09:14:24.333Z] b352a97aabf1: Pull complete [2024-11-07T09:14:24.593Z] 4872d77fe225: Pull complete [2024-11-07T09:14:24.593Z] 5851b861e8e6: Pull complete [2024-11-07T09:14:24.593Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-11-07T09:14:24.593Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-11-07T09:14:24.593Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-07T09:14:24.878Z] prd-ubuntu20.04-docker-8c-8g-24736 does not seem to be running inside a container [2024-11-07T09:14:24.908Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-589 -v /w/workspace/xfoundry_device-modbus-go_PR-589:/w/workspace/xfoundry_device-modbus-go_PR-589:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-589@tmp:/w/workspace/xfoundry_device-modbus-go_PR-589@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-11-07T09:14:26.107Z] $ docker top 382a6143f662181c844cf733cbb77e7cfeac787bf3dc0438534c295428ed81bd -eo pid,comm [2024-11-07T09:14:26.160Z] 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-07T09:14:26.160Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-11-07T09:14:26.336Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-11-07T09:14:26.336Z] [ssh-agent] Looking for ssh-agent implementation... [2024-11-07T09:14:26.445Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-11-07T09:14:26.447Z] $ docker exec 382a6143f662181c844cf733cbb77e7cfeac787bf3dc0438534c295428ed81bd ssh-agent [2024-11-07T09:14:26.570Z] SSH_AUTH_SOCK=/tmp/ssh-Jalo4IMtC5bz/agent.32 [2024-11-07T09:14:26.570Z] SSH_AGENT_PID=38 [2024-11-07T09:14:26.576Z] Running ssh-add (command line suppressed) [2024-11-07T09:14:26.672Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-589@tmp/private_key_17418457635965249131.key (/w/workspace/xfoundry_device-modbus-go_PR-589@tmp/private_key_17418457635965249131.key) [2024-11-07T09:14:26.686Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-11-07T09:14:27.026Z] + git tag --points-at HEAD [Pipeline] } [2024-11-07T09:14:27.055Z] $ docker exec --env ******** --env ******** 382a6143f662181c844cf733cbb77e7cfeac787bf3dc0438534c295428ed81bd ssh-agent -k [2024-11-07T09:14:27.168Z] unset SSH_AUTH_SOCK; [2024-11-07T09:14:27.169Z] unset SSH_AGENT_PID; [2024-11-07T09:14:27.169Z] echo Agent pid 38 killed; [2024-11-07T09:14:27.180Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-11-07T09:14:27.280Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-11-07T09:14:27.280Z] [ssh-agent] Looking for ssh-agent implementation... [2024-11-07T09:14:27.391Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-11-07T09:14:27.393Z] $ docker exec 382a6143f662181c844cf733cbb77e7cfeac787bf3dc0438534c295428ed81bd ssh-agent [2024-11-07T09:14:27.511Z] SSH_AUTH_SOCK=/tmp/ssh-ffLcB7gHdY2c/agent.71 [2024-11-07T09:14:27.511Z] SSH_AGENT_PID=77 [2024-11-07T09:14:27.515Z] Running ssh-add (command line suppressed) [2024-11-07T09:14:27.623Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-589@tmp/private_key_10964620395975532959.key (/w/workspace/xfoundry_device-modbus-go_PR-589@tmp/private_key_10964620395975532959.key) [2024-11-07T09:14:27.634Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-11-07T09:14:27.986Z] + git semver init [2024-11-07T09:14:28.246Z] 2024-11-07 09:14:28,155 [run_init] DEBUG init version:0.0.0 force:False [2024-11-07T09:14:28.246Z] 2024-11-07 09:14:28,156 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-modbus-go_PR-589/.semver [2024-11-07T09:14:28.246Z] 2024-11-07 09:14:28,156 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/xfoundry_device-modbus-go_PR-589/.semver [2024-11-07T09:14:28.246Z] 2024-11-07 09:14:28,156 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/xfoundry_device-modbus-go_PR-589/.semver'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-589, universal_newlines=False, shell=None, istream=None) [2024-11-07T09:14:29.186Z] 2024-11-07 09:14:29,084 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-modbus-go_PR-589/.git/info/exclude [2024-11-07T09:14:29.186Z] 2024-11-07 09:14:29,084 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-modbus-go_PR-589/.semver/PR-589 with force:False [2024-11-07T09:14:29.186Z] 2024-11-07 09:14:29,084 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-modbus-go_PR-589/.semver/PR-589 [2024-11-07T09:14:29.186Z] 2024-11-07 09:14:29,087 [execute] INFO git cat-file --batch-check [2024-11-07T09:14:29.186Z] 2024-11-07 09:14:29,087 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-589/.semver, universal_newlines=False, shell=None, istream=) [2024-11-07T09:14:29.186Z] 2024-11-07 09:14:29,092 [execute] INFO git cat-file --batch [2024-11-07T09:14:29.186Z] 2024-11-07 09:14:29,092 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-589/.semver, universal_newlines=False, shell=None, istream=) [2024-11-07T09:14:29.186Z] 2024-11-07 09:14:29,097 [read_version] DEBUG read version from /w/workspace/xfoundry_device-modbus-go_PR-589/.semver/PR-589 [2024-11-07T09:14:29.186Z] 0.0.0 [Pipeline] } [2024-11-07T09:14:29.214Z] $ docker exec --env ******** --env ******** 382a6143f662181c844cf733cbb77e7cfeac787bf3dc0438534c295428ed81bd ssh-agent -k [2024-11-07T09:14:29.321Z] unset SSH_AUTH_SOCK; [2024-11-07T09:14:29.322Z] unset SSH_AGENT_PID; [2024-11-07T09:14:29.322Z] echo Agent pid 77 killed; [2024-11-07T09:14:29.332Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-11-07T09:14:29.903Z] + git semver [Pipeline] } [2024-11-07T09:14:30.191Z] $ docker stop --time=1 382a6143f662181c844cf733cbb77e7cfeac787bf3dc0438534c295428ed81bd [2024-11-07T09:14:31.468Z] $ docker rm -f --volumes 382a6143f662181c844cf733cbb77e7cfeac787bf3dc0438534c295428ed81bd [Pipeline] // withDockerContainer [Pipeline] sh [2024-11-07T09:14:31.890Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-11-07T09:14:32.200Z] Stashed 1 file(s) [Pipeline] echo [2024-11-07T09:14:32.223Z] [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-07T09:14:32.950Z] provisioning config files... [2024-11-07T09:14:32.959Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-589@tmp/config10142777408432214628tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-11-07T09:14:33.327Z] ---> ****-login.sh [2024-11-07T09:14:33.327Z] nexus3.edgexfoundry.org:10001 [2024-11-07T09:14:33.327Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-07T09:14:33.327Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-07T09:14:33.327Z] Configure a credential helper to remove this warning. See [2024-11-07T09:14:33.328Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-07T09:14:33.328Z] [2024-11-07T09:14:33.328Z] Login Succeeded [2024-11-07T09:14:33.328Z] nexus3.edgexfoundry.org:10002 [2024-11-07T09:14:33.328Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-07T09:14:33.328Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-07T09:14:33.328Z] Configure a credential helper to remove this warning. See [2024-11-07T09:14:33.328Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-07T09:14:33.328Z] [2024-11-07T09:14:33.328Z] Login Succeeded [2024-11-07T09:14:33.328Z] nexus3.edgexfoundry.org:10003 [2024-11-07T09:14:33.589Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-07T09:14:33.590Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-07T09:14:33.590Z] Configure a credential helper to remove this warning. See [2024-11-07T09:14:33.590Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-07T09:14:33.590Z] [2024-11-07T09:14:33.590Z] Login Succeeded [2024-11-07T09:14:33.590Z] nexus3.edgexfoundry.org:10004 [2024-11-07T09:14:33.590Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-07T09:14:33.590Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-07T09:14:33.590Z] Configure a credential helper to remove this warning. See [2024-11-07T09:14:33.590Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-07T09:14:33.590Z] [2024-11-07T09:14:33.590Z] Login Succeeded [2024-11-07T09:14:33.590Z] ****.io [2024-11-07T09:14:33.851Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-07T09:14:33.851Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-07T09:14:33.851Z] Configure a credential helper to remove this warning. See [2024-11-07T09:14:33.851Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-07T09:14:33.851Z] [2024-11-07T09:14:33.851Z] Login Succeeded [2024-11-07T09:14:33.851Z] ---> ****-login.sh ends [Pipeline] } [2024-11-07T09:14:33.882Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-11-07T09:14:34.120Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-11-07T09:14:34.173Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-11-07T09:14:34.220Z] ========================================================= [2024-11-07T09:14:34.220Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] [2024-11-07T09:14:34.220Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-07T09:14:34.755Z] + 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-07T09:14:34.755Z] Sending build context to Docker daemon 17.97MB [2024-11-07T09:14:34.755Z] Step 1/10 : ARG BASE=golang:1.23-alpine3.20 [2024-11-07T09:14:34.755Z] Step 2/10 : FROM ${BASE} AS builder [2024-11-07T09:14:34.755Z] 1.23-alpine: Pulling from edgex-devops/edgex-golang-base [2024-11-07T09:14:34.755Z] 43c4264eed91: Pulling fs layer [2024-11-07T09:14:34.755Z] 4cc291be95ef: Pulling fs layer [2024-11-07T09:14:34.755Z] 2ac1f1163629: Pulling fs layer [2024-11-07T09:14:34.755Z] 5c3c966382ef: Pulling fs layer [2024-11-07T09:14:34.755Z] 4f4fb700ef54: Pulling fs layer [2024-11-07T09:14:34.755Z] 5d5c8e513c77: Pulling fs layer [2024-11-07T09:14:34.755Z] 9f66e0745190: Pulling fs layer [2024-11-07T09:14:34.755Z] f49a43e4bbc0: Pulling fs layer [2024-11-07T09:14:34.755Z] 561ebcabdf7f: Pulling fs layer [2024-11-07T09:14:34.755Z] 9f66e0745190: Waiting [2024-11-07T09:14:34.755Z] f49a43e4bbc0: Waiting [2024-11-07T09:14:34.755Z] 4f4fb700ef54: Waiting [2024-11-07T09:14:34.755Z] 5d5c8e513c77: Waiting [2024-11-07T09:14:34.755Z] 561ebcabdf7f: Waiting [2024-11-07T09:14:35.013Z] 4cc291be95ef: Verifying Checksum [2024-11-07T09:14:35.013Z] 4cc291be95ef: Download complete [2024-11-07T09:14:35.013Z] 5c3c966382ef: Verifying Checksum [2024-11-07T09:14:35.013Z] 5c3c966382ef: Download complete [2024-11-07T09:14:35.013Z] 4f4fb700ef54: Download complete [2024-11-07T09:14:35.013Z] 5d5c8e513c77: Verifying Checksum [2024-11-07T09:14:35.013Z] 5d5c8e513c77: Download complete [2024-11-07T09:14:35.013Z] 43c4264eed91: Download complete [2024-11-07T09:14:35.013Z] 9f66e0745190: Verifying Checksum [2024-11-07T09:14:35.013Z] 9f66e0745190: Download complete [2024-11-07T09:14:35.274Z] 43c4264eed91: Pull complete [2024-11-07T09:14:35.274Z] 561ebcabdf7f: Download complete [2024-11-07T09:14:35.274Z] 4cc291be95ef: Pull complete [2024-11-07T09:14:35.541Z] 2ac1f1163629: Verifying Checksum [2024-11-07T09:14:35.541Z] 2ac1f1163629: Download complete [2024-11-07T09:14:35.809Z] f49a43e4bbc0: Verifying Checksum [2024-11-07T09:14:35.809Z] f49a43e4bbc0: Download complete [2024-11-07T09:14:39.099Z] 2ac1f1163629: Pull complete [2024-11-07T09:14:39.099Z] 5c3c966382ef: Pull complete [2024-11-07T09:14:39.099Z] 4f4fb700ef54: Pull complete [2024-11-07T09:14:39.099Z] 5d5c8e513c77: Pull complete [2024-11-07T09:14:39.099Z] 9f66e0745190: Pull complete [2024-11-07T09:14:41.006Z] f49a43e4bbc0: Pull complete [2024-11-07T09:14:41.575Z] 561ebcabdf7f: Pull complete [2024-11-07T09:14:41.575Z] Digest: sha256:0719486ae9a24b675ee3acaa2cfd867e7a981f2ef22b41d166c62d936fe8de2d [2024-11-07T09:14:41.575Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine [2024-11-07T09:14:41.575Z] ---> 3a752c3f9dda [2024-11-07T09:14:41.575Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2024-11-07T09:14:42.958Z] ---> Running in 8a8a54a124d3 [2024-11-07T09:14:42.958Z] Removing intermediate container 8a8a54a124d3 [2024-11-07T09:14:42.958Z] ---> 7b414007ee64 [2024-11-07T09:14:42.958Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-11-07T09:14:42.958Z] ---> Running in cc1496fe2ce6 [2024-11-07T09:14:42.958Z] Removing intermediate container cc1496fe2ce6 [2024-11-07T09:14:42.958Z] ---> 26d4678e4f0a [2024-11-07T09:14:42.958Z] Step 5/10 : RUN apk add --update --no-cache make git openssh [2024-11-07T09:14:43.219Z] ---> Running in 5a723c34417e [2024-11-07T09:14:43.483Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-11-07T09:14:43.483Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-11-07T09:14:43.744Z] (1/8) Installing openssh-keygen (9.7_p1-r4) [2024-11-07T09:14:43.744Z] (2/8) Installing libedit (20240517.3.1-r0) [2024-11-07T09:14:43.744Z] (3/8) Installing openssh-client-common (9.7_p1-r4) [2024-11-07T09:14:43.744Z] (4/8) Installing openssh-client-default (9.7_p1-r4) [2024-11-07T09:14:43.744Z] (5/8) Installing openssh-sftp-server (9.7_p1-r4) [2024-11-07T09:14:43.744Z] (6/8) Installing openssh-server-common (9.7_p1-r4) [2024-11-07T09:14:43.744Z] (7/8) Installing openssh-server (9.7_p1-r4) [2024-11-07T09:14:43.744Z] (8/8) Installing openssh (9.7_p1-r4) [2024-11-07T09:14:43.744Z] Executing busybox-1.36.1-r29.trigger [2024-11-07T09:14:43.744Z] OK: 252 MiB in 62 packages [2024-11-07T09:14:44.312Z] Removing intermediate container 5a723c34417e [2024-11-07T09:14:44.312Z] ---> 970c6259c0d7 [2024-11-07T09:14:44.312Z] Step 6/10 : WORKDIR /device-modbus-go [2024-11-07T09:14:44.312Z] ---> Running in cb9d5d46f80c [2024-11-07T09:14:44.312Z] Removing intermediate container cb9d5d46f80c [2024-11-07T09:14:44.312Z] ---> b28896f53dd0 [2024-11-07T09:14:44.312Z] Step 7/10 : COPY go.mod vendor* ./ [2024-11-07T09:14:44.312Z] ---> 3b1fbfb3fbeb [2024-11-07T09:14:44.312Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-11-07T09:14:44.312Z] ---> Running in 429045eb93bf [2024-11-07T09:14:47.745Z] Still waiting to schedule task [2024-11-07T09:14:47.745Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-24735’ [2024-11-07T09:15:16.413Z] Removing intermediate container 429045eb93bf [2024-11-07T09:15:16.413Z] ---> 51086374ab4f [2024-11-07T09:15:16.413Z] Step 9/10 : COPY . . [2024-11-07T09:15:16.413Z] ---> bb11511f252c [2024-11-07T09:15:16.413Z] Step 10/10 : RUN ${MAKE} [2024-11-07T09:15:16.413Z] ---> Running in 49631d9542fa [2024-11-07T09:15:16.413Z] noop [2024-11-07T09:15:16.413Z] Removing intermediate container 49631d9542fa [2024-11-07T09:15:16.413Z] ---> cc2fd4ad232f [2024-11-07T09:15:16.413Z] Successfully built cc2fd4ad232f [2024-11-07T09:15:16.413Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-07T09:15:16.917Z] + docker inspect -f . ci-base-image-x86_64 [2024-11-07T09:15:16.917Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-07T09:15:17.093Z] prd-ubuntu20.04-docker-8c-8g-24736 does not seem to be running inside a container [2024-11-07T09:15:17.120Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-589 -v /w/workspace/xfoundry_device-modbus-go_PR-589:/w/workspace/xfoundry_device-modbus-go_PR-589:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-589@tmp:/w/workspace/xfoundry_device-modbus-go_PR-589@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-11-07T09:15:17.458Z] $ docker top cf5cd57ae748c92ed7ed134d049c5db7adb847821d5eed8d14b857e472f02141 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-11-07T09:15:17.879Z] + go version [2024-11-07T09:15:17.879Z] go version go1.23.2 linux/amd64 [Pipeline] } [2024-11-07T09:15:17.910Z] $ docker stop --time=1 cf5cd57ae748c92ed7ed134d049c5db7adb847821d5eed8d14b857e472f02141 [2024-11-07T09:15:19.178Z] $ docker rm -f --volumes cf5cd57ae748c92ed7ed134d049c5db7adb847821d5eed8d14b857e472f02141 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-07T09:15:19.980Z] + docker inspect -f . ci-base-image-x86_64 [2024-11-07T09:15:19.980Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-07T09:15:20.157Z] prd-ubuntu20.04-docker-8c-8g-24736 does not seem to be running inside a container [2024-11-07T09:15:20.189Z] $ 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-589 -v /w/workspace/xfoundry_device-modbus-go_PR-589:/w/workspace/xfoundry_device-modbus-go_PR-589:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-589@tmp:/w/workspace/xfoundry_device-modbus-go_PR-589@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-11-07T09:15:20.516Z] $ docker top 0e7c561b873a768c252ab0aaaeaa1efcabf80b11cb417459792ba27e5059d5cc -eo pid,comm [Pipeline] { [Pipeline] sh [2024-11-07T09:15:20.931Z] + git config --global --add safe.directory /w/workspace/xfoundry_device-modbus-go_PR-589 [Pipeline] fileExists [Pipeline] sh [2024-11-07T09:15:21.311Z] + make test [2024-11-07T09:15:21.311Z] go test ./... -coverprofile=coverage.out [2024-11-07T09:15:22.687Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2024-11-07T09:15:40.755Z] github.com/edgexfoundry/device-modbus-go/cmd coverage: 0.0% of statements [2024-11-07T09:15:40.755Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.012s coverage: 48.0% of statements [2024-11-07T09:15:50.720Z] go vet ./... [2024-11-07T09:15:55.994Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-11-07T09:15:55.994Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-11-07T09:15:56.251Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2024-11-07T09:15:56.298Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-11-07T09:15:56.339Z] $ docker stop --time=1 0e7c561b873a768c252ab0aaaeaa1efcabf80b11cb417459792ba27e5059d5cc [2024-11-07T09:15:58.253Z] $ docker rm -f --volumes 0e7c561b873a768c252ab0aaaeaa1efcabf80b11cb417459792ba27e5059d5cc [Pipeline] // withDockerContainer [Pipeline] sh [2024-11-07T09:15:58.952Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-11-07T09:15:59.033Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2024-11-07T09:15:59.675Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-11-07T09:16:00.000Z] + ls -al . [2024-11-07T09:16:00.000Z] total 260 [2024-11-07T09:16:00.000Z] drwxrwxr-x 9 jenkins jenkins 4096 Nov 7 09:15 . [2024-11-07T09:16:00.000Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 7 09:14 .. [2024-11-07T09:16:00.000Z] -rw-rw-r-- 1 jenkins jenkins 140 Nov 7 09:14 .dockerignore [2024-11-07T09:16:00.000Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 7 09:15 .git [2024-11-07T09:16:00.000Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 7 09:14 .github [2024-11-07T09:16:00.000Z] -rw-rw-r-- 1 jenkins jenkins 266 Nov 7 09:14 .gitignore [2024-11-07T09:16:00.000Z] -rw-rw-r-- 1 jenkins jenkins 199 Nov 7 09:14 .golangci.yml [2024-11-07T09:16:00.000Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 7 09:14 .semver [2024-11-07T09:16:00.000Z] -rw-rw-r-- 1 jenkins jenkins 19818 Nov 7 09:14 Attribution.txt [2024-11-07T09:16:00.000Z] -rw-rw-r-- 1 jenkins jenkins 16388 Nov 7 09:14 CHANGELOG.md [2024-11-07T09:16:00.000Z] -rw-rw-r-- 1 jenkins jenkins 1479 Nov 7 09:14 Dockerfile [2024-11-07T09:16:00.000Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 7 09:14 GOVERNANCE.md [2024-11-07T09:16:00.000Z] -rw-rw-r-- 1 jenkins jenkins 658 Nov 7 09:14 Jenkinsfile [2024-11-07T09:16:00.000Z] -rw-rw-r-- 1 jenkins jenkins 11340 Nov 7 09:14 LICENSE [2024-11-07T09:16:00.000Z] -rw-rw-r-- 1 jenkins jenkins 2532 Nov 7 09:14 Makefile [2024-11-07T09:16:00.000Z] -rw-rw-r-- 1 jenkins jenkins 622 Nov 7 09:14 OWNERS.md [2024-11-07T09:16:00.000Z] -rw-rw-r-- 1 jenkins jenkins 4463 Nov 7 09:14 README.md [2024-11-07T09:16:00.000Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 7 09:14 VERSION [2024-11-07T09:16:00.000Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 7 09:14 bin [2024-11-07T09:16:00.000Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 7 09:14 cmd [2024-11-07T09:16:00.000Z] -rw-r--r-- 1 jenkins jenkins 25464 Nov 7 09:15 coverage.out [2024-11-07T09:16:00.000Z] -rw-rw-r-- 1 jenkins jenkins 6490 Nov 7 09:14 go.mod [2024-11-07T09:16:00.000Z] -rw-rw-r-- 1 jenkins jenkins 88426 Nov 7 09:14 go.sum [2024-11-07T09:16:00.000Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 7 09:14 internal [2024-11-07T09:16:00.000Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 7 09:14 simulator [2024-11-07T09:16:00.000Z] -rw-rw-r-- 1 jenkins jenkins 229 Nov 7 09:14 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-07T09:16:00.429Z] + 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=7c4bbfadab17425ea955584c2cfb2af15322662d --label arch=amd64 --label version=0.0.0 . [2024-11-07T09:16:00.429Z] Sending build context to Docker daemon 17.99MB [2024-11-07T09:16:00.429Z] Step 1/23 : ARG BASE=golang:1.23-alpine3.20 [2024-11-07T09:16:00.429Z] Step 2/23 : FROM ${BASE} AS builder [2024-11-07T09:16:00.429Z] ---> cc2fd4ad232f [2024-11-07T09:16:00.429Z] Step 3/23 : ARG ADD_BUILD_TAGS="" [2024-11-07T09:16:00.429Z] ---> Running in b0bf37011415 [2024-11-07T09:16:00.688Z] Removing intermediate container b0bf37011415 [2024-11-07T09:16:00.688Z] ---> 41e2c55e3517 [2024-11-07T09:16:00.688Z] Step 4/23 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-11-07T09:16:00.688Z] ---> Running in 03316f643be7 [2024-11-07T09:16:00.688Z] Removing intermediate container 03316f643be7 [2024-11-07T09:16:00.688Z] ---> 041e5df98abb [2024-11-07T09:16:00.688Z] Step 5/23 : RUN apk add --update --no-cache make git openssh [2024-11-07T09:16:00.688Z] ---> Running in db8948833b44 [2024-11-07T09:16:00.948Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-11-07T09:16:01.206Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-11-07T09:16:01.206Z] OK: 252 MiB in 62 packages [2024-11-07T09:16:01.773Z] Removing intermediate container db8948833b44 [2024-11-07T09:16:01.773Z] ---> 5866d886975e [2024-11-07T09:16:01.773Z] Step 6/23 : WORKDIR /device-modbus-go [2024-11-07T09:16:01.773Z] ---> Running in cf9def9974ad [2024-11-07T09:16:01.773Z] Removing intermediate container cf9def9974ad [2024-11-07T09:16:01.773Z] ---> bdf6c4f6ffe7 [2024-11-07T09:16:01.773Z] Step 7/23 : COPY go.mod vendor* ./ [2024-11-07T09:16:01.773Z] ---> e562cb43967a [2024-11-07T09:16:01.773Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-11-07T09:16:01.773Z] ---> Running in 7cd7636e8aaf [2024-11-07T09:16:02.708Z] Removing intermediate container 7cd7636e8aaf [2024-11-07T09:16:02.708Z] ---> a2b3431e5830 [2024-11-07T09:16:02.708Z] Step 9/23 : COPY . . [2024-11-07T09:16:02.969Z] ---> 99391227d18d [2024-11-07T09:16:02.969Z] Step 10/23 : RUN ${MAKE} [2024-11-07T09:16:02.969Z] ---> Running in defad73a9256 [2024-11-07T09:16:03.229Z] 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.2 " -trimpath -mod=readonly -buildmode=pie -o cmd/device-modbus ./cmd [2024-11-07T09:16:35.304Z] Removing intermediate container defad73a9256 [2024-11-07T09:16:35.304Z] ---> fc76ff383154 [2024-11-07T09:16:35.304Z] Step 11/23 : FROM alpine:3.20 [2024-11-07T09:16:35.304Z] 3.20: Pulling from library/alpine [2024-11-07T09:16:35.304Z] 43c4264eed91: Already exists [2024-11-07T09:16:35.304Z] Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d [2024-11-07T09:16:35.304Z] Status: Downloaded newer image for alpine:3.20 [2024-11-07T09:16:35.304Z] ---> 91ef0af61f39 [2024-11-07T09:16:35.304Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2024: IoTech Ltd' [2024-11-07T09:16:35.304Z] ---> Running in 55af6c44bae4 [2024-11-07T09:16:35.304Z] Removing intermediate container 55af6c44bae4 [2024-11-07T09:16:35.304Z] ---> 9294db02af91 [2024-11-07T09:16:35.304Z] Step 13/23 : RUN apk add --update --no-cache dumb-init [2024-11-07T09:16:35.304Z] ---> Running in 952389b040f5 [2024-11-07T09:16:35.304Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-11-07T09:16:35.304Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-11-07T09:16:35.304Z] (1/1) Installing dumb-init (1.2.5-r3) [2024-11-07T09:16:35.304Z] Executing busybox-1.36.1-r29.trigger [2024-11-07T09:16:35.304Z] OK: 8 MiB in 15 packages [2024-11-07T09:16:35.304Z] Removing intermediate container 952389b040f5 [2024-11-07T09:16:35.304Z] ---> de917c5d717a [2024-11-07T09:16:35.304Z] Step 14/23 : RUN apk --no-cache upgrade [2024-11-07T09:16:35.304Z] ---> Running in 1e7ec81277e0 [2024-11-07T09:16:35.304Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-11-07T09:16:35.304Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-11-07T09:16:35.304Z] Upgrading critical system libraries and apk-tools: [2024-11-07T09:16:35.304Z] (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) [2024-11-07T09:16:35.304Z] Executing busybox-1.36.1-r29.trigger [2024-11-07T09:16:35.304Z] Continuing the upgrade transaction with new apk-tools: [2024-11-07T09:16:35.304Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-11-07T09:16:35.304Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-11-07T09:16:35.304Z] (1/2) Upgrading libcrypto3 (3.3.2-r0 -> 3.3.2-r1) [2024-11-07T09:16:35.304Z] (2/2) Upgrading libssl3 (3.3.2-r0 -> 3.3.2-r1) [2024-11-07T09:16:35.304Z] OK: 8 MiB in 15 packages [2024-11-07T09:16:35.304Z] Removing intermediate container 1e7ec81277e0 [2024-11-07T09:16:35.304Z] ---> cad8e930476b [2024-11-07T09:16:35.304Z] Step 15/23 : COPY --from=builder /device-modbus-go/cmd / [2024-11-07T09:16:35.304Z] ---> f8b55ff185c6 [2024-11-07T09:16:35.304Z] Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / [2024-11-07T09:16:35.304Z] ---> b4fb33a1eb69 [2024-11-07T09:16:35.304Z] Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / [2024-11-07T09:16:35.304Z] ---> 18d5e70630c5 [2024-11-07T09:16:35.304Z] Step 18/23 : EXPOSE 59901 [2024-11-07T09:16:35.304Z] ---> Running in b0ec1a321aca [2024-11-07T09:16:35.304Z] Removing intermediate container b0ec1a321aca [2024-11-07T09:16:35.304Z] ---> 2b18c4eb8d7b [2024-11-07T09:16:35.304Z] Step 19/23 : ENTRYPOINT ["/device-modbus"] [2024-11-07T09:16:35.304Z] ---> Running in 8dc5f07302b1 [2024-11-07T09:16:35.304Z] Removing intermediate container 8dc5f07302b1 [2024-11-07T09:16:35.304Z] ---> 2546169e948c [2024-11-07T09:16:35.304Z] Step 20/23 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry"] [2024-11-07T09:16:35.304Z] ---> Running in d44cf5971e6c [2024-11-07T09:16:35.304Z] Removing intermediate container d44cf5971e6c [2024-11-07T09:16:35.304Z] ---> fd03ac82bc5d [2024-11-07T09:16:35.304Z] Step 21/23 : LABEL arch=amd64 [2024-11-07T09:16:35.304Z] ---> Running in 18e72d0604ff [2024-11-07T09:16:35.304Z] Removing intermediate container 18e72d0604ff [2024-11-07T09:16:35.304Z] ---> e7317aa7e925 [2024-11-07T09:16:35.304Z] Step 22/23 : LABEL git_sha=7c4bbfadab17425ea955584c2cfb2af15322662d [2024-11-07T09:16:35.304Z] ---> Running in 7a005dc8605e [2024-11-07T09:16:35.304Z] Removing intermediate container 7a005dc8605e [2024-11-07T09:16:35.304Z] ---> 287983e0228a [2024-11-07T09:16:35.304Z] Step 23/23 : LABEL version=0.0.0 [2024-11-07T09:16:35.304Z] ---> Running in a9bc797a6a28 [2024-11-07T09:16:35.304Z] Removing intermediate container a9bc797a6a28 [2024-11-07T09:16:35.304Z] ---> c400d99535ee [2024-11-07T09:16:35.304Z] [Warning] One or more build-args [ARCH] were not consumed [2024-11-07T09:16:35.304Z] Successfully built c400d99535ee [2024-11-07T09:16:35.304Z] 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-07T09:16:36.287Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-11-07T09:16:36.287Z] [2024-11-07T09:16:36.287Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-07T09:16:36.691Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-11-07T09:16:36.691Z] latest: Pulling from edgex-lftools-log-publisher [2024-11-07T09:16:36.691Z] 5eb5b503b376: Pulling fs layer [2024-11-07T09:16:36.691Z] 5c69ac0246d0: Pulling fs layer [2024-11-07T09:16:36.691Z] ec43610c2a17: Pulling fs layer [2024-11-07T09:16:36.691Z] 3a2ae6a8a46f: Pulling fs layer [2024-11-07T09:16:36.691Z] 33b1e0a273af: Pulling fs layer [2024-11-07T09:16:36.691Z] 5d3b04190fa2: Pulling fs layer [2024-11-07T09:16:36.691Z] 3a2ae6a8a46f: Waiting [2024-11-07T09:16:36.691Z] 33b1e0a273af: Waiting [2024-11-07T09:16:36.691Z] 2f39f015ded8: Pulling fs layer [2024-11-07T09:16:36.691Z] 2f39f015ded8: Waiting [2024-11-07T09:16:36.691Z] 5d3b04190fa2: Waiting [2024-11-07T09:16:36.691Z] 5c69ac0246d0: Download complete [2024-11-07T09:16:36.691Z] 3a2ae6a8a46f: Verifying Checksum [2024-11-07T09:16:36.691Z] 3a2ae6a8a46f: Download complete [2024-11-07T09:16:36.951Z] 33b1e0a273af: Verifying Checksum [2024-11-07T09:16:36.951Z] 33b1e0a273af: Download complete [2024-11-07T09:16:36.951Z] 5d3b04190fa2: Verifying Checksum [2024-11-07T09:16:36.951Z] 5d3b04190fa2: Download complete [2024-11-07T09:16:36.951Z] ec43610c2a17: Verifying Checksum [2024-11-07T09:16:36.951Z] ec43610c2a17: Download complete [2024-11-07T09:16:37.209Z] 5eb5b503b376: Verifying Checksum [2024-11-07T09:16:37.209Z] 5eb5b503b376: Download complete [2024-11-07T09:16:37.773Z] 2f39f015ded8: Verifying Checksum [2024-11-07T09:16:37.773Z] 2f39f015ded8: Download complete [2024-11-07T09:16:38.339Z] 5eb5b503b376: Pull complete [2024-11-07T09:16:38.339Z] 5c69ac0246d0: Pull complete [2024-11-07T09:16:38.904Z] ec43610c2a17: Pull complete [2024-11-07T09:16:38.904Z] 3a2ae6a8a46f: Pull complete [2024-11-07T09:16:39.162Z] 33b1e0a273af: Pull complete [2024-11-07T09:16:39.162Z] 5d3b04190fa2: Pull complete [2024-11-07T09:16:43.348Z] 2f39f015ded8: Pull complete [2024-11-07T09:16:43.348Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-11-07T09:16:43.348Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-11-07T09:16:43.348Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-07T09:16:43.606Z] prd-ubuntu20.04-docker-8c-8g-24736 does not seem to be running inside a container [2024-11-07T09:16:43.637Z] $ 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-589 -v /w/workspace/xfoundry_device-modbus-go_PR-589:/w/workspace/xfoundry_device-modbus-go_PR-589:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-589@tmp:/w/workspace/xfoundry_device-modbus-go_PR-589@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-11-07T09:16:44.707Z] $ docker top 2dcf73b81b5fd7e35c5b652b48d8e6e89ac50ba1ee28fb4ba6d5481fa20ee090 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-11-07T09:16:45.170Z] ---> job-cost.sh [2024-11-07T09:16:45.170Z] lf-activate-venv: SKIPPING [2024-11-07T09:16:45.170Z] INFO: No Stack... [2024-11-07T09:16:45.429Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-11-07T09:16:45.997Z] INFO: Archiving Costs [Pipeline] sh [2024-11-07T09:16:46.318Z] + cat /w/workspace/xfoundry_device-modbus-go_PR-589/archives/cost.csv [2024-11-07T09:16:46.318Z] + cut -d, -f6 [Pipeline] lock [2024-11-07T09:16:46.366Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-modbus-go-PR-589-1-stack-cost] [2024-11-07T09:16:46.372Z] Resource [jenkins-edgexfoundry-device-modbus-go-PR-589-1-stack-cost] did not exist. Created. [2024-11-07T09:16:46.378Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-modbus-go-PR-589-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-11-07T09:16:46.790Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-11-07T09:16:46.853Z] Stashed 1 file(s) [Pipeline] } [2024-11-07T09:16:46.891Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-modbus-go-PR-589-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-11-07T09:16:46.986Z] $ docker stop --time=1 2dcf73b81b5fd7e35c5b652b48d8e6e89ac50ba1ee28fb4ba6d5481fa20ee090 [2024-11-07T09:16:48.129Z] $ docker rm -f --volumes 2dcf73b81b5fd7e35c5b652b48d8e6e89ac50ba1ee28fb4ba6d5481fa20ee090 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-11-07T09:17:08.131Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-24739 in /w/workspace/xfoundry_device-modbus-go_PR-589 [Pipeline] { [Pipeline] ws [2024-11-07T09:17:08.208Z] Running in /w/workspace/device-modbus-go/1 [Pipeline] { [Pipeline] checkout [2024-11-07T09:17:11.319Z] The recommended git tool is: git [2024-11-07T09:17:17.495Z] using credential edgex-jenkins-ssh [2024-11-07T09:17:17.518Z] Cloning the remote Git repository [2024-11-07T09:17:17.574Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2024-11-07T09:17:17.696Z] > git init /w/workspace/device-modbus-go/1 # timeout=10 [2024-11-07T09:17:17.887Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2024-11-07T09:17:17.889Z] > git --version # timeout=10 [2024-11-07T09:17:17.914Z] > git --version # 'git version 2.25.1' [2024-11-07T09:17:17.918Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-11-07T09:17:18.104Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-11-07T09:17:20.154Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2024-11-07T09:17:20.179Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-11-07T09:17:21.300Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2024-11-07T09:17:21.350Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2024-11-07T09:17:21.351Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-11-07T09:17:21.381Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/589/head:refs/remotes/origin/PR-589 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2024-11-07T09:17:21.959Z] Merging remotes/origin/main commit dad323708bb7fb3ae7999ed6872af7cbf93de804 into PR head commit 7c4bbfadab17425ea955584c2cfb2af15322662d [2024-11-07T09:17:22.314Z] Merge succeeded, producing 7c4bbfadab17425ea955584c2cfb2af15322662d [2024-11-07T09:17:22.315Z] Checking out Revision 7c4bbfadab17425ea955584c2cfb2af15322662d (PR-589) [2024-11-07T09:17:21.980Z] > git config core.sparsecheckout # timeout=10 [2024-11-07T09:17:22.069Z] > git checkout -f 7c4bbfadab17425ea955584c2cfb2af15322662d # timeout=10 [2024-11-07T09:17:22.184Z] > git remote # timeout=10 [2024-11-07T09:17:22.208Z] > git config --get remote.origin.url # timeout=10 [2024-11-07T09:17:22.231Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-11-07T09:17:22.258Z] > git merge dad323708bb7fb3ae7999ed6872af7cbf93de804 # timeout=10 [2024-11-07T09:17:22.294Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-11-07T09:17:22.321Z] > git config core.sparsecheckout # timeout=10 [2024-11-07T09:17:22.338Z] > git checkout -f 7c4bbfadab17425ea955584c2cfb2af15322662d # timeout=10 [2024-11-07T09:17:26.119Z] Commit message: "fix: Only one ldflags flag is allowed" [2024-11-07T09:17:26.274Z] > git --version # timeout=10 [2024-11-07T09:17:26.296Z] > git --version # 'git version 2.25.1' [2024-11-07T09:17:26.325Z] fatal: bad object 0b81fa10a7dd14683a964f04f411324fe83f93ac [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-11-07T09:17:28.239Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-11-07T09:17:28.239Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-11-07T09:17:28.239Z] Dload Upload Total Spent Left Speed [2024-11-07T09:17:28.239Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 227k 0 --:--:-- --:--:-- --:--:-- 227k [Pipeline] sh [2024-11-07T09:17:28.601Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-11-07T09:17:28.970Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2024-11-07T09:17:28.971Z] + sudo tee /etc/docker/daemon.new [2024-11-07T09:17:28.971Z] { [2024-11-07T09:17:28.971Z] "registry-mirrors": [ [2024-11-07T09:17:28.971Z] "https://nexus3.edgexfoundry.org:10001" [2024-11-07T09:17:28.971Z] ], [2024-11-07T09:17:28.971Z] "bip": "10.250.0.254/24", [2024-11-07T09:17:28.971Z] "hosts": [ [2024-11-07T09:17:28.971Z] "tcp://0.0.0.0:5555", [2024-11-07T09:17:28.971Z] "unix:///var/run/docker.sock" [2024-11-07T09:17:28.971Z] ], [2024-11-07T09:17:28.971Z] "mtu": 1458, [2024-11-07T09:17:28.971Z] "selinux-enabled": true, [2024-11-07T09:17:28.971Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-11-07T09:17:28.971Z] } [Pipeline] sh [2024-11-07T09:17:29.343Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-11-07T09:17:29.707Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-11-07T09:17:48.126Z] provisioning config files... [2024-11-07T09:17:48.153Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/1@tmp/config14386614060052475434tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-11-07T09:17:48.681Z] ---> ****-login.sh [2024-11-07T09:17:48.681Z] nexus3.edgexfoundry.org:10001 [2024-11-07T09:17:48.954Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-07T09:17:49.222Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-07T09:17:49.223Z] Configure a credential helper to remove this warning. See [2024-11-07T09:17:49.223Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-07T09:17:49.223Z] [2024-11-07T09:17:49.223Z] Login Succeeded [2024-11-07T09:17:49.223Z] nexus3.edgexfoundry.org:10002 [2024-11-07T09:17:49.498Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-07T09:17:49.766Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-07T09:17:49.767Z] Configure a credential helper to remove this warning. See [2024-11-07T09:17:49.767Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-07T09:17:49.767Z] [2024-11-07T09:17:49.767Z] Login Succeeded [2024-11-07T09:17:49.767Z] nexus3.edgexfoundry.org:10003 [2024-11-07T09:17:50.037Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-07T09:17:50.037Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-07T09:17:50.037Z] Configure a credential helper to remove this warning. See [2024-11-07T09:17:50.037Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-07T09:17:50.037Z] [2024-11-07T09:17:50.037Z] Login Succeeded [2024-11-07T09:17:50.037Z] nexus3.edgexfoundry.org:10004 [2024-11-07T09:17:50.304Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-07T09:17:50.304Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-07T09:17:50.304Z] Configure a credential helper to remove this warning. See [2024-11-07T09:17:50.304Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-07T09:17:50.304Z] [2024-11-07T09:17:50.304Z] Login Succeeded [2024-11-07T09:17:50.304Z] ****.io [2024-11-07T09:17:50.570Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-07T09:17:50.840Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-07T09:17:50.840Z] Configure a credential helper to remove this warning. See [2024-11-07T09:17:50.840Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-07T09:17:50.840Z] [2024-11-07T09:17:50.840Z] Login Succeeded [2024-11-07T09:17:50.840Z] ---> ****-login.sh ends [Pipeline] } [2024-11-07T09:17:50.878Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-11-07T09:17:51.349Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-11-07T09:17:51.403Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-11-07T09:17:51.454Z] ========================================================= [2024-11-07T09:17:51.454Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine] [2024-11-07T09:17:51.454Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-07T09:17:52.040Z] + 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-07T09:17:52.322Z] Sending build context to Docker daemon 9.136MB [2024-11-07T09:17:52.322Z] Step 1/10 : ARG BASE=golang:1.23-alpine3.20 [2024-11-07T09:17:52.322Z] Step 2/10 : FROM ${BASE} AS builder [2024-11-07T09:17:52.595Z] 1.23-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-11-07T09:17:52.595Z] cf04c63912e1: Pulling fs layer [2024-11-07T09:17:52.595Z] 55b35a11ae5e: Pulling fs layer [2024-11-07T09:17:52.595Z] a37a00ec5f00: Pulling fs layer [2024-11-07T09:17:52.595Z] 50b3750afda1: Pulling fs layer [2024-11-07T09:17:52.595Z] 4f4fb700ef54: Pulling fs layer [2024-11-07T09:17:52.595Z] 80978eb59214: Pulling fs layer [2024-11-07T09:17:52.595Z] c9f46d7d2bd2: Pulling fs layer [2024-11-07T09:17:52.595Z] c5a475d317c9: Pulling fs layer [2024-11-07T09:17:52.595Z] 50b3750afda1: Waiting [2024-11-07T09:17:52.595Z] 80978eb59214: Waiting [2024-11-07T09:17:52.595Z] c9f46d7d2bd2: Waiting [2024-11-07T09:17:52.595Z] c5a475d317c9: Waiting [2024-11-07T09:17:52.595Z] 4f4fb700ef54: Waiting [2024-11-07T09:17:52.595Z] 55b35a11ae5e: Verifying Checksum [2024-11-07T09:17:52.595Z] 55b35a11ae5e: Download complete [2024-11-07T09:17:52.595Z] 50b3750afda1: Verifying Checksum [2024-11-07T09:17:52.595Z] 50b3750afda1: Download complete [2024-11-07T09:17:52.595Z] 4f4fb700ef54: Verifying Checksum [2024-11-07T09:17:52.595Z] 4f4fb700ef54: Download complete [2024-11-07T09:17:52.595Z] 80978eb59214: Verifying Checksum [2024-11-07T09:17:52.595Z] 80978eb59214: Download complete [2024-11-07T09:17:52.595Z] cf04c63912e1: Verifying Checksum [2024-11-07T09:17:52.595Z] cf04c63912e1: Download complete [2024-11-07T09:17:53.183Z] c5a475d317c9: Verifying Checksum [2024-11-07T09:17:53.183Z] c5a475d317c9: Download complete [2024-11-07T09:17:53.793Z] cf04c63912e1: Pull complete [2024-11-07T09:17:54.383Z] 55b35a11ae5e: Pull complete [2024-11-07T09:17:54.657Z] a37a00ec5f00: Verifying Checksum [2024-11-07T09:17:54.657Z] a37a00ec5f00: Download complete [2024-11-07T09:17:55.619Z] c9f46d7d2bd2: Verifying Checksum [2024-11-07T09:17:55.619Z] c9f46d7d2bd2: Download complete [2024-11-07T09:18:07.945Z] a37a00ec5f00: Pull complete [2024-11-07T09:18:07.945Z] 50b3750afda1: Pull complete [2024-11-07T09:18:07.945Z] 4f4fb700ef54: Pull complete [2024-11-07T09:18:07.945Z] 80978eb59214: Pull complete [2024-11-07T09:18:16.158Z] c9f46d7d2bd2: Pull complete [2024-11-07T09:18:16.745Z] c5a475d317c9: Pull complete [2024-11-07T09:18:16.745Z] Digest: sha256:2391c17ca386d1fbfa331956bd558234564149703727e64d3c69580d84b42a9b [2024-11-07T09:18:16.745Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine [2024-11-07T09:18:16.745Z] ---> be29e6b0f0d4 [2024-11-07T09:18:16.745Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2024-11-07T09:18:18.691Z] ---> Running in 48eafdc0dc69 [2024-11-07T09:18:18.966Z] Removing intermediate container 48eafdc0dc69 [2024-11-07T09:18:18.966Z] ---> 659f5cda29ff [2024-11-07T09:18:18.966Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-11-07T09:18:19.236Z] ---> Running in cfbffa9a00d1 [2024-11-07T09:18:19.506Z] Removing intermediate container cfbffa9a00d1 [2024-11-07T09:18:19.506Z] ---> 6d0a90aa487b [2024-11-07T09:18:19.506Z] Step 5/10 : RUN apk add --update --no-cache make git openssh [2024-11-07T09:18:19.774Z] ---> Running in 6d0dc8e468ea [2024-11-07T09:18:20.737Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-11-07T09:18:21.320Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-11-07T09:18:22.736Z] (1/8) Installing openssh-keygen (9.7_p1-r4) [2024-11-07T09:18:22.736Z] (2/8) Installing libedit (20240517.3.1-r0) [2024-11-07T09:18:22.736Z] (3/8) Installing openssh-client-common (9.7_p1-r4) [2024-11-07T09:18:22.736Z] (4/8) Installing openssh-client-default (9.7_p1-r4) [2024-11-07T09:18:22.736Z] (5/8) Installing openssh-sftp-server (9.7_p1-r4) [2024-11-07T09:18:22.736Z] (6/8) Installing openssh-server-common (9.7_p1-r4) [2024-11-07T09:18:22.736Z] (7/8) Installing openssh-server (9.7_p1-r4) [2024-11-07T09:18:22.736Z] (8/8) Installing openssh (9.7_p1-r4) [2024-11-07T09:18:22.736Z] Executing busybox-1.36.1-r29.trigger [2024-11-07T09:18:22.736Z] OK: 244 MiB in 62 packages [2024-11-07T09:18:24.147Z] Removing intermediate container 6d0dc8e468ea [2024-11-07T09:18:24.147Z] ---> c83d553eaf87 [2024-11-07T09:18:24.147Z] Step 6/10 : WORKDIR /device-modbus-go [2024-11-07T09:18:24.147Z] ---> Running in c80bd12340ed [2024-11-07T09:18:24.415Z] Removing intermediate container c80bd12340ed [2024-11-07T09:18:24.415Z] ---> ee05dfac679e [2024-11-07T09:18:24.415Z] Step 7/10 : COPY go.mod vendor* ./ [2024-11-07T09:18:25.006Z] ---> f9cc38a96b00 [2024-11-07T09:18:25.006Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-11-07T09:18:25.006Z] ---> Running in 4231fced64d1 [2024-11-07T09:20:16.744Z] Removing intermediate container 4231fced64d1 [2024-11-07T09:20:16.744Z] ---> fa0da5448a15 [2024-11-07T09:20:16.744Z] Step 9/10 : COPY . . [2024-11-07T09:20:17.722Z] ---> 6f86073dec90 [2024-11-07T09:20:17.722Z] Step 10/10 : RUN ${MAKE} [2024-11-07T09:20:17.722Z] ---> Running in 763d8750d458 [2024-11-07T09:20:18.690Z] noop [2024-11-07T09:20:19.662Z] Removing intermediate container 763d8750d458 [2024-11-07T09:20:19.662Z] ---> e1cb4c4cd93f [2024-11-07T09:20:19.662Z] Successfully built e1cb4c4cd93f [2024-11-07T09:20:19.662Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-07T09:20:20.208Z] + docker inspect -f . ci-base-image-arm64 [2024-11-07T09:20:20.208Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-07T09:20:20.543Z] prd-ubuntu20.04-docker-arm64-4c-16g-24739 does not seem to be running inside a container [2024-11-07T09:20:20.633Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-11-07T09:20:21.966Z] $ docker top 66a47348e403383da5ea644d5f3c38ef659d783e5f175fe6034f2915e0de2131 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-11-07T09:20:22.901Z] + go version [2024-11-07T09:20:22.901Z] go version go1.23.2 linux/arm64 [Pipeline] } [2024-11-07T09:20:22.944Z] $ docker stop --time=1 66a47348e403383da5ea644d5f3c38ef659d783e5f175fe6034f2915e0de2131 [2024-11-07T09:20:24.618Z] $ docker rm -f --volumes 66a47348e403383da5ea644d5f3c38ef659d783e5f175fe6034f2915e0de2131 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-07T09:20:25.629Z] + docker inspect -f . ci-base-image-arm64 [2024-11-07T09:20:25.629Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-07T09:20:25.949Z] prd-ubuntu20.04-docker-arm64-4c-16g-24739 does not seem to be running inside a container [2024-11-07T09:20:26.040Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-11-07T09:20:27.562Z] $ docker top 73cdecfaf70b9f20a4feeed6cd6dc61935f3ed817ef70ef87895f39f152d58d9 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-11-07T09:20:28.563Z] + git config --global --add safe.directory /w/workspace/device-modbus-go/1 [Pipeline] fileExists [Pipeline] sh [2024-11-07T09:20:29.345Z] + make test [2024-11-07T09:20:29.345Z] go test ./... -coverprofile=coverage.out [2024-11-07T09:20:36.024Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2024-11-07T09:25:13.265Z] github.com/edgexfoundry/device-modbus-go/cmd coverage: 0.0% of statements [2024-11-07T09:25:20.732Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.064s coverage: 48.0% of statements [2024-11-07T09:25:20.732Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2024-11-07T09:25:20.732Z] go vet ./... [2024-11-07T09:26:29.118Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-11-07T09:26:29.118Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-11-07T09:26:29.118Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2024-11-07T09:26:29.166Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-11-07T09:26:29.206Z] $ docker stop --time=1 73cdecfaf70b9f20a4feeed6cd6dc61935f3ed817ef70ef87895f39f152d58d9 [2024-11-07T09:26:31.631Z] $ docker rm -f --volumes 73cdecfaf70b9f20a4feeed6cd6dc61935f3ed817ef70ef87895f39f152d58d9 [Pipeline] // withDockerContainer [Pipeline] sh [2024-11-07T09:26:33.973Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-11-07T09:26:34.025Z] Warning: overwriting stash ‘coverage-report’ [2024-11-07T09:26:34.792Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-11-07T09:26:35.466Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-11-07T09:26:35.847Z] + ls -al . [2024-11-07T09:26:35.847Z] total 256 [2024-11-07T09:26:35.847Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 7 09:20 . [2024-11-07T09:26:35.847Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 7 09:17 .. [2024-11-07T09:26:35.847Z] -rw-rw-r-- 1 jenkins jenkins 140 Nov 7 09:17 .dockerignore [2024-11-07T09:26:35.847Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 7 09:17 .git [2024-11-07T09:26:35.847Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 7 09:17 .github [2024-11-07T09:26:35.847Z] -rw-rw-r-- 1 jenkins jenkins 266 Nov 7 09:17 .gitignore [2024-11-07T09:26:35.847Z] -rw-rw-r-- 1 jenkins jenkins 199 Nov 7 09:17 .golangci.yml [2024-11-07T09:26:35.847Z] -rw-rw-r-- 1 jenkins jenkins 19818 Nov 7 09:17 Attribution.txt [2024-11-07T09:26:35.847Z] -rw-rw-r-- 1 jenkins jenkins 16388 Nov 7 09:17 CHANGELOG.md [2024-11-07T09:26:35.847Z] -rw-rw-r-- 1 jenkins jenkins 1479 Nov 7 09:17 Dockerfile [2024-11-07T09:26:35.847Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 7 09:17 GOVERNANCE.md [2024-11-07T09:26:35.847Z] -rw-rw-r-- 1 jenkins jenkins 658 Nov 7 09:17 Jenkinsfile [2024-11-07T09:26:35.847Z] -rw-rw-r-- 1 jenkins jenkins 11340 Nov 7 09:17 LICENSE [2024-11-07T09:26:35.847Z] -rw-rw-r-- 1 jenkins jenkins 2532 Nov 7 09:17 Makefile [2024-11-07T09:26:35.847Z] -rw-rw-r-- 1 jenkins jenkins 622 Nov 7 09:17 OWNERS.md [2024-11-07T09:26:35.847Z] -rw-rw-r-- 1 jenkins jenkins 4463 Nov 7 09:17 README.md [2024-11-07T09:26:35.847Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 7 09:14 VERSION [2024-11-07T09:26:35.847Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 7 09:17 bin [2024-11-07T09:26:35.847Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 7 09:17 cmd [2024-11-07T09:26:35.847Z] -rw-r--r-- 1 jenkins jenkins 25464 Nov 7 09:25 coverage.out [2024-11-07T09:26:35.847Z] -rw-rw-r-- 1 jenkins jenkins 6490 Nov 7 09:17 go.mod [2024-11-07T09:26:35.847Z] -rw-rw-r-- 1 jenkins jenkins 88426 Nov 7 09:17 go.sum [2024-11-07T09:26:35.847Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 7 09:17 internal [2024-11-07T09:26:35.847Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 7 09:17 simulator [2024-11-07T09:26:35.847Z] -rw-rw-r-- 1 jenkins jenkins 229 Nov 7 09:17 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-07T09:26:36.333Z] + 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=7c4bbfadab17425ea955584c2cfb2af15322662d --label arch=arm64 --label version=0.0.0 . [2024-11-07T09:26:36.940Z] Sending build context to Docker daemon 9.162MB [2024-11-07T09:26:36.940Z] Step 1/23 : ARG BASE=golang:1.23-alpine3.20 [2024-11-07T09:26:36.940Z] Step 2/23 : FROM ${BASE} AS builder [2024-11-07T09:26:36.940Z] ---> e1cb4c4cd93f [2024-11-07T09:26:36.940Z] Step 3/23 : ARG ADD_BUILD_TAGS="" [2024-11-07T09:26:37.216Z] ---> Running in b760825f3f68 [2024-11-07T09:26:37.814Z] Removing intermediate container b760825f3f68 [2024-11-07T09:26:37.814Z] ---> 0a9483310db9 [2024-11-07T09:26:37.814Z] Step 4/23 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-11-07T09:26:37.814Z] ---> Running in f8ba19cc30e9 [2024-11-07T09:26:38.087Z] Removing intermediate container f8ba19cc30e9 [2024-11-07T09:26:38.087Z] ---> b1f7628c5939 [2024-11-07T09:26:38.087Z] Step 5/23 : RUN apk add --update --no-cache make git openssh [2024-11-07T09:26:38.369Z] ---> Running in 90d9d8d5812c [2024-11-07T09:26:39.821Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-11-07T09:26:40.096Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-11-07T09:26:41.539Z] OK: 244 MiB in 62 packages [2024-11-07T09:26:43.001Z] Removing intermediate container 90d9d8d5812c [2024-11-07T09:26:43.001Z] ---> f131b4663ebf [2024-11-07T09:26:43.001Z] Step 6/23 : WORKDIR /device-modbus-go [2024-11-07T09:26:43.001Z] ---> Running in a6a38cf5ef8c [2024-11-07T09:26:43.289Z] Removing intermediate container a6a38cf5ef8c [2024-11-07T09:26:43.289Z] ---> 6ac217b537cd [2024-11-07T09:26:43.289Z] Step 7/23 : COPY go.mod vendor* ./ [2024-11-07T09:26:44.276Z] ---> 3d186b03e554 [2024-11-07T09:26:44.276Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-11-07T09:26:44.276Z] ---> Running in a56f2355b357 [2024-11-07T09:26:47.676Z] Removing intermediate container a56f2355b357 [2024-11-07T09:26:47.676Z] ---> 77a5f0d71433 [2024-11-07T09:26:47.676Z] Step 9/23 : COPY . . [2024-11-07T09:26:48.666Z] ---> fb9a38972656 [2024-11-07T09:26:48.666Z] Step 10/23 : RUN ${MAKE} [2024-11-07T09:26:48.666Z] ---> Running in f37baf3f4746 [2024-11-07T09:26:50.119Z] 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.2 " -trimpath -mod=readonly -buildmode=pie -o cmd/device-modbus ./cmd [2024-11-07T09:31:57.356Z] Removing intermediate container f37baf3f4746 [2024-11-07T09:31:57.356Z] ---> 2696570a9569 [2024-11-07T09:31:57.356Z] Step 11/23 : FROM alpine:3.20 [2024-11-07T09:31:57.356Z] 3.20: Pulling from library/alpine [2024-11-07T09:31:57.356Z] cf04c63912e1: Already exists [2024-11-07T09:31:57.356Z] Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d [2024-11-07T09:31:57.356Z] Status: Downloaded newer image for alpine:3.20 [2024-11-07T09:31:57.356Z] ---> c157a85ed455 [2024-11-07T09:31:57.356Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2024: IoTech Ltd' [2024-11-07T09:31:57.356Z] ---> Running in 4e5bdd133b9e [2024-11-07T09:31:57.961Z] Removing intermediate container 4e5bdd133b9e [2024-11-07T09:31:57.961Z] ---> 6ce56fe807c2 [2024-11-07T09:31:57.961Z] Step 13/23 : RUN apk add --update --no-cache dumb-init [2024-11-07T09:31:57.961Z] ---> Running in c0d452b978a9 [2024-11-07T09:31:59.409Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-11-07T09:31:59.686Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-11-07T09:32:02.315Z] (1/1) Installing dumb-init (1.2.5-r3) [2024-11-07T09:32:02.315Z] Executing busybox-1.36.1-r29.trigger [2024-11-07T09:32:02.315Z] OK: 9 MiB in 15 packages [2024-11-07T09:32:03.763Z] Removing intermediate container c0d452b978a9 [2024-11-07T09:32:03.763Z] ---> 1a03e90a0d9d [2024-11-07T09:32:03.763Z] Step 14/23 : RUN apk --no-cache upgrade [2024-11-07T09:32:03.763Z] ---> Running in bf9988e0f7b5 [2024-11-07T09:32:05.198Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-11-07T09:32:05.471Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-11-07T09:32:07.441Z] Upgrading critical system libraries and apk-tools: [2024-11-07T09:32:07.441Z] (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) [2024-11-07T09:32:07.713Z] Executing busybox-1.36.1-r29.trigger [2024-11-07T09:32:07.984Z] Continuing the upgrade transaction with new apk-tools: [2024-11-07T09:32:07.984Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-11-07T09:32:08.577Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-11-07T09:32:10.547Z] (1/2) Upgrading libcrypto3 (3.3.2-r0 -> 3.3.2-r1) [2024-11-07T09:32:10.547Z] (2/2) Upgrading libssl3 (3.3.2-r0 -> 3.3.2-r1) [2024-11-07T09:32:10.827Z] OK: 9 MiB in 15 packages [2024-11-07T09:32:12.272Z] Removing intermediate container bf9988e0f7b5 [2024-11-07T09:32:12.272Z] ---> 3fca5b2ee4f4 [2024-11-07T09:32:12.272Z] Step 15/23 : COPY --from=builder /device-modbus-go/cmd / [2024-11-07T09:32:14.911Z] ---> 1e804b257754 [2024-11-07T09:32:14.911Z] Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / [2024-11-07T09:32:15.187Z] ---> 04fac46a8e9b [2024-11-07T09:32:15.187Z] Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / [2024-11-07T09:32:15.783Z] ---> 2b68af863f43 [2024-11-07T09:32:15.783Z] Step 18/23 : EXPOSE 59901 [2024-11-07T09:32:15.783Z] ---> Running in 27ae2cf5ba45 [2024-11-07T09:32:16.377Z] Removing intermediate container 27ae2cf5ba45 [2024-11-07T09:32:16.377Z] ---> d5a8c343ac4d [2024-11-07T09:32:16.377Z] Step 19/23 : ENTRYPOINT ["/device-modbus"] [2024-11-07T09:32:16.377Z] ---> Running in 69e42abec6e6 [2024-11-07T09:32:16.984Z] Removing intermediate container 69e42abec6e6 [2024-11-07T09:32:16.984Z] ---> c1818ef1dd85 [2024-11-07T09:32:16.984Z] Step 20/23 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry"] [2024-11-07T09:32:16.984Z] ---> Running in a84652123113 [2024-11-07T09:32:17.259Z] Removing intermediate container a84652123113 [2024-11-07T09:32:17.259Z] ---> cb0a356723c8 [2024-11-07T09:32:17.259Z] Step 21/23 : LABEL arch=arm64 [2024-11-07T09:32:17.533Z] ---> Running in 64277fd9b483 [2024-11-07T09:32:17.806Z] Removing intermediate container 64277fd9b483 [2024-11-07T09:32:17.806Z] ---> 2052360010a1 [2024-11-07T09:32:17.806Z] Step 22/23 : LABEL git_sha=7c4bbfadab17425ea955584c2cfb2af15322662d [2024-11-07T09:32:17.806Z] ---> Running in a0a8f9282a02 [2024-11-07T09:32:18.399Z] Removing intermediate container a0a8f9282a02 [2024-11-07T09:32:18.399Z] ---> 87e8b1cf8e66 [2024-11-07T09:32:18.399Z] Step 23/23 : LABEL version=0.0.0 [2024-11-07T09:32:18.399Z] ---> Running in b4ad4dbfefdc [2024-11-07T09:32:18.681Z] Removing intermediate container b4ad4dbfefdc [2024-11-07T09:32:18.681Z] ---> 46155af3bccc [2024-11-07T09:32:18.681Z] [Warning] One or more build-args [ARCH] were not consumed [2024-11-07T09:32:18.681Z] Successfully built 46155af3bccc [2024-11-07T09:32:18.681Z] 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-07T09:32:19.766Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-11-07T09:32:19.766Z] [2024-11-07T09:32:19.766Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-07T09:32:20.244Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-11-07T09:32:20.523Z] arm64: Pulling from edgex-lftools-log-publisher [2024-11-07T09:32:20.523Z] 8998bd30e6a1: Pulling fs layer [2024-11-07T09:32:20.523Z] 04944245beec: Pulling fs layer [2024-11-07T09:32:20.523Z] 699f458cf7ca: Pulling fs layer [2024-11-07T09:32:20.523Z] 765212b225bb: Pulling fs layer [2024-11-07T09:32:20.523Z] f23df028b6ca: Pulling fs layer [2024-11-07T09:32:20.523Z] d65c8cfc05b1: Pulling fs layer [2024-11-07T09:32:20.523Z] 2437ff75d9bd: Pulling fs layer [2024-11-07T09:32:20.523Z] f23df028b6ca: Waiting [2024-11-07T09:32:20.523Z] d65c8cfc05b1: Waiting [2024-11-07T09:32:20.523Z] 2437ff75d9bd: Waiting [2024-11-07T09:32:20.523Z] 765212b225bb: Waiting [2024-11-07T09:32:20.523Z] 04944245beec: Verifying Checksum [2024-11-07T09:32:20.523Z] 04944245beec: Download complete [2024-11-07T09:32:20.523Z] 765212b225bb: Verifying Checksum [2024-11-07T09:32:20.523Z] 765212b225bb: Download complete [2024-11-07T09:32:20.794Z] f23df028b6ca: Verifying Checksum [2024-11-07T09:32:20.794Z] f23df028b6ca: Download complete [2024-11-07T09:32:20.794Z] d65c8cfc05b1: Verifying Checksum [2024-11-07T09:32:20.794Z] d65c8cfc05b1: Download complete [2024-11-07T09:32:20.794Z] 699f458cf7ca: Verifying Checksum [2024-11-07T09:32:20.794Z] 699f458cf7ca: Download complete [2024-11-07T09:32:21.388Z] 8998bd30e6a1: Verifying Checksum [2024-11-07T09:32:21.388Z] 8998bd30e6a1: Download complete [2024-11-07T09:32:24.000Z] 2437ff75d9bd: Download complete [2024-11-07T09:32:26.654Z] 8998bd30e6a1: Pull complete [2024-11-07T09:32:27.234Z] 04944245beec: Pull complete [2024-11-07T09:32:29.182Z] 699f458cf7ca: Pull complete [2024-11-07T09:32:29.449Z] 765212b225bb: Pull complete [2024-11-07T09:32:30.418Z] f23df028b6ca: Pull complete [2024-11-07T09:32:31.019Z] d65c8cfc05b1: Pull complete [2024-11-07T09:32:53.301Z] 2437ff75d9bd: Pull complete [2024-11-07T09:32:53.301Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-11-07T09:32:53.301Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-11-07T09:32:53.301Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-07T09:32:53.703Z] prd-ubuntu20.04-docker-arm64-4c-16g-24739 does not seem to be running inside a container [2024-11-07T09:32:53.800Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2024-11-07T09:32:57.839Z] $ docker top 5e453cd4d2c2236650922d6523d78ede2709acf234d555073395556185dea050 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-11-07T09:32:58.928Z] ---> job-cost.sh [2024-11-07T09:32:59.199Z] lf-activate-venv: SKIPPING [2024-11-07T09:32:59.199Z] INFO: No Stack... [2024-11-07T09:32:59.468Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-11-07T09:33:00.441Z] INFO: Archiving Costs [Pipeline] sh [2024-11-07T09:33:01.131Z] + cat /w/workspace/device-modbus-go/1/archives/cost.csv [2024-11-07T09:33:01.131Z] + cut -d, -f6 [Pipeline] lock [2024-11-07T09:33:01.198Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-modbus-go-PR-589-1-stack-cost] [2024-11-07T09:33:01.205Z] Resource [jenkins-edgexfoundry-device-modbus-go-PR-589-1-stack-cost] did not exist. Created. [2024-11-07T09:33:01.213Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-modbus-go-PR-589-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-11-07T09:33:01.995Z] /w/workspace/device-modbus-go/1@tmp/durable-faf091e5/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-11-07T09:33:02.742Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-11-07T09:33:02.790Z] Warning: overwriting stash ‘stack-cost’ [2024-11-07T09:33:02.865Z] Stashed 1 file(s) [Pipeline] } [2024-11-07T09:33:02.892Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-modbus-go-PR-589-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-11-07T09:33:02.984Z] $ docker stop --time=1 5e453cd4d2c2236650922d6523d78ede2709acf234d555073395556185dea050 [2024-11-07T09:33:04.686Z] $ docker rm -f --volumes 5e453cd4d2c2236650922d6523d78ede2709acf234d555073395556185dea050 [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-07T09:33:05.866Z] provisioning config files... [2024-11-07T09:33:05.876Z] copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-589@tmp/config18314346157364053300tmp [Pipeline] { [Pipeline] sh [2024-11-07T09:33:06.232Z] + set +x [2024-11-07T09:33:06.232Z] + curl -s https://codecov.io/bash [2024-11-07T09:33:06.232Z] + bash -s -- [2024-11-07T09:33:06.232Z] [2024-11-07T09:33:06.232Z] _____ _ [2024-11-07T09:33:06.232Z] / ____| | | [2024-11-07T09:33:06.232Z] | | ___ __| | ___ ___ _____ __ [2024-11-07T09:33:06.232Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2024-11-07T09:33:06.232Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2024-11-07T09:33:06.232Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2024-11-07T09:33:06.232Z] Bash-1.0.6 [2024-11-07T09:33:06.232Z] [2024-11-07T09:33:06.232Z] [2024-11-07T09:33:06.232Z] ==> git version 2.25.1 found [2024-11-07T09:33:06.232Z] ==> 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-07T09:33:06.232Z] Release-Date: 2020-01-08 [2024-11-07T09:33:06.232Z] 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-07T09:33:06.232Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2024-11-07T09:33:06.232Z] ==> Jenkins CI detected. [2024-11-07T09:33:06.232Z] current dir:  /w/workspace/xfoundry_device-modbus-go_PR-589 [2024-11-07T09:33:06.232Z] project root: . [2024-11-07T09:33:06.232Z] --> token set from env [2024-11-07T09:33:06.232Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2024-11-07T09:33:06.232Z] ==> Running gcov in . (disable via -X gcov) [2024-11-07T09:33:06.232Z] ==> Python coveragepy not found [2024-11-07T09:33:06.232Z] ==> Searching for coverage reports in: [2024-11-07T09:33:06.232Z] + . [2024-11-07T09:33:06.232Z] -> Found 1 reports [2024-11-07T09:33:06.232Z] ==> Detecting git/mercurial file structure [2024-11-07T09:33:06.232Z] ==> Reading reports [2024-11-07T09:33:06.232Z] + ./coverage.out bytes=25464 [2024-11-07T09:33:06.232Z] ==> Appending adjustments [2024-11-07T09:33:06.232Z] https://docs.codecov.io/docs/fixing-reports [2024-11-07T09:33:06.492Z] + Found adjustments [2024-11-07T09:33:06.492Z] ==> Gzipping contents [2024-11-07T09:33:06.492Z] 4.0K /tmp/codecov.5XE4cV.gz [2024-11-07T09:33:06.492Z] ==> Uploading reports [2024-11-07T09:33:06.492Z] url: https://codecov.io [2024-11-07T09:33:06.492Z] query: branch=PR-589&commit=7c4bbfadab17425ea955584c2cfb2af15322662d&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-589%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=589&job=&cmd_args= [2024-11-07T09:33:06.492Z] -> Pinging Codecov [2024-11-07T09:33:06.492Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-589&commit=7c4bbfadab17425ea955584c2cfb2af15322662d&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-589%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=589&job=&cmd_args= [2024-11-07T09:33:06.752Z] -> Uploading to [2024-11-07T09:33:06.752Z] https://storage.googleapis.com/codecov/shelter/v4/github/edgexfoundry/device-modbus-go/7c4bbfadab17425ea955584c2cfb2af15322662d/291ab82b-7c79-45bc-83d2-bcbd71862dfa.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20241107%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20241107T093306Z&X-Amz-Expires=30&X-Amz-SignedHeaders=host&X-Amz-Signature=0f694a178eb11c883ee725f0500e490127166ca3adeef44b6ba3735a63081f5e [2024-11-07T09:33:06.752Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-11-07T09:33:06.752Z] Dload Upload Total Spent Left Speed [2024-11-07T09:33:06.752Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3932 0 0 100 3932 0 17711 --:--:-- --:--:-- --:--:-- 17711 [2024-11-07T09:33:06.752Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/7c4bbfadab17425ea955584c2cfb2af15322662d [Pipeline] } [2024-11-07T09:33:07.034Z] 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-07T09:33:09.704Z] + [ -d /w/workspace/xfoundry_device-modbus-go_PR-589/archives ] [2024-11-07T09:33:09.704Z] + ls -al /w/workspace/xfoundry_device-modbus-go_PR-589/archives [2024-11-07T09:33:09.704Z] total 16 [2024-11-07T09:33:09.704Z] drwxr-xr-x 3 root root 4096 Nov 7 09:16 . [2024-11-07T09:33:09.704Z] drwxrwxr-x 10 jenkins jenkins 4096 Nov 7 09:16 .. [2024-11-07T09:33:09.704Z] drwxr-xr-x 2 root root 4096 Nov 7 09:16 cost [2024-11-07T09:33:09.704Z] -rw-r--r-- 1 root root 88 Nov 7 09:16 cost.csv [2024-11-07T09:33:09.704Z] + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-589/archives [2024-11-07T09:33:09.704Z] + ls -al /w/workspace/xfoundry_device-modbus-go_PR-589/archives [2024-11-07T09:33:09.704Z] total 16 [2024-11-07T09:33:09.704Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 7 09:16 . [2024-11-07T09:33:09.704Z] drwxrwxr-x 10 jenkins jenkins 4096 Nov 7 09:16 .. [2024-11-07T09:33:09.704Z] drwxr-xr-x 2 jenkins jenkins 4096 Nov 7 09:16 cost [2024-11-07T09:33:09.704Z] -rw-r--r-- 1 jenkins jenkins 88 Nov 7 09:16 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-11-07T09:33:16.693Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-11-07T09:33:17.590Z] ---> package-listing.sh [2024-11-07T09:33:17.590Z] ++ facter osfamily [2024-11-07T09:33:17.590Z] ++ tr '[:upper:]' '[:lower:]' [2024-11-07T09:33:17.849Z] + OS_FAMILY=debian [2024-11-07T09:33:17.849Z] + workspace=/w/workspace/xfoundry_device-modbus-go_PR-589 [2024-11-07T09:33:17.849Z] + START_PACKAGES=/tmp/packages_start.txt [2024-11-07T09:33:17.849Z] + END_PACKAGES=/tmp/packages_end.txt [2024-11-07T09:33:17.849Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-11-07T09:33:17.849Z] + PACKAGES=/tmp/packages_start.txt [2024-11-07T09:33:17.849Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-589 ']' [2024-11-07T09:33:17.849Z] + PACKAGES=/tmp/packages_end.txt [2024-11-07T09:33:17.849Z] + case "${OS_FAMILY}" in [2024-11-07T09:33:17.849Z] + dpkg -l [2024-11-07T09:33:17.849Z] + grep '^ii' [2024-11-07T09:33:17.849Z] + '[' -f /tmp/packages_start.txt ']' [2024-11-07T09:33:17.849Z] + '[' -f /tmp/packages_end.txt ']' [2024-11-07T09:33:17.849Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-11-07T09:33:17.849Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-589 ']' [2024-11-07T09:33:17.849Z] + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-589/archives/ [2024-11-07T09:33:17.849Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-589/archives/ [Pipeline] echo [2024-11-07T09:33:17.887Z] 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-589/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-11-07T09:33:18.184Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-07T09:33:18.830Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-11-07T09:33:18.830Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-07T09:33:18.988Z] prd-ubuntu20.04-docker-8c-8g-24736 does not seem to be running inside a container [2024-11-07T09:33:19.009Z] $ 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-589/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-589 -v /w/workspace/xfoundry_device-modbus-go_PR-589:/w/workspace/xfoundry_device-modbus-go_PR-589:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-589@tmp:/w/workspace/xfoundry_device-modbus-go_PR-589@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-11-07T09:33:19.198Z] $ docker top e7d3d2940156127753b96be64d846320932a4fc2ad1bd6ba6050be6de905a8a8 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-11-07T09:33:19.609Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-11-07T09:33:19.925Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-11-07T09:33:20.239Z] + ls /var/log/sa-host [2024-11-07T09:33:20.239Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-11-07T09:33:20.404Z] provisioning config files... [2024-11-07T09:33:20.413Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-589@tmp/config10340679851369336340tmp [Pipeline] { [Pipeline] echo [2024-11-07T09:33:20.483Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-11-07T09:33:20.808Z] ---> create-netrc.sh [Pipeline] } [2024-11-07T09:33:20.843Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-11-07T09:33:21.268Z] ---> python-tools-install.sh [Pipeline] echo [2024-11-07T09:33:21.308Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-11-07T09:33:21.633Z] ---> sudo-logs.sh [2024-11-07T09:33:21.633Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-11-07T09:33:21.754Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-11-07T09:33:22.081Z] ---> job-cost.sh [2024-11-07T09:33:22.081Z] lf-activate-venv: SKIPPING [2024-11-07T09:33:22.081Z] DEBUG: total: 0.2199999988079071 [2024-11-07T09:33:22.081Z] INFO: Retrieving Stack Cost... [2024-11-07T09:33:22.342Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-11-07T09:33:22.911Z] INFO: Archiving Costs [Pipeline] echo [2024-11-07T09:33:22.961Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-11-07T09:33:23.289Z] ---> logs-deploy.sh [2024-11-07T09:33:23.289Z] lf-activate-venv: SKIPPING [2024-11-07T09:33:23.289Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-589/1 [2024-11-07T09:33:23.289Z] INFO: archiving workspace using pattern(s): [2024-11-07T09:33:24.230Z] Archives upload complete. [2024-11-07T09:33:24.230Z] INFO: archiving logs to Nexus