Pull request #533 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 468650c4244d05ba6a5573c6053f76b58064052e+85c9ff1e57050cb21dd0a25e11b91c09e287920a (490e6d3d2119df60161e65f5dd2adf69f7e42169) 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-ssh12402816676213454760.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 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-ssh3831467276502426024.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 33739fb647ab338ef2ce3bfc8312bfbcef468f88 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-533/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-533/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh9291517284125171381.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-533/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8057542890385542970.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 33739fb647ab338ef2ce3bfc8312bfbcef468f88 # timeout=10 Commit message: "Merge pull request #447 from ernestojeda/fix-release-changelog" > 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-ssh2641066173408146203.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-533/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-533/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh5966268305657076946.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 33739fb647ab338ef2ce3bfc8312bfbcef468f88 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.21 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 ‘prd-ubuntu20.04-docker-8c-8g-25142’ is offline Running on prd-ubuntu20.04-docker-8c-8g-25144 in /w/workspace/xfoundry_device-modbus-go_PR-533 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE 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-533 # 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 Merging remotes/origin/main commit 85c9ff1e57050cb21dd0a25e11b91c09e287920a into PR head commit 468650c4244d05ba6a5573c6053f76b58064052e > 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/533/head:refs/remotes/origin/PR-533 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 468650c4244d05ba6a5573c6053f76b58064052e # timeout=10 Merge succeeded, producing 468650c4244d05ba6a5573c6053f76b58064052e Checking out Revision 468650c4244d05ba6a5573c6053f76b58064052e (PR-533) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-12-15T05:38:56.909Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-12-15T05:38:57.122Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 85c9ff1e57050cb21dd0a25e11b91c09e287920a # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 468650c4244d05ba6a5573c6053f76b58064052e # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-12-15T05:38:57.230Z] ========================================================= [2023-12-15T05:38:57.230Z] EdgeX Global Pipelines Version Info [2023-12-15T05:38:57.230Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-12-15T05:38:57.985Z] ------------------- [2023-12-15T05:38:57.985Z] stable info: [2023-12-15T05:38:57.985Z] ------------------- [2023-12-15T05:38:57.985Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-12-15T05:38:57.985Z] Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2023-12-15T05:38:57.985Z] Message: update stable to v1.0.258 [2023-12-15T05:38:58.554Z] ------------------- [2023-12-15T05:38:58.554Z] experimental info: [2023-12-15T05:38:58.554Z] ------------------- [2023-12-15T05:38:58.554Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-12-15T05:38:58.554Z] Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2023-12-15T05:38:58.554Z] Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-12-15T05:38:58.761Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo [2023-12-15T05:38:58.813Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo [2023-12-15T05:38:58.864Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-12-15T05:38:58.911Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-12-15T05:38:58.964Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-12-15T05:38:59.018Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2023-12-15T05:38:59.074Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-12-15T05:38:59.135Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-12-15T05:38:59.196Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-12-15T05:38:59.255Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-12-15T05:38:59.316Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-12-15T05:38:59.382Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo [2023-12-15T05:38:59.446Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-12-15T05:38:59.507Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-12-15T05:38:59.572Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-12-15T05:38:59.633Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-12-15T05:38:59.702Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-12-15T05:38:59.767Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-12-15T05:38:59.830Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-12-15T05:38:59.896Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-12-15T05:38:59.959Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-12-15T05:39:00.022Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-12-15T05:39:00.084Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-12-15T05:39:00.150Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-12-15T05:39:00.215Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-12-15T05:39:00.282Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-12-15T05:39:00.353Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-12-15T05:39:00.420Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-533 [Pipeline] echo [2023-12-15T05:39:00.488Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-533 [Pipeline] echo [2023-12-15T05:39:00.549Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-533 [Pipeline] echo [2023-12-15T05:39:00.620Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 468650c4244d05ba6a5573c6053f76b58064052e [Pipeline] echo [2023-12-15T05:39:00.689Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 468650c [Pipeline] echo [2023-12-15T05:39:00.763Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-12-15T05:39:00.931Z] provisioning config files... [2023-12-15T05:39:00.950Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-533@tmp/config3362856829111461818tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-12-15T05:39:01.350Z] ---> ****-login.sh [2023-12-15T05:39:01.351Z] nexus3.edgexfoundry.org:10001 [2023-12-15T05:39:01.611Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-12-15T05:39:01.611Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-12-15T05:39:01.611Z] Configure a credential helper to remove this warning. See [2023-12-15T05:39:01.611Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-12-15T05:39:01.611Z] [2023-12-15T05:39:01.611Z] Login Succeeded [2023-12-15T05:39:01.611Z] nexus3.edgexfoundry.org:10002 [2023-12-15T05:39:01.870Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-12-15T05:39:01.870Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-12-15T05:39:01.870Z] Configure a credential helper to remove this warning. See [2023-12-15T05:39:01.870Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-12-15T05:39:01.870Z] [2023-12-15T05:39:01.870Z] Login Succeeded [2023-12-15T05:39:01.870Z] nexus3.edgexfoundry.org:10003 [2023-12-15T05:39:01.870Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-12-15T05:39:01.870Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-12-15T05:39:01.871Z] Configure a credential helper to remove this warning. See [2023-12-15T05:39:01.871Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-12-15T05:39:01.871Z] [2023-12-15T05:39:01.871Z] Login Succeeded [2023-12-15T05:39:01.871Z] nexus3.edgexfoundry.org:10004 [2023-12-15T05:39:01.871Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-12-15T05:39:02.132Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-12-15T05:39:02.132Z] Configure a credential helper to remove this warning. See [2023-12-15T05:39:02.132Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-12-15T05:39:02.132Z] [2023-12-15T05:39:02.132Z] Login Succeeded [2023-12-15T05:39:02.132Z] ****.io [2023-12-15T05:39:02.132Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-12-15T05:39:02.393Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-12-15T05:39:02.393Z] Configure a credential helper to remove this warning. See [2023-12-15T05:39:02.393Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-12-15T05:39:02.393Z] [2023-12-15T05:39:02.393Z] Login Succeeded [2023-12-15T05:39:02.393Z] ---> ****-login.sh ends [Pipeline] } [2023-12-15T05:39:02.418Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-12-15T05:39:03.178Z] + git rev-list -1 --merges 468650c4244d05ba6a5573c6053f76b58064052e~1..468650c4244d05ba6a5573c6053f76b58064052e [Pipeline] echo [2023-12-15T05:39:03.221Z] -----------> git rev-list -1 --merges 468650c4244d05ba6a5573c6053f76b58064052e~1..468650c4244d05ba6a5573c6053f76b58064052e 468650c4244d05ba6a5573c6053f76b58064052e [false] [Pipeline] sh [2023-12-15T05:39:03.550Z] + git log --format=format:%s -1 468650c4244d05ba6a5573c6053f76b58064052e [Pipeline] echo [2023-12-15T05:39:03.589Z] ========================================================= [2023-12-15T05:39:03.589Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-12-15T05:39:03.589Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-12-15T05:39:04.069Z] + git log --format=format:%s -1 468650c4244d05ba6a5573c6053f76b58064052e [Pipeline] echo [2023-12-15T05:39:04.103Z] [semverPrep] GIT_COMMIT: 468650c4244d05ba6a5573c6053f76b58064052e, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo [2023-12-15T05:39:04.150Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-12-15T05:39:04.592Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-12-15T05:39:04.592Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-12-15T05:39:04.592Z] + [ -e /tmp/ssh_known_hosts ] [2023-12-15T05:39:04.592Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-12-15T05:39:04.592Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-12-15T05:39:04.592Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-12-15T05:39:04.592Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-12-15T05:39:05.106Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-12-15T05:39:05.106Z] [2023-12-15T05:39:05.106Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-12-15T05:39:05.502Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-12-15T05:39:05.502Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-12-15T05:39:05.502Z] b85a868b505f: Pulling fs layer [2023-12-15T05:39:05.502Z] e2be974225ed: Pulling fs layer [2023-12-15T05:39:05.502Z] 339a4e72a1f5: Pulling fs layer [2023-12-15T05:39:05.502Z] 988bab9f4d93: Pulling fs layer [2023-12-15T05:39:05.502Z] 1469e6f7b9e6: Pulling fs layer [2023-12-15T05:39:05.502Z] eaf3925da568: Pulling fs layer [2023-12-15T05:39:05.502Z] bab4dde63d76: Pulling fs layer [2023-12-15T05:39:05.502Z] 988bab9f4d93: Waiting [2023-12-15T05:39:05.502Z] eaf3925da568: Waiting [2023-12-15T05:39:05.502Z] 1469e6f7b9e6: Waiting [2023-12-15T05:39:05.502Z] bde34c3a00c8: Pulling fs layer [2023-12-15T05:39:05.502Z] b352a97aabf1: Pulling fs layer [2023-12-15T05:39:05.502Z] bab4dde63d76: Waiting [2023-12-15T05:39:05.502Z] bde34c3a00c8: Waiting [2023-12-15T05:39:05.502Z] 4872d77fe225: Pulling fs layer [2023-12-15T05:39:05.502Z] b352a97aabf1: Waiting [2023-12-15T05:39:05.502Z] 5851b861e8e6: Pulling fs layer [2023-12-15T05:39:05.502Z] 4872d77fe225: Waiting [2023-12-15T05:39:05.502Z] 5851b861e8e6: Waiting [2023-12-15T05:39:05.502Z] e2be974225ed: Verifying Checksum [2023-12-15T05:39:05.502Z] e2be974225ed: Download complete [2023-12-15T05:39:05.502Z] 988bab9f4d93: Verifying Checksum [2023-12-15T05:39:05.502Z] 988bab9f4d93: Download complete [2023-12-15T05:39:05.502Z] 1469e6f7b9e6: Verifying Checksum [2023-12-15T05:39:05.502Z] 1469e6f7b9e6: Download complete [2023-12-15T05:39:05.761Z] eaf3925da568: Verifying Checksum [2023-12-15T05:39:05.761Z] eaf3925da568: Download complete [2023-12-15T05:39:05.761Z] 339a4e72a1f5: Verifying Checksum [2023-12-15T05:39:05.761Z] 339a4e72a1f5: Download complete [2023-12-15T05:39:05.761Z] bde34c3a00c8: Verifying Checksum [2023-12-15T05:39:05.761Z] bde34c3a00c8: Download complete [2023-12-15T05:39:05.761Z] b352a97aabf1: Verifying Checksum [2023-12-15T05:39:05.761Z] b352a97aabf1: Download complete [2023-12-15T05:39:05.761Z] 4872d77fe225: Verifying Checksum [2023-12-15T05:39:05.761Z] 4872d77fe225: Download complete [2023-12-15T05:39:05.761Z] 5851b861e8e6: Verifying Checksum [2023-12-15T05:39:05.761Z] 5851b861e8e6: Download complete [2023-12-15T05:39:05.761Z] b85a868b505f: Verifying Checksum [2023-12-15T05:39:05.761Z] b85a868b505f: Download complete [2023-12-15T05:39:06.020Z] bab4dde63d76: Verifying Checksum [2023-12-15T05:39:06.020Z] bab4dde63d76: Download complete [2023-12-15T05:39:06.956Z] b85a868b505f: Pull complete [2023-12-15T05:39:06.956Z] e2be974225ed: Pull complete [2023-12-15T05:39:07.527Z] 339a4e72a1f5: Pull complete [2023-12-15T05:39:07.528Z] 988bab9f4d93: Pull complete [2023-12-15T05:39:08.094Z] 1469e6f7b9e6: Pull complete [2023-12-15T05:39:08.094Z] eaf3925da568: Pull complete [2023-12-15T05:39:09.997Z] bab4dde63d76: Pull complete [2023-12-15T05:39:09.997Z] bde34c3a00c8: Pull complete [2023-12-15T05:39:09.997Z] b352a97aabf1: Pull complete [2023-12-15T05:39:09.997Z] 4872d77fe225: Pull complete [2023-12-15T05:39:09.997Z] 5851b861e8e6: Pull complete [2023-12-15T05:39:09.997Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-12-15T05:39:09.997Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-12-15T05:39:09.997Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-12-15T05:39:10.356Z] prd-ubuntu20.04-docker-8c-8g-25144 does not seem to be running inside a container [2023-12-15T05:39:10.387Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-533 -v /w/workspace/xfoundry_device-modbus-go_PR-533:/w/workspace/xfoundry_device-modbus-go_PR-533:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-533@tmp:/w/workspace/xfoundry_device-modbus-go_PR-533@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-12-15T05:39:14.010Z] $ docker top 2508cff8abd94c3c4140eaaa5eaa6f4b5acc741ba9f319b4ba60061276864cb9 -eo pid,comm [2023-12-15T05:39:14.080Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-12-15T05:39:14.080Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-12-15T05:39:14.270Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-12-15T05:39:14.270Z] [ssh-agent] Looking for ssh-agent implementation... [2023-12-15T05:39:14.383Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-12-15T05:39:14.389Z] $ docker exec 2508cff8abd94c3c4140eaaa5eaa6f4b5acc741ba9f319b4ba60061276864cb9 ssh-agent [2023-12-15T05:39:14.504Z] SSH_AUTH_SOCK=/tmp/ssh-1LWKh2OkiWtQ/agent.32 [2023-12-15T05:39:14.504Z] SSH_AGENT_PID=38 [2023-12-15T05:39:14.510Z] Running ssh-add (command line suppressed) [2023-12-15T05:39:14.619Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-533@tmp/private_key_5005382383604498644.key (/w/workspace/xfoundry_device-modbus-go_PR-533@tmp/private_key_5005382383604498644.key) [2023-12-15T05:39:14.631Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-12-15T05:39:14.983Z] + git tag --points-at HEAD [Pipeline] } [2023-12-15T05:39:15.012Z] $ docker exec --env ******** --env ******** 2508cff8abd94c3c4140eaaa5eaa6f4b5acc741ba9f319b4ba60061276864cb9 ssh-agent -k [2023-12-15T05:39:15.123Z] unset SSH_AUTH_SOCK; [2023-12-15T05:39:15.123Z] unset SSH_AGENT_PID; [2023-12-15T05:39:15.123Z] echo Agent pid 38 killed; [2023-12-15T05:39:15.130Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-12-15T05:39:15.270Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-12-15T05:39:15.270Z] [ssh-agent] Looking for ssh-agent implementation... [2023-12-15T05:39:15.378Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-12-15T05:39:15.384Z] $ docker exec 2508cff8abd94c3c4140eaaa5eaa6f4b5acc741ba9f319b4ba60061276864cb9 ssh-agent [2023-12-15T05:39:15.478Z] SSH_AUTH_SOCK=/tmp/ssh-p3zpVZpilODU/agent.71 [2023-12-15T05:39:15.478Z] SSH_AGENT_PID=77 [2023-12-15T05:39:15.482Z] Running ssh-add (command line suppressed) [2023-12-15T05:39:15.606Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-533@tmp/private_key_17217886806769128638.key (/w/workspace/xfoundry_device-modbus-go_PR-533@tmp/private_key_17217886806769128638.key) [2023-12-15T05:39:15.618Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-12-15T05:39:15.977Z] + git semver init [2023-12-15T05:39:16.237Z] 2023-12-15 05:39:16,151 [run_init] DEBUG init version:0.0.0 force:False [2023-12-15T05:39:16.237Z] 2023-12-15 05:39:16,152 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-modbus-go_PR-533/.semver [2023-12-15T05:39:16.237Z] 2023-12-15 05:39:16,152 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/xfoundry_device-modbus-go_PR-533/.semver [2023-12-15T05:39:16.237Z] 2023-12-15 05:39:16,152 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/xfoundry_device-modbus-go_PR-533/.semver'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-533, universal_newlines=False, shell=None, istream=None) [2023-12-15T05:39:17.617Z] 2023-12-15 05:39:17,380 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-modbus-go_PR-533/.git/info/exclude [2023-12-15T05:39:17.617Z] 2023-12-15 05:39:17,381 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-modbus-go_PR-533/.semver/PR-533 with force:False [2023-12-15T05:39:17.617Z] 2023-12-15 05:39:17,381 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-modbus-go_PR-533/.semver/PR-533 [2023-12-15T05:39:17.617Z] 2023-12-15 05:39:17,385 [execute] INFO git cat-file --batch-check [2023-12-15T05:39:17.617Z] 2023-12-15 05:39:17,386 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-533/.semver, universal_newlines=False, shell=None, istream=) [2023-12-15T05:39:17.617Z] 2023-12-15 05:39:17,392 [execute] INFO git cat-file --batch [2023-12-15T05:39:17.617Z] 2023-12-15 05:39:17,392 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-533/.semver, universal_newlines=False, shell=None, istream=) [2023-12-15T05:39:17.617Z] 2023-12-15 05:39:17,397 [read_version] DEBUG read version from /w/workspace/xfoundry_device-modbus-go_PR-533/.semver/PR-533 [2023-12-15T05:39:17.617Z] 0.0.0 [Pipeline] } [2023-12-15T05:39:17.646Z] $ docker exec --env ******** --env ******** 2508cff8abd94c3c4140eaaa5eaa6f4b5acc741ba9f319b4ba60061276864cb9 ssh-agent -k [2023-12-15T05:39:17.753Z] unset SSH_AUTH_SOCK; [2023-12-15T05:39:17.753Z] unset SSH_AGENT_PID; [2023-12-15T05:39:17.753Z] echo Agent pid 77 killed; [2023-12-15T05:39:17.758Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-12-15T05:39:18.275Z] + git semver [Pipeline] } [2023-12-15T05:39:18.562Z] $ docker stop --time=1 2508cff8abd94c3c4140eaaa5eaa6f4b5acc741ba9f319b4ba60061276864cb9 [2023-12-15T05:39:19.863Z] $ docker rm -f --volumes 2508cff8abd94c3c4140eaaa5eaa6f4b5acc741ba9f319b4ba60061276864cb9 [Pipeline] // withDockerContainer [Pipeline] sh [2023-12-15T05:39:20.307Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-12-15T05:39:20.621Z] Stashed 1 file(s) [Pipeline] echo [2023-12-15T05:39:20.639Z] [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 [2023-12-15T05:39:21.535Z] provisioning config files... [2023-12-15T05:39:21.545Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-533@tmp/config4779610776470421143tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-12-15T05:39:21.934Z] ---> ****-login.sh [2023-12-15T05:39:21.934Z] nexus3.edgexfoundry.org:10001 [2023-12-15T05:39:21.934Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-12-15T05:39:21.934Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-12-15T05:39:21.934Z] Configure a credential helper to remove this warning. See [2023-12-15T05:39:21.934Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-12-15T05:39:21.934Z] [2023-12-15T05:39:21.934Z] Login Succeeded [2023-12-15T05:39:21.934Z] nexus3.edgexfoundry.org:10002 [2023-12-15T05:39:21.934Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-12-15T05:39:21.935Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-12-15T05:39:21.935Z] Configure a credential helper to remove this warning. See [2023-12-15T05:39:21.935Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-12-15T05:39:21.935Z] [2023-12-15T05:39:21.935Z] Login Succeeded [2023-12-15T05:39:21.935Z] nexus3.edgexfoundry.org:10003 [2023-12-15T05:39:22.194Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-12-15T05:39:22.194Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-12-15T05:39:22.194Z] Configure a credential helper to remove this warning. See [2023-12-15T05:39:22.194Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-12-15T05:39:22.194Z] [2023-12-15T05:39:22.194Z] Login Succeeded [2023-12-15T05:39:22.194Z] nexus3.edgexfoundry.org:10004 [2023-12-15T05:39:22.194Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-12-15T05:39:22.194Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-12-15T05:39:22.194Z] Configure a credential helper to remove this warning. See [2023-12-15T05:39:22.194Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-12-15T05:39:22.194Z] [2023-12-15T05:39:22.194Z] Login Succeeded [2023-12-15T05:39:22.194Z] ****.io [2023-12-15T05:39:22.454Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-12-15T05:39:22.454Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-12-15T05:39:22.454Z] Configure a credential helper to remove this warning. See [2023-12-15T05:39:22.454Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-12-15T05:39:22.454Z] [2023-12-15T05:39:22.454Z] Login Succeeded [2023-12-15T05:39:22.455Z] ---> ****-login.sh ends [Pipeline] } [2023-12-15T05:39:22.482Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-12-15T05:39:22.792Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-12-15T05:39:22.858Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-12-15T05:39:22.916Z] ========================================================= [2023-12-15T05:39:22.916Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2023-12-15T05:39:22.916Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-12-15T05:39:23.502Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2023-12-15T05:39:23.502Z] Sending build context to Docker daemon 17.24MB [2023-12-15T05:39:23.502Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2023-12-15T05:39:23.502Z] Step 2/10 : FROM ${BASE} AS builder [2023-12-15T05:39:23.502Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2023-12-15T05:39:23.502Z] 7264a8db6415: Pulling fs layer [2023-12-15T05:39:23.502Z] c4d48a809fc2: Pulling fs layer [2023-12-15T05:39:23.502Z] 4f1c88b9dad5: Pulling fs layer [2023-12-15T05:39:23.502Z] ad3a456e5733: Pulling fs layer [2023-12-15T05:39:23.502Z] 69c7f0334f64: Pulling fs layer [2023-12-15T05:39:23.502Z] ad3a456e5733: Waiting [2023-12-15T05:39:23.502Z] 1f1c1a5573a3: Pulling fs layer [2023-12-15T05:39:23.502Z] ce7588e14bc9: Pulling fs layer [2023-12-15T05:39:23.502Z] b5e4710f87ac: Pulling fs layer [2023-12-15T05:39:23.502Z] 69c7f0334f64: Waiting [2023-12-15T05:39:23.502Z] 1f1c1a5573a3: Waiting [2023-12-15T05:39:23.502Z] ce7588e14bc9: Waiting [2023-12-15T05:39:23.502Z] b5e4710f87ac: Waiting [2023-12-15T05:39:23.760Z] c4d48a809fc2: Download complete [2023-12-15T05:39:23.760Z] ad3a456e5733: Verifying Checksum [2023-12-15T05:39:23.760Z] ad3a456e5733: Download complete [2023-12-15T05:39:23.760Z] 69c7f0334f64: Verifying Checksum [2023-12-15T05:39:23.760Z] 7264a8db6415: Verifying Checksum [2023-12-15T05:39:23.760Z] 7264a8db6415: Download complete [2023-12-15T05:39:23.760Z] 1f1c1a5573a3: Verifying Checksum [2023-12-15T05:39:23.760Z] 1f1c1a5573a3: Download complete [2023-12-15T05:39:23.760Z] b5e4710f87ac: Verifying Checksum [2023-12-15T05:39:23.760Z] b5e4710f87ac: Download complete [2023-12-15T05:39:24.019Z] 7264a8db6415: Pull complete [2023-12-15T05:39:24.019Z] c4d48a809fc2: Pull complete [2023-12-15T05:39:24.019Z] 4f1c88b9dad5: Verifying Checksum [2023-12-15T05:39:24.019Z] 4f1c88b9dad5: Download complete [2023-12-15T05:39:24.584Z] ce7588e14bc9: Verifying Checksum [2023-12-15T05:39:24.584Z] ce7588e14bc9: Download complete [2023-12-15T05:39:27.874Z] 4f1c88b9dad5: Pull complete [2023-12-15T05:39:27.874Z] ad3a456e5733: Pull complete [2023-12-15T05:39:27.874Z] 69c7f0334f64: Pull complete [2023-12-15T05:39:27.874Z] 1f1c1a5573a3: Pull complete [2023-12-15T05:39:30.428Z] ce7588e14bc9: Pull complete [2023-12-15T05:39:30.693Z] b5e4710f87ac: Pull complete [2023-12-15T05:39:30.693Z] Digest: sha256:f80dd7bb8fdf010369d5adb4058a62695265b22e897ca6aac7b42af84fdce50e [2023-12-15T05:39:30.954Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2023-12-15T05:39:30.954Z] ---> 88b5674ff536 [2023-12-15T05:39:30.954Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2023-12-15T05:39:36.291Z] Still waiting to schedule task [2023-12-15T05:39:36.291Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-25143’ is offline [2023-12-15T05:39:37.537Z] ---> Running in cc7f54dc9d84 [2023-12-15T05:39:37.537Z] Removing intermediate container cc7f54dc9d84 [2023-12-15T05:39:37.537Z] ---> ea778deb24f2 [2023-12-15T05:39:37.537Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-12-15T05:39:37.537Z] ---> Running in 0994d2328cc0 [2023-12-15T05:39:37.537Z] Removing intermediate container 0994d2328cc0 [2023-12-15T05:39:37.537Z] ---> fdc085e5c8c0 [2023-12-15T05:39:37.537Z] Step 5/10 : RUN apk add --update --no-cache make git openssh [2023-12-15T05:39:37.537Z] ---> Running in c6fa96249937 [2023-12-15T05:39:37.537Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-12-15T05:39:37.537Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-12-15T05:39:37.537Z] (1/8) Installing openssh-keygen (9.3_p2-r0) [2023-12-15T05:39:37.537Z] (2/8) Installing libedit (20221030.3.1-r1) [2023-12-15T05:39:37.537Z] (3/8) Installing openssh-client-common (9.3_p2-r0) [2023-12-15T05:39:37.537Z] (4/8) Installing openssh-client-default (9.3_p2-r0) [2023-12-15T05:39:37.537Z] (5/8) Installing openssh-sftp-server (9.3_p2-r0) [2023-12-15T05:39:37.537Z] (6/8) Installing openssh-server-common (9.3_p2-r0) [2023-12-15T05:39:37.537Z] (7/8) Installing openssh-server (9.3_p2-r0) [2023-12-15T05:39:37.537Z] (8/8) Installing openssh (9.3_p2-r0) [2023-12-15T05:39:37.537Z] Executing busybox-1.36.1-r5.trigger [2023-12-15T05:39:37.537Z] OK: 270 MiB in 60 packages [2023-12-15T05:39:38.106Z] Removing intermediate container c6fa96249937 [2023-12-15T05:39:38.106Z] ---> 527dc69d5a30 [2023-12-15T05:39:38.106Z] Step 6/10 : WORKDIR /device-modbus-go [2023-12-15T05:39:38.106Z] ---> Running in 19b9112f23c2 [2023-12-15T05:39:38.366Z] Removing intermediate container 19b9112f23c2 [2023-12-15T05:39:38.366Z] ---> 8b1082a82bbc [2023-12-15T05:39:38.366Z] Step 7/10 : COPY go.mod vendor* ./ [2023-12-15T05:39:38.366Z] ---> 0714d8aff6a8 [2023-12-15T05:39:38.366Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-12-15T05:39:38.366Z] ---> Running in ce83bf9e1c46 [2023-12-15T05:40:25.100Z] Removing intermediate container ce83bf9e1c46 [2023-12-15T05:40:25.100Z] ---> 2957a38ef719 [2023-12-15T05:40:25.100Z] Step 9/10 : COPY . . [2023-12-15T05:40:25.100Z] ---> ec84f320cc5f [2023-12-15T05:40:25.100Z] Step 10/10 : RUN ${MAKE} [2023-12-15T05:40:25.100Z] ---> Running in 3f6edf1b725f [2023-12-15T05:40:25.100Z] noop [2023-12-15T05:40:25.100Z] Removing intermediate container 3f6edf1b725f [2023-12-15T05:40:25.100Z] ---> 6cc7787d46e9 [2023-12-15T05:40:25.100Z] Successfully built 6cc7787d46e9 [2023-12-15T05:40:25.100Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-12-15T05:40:25.635Z] + docker inspect -f . ci-base-image-x86_64 [2023-12-15T05:40:25.635Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-12-15T05:40:25.850Z] prd-ubuntu20.04-docker-8c-8g-25144 does not seem to be running inside a container [2023-12-15T05:40:25.881Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-533 -v /w/workspace/xfoundry_device-modbus-go_PR-533:/w/workspace/xfoundry_device-modbus-go_PR-533:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-533@tmp:/w/workspace/xfoundry_device-modbus-go_PR-533@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-12-15T05:40:26.239Z] $ docker top 7a0e3f8d35f89e1a43554212712ce1ab412e4d4775dfbae3cdb9429d95226419 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-12-15T05:40:26.684Z] + go version [2023-12-15T05:40:26.684Z] go version go1.21.0 linux/amd64 [Pipeline] } [2023-12-15T05:40:26.718Z] $ docker stop --time=1 7a0e3f8d35f89e1a43554212712ce1ab412e4d4775dfbae3cdb9429d95226419 [2023-12-15T05:40:27.976Z] $ docker rm -f --volumes 7a0e3f8d35f89e1a43554212712ce1ab412e4d4775dfbae3cdb9429d95226419 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-12-15T05:40:28.930Z] + docker inspect -f . ci-base-image-x86_64 [2023-12-15T05:40:28.930Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-12-15T05:40:29.133Z] prd-ubuntu20.04-docker-8c-8g-25144 does not seem to be running inside a container [2023-12-15T05:40:29.161Z] $ 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-533 -v /w/workspace/xfoundry_device-modbus-go_PR-533:/w/workspace/xfoundry_device-modbus-go_PR-533:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-533@tmp:/w/workspace/xfoundry_device-modbus-go_PR-533@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-12-15T05:40:29.476Z] $ docker top d68abca74ac7d7aaccda32728c74cf179cd850b7cda4ea30f51f2fdcf9c455e0 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-12-15T05:40:29.992Z] + git config --global --add safe.directory /w/workspace/xfoundry_device-modbus-go_PR-533 [Pipeline] fileExists [Pipeline] sh [2023-12-15T05:40:30.416Z] + make test [2023-12-15T05:40:30.416Z] go test ./... -coverprofile=coverage.out [2023-12-15T05:40:31.792Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2023-12-15T05:40:41.754Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2023-12-15T05:40:41.754Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.016s coverage: 47.9% of statements [2023-12-15T05:40:48.325Z] go vet ./... [2023-12-15T05:40:52.511Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-12-15T05:40:52.511Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-12-15T05:40:52.511Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-12-15T05:40:52.552Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2023-12-15T05:40:52.615Z] $ docker stop --time=1 d68abca74ac7d7aaccda32728c74cf179cd850b7cda4ea30f51f2fdcf9c455e0 [2023-12-15T05:40:55.719Z] $ docker rm -f --volumes d68abca74ac7d7aaccda32728c74cf179cd850b7cda4ea30f51f2fdcf9c455e0 [Pipeline] // withDockerContainer [Pipeline] sh [2023-12-15T05:40:56.364Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-12-15T05:40:56.428Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-12-15T05:40:57.273Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-12-15T05:40:57.578Z] + ls -al . [2023-12-15T05:40:57.578Z] total 192 [2023-12-15T05:40:57.578Z] drwxrwxr-x 9 jenkins jenkins 4096 Dec 15 05:40 . [2023-12-15T05:40:57.578Z] drwxrwxr-x 4 jenkins jenkins 4096 Dec 15 05:38 .. [2023-12-15T05:40:57.578Z] -rw-rw-r-- 1 jenkins jenkins 140 Dec 15 05:38 .dockerignore [2023-12-15T05:40:57.579Z] drwxrwxr-x 8 jenkins jenkins 4096 Dec 15 05:40 .git [2023-12-15T05:40:57.579Z] drwxrwxr-x 3 jenkins jenkins 4096 Dec 15 05:38 .github [2023-12-15T05:40:57.579Z] -rw-rw-r-- 1 jenkins jenkins 266 Dec 15 05:38 .gitignore [2023-12-15T05:40:57.579Z] -rw-rw-r-- 1 jenkins jenkins 41 Dec 15 05:38 .golangci.yml [2023-12-15T05:40:57.579Z] drwxr-xr-x 3 jenkins jenkins 4096 Dec 15 05:39 .semver [2023-12-15T05:40:57.579Z] -rw-rw-r-- 1 jenkins jenkins 11101 Dec 15 05:38 Attribution.txt [2023-12-15T05:40:57.579Z] -rw-rw-r-- 1 jenkins jenkins 16388 Dec 15 05:38 CHANGELOG.md [2023-12-15T05:40:57.579Z] -rw-rw-r-- 1 jenkins jenkins 1474 Dec 15 05:38 Dockerfile [2023-12-15T05:40:57.579Z] -rw-rw-r-- 1 jenkins jenkins 677 Dec 15 05:38 GOVERNANCE.md [2023-12-15T05:40:57.579Z] -rw-rw-r-- 1 jenkins jenkins 658 Dec 15 05:38 Jenkinsfile [2023-12-15T05:40:57.579Z] -rw-rw-r-- 1 jenkins jenkins 11340 Dec 15 05:38 LICENSE [2023-12-15T05:40:57.579Z] -rw-rw-r-- 1 jenkins jenkins 1942 Dec 15 05:38 Makefile [2023-12-15T05:40:57.579Z] -rw-rw-r-- 1 jenkins jenkins 622 Dec 15 05:38 OWNERS.md [2023-12-15T05:40:57.579Z] -rw-rw-r-- 1 jenkins jenkins 4463 Dec 15 05:38 README.md [2023-12-15T05:40:57.579Z] -rw-rw-r-- 1 jenkins jenkins 5 Dec 15 05:39 VERSION [2023-12-15T05:40:57.579Z] drwxrwxr-x 2 jenkins jenkins 4096 Dec 15 05:38 bin [2023-12-15T05:40:57.579Z] drwxrwxr-x 3 jenkins jenkins 4096 Dec 15 05:38 cmd [2023-12-15T05:40:57.579Z] -rw-r--r-- 1 jenkins jenkins 24334 Dec 15 05:40 coverage.out [2023-12-15T05:40:57.579Z] -rw-rw-r-- 1 jenkins jenkins 3937 Dec 15 05:38 go.mod [2023-12-15T05:40:57.579Z] -rw-rw-r-- 1 jenkins jenkins 35426 Dec 15 05:38 go.sum [2023-12-15T05:40:57.579Z] drwxrwxr-x 3 jenkins jenkins 4096 Dec 15 05:38 internal [2023-12-15T05:40:57.579Z] drwxrwxr-x 2 jenkins jenkins 4096 Dec 15 05:38 simulator [2023-12-15T05:40:57.579Z] -rw-rw-r-- 1 jenkins jenkins 229 Dec 15 05:38 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-12-15T05:40:58.033Z] + 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=468650c4244d05ba6a5573c6053f76b58064052e --label arch=amd64 --label version=0.0.0 . [2023-12-15T05:40:58.033Z] Sending build context to Docker daemon 17.26MB [2023-12-15T05:40:58.033Z] Step 1/23 : ARG BASE=golang:1.21-alpine3.18 [2023-12-15T05:40:58.033Z] Step 2/23 : FROM ${BASE} AS builder [2023-12-15T05:40:58.033Z] ---> 6cc7787d46e9 [2023-12-15T05:40:58.033Z] Step 3/23 : ARG ADD_BUILD_TAGS="" [2023-12-15T05:40:58.293Z] ---> Running in 39eaa7e5d353 [2023-12-15T05:40:58.554Z] Removing intermediate container 39eaa7e5d353 [2023-12-15T05:40:58.554Z] ---> 541514f9aec6 [2023-12-15T05:40:58.554Z] Step 4/23 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-12-15T05:40:58.554Z] ---> Running in e5bc1ba10cb8 [2023-12-15T05:40:58.554Z] Removing intermediate container e5bc1ba10cb8 [2023-12-15T05:40:58.554Z] ---> f354a025713f [2023-12-15T05:40:58.554Z] Step 5/23 : RUN apk add --update --no-cache make git openssh [2023-12-15T05:40:58.554Z] ---> Running in bb381882f1cb [2023-12-15T05:40:58.814Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-12-15T05:40:59.073Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-12-15T05:40:59.332Z] OK: 270 MiB in 60 packages [2023-12-15T05:40:59.591Z] Removing intermediate container bb381882f1cb [2023-12-15T05:40:59.591Z] ---> c654c31986f4 [2023-12-15T05:40:59.591Z] Step 6/23 : WORKDIR /device-modbus-go [2023-12-15T05:40:59.591Z] ---> Running in 3588d7a91bac [2023-12-15T05:40:59.851Z] Removing intermediate container 3588d7a91bac [2023-12-15T05:40:59.851Z] ---> d7852bffd4a1 [2023-12-15T05:40:59.851Z] Step 7/23 : COPY go.mod vendor* ./ [2023-12-15T05:40:59.851Z] ---> fc28ba86e0fd [2023-12-15T05:40:59.851Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-12-15T05:40:59.851Z] ---> Running in bb1f7d456d7e [2023-12-15T05:41:00.787Z] Removing intermediate container bb1f7d456d7e [2023-12-15T05:41:00.787Z] ---> 18b25f07e8d0 [2023-12-15T05:41:00.787Z] Step 9/23 : COPY . . [2023-12-15T05:41:01.441Z] ---> 91d31e272e1a [2023-12-15T05:41:01.441Z] Step 10/23 : RUN ${MAKE} [2023-12-15T05:41:01.441Z] ---> Running in b1bb69dbb191 [2023-12-15T05:41:01.700Z] CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-modbus-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.4" -trimpath -mod=readonly -o cmd/device-modbus ./cmd [2023-12-15T05:41:10.659Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-25145 in /w/workspace/xfoundry_device-modbus-go_PR-533 [Pipeline] { [Pipeline] ws [2023-12-15T05:41:10.757Z] Running in /w/workspace/device-modbus-go/1 [Pipeline] { [Pipeline] checkout [2023-12-15T05:41:13.881Z] Selected Git installation does not exist. Using Default [2023-12-15T05:41:13.881Z] The recommended git tool is: NONE [2023-12-15T05:41:19.775Z] using credential edgex-jenkins-ssh [2023-12-15T05:41:19.798Z] Cloning the remote Git repository [2023-12-15T05:41:19.851Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2023-12-15T05:41:19.960Z] > git init /w/workspace/device-modbus-go/1 # timeout=10 [2023-12-15T05:41:20.127Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2023-12-15T05:41:20.128Z] > git --version # timeout=10 [2023-12-15T05:41:20.151Z] > git --version # 'git version 2.25.1' [2023-12-15T05:41:20.155Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-12-15T05:41:20.337Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-12-15T05:41:23.898Z] Removing intermediate container b1bb69dbb191 [2023-12-15T05:41:23.898Z] ---> 3ac05179f51e [2023-12-15T05:41:23.898Z] Step 11/23 : FROM alpine:3.18 [2023-12-15T05:41:23.898Z] 3.18: Pulling from library/alpine [2023-12-15T05:41:23.898Z] c926b61bad3b: Pulling fs layer [2023-12-15T05:41:23.898Z] c926b61bad3b: Download complete [2023-12-15T05:41:23.898Z] c926b61bad3b: Pull complete [2023-12-15T05:41:23.898Z] Digest: sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 [2023-12-15T05:41:23.898Z] Status: Downloaded newer image for alpine:3.18 [2023-12-15T05:41:23.898Z] ---> b541f2080109 [2023-12-15T05:41:23.898Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2023-12-15T05:41:23.898Z] ---> Running in 7286ded64032 [2023-12-15T05:41:23.898Z] Removing intermediate container 7286ded64032 [2023-12-15T05:41:23.898Z] ---> bfaecb38f9df [2023-12-15T05:41:23.898Z] Step 13/23 : RUN apk add --update --no-cache dumb-init [2023-12-15T05:41:23.898Z] ---> Running in 8af94ec398bc [2023-12-15T05:41:23.898Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-12-15T05:41:23.898Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-12-15T05:41:23.898Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-12-15T05:41:23.898Z] Executing busybox-1.36.1-r5.trigger [2023-12-15T05:41:23.898Z] OK: 7 MiB in 16 packages [2023-12-15T05:41:23.898Z] Removing intermediate container 8af94ec398bc [2023-12-15T05:41:23.898Z] ---> 679ef89d4199 [2023-12-15T05:41:23.898Z] Step 14/23 : RUN apk --no-cache upgrade [2023-12-15T05:41:23.898Z] ---> Running in 3bb64f2b0634 [2023-12-15T05:41:23.898Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-12-15T05:41:23.898Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-12-15T05:41:23.898Z] OK: 7 MiB in 16 packages [2023-12-15T05:41:23.898Z] Removing intermediate container 3bb64f2b0634 [2023-12-15T05:41:23.898Z] ---> e11abd866465 [2023-12-15T05:41:23.898Z] Step 15/23 : COPY --from=builder /device-modbus-go/cmd / [2023-12-15T05:41:24.158Z] ---> a8de650f0b8d [2023-12-15T05:41:24.158Z] Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / [2023-12-15T05:41:24.158Z] ---> cabd9f30cb65 [2023-12-15T05:41:24.158Z] Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / [2023-12-15T05:41:24.418Z] ---> 1887bc6a1e5d [2023-12-15T05:41:24.418Z] Step 18/23 : EXPOSE 59901 [2023-12-15T05:41:24.418Z] ---> Running in 25b7714da13a [2023-12-15T05:41:24.418Z] Removing intermediate container 25b7714da13a [2023-12-15T05:41:24.418Z] ---> 3e2c4def2518 [2023-12-15T05:41:24.418Z] Step 19/23 : ENTRYPOINT ["/device-modbus"] [2023-12-15T05:41:24.418Z] ---> Running in c1323f0324ac [2023-12-15T05:41:24.418Z] Removing intermediate container c1323f0324ac [2023-12-15T05:41:24.418Z] ---> b95139368fe5 [2023-12-15T05:41:24.418Z] Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-12-15T05:41:24.418Z] ---> Running in b67a4bbfac23 [2023-12-15T05:41:24.677Z] Removing intermediate container b67a4bbfac23 [2023-12-15T05:41:24.677Z] ---> 063834706557 [2023-12-15T05:41:24.677Z] Step 21/23 : LABEL arch=amd64 [2023-12-15T05:41:24.677Z] ---> Running in 18abb10256e2 [2023-12-15T05:41:24.677Z] Removing intermediate container 18abb10256e2 [2023-12-15T05:41:24.677Z] ---> d88bdeb31bfa [2023-12-15T05:41:24.677Z] Step 22/23 : LABEL git_sha=468650c4244d05ba6a5573c6053f76b58064052e [2023-12-15T05:41:24.677Z] ---> Running in d1ff6d8389e8 [2023-12-15T05:41:24.937Z] Removing intermediate container d1ff6d8389e8 [2023-12-15T05:41:24.937Z] ---> 78d6543dc6b5 [2023-12-15T05:41:24.937Z] Step 23/23 : LABEL version=0.0.0 [2023-12-15T05:41:24.937Z] ---> Running in 1c2c38d2eee8 [2023-12-15T05:41:24.937Z] Removing intermediate container 1c2c38d2eee8 [2023-12-15T05:41:24.937Z] ---> 5092b458c57b [2023-12-15T05:41:24.937Z] [Warning] One or more build-args [ARCH] were not consumed [2023-12-15T05:41:24.937Z] Successfully built 5092b458c57b [2023-12-15T05:41:24.937Z] 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] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [2023-12-15T05:41:25.128Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2023-12-15T05:41:25.147Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-12-15T05:41:26.173Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-12-15T05:41:26.173Z] [2023-12-15T05:41:26.173Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-12-15T05:41:26.664Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-12-15T05:41:26.664Z] latest: Pulling from edgex-lftools-log-publisher [2023-12-15T05:41:26.664Z] 5eb5b503b376: Pulling fs layer [2023-12-15T05:41:26.664Z] 5c69ac0246d0: Pulling fs layer [2023-12-15T05:41:26.664Z] ec43610c2a17: Pulling fs layer [2023-12-15T05:41:26.664Z] 3a2ae6a8a46f: Pulling fs layer [2023-12-15T05:41:26.665Z] 33b1e0a273af: Pulling fs layer [2023-12-15T05:41:26.665Z] 5d3b04190fa2: Pulling fs layer [2023-12-15T05:41:26.665Z] 2f39f015ded8: Pulling fs layer [2023-12-15T05:41:26.665Z] 33b1e0a273af: Waiting [2023-12-15T05:41:26.665Z] 5d3b04190fa2: Waiting [2023-12-15T05:41:26.665Z] 3a2ae6a8a46f: Waiting [2023-12-15T05:41:26.665Z] 2f39f015ded8: Waiting [2023-12-15T05:41:26.665Z] 5c69ac0246d0: Verifying Checksum [2023-12-15T05:41:26.665Z] 5c69ac0246d0: Download complete [2023-12-15T05:41:26.665Z] 3a2ae6a8a46f: Verifying Checksum [2023-12-15T05:41:26.665Z] 3a2ae6a8a46f: Download complete [2023-12-15T05:41:26.665Z] 33b1e0a273af: Verifying Checksum [2023-12-15T05:41:26.665Z] 33b1e0a273af: Download complete [2023-12-15T05:41:26.665Z] 5d3b04190fa2: Verifying Checksum [2023-12-15T05:41:26.665Z] 5d3b04190fa2: Download complete [2023-12-15T05:41:26.665Z] ec43610c2a17: Download complete [2023-12-15T05:41:26.704Z] Merging remotes/origin/main commit 85c9ff1e57050cb21dd0a25e11b91c09e287920a into PR head commit 468650c4244d05ba6a5573c6053f76b58064052e [2023-12-15T05:41:26.923Z] 5eb5b503b376: Verifying Checksum [2023-12-15T05:41:26.923Z] 5eb5b503b376: Download complete [2023-12-15T05:41:26.976Z] Merge succeeded, producing 468650c4244d05ba6a5573c6053f76b58064052e [2023-12-15T05:41:26.977Z] Checking out Revision 468650c4244d05ba6a5573c6053f76b58064052e (PR-533) [2023-12-15T05:41:26.075Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2023-12-15T05:41:26.117Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2023-12-15T05:41:26.118Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-12-15T05:41:26.134Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/533/head:refs/remotes/origin/PR-533 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-12-15T05:41:26.723Z] > git config core.sparsecheckout # timeout=10 [2023-12-15T05:41:26.785Z] > git checkout -f 468650c4244d05ba6a5573c6053f76b58064052e # timeout=10 [2023-12-15T05:41:26.877Z] > git remote # timeout=10 [2023-12-15T05:41:26.901Z] > git config --get remote.origin.url # timeout=10 [2023-12-15T05:41:26.918Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-12-15T05:41:26.933Z] > git merge 85c9ff1e57050cb21dd0a25e11b91c09e287920a # timeout=10 [2023-12-15T05:41:26.959Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-12-15T05:41:26.983Z] > git config core.sparsecheckout # timeout=10 [2023-12-15T05:41:26.998Z] > git checkout -f 468650c4244d05ba6a5573c6053f76b58064052e # timeout=10 [2023-12-15T05:41:27.491Z] 2f39f015ded8: Verifying Checksum [2023-12-15T05:41:27.491Z] 2f39f015ded8: Download complete [2023-12-15T05:41:27.536Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" [2023-12-15T05:41:27.588Z] > git --version # timeout=10 [2023-12-15T05:41:27.601Z] > git --version # 'git version 2.25.1' [2023-12-15T05:41:27.615Z] fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2023-12-15T05:41:28.003Z] [2023-12-15T05:41:28.003Z] GitHub has been notified of this commit’s build result [2023-12-15T05:41:28.003Z] [2023-12-15T05:41:28.057Z] 5eb5b503b376: Pull complete [2023-12-15T05:41:28.057Z] 5c69ac0246d0: Pull complete [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-12-15T05:41:28.624Z] ec43610c2a17: Pull complete [2023-12-15T05:41:28.625Z] 3a2ae6a8a46f: Pull complete [2023-12-15T05:41:28.884Z] 33b1e0a273af: Pull complete [2023-12-15T05:41:28.884Z] 5d3b04190fa2: Pull complete [2023-12-15T05:41:29.001Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-12-15T05:41:29.001Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-12-15T05:41:29.001Z] Dload Upload Total Spent Left Speed [2023-12-15T05:41:29.001Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12682 100 12682 0 0 96075 0 --:--:-- --:--:-- --:--:-- 96075 [Pipeline] sh [2023-12-15T05:41:29.355Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-12-15T05:41:29.704Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-12-15T05:41:29.704Z] + sudo tee /etc/docker/daemon.new [2023-12-15T05:41:29.704Z] { [2023-12-15T05:41:29.704Z] "registry-mirrors": [ [2023-12-15T05:41:29.704Z] "https://nexus3.edgexfoundry.org:10001" [2023-12-15T05:41:29.704Z] ], [2023-12-15T05:41:29.704Z] "bip": "10.250.0.254/24", [2023-12-15T05:41:29.704Z] "hosts": [ [2023-12-15T05:41:29.704Z] "tcp://0.0.0.0:5555", [2023-12-15T05:41:29.704Z] "unix:///var/run/docker.sock" [2023-12-15T05:41:29.704Z] ], [2023-12-15T05:41:29.704Z] "mtu": 1458, [2023-12-15T05:41:29.704Z] "selinux-enabled": true, [2023-12-15T05:41:29.704Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-12-15T05:41:29.704Z] } [Pipeline] sh [2023-12-15T05:41:30.051Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-12-15T05:41:30.400Z] + sudo service docker restart [2023-12-15T05:41:33.078Z] 2f39f015ded8: Pull complete [2023-12-15T05:41:33.078Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-12-15T05:41:33.078Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-12-15T05:41:33.078Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-12-15T05:41:33.473Z] prd-ubuntu20.04-docker-8c-8g-25144 does not seem to be running inside a container [2023-12-15T05:41:33.506Z] $ 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-533 -v /w/workspace/xfoundry_device-modbus-go_PR-533:/w/workspace/xfoundry_device-modbus-go_PR-533:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-533@tmp:/w/workspace/xfoundry_device-modbus-go_PR-533@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-12-15T05:41:38.631Z] $ docker top 9fbb5aa8eb99c5b7e61ad6a20d3b2b431d97d8eb3bbcc98ba27c54caa9027740 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-12-15T05:41:39.162Z] ---> job-cost.sh [2023-12-15T05:41:39.162Z] lf-activate-venv: SKIPPING [2023-12-15T05:41:39.162Z] INFO: No Stack... [2023-12-15T05:41:39.422Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-12-15T05:41:39.681Z] INFO: Archiving Costs [Pipeline] sh [2023-12-15T05:41:39.997Z] + cat /w/workspace/xfoundry_device-modbus-go_PR-533/archives/cost.csv [2023-12-15T05:41:39.997Z] + cut -d, -f6 [Pipeline] lock [2023-12-15T05:41:40.039Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-533-1-stack-cost] [2023-12-15T05:41:40.049Z] Resource [jenkins-edgexfoundry-device-modbus-go-PR-533-1-stack-cost] did not exist. Created. [2023-12-15T05:41:40.049Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-533-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-12-15T05:41:40.560Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-12-15T05:41:40.611Z] Stashed 1 file(s) [Pipeline] } [2023-12-15T05:41:40.670Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-533-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-12-15T05:41:40.817Z] $ docker stop --time=1 9fbb5aa8eb99c5b7e61ad6a20d3b2b431d97d8eb3bbcc98ba27c54caa9027740 [2023-12-15T05:41:41.972Z] $ docker rm -f --volumes 9fbb5aa8eb99c5b7e61ad6a20d3b2b431d97d8eb3bbcc98ba27c54caa9027740 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-12-15T05:41:48.767Z] provisioning config files... [2023-12-15T05:41:48.795Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/1@tmp/config17586971326637129882tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-12-15T05:41:49.300Z] ---> ****-login.sh [2023-12-15T05:41:49.301Z] nexus3.edgexfoundry.org:10001 [2023-12-15T05:41:49.575Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-12-15T05:41:49.847Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-12-15T05:41:49.847Z] Configure a credential helper to remove this warning. See [2023-12-15T05:41:49.847Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-12-15T05:41:49.847Z] [2023-12-15T05:41:49.847Z] Login Succeeded [2023-12-15T05:41:49.847Z] nexus3.edgexfoundry.org:10002 [2023-12-15T05:41:49.847Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-12-15T05:41:50.118Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-12-15T05:41:50.118Z] Configure a credential helper to remove this warning. See [2023-12-15T05:41:50.118Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-12-15T05:41:50.118Z] [2023-12-15T05:41:50.118Z] Login Succeeded [2023-12-15T05:41:50.118Z] nexus3.edgexfoundry.org:10003 [2023-12-15T05:41:50.118Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-12-15T05:41:50.389Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-12-15T05:41:50.389Z] Configure a credential helper to remove this warning. See [2023-12-15T05:41:50.389Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-12-15T05:41:50.389Z] [2023-12-15T05:41:50.389Z] Login Succeeded [2023-12-15T05:41:50.389Z] nexus3.edgexfoundry.org:10004 [2023-12-15T05:41:50.658Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-12-15T05:41:50.658Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-12-15T05:41:50.658Z] Configure a credential helper to remove this warning. See [2023-12-15T05:41:50.658Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-12-15T05:41:50.658Z] [2023-12-15T05:41:50.658Z] Login Succeeded [2023-12-15T05:41:50.658Z] ****.io [2023-12-15T05:41:50.928Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-12-15T05:41:51.198Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-12-15T05:41:51.198Z] Configure a credential helper to remove this warning. See [2023-12-15T05:41:51.198Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-12-15T05:41:51.198Z] [2023-12-15T05:41:51.198Z] Login Succeeded [2023-12-15T05:41:51.198Z] ---> ****-login.sh ends [Pipeline] } [2023-12-15T05:41:51.228Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-12-15T05:41:52.154Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-12-15T05:41:52.250Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-12-15T05:41:52.321Z] ========================================================= [2023-12-15T05:41:52.321Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2023-12-15T05:41:52.321Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-12-15T05:41:52.958Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2023-12-15T05:41:57.218Z] #0 building with "default" instance using docker driver [2023-12-15T05:41:57.218Z] [2023-12-15T05:41:57.218Z] #1 [internal] load build definition from Dockerfile [2023-12-15T05:41:57.218Z] #1 transferring dockerfile: 1.51kB 0.0s done [2023-12-15T05:41:57.218Z] #1 DONE 0.1s [2023-12-15T05:41:57.218Z] [2023-12-15T05:41:57.218Z] #2 [internal] load .dockerignore [2023-12-15T05:41:57.218Z] #2 transferring context: 182B done [2023-12-15T05:41:57.218Z] #2 DONE 0.1s [2023-12-15T05:41:57.218Z] [2023-12-15T05:41:57.218Z] #3 [internal] load metadata for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2023-12-15T05:41:57.218Z] #3 DONE 0.1s [2023-12-15T05:41:57.218Z] [2023-12-15T05:41:57.218Z] #4 [builder 1/7] FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine@sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 [2023-12-15T05:41:57.218Z] #4 resolve nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine@sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 0.0s done [2023-12-15T05:41:57.218Z] #4 sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 1.05MB / 3.33MB 0.1s [2023-12-15T05:41:57.218Z] #4 sha256:86de565de09d5564fc8e683dd5e843d211607dc732ec3413b333e21adf3ea5fe 8.50kB / 8.50kB done [2023-12-15T05:41:57.218Z] #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 0B / 63.99MB 0.1s [2023-12-15T05:41:57.218Z] #4 sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 1.79kB / 1.79kB done [2023-12-15T05:41:57.218Z] #4 sha256:5d54e960e981301b0098c80d2e61d694333b5ab480a007a3a8d0fa629662d377 286.30kB / 286.30kB 0.2s done [2023-12-15T05:41:57.218Z] #4 extracting sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d [2023-12-15T05:41:57.218Z] #4 sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 3.33MB / 3.33MB 0.2s done [2023-12-15T05:41:57.218Z] #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 5.24MB / 63.99MB 0.3s [2023-12-15T05:41:57.218Z] #4 sha256:f0e02332f6b52e139e0158c3d8d903ddf2c22f866cf8b4937f6ec867389ead7e 156B / 156B 0.2s done [2023-12-15T05:41:57.218Z] #4 sha256:872ee5b61b7b24ecb4310852b1d24038dd5f0ac59b55905f2e0a51b50880d9a1 440B / 440B 0.3s done [2023-12-15T05:41:57.218Z] #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 9.44MB / 63.99MB 0.4s [2023-12-15T05:41:57.218Z] #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 2.10MB / 97.63MB 0.4s [2023-12-15T05:41:57.218Z] #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 1.05MB / 11.40MB 0.4s [2023-12-15T05:41:57.218Z] #4 ... [2023-12-15T05:41:57.218Z] [2023-12-15T05:41:57.218Z] #5 [internal] load build context [2023-12-15T05:41:57.218Z] #5 transferring context: 8.62MB 0.4s done [2023-12-15T05:41:57.218Z] #5 DONE 0.5s [2023-12-15T05:41:57.218Z] [2023-12-15T05:41:57.218Z] #4 [builder 1/7] FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine@sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 [2023-12-15T05:41:57.218Z] #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 12.65MB / 63.99MB 0.5s [2023-12-15T05:41:57.218Z] #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 4.19MB / 11.40MB 0.5s [2023-12-15T05:41:57.486Z] #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 10.49MB / 97.63MB 0.6s [2023-12-15T05:41:57.486Z] #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 7.44MB / 11.40MB 0.6s [2023-12-15T05:41:57.486Z] #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 19.92MB / 63.99MB 0.7s [2023-12-15T05:41:57.486Z] #4 extracting sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 0.5s done [2023-12-15T05:41:57.486Z] #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 15.73MB / 97.63MB 0.7s [2023-12-15T05:41:57.486Z] #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 10.63MB / 11.40MB 0.7s [2023-12-15T05:41:57.486Z] #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 29.36MB / 63.99MB 0.9s [2023-12-15T05:41:57.486Z] #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 26.21MB / 97.63MB 0.9s [2023-12-15T05:41:57.486Z] #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 11.40MB / 11.40MB 0.7s done [2023-12-15T05:41:57.755Z] #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 34.07MB / 63.99MB 1.0s [2023-12-15T05:41:57.755Z] #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 31.10MB / 97.63MB 1.0s [2023-12-15T05:41:57.755Z] #4 extracting sha256:5d54e960e981301b0098c80d2e61d694333b5ab480a007a3a8d0fa629662d377 [2023-12-15T05:41:57.755Z] #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 37.75MB / 63.99MB 1.1s [2023-12-15T05:41:57.755Z] #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 36.34MB / 97.63MB 1.1s [2023-12-15T05:41:57.755Z] #4 extracting sha256:5d54e960e981301b0098c80d2e61d694333b5ab480a007a3a8d0fa629662d377 0.2s done [2023-12-15T05:41:58.025Z] #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 41.94MB / 63.99MB 1.2s [2023-12-15T05:41:58.025Z] #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 50.48MB / 63.99MB 1.4s [2023-12-15T05:41:58.025Z] #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 50.33MB / 97.63MB 1.4s [2023-12-15T05:41:58.297Z] #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 55.57MB / 63.99MB 1.5s [2023-12-15T05:41:58.297Z] #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 55.57MB / 97.63MB 1.5s [2023-12-15T05:41:58.297Z] #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 61.30MB / 63.99MB 1.6s [2023-12-15T05:41:58.297Z] #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 60.82MB / 97.63MB 1.6s [2023-12-15T05:41:58.572Z] #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 63.99MB / 63.99MB 1.7s done [2023-12-15T05:41:58.572Z] #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 72.35MB / 97.63MB 1.8s [2023-12-15T05:41:58.572Z] #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 77.59MB / 97.63MB 1.9s [2023-12-15T05:41:58.572Z] #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 [2023-12-15T05:41:58.839Z] #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 82.84MB / 97.63MB 2.0s [2023-12-15T05:41:59.106Z] #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 91.23MB / 97.63MB 2.2s [2023-12-15T05:41:59.106Z] #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 96.47MB / 97.63MB 2.3s [2023-12-15T05:41:59.106Z] #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 97.63MB / 97.63MB 2.4s done [2023-12-15T05:42:04.455Z] #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 5.3s [2023-12-15T05:42:09.812Z] #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 10.4s [2023-12-15T05:42:16.470Z] #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 17.0s done [2023-12-15T05:42:17.056Z] #4 extracting sha256:f0e02332f6b52e139e0158c3d8d903ddf2c22f866cf8b4937f6ec867389ead7e [2023-12-15T05:42:17.323Z] #4 extracting sha256:f0e02332f6b52e139e0158c3d8d903ddf2c22f866cf8b4937f6ec867389ead7e done [2023-12-15T05:42:17.323Z] #4 extracting sha256:872ee5b61b7b24ecb4310852b1d24038dd5f0ac59b55905f2e0a51b50880d9a1 done [2023-12-15T05:42:17.323Z] #4 extracting sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 0.1s [2023-12-15T05:42:22.670Z] #4 extracting sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 5.2s [2023-12-15T05:42:26.017Z] #4 extracting sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 8.9s done [2023-12-15T05:42:26.286Z] #4 extracting sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb [2023-12-15T05:42:28.231Z] #4 extracting sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 1.8s done [2023-12-15T05:42:28.502Z] #4 DONE 31.8s [2023-12-15T05:42:28.502Z] [2023-12-15T05:42:28.502Z] #6 [builder 2/7] RUN apk add --update --no-cache make git openssh [2023-12-15T05:42:29.465Z] #6 0.746 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-12-15T05:42:29.733Z] #6 1.182 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-12-15T05:42:31.141Z] #6 2.283 (1/8) Installing openssh-keygen (9.3_p2-r0) [2023-12-15T05:42:31.141Z] #6 2.307 (2/8) Installing libedit (20221030.3.1-r1) [2023-12-15T05:42:31.141Z] #6 2.318 (3/8) Installing openssh-client-common (9.3_p2-r0) [2023-12-15T05:42:31.141Z] #6 2.383 (4/8) Installing openssh-client-default (9.3_p2-r0) [2023-12-15T05:42:31.141Z] #6 2.408 (5/8) Installing openssh-sftp-server (9.3_p2-r0) [2023-12-15T05:42:31.141Z] #6 2.417 (6/8) Installing openssh-server-common (9.3_p2-r0) [2023-12-15T05:42:31.141Z] #6 2.424 (7/8) Installing openssh-server (9.3_p2-r0) [2023-12-15T05:42:31.141Z] #6 2.458 (8/8) Installing openssh (9.3_p2-r0) [2023-12-15T05:42:31.141Z] #6 2.475 Executing busybox-1.36.1-r5.trigger [2023-12-15T05:42:31.141Z] #6 2.514 OK: 272 MiB in 60 packages [2023-12-15T05:42:33.086Z] #6 DONE 4.5s [2023-12-15T05:42:33.086Z] [2023-12-15T05:42:33.086Z] #7 [builder 3/7] WORKDIR /device-modbus-go [2023-12-15T05:42:33.354Z] #7 DONE 0.1s [2023-12-15T05:42:33.354Z] [2023-12-15T05:42:33.354Z] #8 [builder 4/7] COPY go.mod vendor* ./ [2023-12-15T05:42:33.354Z] #8 DONE 0.1s [2023-12-15T05:42:33.354Z] [2023-12-15T05:42:33.354Z] #9 [builder 5/7] RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-12-15T05:43:00.044Z] #9 DONE 23.0s [2023-12-15T05:43:00.044Z] [2023-12-15T05:43:00.044Z] #10 [builder 6/7] COPY . . [2023-12-15T05:43:00.044Z] #10 DONE 0.3s [2023-12-15T05:43:00.044Z] [2023-12-15T05:43:00.044Z] #11 [builder 7/7] RUN echo noop [2023-12-15T05:43:00.044Z] #11 0.643 noop [2023-12-15T05:43:00.044Z] #11 DONE 0.7s [2023-12-15T05:43:00.044Z] [2023-12-15T05:43:00.044Z] #12 exporting to image [2023-12-15T05:43:00.044Z] #12 exporting layers [2023-12-15T05:43:18.254Z] #12 exporting layers 20.8s done [2023-12-15T05:43:18.254Z] #12 writing image sha256:df5e72cda36ccca834f4c7f3d344c9ffb0ebacc56d510dbacc84e7d22c786b5c done [2023-12-15T05:43:18.254Z] #12 naming to docker.io/library/ci-base-image-arm64 done [2023-12-15T05:43:18.254Z] #12 DONE 20.8s [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-12-15T05:43:18.853Z] + docker inspect -f . ci-base-image-arm64 [2023-12-15T05:43:18.854Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-12-15T05:43:19.200Z] prd-ubuntu20.04-docker-arm64-4c-16g-25145 does not seem to be running inside a container [2023-12-15T05:43:19.291Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-12-15T05:43:20.875Z] $ docker top ba2e6084758d0d0fc2b707e313025981d3658054dbcf4a3ef83626f059e55d99 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-12-15T05:43:21.808Z] + go version [2023-12-15T05:43:21.808Z] go version go1.21.0 linux/arm64 [Pipeline] } [2023-12-15T05:43:21.849Z] $ docker stop --time=1 ba2e6084758d0d0fc2b707e313025981d3658054dbcf4a3ef83626f059e55d99 [2023-12-15T05:43:23.480Z] $ docker rm -f --volumes ba2e6084758d0d0fc2b707e313025981d3658054dbcf4a3ef83626f059e55d99 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-12-15T05:43:24.683Z] + docker inspect -f . ci-base-image-arm64 [2023-12-15T05:43:24.683Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-12-15T05:43:24.990Z] prd-ubuntu20.04-docker-arm64-4c-16g-25145 does not seem to be running inside a container [2023-12-15T05:43:25.068Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-12-15T05:43:26.105Z] $ docker top 462b86c47230ce91b2d8614f81bd03fda0926e8bc4f920bc0766a82ee7ffee08 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-12-15T05:43:26.719Z] + git config --global --add safe.directory /w/workspace/device-modbus-go/1 [Pipeline] fileExists [Pipeline] sh [2023-12-15T05:43:27.156Z] + make test [2023-12-15T05:43:27.156Z] go test ./... -coverprofile=coverage.out [2023-12-15T05:43:31.420Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2023-12-15T05:44:27.817Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2023-12-15T05:44:27.817Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.060s coverage: 47.9% of statements [2023-12-15T05:44:27.817Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-12-15T05:44:27.817Z] go vet ./... [2023-12-15T05:44:37.892Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-12-15T05:44:37.892Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-12-15T05:44:37.892Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-12-15T05:44:37.933Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2023-12-15T05:44:38.019Z] $ docker stop --time=1 462b86c47230ce91b2d8614f81bd03fda0926e8bc4f920bc0766a82ee7ffee08 [2023-12-15T05:44:39.903Z] $ docker rm -f --volumes 462b86c47230ce91b2d8614f81bd03fda0926e8bc4f920bc0766a82ee7ffee08 [Pipeline] // withDockerContainer [Pipeline] sh [2023-12-15T05:44:41.182Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-12-15T05:44:41.218Z] Warning: overwriting stash ‘coverage-report’ [2023-12-15T05:44:41.666Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-12-15T05:44:42.498Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-12-15T05:44:42.840Z] + ls -al . [2023-12-15T05:44:42.840Z] total 188 [2023-12-15T05:44:42.840Z] drwxrwxr-x 8 jenkins jenkins 4096 Dec 15 05:43 . [2023-12-15T05:44:42.840Z] drwxrwxr-x 4 jenkins jenkins 4096 Dec 15 05:41 .. [2023-12-15T05:44:42.840Z] -rw-rw-r-- 1 jenkins jenkins 140 Dec 15 05:41 .dockerignore [2023-12-15T05:44:42.840Z] drwxrwxr-x 8 jenkins jenkins 4096 Dec 15 05:41 .git [2023-12-15T05:44:42.840Z] drwxrwxr-x 3 jenkins jenkins 4096 Dec 15 05:41 .github [2023-12-15T05:44:42.840Z] -rw-rw-r-- 1 jenkins jenkins 266 Dec 15 05:41 .gitignore [2023-12-15T05:44:42.840Z] -rw-rw-r-- 1 jenkins jenkins 41 Dec 15 05:41 .golangci.yml [2023-12-15T05:44:42.840Z] -rw-rw-r-- 1 jenkins jenkins 11101 Dec 15 05:41 Attribution.txt [2023-12-15T05:44:42.840Z] -rw-rw-r-- 1 jenkins jenkins 16388 Dec 15 05:41 CHANGELOG.md [2023-12-15T05:44:42.840Z] -rw-rw-r-- 1 jenkins jenkins 1474 Dec 15 05:41 Dockerfile [2023-12-15T05:44:42.840Z] -rw-rw-r-- 1 jenkins jenkins 677 Dec 15 05:41 GOVERNANCE.md [2023-12-15T05:44:42.840Z] -rw-rw-r-- 1 jenkins jenkins 658 Dec 15 05:41 Jenkinsfile [2023-12-15T05:44:42.840Z] -rw-rw-r-- 1 jenkins jenkins 11340 Dec 15 05:41 LICENSE [2023-12-15T05:44:42.840Z] -rw-rw-r-- 1 jenkins jenkins 1942 Dec 15 05:41 Makefile [2023-12-15T05:44:42.840Z] -rw-rw-r-- 1 jenkins jenkins 622 Dec 15 05:41 OWNERS.md [2023-12-15T05:44:42.840Z] -rw-rw-r-- 1 jenkins jenkins 4463 Dec 15 05:41 README.md [2023-12-15T05:44:42.840Z] -rw-rw-r-- 1 jenkins jenkins 5 Dec 15 05:39 VERSION [2023-12-15T05:44:42.840Z] drwxrwxr-x 2 jenkins jenkins 4096 Dec 15 05:41 bin [2023-12-15T05:44:42.840Z] drwxrwxr-x 3 jenkins jenkins 4096 Dec 15 05:41 cmd [2023-12-15T05:44:42.840Z] -rw-r--r-- 1 jenkins jenkins 24334 Dec 15 05:44 coverage.out [2023-12-15T05:44:42.840Z] -rw-rw-r-- 1 jenkins jenkins 3937 Dec 15 05:41 go.mod [2023-12-15T05:44:42.840Z] -rw-rw-r-- 1 jenkins jenkins 35426 Dec 15 05:41 go.sum [2023-12-15T05:44:42.840Z] drwxrwxr-x 3 jenkins jenkins 4096 Dec 15 05:41 internal [2023-12-15T05:44:42.840Z] drwxrwxr-x 2 jenkins jenkins 4096 Dec 15 05:41 simulator [2023-12-15T05:44:42.840Z] -rw-rw-r-- 1 jenkins jenkins 229 Dec 15 05:41 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-12-15T05:44:43.339Z] + 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=468650c4244d05ba6a5573c6053f76b58064052e --label arch=arm64 --label version=0.0.0 . [2023-12-15T05:44:44.296Z] #0 building with "default" instance using docker driver [2023-12-15T05:44:44.296Z] [2023-12-15T05:44:44.296Z] #1 [internal] load .dockerignore [2023-12-15T05:44:44.296Z] #1 transferring context: 182B 0.0s done [2023-12-15T05:44:44.296Z] #1 DONE 0.0s [2023-12-15T05:44:44.296Z] [2023-12-15T05:44:44.296Z] #2 [internal] load build definition from Dockerfile [2023-12-15T05:44:44.296Z] #2 transferring dockerfile: 1.51kB 0.0s done [2023-12-15T05:44:44.296Z] #2 DONE 0.0s [2023-12-15T05:44:44.296Z] [2023-12-15T05:44:44.296Z] #3 [internal] load metadata for docker.io/library/ci-base-image-arm64:latest [2023-12-15T05:44:44.296Z] #3 DONE 0.0s [2023-12-15T05:44:44.296Z] [2023-12-15T05:44:44.296Z] #4 [internal] load metadata for docker.io/library/alpine:3.18 [2023-12-15T05:44:44.296Z] #4 DONE 0.3s [2023-12-15T05:44:44.563Z] [2023-12-15T05:44:44.563Z] #5 [internal] load build context [2023-12-15T05:44:44.563Z] #5 transferring context: 32.36kB 0.0s done [2023-12-15T05:44:44.563Z] #5 DONE 0.1s [2023-12-15T05:44:44.563Z] [2023-12-15T05:44:44.563Z] #6 [stage-1 1/6] FROM docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 [2023-12-15T05:44:44.563Z] #6 resolve docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 0.1s done [2023-12-15T05:44:44.563Z] #6 ... [2023-12-15T05:44:44.563Z] [2023-12-15T05:44:44.563Z] #7 [builder 1/7] FROM docker.io/library/ci-base-image-arm64 [2023-12-15T05:44:44.563Z] #7 DONE 0.2s [2023-12-15T05:44:44.563Z] [2023-12-15T05:44:44.563Z] #6 [stage-1 1/6] FROM docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 [2023-12-15T05:44:44.563Z] #6 sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 2.10MB / 3.33MB 0.1s [2023-12-15T05:44:44.563Z] #6 sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 1.64kB / 1.64kB done [2023-12-15T05:44:44.563Z] #6 sha256:d4ade3639c27579321046d78cc44ec978cea8357d56932611984f601d27e30ac 528B / 528B done [2023-12-15T05:44:44.563Z] #6 sha256:98487ac3d99577fbab06f220381fb052c7145a5dbcfea10ca83256f8f37f4f77 1.49kB / 1.49kB done [2023-12-15T05:44:44.831Z] #6 sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 3.33MB / 3.33MB 0.1s done [2023-12-15T05:44:44.831Z] #6 extracting sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 [2023-12-15T05:44:45.097Z] #6 extracting sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 0.5s done [2023-12-15T05:44:45.367Z] #6 DONE 0.9s [2023-12-15T05:44:45.367Z] [2023-12-15T05:44:45.367Z] #8 [stage-1 2/6] RUN apk add --update --no-cache dumb-init [2023-12-15T05:44:45.947Z] #8 0.612 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-12-15T05:44:46.212Z] #8 0.943 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-12-15T05:44:47.175Z] #8 ... [2023-12-15T05:44:47.175Z] [2023-12-15T05:44:47.175Z] #9 [builder 2/7] RUN apk add --update --no-cache make git openssh [2023-12-15T05:44:47.175Z] #9 0.683 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-12-15T05:44:47.175Z] #9 1.106 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-12-15T05:44:47.175Z] #9 2.176 OK: 272 MiB in 60 packages [2023-12-15T05:44:47.175Z] #9 DONE 2.5s [2023-12-15T05:44:47.175Z] [2023-12-15T05:44:47.175Z] #10 [builder 3/7] WORKDIR /device-modbus-go [2023-12-15T05:44:47.175Z] #10 DONE 0.1s [2023-12-15T05:44:47.175Z] [2023-12-15T05:44:47.175Z] #11 [builder 4/7] COPY go.mod vendor* ./ [2023-12-15T05:44:47.175Z] #11 DONE 0.1s [2023-12-15T05:44:47.175Z] [2023-12-15T05:44:47.175Z] #8 [stage-1 2/6] RUN apk add --update --no-cache dumb-init [2023-12-15T05:44:47.175Z] #8 1.976 (1/1) Installing dumb-init (1.2.5-r2) [2023-12-15T05:44:47.447Z] #8 1.995 Executing busybox-1.36.1-r5.trigger [2023-12-15T05:44:47.447Z] #8 2.019 OK: 8 MiB in 16 packages [2023-12-15T05:44:47.716Z] #8 DONE 2.4s [2023-12-15T05:44:47.716Z] [2023-12-15T05:44:47.716Z] #12 [builder 5/7] RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-12-15T05:44:48.679Z] #12 DONE 1.4s [2023-12-15T05:44:48.679Z] [2023-12-15T05:44:48.679Z] #13 [stage-1 3/6] RUN apk --no-cache upgrade [2023-12-15T05:44:48.679Z] #13 0.865 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-12-15T05:44:48.949Z] #13 1.235 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-12-15T05:44:49.217Z] #13 ... [2023-12-15T05:44:49.217Z] [2023-12-15T05:44:49.217Z] #14 [builder 6/7] COPY . . [2023-12-15T05:44:49.217Z] #14 DONE 0.4s [2023-12-15T05:44:49.217Z] [2023-12-15T05:44:49.217Z] #15 [builder 7/7] RUN make build [2023-12-15T05:44:50.181Z] #15 0.709 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-modbus-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.4" -trimpath -mod=readonly -o cmd/device-modbus ./cmd [2023-12-15T05:44:50.453Z] #15 ... [2023-12-15T05:44:50.453Z] [2023-12-15T05:44:50.453Z] #13 [stage-1 3/6] RUN apk --no-cache upgrade [2023-12-15T05:44:50.453Z] #13 2.394 OK: 8 MiB in 16 packages [2023-12-15T05:44:50.453Z] #13 DONE 2.7s [2023-12-15T05:44:50.721Z] [2023-12-15T05:44:50.721Z] #15 [builder 7/7] RUN make build [2023-12-15T05:45:58.575Z] #15 DONE 67.6s [2023-12-15T05:45:58.576Z] [2023-12-15T05:45:58.576Z] #16 [stage-1 4/6] COPY --from=builder /device-modbus-go/cmd / [2023-12-15T05:45:58.576Z] #16 DONE 0.3s [2023-12-15T05:45:58.576Z] [2023-12-15T05:45:58.576Z] #17 [stage-1 5/6] COPY --from=builder /device-modbus-go/LICENSE / [2023-12-15T05:45:58.576Z] #17 DONE 0.1s [2023-12-15T05:45:58.576Z] [2023-12-15T05:45:58.576Z] #18 [stage-1 6/6] COPY --from=builder /device-modbus-go/Attribution.txt / [2023-12-15T05:45:58.576Z] #18 DONE 0.1s [2023-12-15T05:45:58.576Z] [2023-12-15T05:45:58.576Z] #19 exporting to image [2023-12-15T05:45:58.576Z] #19 exporting layers [2023-12-15T05:45:58.576Z] #19 exporting layers 0.4s done [2023-12-15T05:45:58.576Z] #19 writing image sha256:a28a263757095822c8188dc91586d42dd9131f3b09303dab1ff41f14f280ec0e done [2023-12-15T05:45:58.576Z] #19 naming to docker.io/library/device-modbus-arm64 done [2023-12-15T05:45:58.576Z] #19 DONE 0.4s [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-12-15T05:45:59.875Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-12-15T05:45:59.875Z] [2023-12-15T05:45:59.875Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-12-15T05:46:00.331Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-12-15T05:46:00.331Z] arm64: Pulling from edgex-lftools-log-publisher [2023-12-15T05:46:00.331Z] 8998bd30e6a1: Pulling fs layer [2023-12-15T05:46:00.331Z] 04944245beec: Pulling fs layer [2023-12-15T05:46:00.331Z] 699f458cf7ca: Pulling fs layer [2023-12-15T05:46:00.331Z] 765212b225bb: Pulling fs layer [2023-12-15T05:46:00.331Z] f23df028b6ca: Pulling fs layer [2023-12-15T05:46:00.331Z] d65c8cfc05b1: Pulling fs layer [2023-12-15T05:46:00.331Z] 2437ff75d9bd: Pulling fs layer [2023-12-15T05:46:00.331Z] f23df028b6ca: Waiting [2023-12-15T05:46:00.331Z] d65c8cfc05b1: Waiting [2023-12-15T05:46:00.331Z] 2437ff75d9bd: Waiting [2023-12-15T05:46:00.331Z] 765212b225bb: Waiting [2023-12-15T05:46:00.603Z] 04944245beec: Verifying Checksum [2023-12-15T05:46:00.603Z] 04944245beec: Download complete [2023-12-15T05:46:00.603Z] 765212b225bb: Verifying Checksum [2023-12-15T05:46:00.603Z] 765212b225bb: Download complete [2023-12-15T05:46:00.603Z] f23df028b6ca: Verifying Checksum [2023-12-15T05:46:00.603Z] f23df028b6ca: Download complete [2023-12-15T05:46:00.603Z] d65c8cfc05b1: Verifying Checksum [2023-12-15T05:46:00.603Z] d65c8cfc05b1: Download complete [2023-12-15T05:46:00.871Z] 699f458cf7ca: Download complete [2023-12-15T05:46:01.140Z] 8998bd30e6a1: Verifying Checksum [2023-12-15T05:46:01.140Z] 8998bd30e6a1: Download complete [2023-12-15T05:46:03.725Z] 2437ff75d9bd: Verifying Checksum [2023-12-15T05:46:03.725Z] 2437ff75d9bd: Download complete [2023-12-15T05:46:09.075Z] 8998bd30e6a1: Pull complete [2023-12-15T05:46:09.658Z] 04944245beec: Pull complete [2023-12-15T05:46:11.597Z] 699f458cf7ca: Pull complete [2023-12-15T05:46:11.865Z] 765212b225bb: Pull complete [2023-12-15T05:46:13.277Z] f23df028b6ca: Pull complete [2023-12-15T05:46:13.277Z] d65c8cfc05b1: Pull complete [2023-12-15T05:46:39.980Z] 2437ff75d9bd: Pull complete [2023-12-15T05:46:39.980Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-12-15T05:46:39.980Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-12-15T05:46:39.980Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-12-15T05:46:40.463Z] prd-ubuntu20.04-docker-arm64-4c-16g-25145 does not seem to be running inside a container [2023-12-15T05:46:40.533Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-12-15T05:46:42.415Z] $ docker top a06fabd637b9e727703468a28c18e66738baf9e794a42b5fb2b28c8e2ff01196 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-12-15T05:46:43.039Z] ---> job-cost.sh [2023-12-15T05:46:43.308Z] lf-activate-venv: SKIPPING [2023-12-15T05:46:43.308Z] INFO: No Stack... [2023-12-15T05:46:43.576Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-12-15T05:46:44.535Z] INFO: Archiving Costs [Pipeline] sh [2023-12-15T05:46:44.870Z] + cat /w/workspace/device-modbus-go/1/archives/cost.csv [2023-12-15T05:46:44.871Z] + cut -d, -f6 [Pipeline] lock [2023-12-15T05:46:44.950Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-533-1-stack-cost] [2023-12-15T05:46:44.955Z] Resource [jenkins-edgexfoundry-device-modbus-go-PR-533-1-stack-cost] did not exist. Created. [2023-12-15T05:46:44.955Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-533-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-12-15T05:46:45.460Z] /w/workspace/device-modbus-go/1@tmp/durable-6738b8a8/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-12-15T05:46:45.809Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-12-15T05:46:45.846Z] Warning: overwriting stash ‘stack-cost’ [2023-12-15T05:46:45.895Z] Stashed 1 file(s) [Pipeline] } [2023-12-15T05:46:45.935Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-533-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-12-15T05:46:46.124Z] $ docker stop --time=1 a06fabd637b9e727703468a28c18e66738baf9e794a42b5fb2b28c8e2ff01196 [2023-12-15T05:46:47.515Z] $ docker rm -f --volumes a06fabd637b9e727703468a28c18e66738baf9e794a42b5fb2b28c8e2ff01196 [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 [2023-12-15T05:46:49.566Z] provisioning config files... [2023-12-15T05:46:49.574Z] copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-533@tmp/config14729821046177372498tmp [Pipeline] { [Pipeline] sh [2023-12-15T05:46:49.994Z] + set +x [2023-12-15T05:46:49.994Z] + curl -s https://codecov.io/bash [2023-12-15T05:46:49.994Z] + bash -s -- [2023-12-15T05:46:49.994Z] [2023-12-15T05:46:49.994Z] _____ _ [2023-12-15T05:46:49.994Z] / ____| | | [2023-12-15T05:46:49.994Z] | | ___ __| | ___ ___ _____ __ [2023-12-15T05:46:49.994Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-12-15T05:46:49.994Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-12-15T05:46:49.994Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-12-15T05:46:49.994Z] Bash-1.0.6 [2023-12-15T05:46:49.994Z] [2023-12-15T05:46:49.994Z] [2023-12-15T05:46:49.994Z] ==> git version 2.25.1 found [2023-12-15T05:46:49.994Z] ==> 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 [2023-12-15T05:46:49.994Z] Release-Date: 2020-01-08 [2023-12-15T05:46:49.994Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-12-15T05:46:49.994Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-12-15T05:46:49.994Z] ==> Jenkins CI detected. [2023-12-15T05:46:49.994Z] current dir:  /w/workspace/xfoundry_device-modbus-go_PR-533 [2023-12-15T05:46:49.994Z] project root: . [2023-12-15T05:46:49.994Z] --> token set from env [2023-12-15T05:46:49.995Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-12-15T05:46:49.995Z] ==> Running gcov in . (disable via -X gcov) [2023-12-15T05:46:49.995Z] ==> Python coveragepy not found [2023-12-15T05:46:49.995Z] ==> Searching for coverage reports in: [2023-12-15T05:46:49.995Z] + . [2023-12-15T05:46:49.995Z] -> Found 1 reports [2023-12-15T05:46:49.995Z] ==> Detecting git/mercurial file structure [2023-12-15T05:46:49.995Z] ==> Reading reports [2023-12-15T05:46:50.254Z] + ./coverage.out bytes=24334 [2023-12-15T05:46:50.254Z] ==> Appending adjustments [2023-12-15T05:46:50.254Z] https://docs.codecov.io/docs/fixing-reports [2023-12-15T05:46:50.254Z] + Found adjustments [2023-12-15T05:46:50.254Z] ==> Gzipping contents [2023-12-15T05:46:50.254Z] 4.0K /tmp/codecov.WdOF30.gz [2023-12-15T05:46:50.254Z] ==> Uploading reports [2023-12-15T05:46:50.254Z] url: https://codecov.io [2023-12-15T05:46:50.254Z] query: branch=PR-533&commit=468650c4244d05ba6a5573c6053f76b58064052e&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-533%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=533&job=&cmd_args= [2023-12-15T05:46:50.254Z] -> Pinging Codecov [2023-12-15T05:46:50.254Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-533&commit=468650c4244d05ba6a5573c6053f76b58064052e&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-533%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=533&job=&cmd_args= [2023-12-15T05:46:50.512Z] -> Uploading to [2023-12-15T05:46:50.512Z] https://storage.googleapis.com/codecov/v4/raw/2023-12-15/55DBCA73C666E3227836607328DD7E49/468650c4244d05ba6a5573c6053f76b58064052e/ed4cbef0-3969-4bf3-a0d3-51ec46413a73.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231215%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231215T054650Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=adaf9f0eccba2fc50555441a82d624d98d5d773986f585bab2c33b6332f3de80 [2023-12-15T05:46:50.512Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-12-15T05:46:50.512Z] Dload Upload Total Spent Left Speed [2023-12-15T05:46:50.770Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3806 0 0 100 3806 0 14254 --:--:-- --:--:-- --:--:-- 14254 [2023-12-15T05:46:50.771Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/468650c4244d05ba6a5573c6053f76b58064052e [Pipeline] } [2023-12-15T05:46:50.798Z] 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] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-12-15T05:46:53.970Z] + [ -d /w/workspace/xfoundry_device-modbus-go_PR-533/archives ] [2023-12-15T05:46:53.970Z] + ls -al /w/workspace/xfoundry_device-modbus-go_PR-533/archives [2023-12-15T05:46:53.970Z] total 16 [2023-12-15T05:46:53.970Z] drwxr-xr-x 3 root root 4096 Dec 15 05:41 . [2023-12-15T05:46:53.970Z] drwxrwxr-x 10 jenkins jenkins 4096 Dec 15 05:41 .. [2023-12-15T05:46:53.970Z] drwxr-xr-x 2 root root 4096 Dec 15 05:41 cost [2023-12-15T05:46:53.970Z] -rw-r--r-- 1 root root 88 Dec 15 05:41 cost.csv [2023-12-15T05:46:53.970Z] + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-533/archives [2023-12-15T05:46:53.970Z] + ls -al /w/workspace/xfoundry_device-modbus-go_PR-533/archives [2023-12-15T05:46:53.970Z] total 16 [2023-12-15T05:46:53.970Z] drwxr-xr-x 3 jenkins jenkins 4096 Dec 15 05:41 . [2023-12-15T05:46:53.970Z] drwxrwxr-x 10 jenkins jenkins 4096 Dec 15 05:41 .. [2023-12-15T05:46:53.970Z] drwxr-xr-x 2 jenkins jenkins 4096 Dec 15 05:41 cost [2023-12-15T05:46:53.970Z] -rw-r--r-- 1 jenkins jenkins 88 Dec 15 05:41 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-12-15T05:46:54.302Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-12-15T05:46:55.200Z] ---> package-listing.sh [2023-12-15T05:46:55.200Z] ++ facter osfamily [2023-12-15T05:46:55.200Z] ++ tr '[:upper:]' '[:lower:]' [2023-12-15T05:46:55.460Z] + OS_FAMILY=debian [2023-12-15T05:46:55.460Z] + workspace=/w/workspace/xfoundry_device-modbus-go_PR-533 [2023-12-15T05:46:55.460Z] + START_PACKAGES=/tmp/packages_start.txt [2023-12-15T05:46:55.460Z] + END_PACKAGES=/tmp/packages_end.txt [2023-12-15T05:46:55.460Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-12-15T05:46:55.460Z] + PACKAGES=/tmp/packages_start.txt [2023-12-15T05:46:55.460Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-533 ']' [2023-12-15T05:46:55.460Z] + PACKAGES=/tmp/packages_end.txt [2023-12-15T05:46:55.460Z] + case "${OS_FAMILY}" in [2023-12-15T05:46:55.460Z] + grep '^ii' [2023-12-15T05:46:55.460Z] + dpkg -l [2023-12-15T05:46:55.460Z] + '[' -f /tmp/packages_start.txt ']' [2023-12-15T05:46:55.460Z] + '[' -f /tmp/packages_end.txt ']' [2023-12-15T05:46:55.460Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-12-15T05:46:55.460Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-533 ']' [2023-12-15T05:46:55.460Z] + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-533/archives/ [2023-12-15T05:46:55.460Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-533/archives/ [Pipeline] echo [2023-12-15T05:46:55.492Z] 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-533/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-12-15T05:46:55.783Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-12-15T05:46:56.455Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-12-15T05:46:56.455Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-12-15T05:46:56.699Z] prd-ubuntu20.04-docker-8c-8g-25144 does not seem to be running inside a container [2023-12-15T05:46:56.724Z] $ 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-533/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-533 -v /w/workspace/xfoundry_device-modbus-go_PR-533:/w/workspace/xfoundry_device-modbus-go_PR-533:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-533@tmp:/w/workspace/xfoundry_device-modbus-go_PR-533@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-12-15T05:46:56.925Z] $ docker top f01c07e65be2ef106af8bb5fb0deb09e5ee1bd81ec459bffe6fee311cedd9070 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-12-15T05:46:57.399Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-12-15T05:46:57.706Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-12-15T05:46:58.035Z] + ls /var/log/sa-host [2023-12-15T05:46:58.035Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-12-15T05:46:58.285Z] provisioning config files... [2023-12-15T05:46:58.294Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-533@tmp/config13093512424615233685tmp [Pipeline] { [Pipeline] echo [2023-12-15T05:46:58.434Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-12-15T05:46:58.755Z] ---> create-netrc.sh [Pipeline] } [2023-12-15T05:46:58.785Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-12-15T05:46:59.295Z] ---> python-tools-install.sh [Pipeline] echo [2023-12-15T05:46:59.328Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-12-15T05:46:59.635Z] ---> sudo-logs.sh [2023-12-15T05:46:59.635Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-12-15T05:46:59.772Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-12-15T05:47:00.080Z] ---> job-cost.sh [2023-12-15T05:47:00.080Z] lf-activate-venv: SKIPPING [2023-12-15T05:47:00.080Z] DEBUG: total: 0.2199999988079071 [2023-12-15T05:47:00.080Z] INFO: Retrieving Stack Cost... [2023-12-15T05:47:00.340Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-12-15T05:47:00.908Z] INFO: Archiving Costs [Pipeline] echo [2023-12-15T05:47:00.945Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-12-15T05:47:01.255Z] ---> logs-deploy.sh [2023-12-15T05:47:01.255Z] lf-activate-venv: SKIPPING [2023-12-15T05:47:01.255Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-533/1 [2023-12-15T05:47:01.255Z] INFO: archiving workspace using pattern(s): [2023-12-15T05:47:02.207Z] Archives upload complete. [2023-12-15T05:47:02.207Z] INFO: archiving logs to Nexus