Pull request #557 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from a9394f63f6c0c144b743431c16b8db4b3f15c990+f7c28725686cbfd62f6225fd09367d5909216c89 (8060cc06887bc79d6e16b5ad9f273f25572c4f19) 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-ssh7492457872961794323.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 590556114a56c6d90cc8043840e039c2f74196dc 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-ssh12736509794891929502.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 590556114a56c6d90cc8043840e039c2f74196dc 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-557/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-557/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14085698683763304918.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-557/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh4379885205051627471.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 590556114a56c6d90cc8043840e039c2f74196dc (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 590556114a56c6d90cc8043840e039c2f74196dc # timeout=10 Commit message: "Merge pull request #451 from jinlinGuan/fix-snyk" > 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-ssh15721309748350541083.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-557/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-557/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh13010855014788816845.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 590556114a56c6d90cc8043840e039c2f74196dc 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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-4769 in /w/workspace/xfoundry_device-modbus-go_PR-557 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-modbus-go.git > git init /w/workspace/xfoundry_device-modbus-go_PR-557 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/557/head:refs/remotes/origin/PR-557 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit f7c28725686cbfd62f6225fd09367d5909216c89 into PR head commit a9394f63f6c0c144b743431c16b8db4b3f15c990 Merge succeeded, producing a9394f63f6c0c144b743431c16b8db4b3f15c990 Checking out Revision a9394f63f6c0c144b743431c16b8db4b3f15c990 (PR-557) 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 590556114a56c6d90cc8043840e039c2f74196dc > git config core.sparsecheckout # timeout=10 > git checkout -f a9394f63f6c0c144b743431c16b8db4b3f15c990 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge f7c28725686cbfd62f6225fd09367d5909216c89 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a9394f63f6c0c144b743431c16b8db4b3f15c990 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-07-02T05:33:22.295Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-07-02T05:33:22.516Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-07-02T05:33:22.647Z] ========================================================= [2024-07-02T05:33:22.647Z] EdgeX Global Pipelines Version Info [2024-07-02T05:33:22.647Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-07-02T05:33:23.433Z] ------------------- [2024-07-02T05:33:23.433Z] stable info: [2024-07-02T05:33:23.433Z] ------------------- [2024-07-02T05:33:23.433Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-07-02T05:33:23.433Z] Commit SHA: 590556114a56c6d90cc8043840e039c2f74196dc [2024-07-02T05:33:23.433Z] Message: update stable to v1.0.260 [2024-07-02T05:33:24.005Z] ------------------- [2024-07-02T05:33:24.005Z] experimental info: [2024-07-02T05:33:24.005Z] ------------------- [2024-07-02T05:33:24.005Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-07-02T05:33:24.005Z] Commit SHA: f5e0e1f8358a839901f1a476b3a28a62f8570917 [2024-07-02T05:33:24.005Z] Message: update experimental to v1.0.259 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-07-02T05:33:24.244Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo [2024-07-02T05:33:24.303Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo [2024-07-02T05:33:24.361Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-07-02T05:33:24.418Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-07-02T05:33:24.472Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-07-02T05:33:24.528Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2024-07-02T05:33:24.585Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-07-02T05:33:24.646Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2024-07-02T05:33:24.708Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-07-02T05:33:24.765Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-07-02T05:33:24.832Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-07-02T05:33:24.890Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo [2024-07-02T05:33:24.947Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-07-02T05:33:25.002Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-07-02T05:33:25.062Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-07-02T05:33:25.117Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2024-07-02T05:33:25.175Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-07-02T05:33:25.234Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-07-02T05:33:25.292Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-07-02T05:33:25.352Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-07-02T05:33:25.415Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2024-07-02T05:33:25.473Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2024-07-02T05:33:25.532Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-07-02T05:33:25.592Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-07-02T05:33:25.737Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-07-02T05:33:25.795Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-07-02T05:33:25.850Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-07-02T05:33:25.908Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-557 [Pipeline] echo [2024-07-02T05:33:25.964Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-557 [Pipeline] echo [2024-07-02T05:33:26.025Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-557 [Pipeline] echo [2024-07-02T05:33:26.091Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = a9394f63f6c0c144b743431c16b8db4b3f15c990 [Pipeline] echo [2024-07-02T05:33:26.153Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = a9394f6 [Pipeline] echo [2024-07-02T05:33:26.210Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-07-02T05:33:26.366Z] provisioning config files... [2024-07-02T05:33:26.383Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-557@tmp/config17936011823768051849tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-07-02T05:33:26.777Z] ---> ****-login.sh [2024-07-02T05:33:26.777Z] nexus3.edgexfoundry.org:10001 [2024-07-02T05:33:27.067Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-02T05:33:27.067Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-02T05:33:27.067Z] Configure a credential helper to remove this warning. See [2024-07-02T05:33:27.067Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-02T05:33:27.067Z] [2024-07-02T05:33:27.067Z] Login Succeeded [2024-07-02T05:33:27.067Z] nexus3.edgexfoundry.org:10002 [2024-07-02T05:33:27.068Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-02T05:33:27.333Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-02T05:33:27.333Z] Configure a credential helper to remove this warning. See [2024-07-02T05:33:27.334Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-02T05:33:27.334Z] [2024-07-02T05:33:27.334Z] Login Succeeded [2024-07-02T05:33:27.334Z] nexus3.edgexfoundry.org:10003 [2024-07-02T05:33:27.334Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-02T05:33:27.334Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-02T05:33:27.334Z] Configure a credential helper to remove this warning. See [2024-07-02T05:33:27.334Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-02T05:33:27.334Z] [2024-07-02T05:33:27.334Z] Login Succeeded [2024-07-02T05:33:27.334Z] nexus3.edgexfoundry.org:10004 [2024-07-02T05:33:27.334Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-02T05:33:27.597Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-02T05:33:27.597Z] Configure a credential helper to remove this warning. See [2024-07-02T05:33:27.597Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-02T05:33:27.597Z] [2024-07-02T05:33:27.597Z] Login Succeeded [2024-07-02T05:33:27.597Z] ****.io [2024-07-02T05:33:27.597Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-02T05:33:27.860Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-02T05:33:27.860Z] Configure a credential helper to remove this warning. See [2024-07-02T05:33:27.860Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-02T05:33:27.860Z] [2024-07-02T05:33:27.860Z] Login Succeeded [2024-07-02T05:33:27.860Z] ---> ****-login.sh ends [Pipeline] } [2024-07-02T05:33:27.891Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-07-02T05:33:28.619Z] + git rev-list -1 --merges a9394f63f6c0c144b743431c16b8db4b3f15c990~1..a9394f63f6c0c144b743431c16b8db4b3f15c990 [Pipeline] echo [2024-07-02T05:33:28.675Z] -----------> git rev-list -1 --merges a9394f63f6c0c144b743431c16b8db4b3f15c990~1..a9394f63f6c0c144b743431c16b8db4b3f15c990 a9394f63f6c0c144b743431c16b8db4b3f15c990 [false] [Pipeline] sh [2024-07-02T05:33:28.998Z] + git log --format=format:%s -1 a9394f63f6c0c144b743431c16b8db4b3f15c990 [Pipeline] echo [2024-07-02T05:33:29.040Z] ========================================================= [2024-07-02T05:33:29.040Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-07-02T05:33:29.040Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-07-02T05:33:29.500Z] + git log --format=format:%s -1 a9394f63f6c0c144b743431c16b8db4b3f15c990 [Pipeline] echo [2024-07-02T05:33:29.539Z] [semverPrep] GIT_COMMIT: a9394f63f6c0c144b743431c16b8db4b3f15c990, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo [2024-07-02T05:33:29.583Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-07-02T05:33:30.010Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-07-02T05:33:30.011Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-07-02T05:33:30.011Z] + [ -e /tmp/ssh_known_hosts ] [2024-07-02T05:33:30.011Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-07-02T05:33:30.011Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-07-02T05:33:30.011Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2024-07-02T05:33:30.011Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-02T05:33:30.563Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-07-02T05:33:30.563Z] [2024-07-02T05:33:30.563Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-02T05:33:31.013Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-07-02T05:33:31.013Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-07-02T05:33:31.013Z] b85a868b505f: Pulling fs layer [2024-07-02T05:33:31.013Z] e2be974225ed: Pulling fs layer [2024-07-02T05:33:31.013Z] 339a4e72a1f5: Pulling fs layer [2024-07-02T05:33:31.013Z] 988bab9f4d93: Pulling fs layer [2024-07-02T05:33:31.013Z] 1469e6f7b9e6: Pulling fs layer [2024-07-02T05:33:31.013Z] eaf3925da568: Pulling fs layer [2024-07-02T05:33:31.013Z] bab4dde63d76: Pulling fs layer [2024-07-02T05:33:31.013Z] bde34c3a00c8: Pulling fs layer [2024-07-02T05:33:31.013Z] b352a97aabf1: Pulling fs layer [2024-07-02T05:33:31.013Z] 4872d77fe225: Pulling fs layer [2024-07-02T05:33:31.013Z] 5851b861e8e6: Pulling fs layer [2024-07-02T05:33:31.013Z] 1469e6f7b9e6: Waiting [2024-07-02T05:33:31.013Z] 988bab9f4d93: Waiting [2024-07-02T05:33:31.013Z] eaf3925da568: Waiting [2024-07-02T05:33:31.014Z] bab4dde63d76: Waiting [2024-07-02T05:33:31.014Z] bde34c3a00c8: Waiting [2024-07-02T05:33:31.014Z] b352a97aabf1: Waiting [2024-07-02T05:33:31.014Z] 5851b861e8e6: Waiting [2024-07-02T05:33:31.014Z] 4872d77fe225: Waiting [2024-07-02T05:33:31.014Z] e2be974225ed: Download complete [2024-07-02T05:33:31.014Z] 988bab9f4d93: Download complete [2024-07-02T05:33:31.014Z] 1469e6f7b9e6: Verifying Checksum [2024-07-02T05:33:31.014Z] 1469e6f7b9e6: Download complete [2024-07-02T05:33:31.014Z] 339a4e72a1f5: Verifying Checksum [2024-07-02T05:33:31.014Z] 339a4e72a1f5: Download complete [2024-07-02T05:33:31.014Z] eaf3925da568: Download complete [2024-07-02T05:33:31.275Z] bde34c3a00c8: Verifying Checksum [2024-07-02T05:33:31.275Z] bde34c3a00c8: Download complete [2024-07-02T05:33:31.275Z] b352a97aabf1: Download complete [2024-07-02T05:33:31.275Z] 4872d77fe225: Download complete [2024-07-02T05:33:31.275Z] 5851b861e8e6: Verifying Checksum [2024-07-02T05:33:31.275Z] 5851b861e8e6: Download complete [2024-07-02T05:33:31.275Z] b85a868b505f: Verifying Checksum [2024-07-02T05:33:31.275Z] b85a868b505f: Download complete [2024-07-02T05:33:31.535Z] bab4dde63d76: Verifying Checksum [2024-07-02T05:33:31.535Z] bab4dde63d76: Download complete [2024-07-02T05:33:32.471Z] b85a868b505f: Pull complete [2024-07-02T05:33:32.730Z] e2be974225ed: Pull complete [2024-07-02T05:33:32.990Z] 339a4e72a1f5: Pull complete [2024-07-02T05:33:32.990Z] 988bab9f4d93: Pull complete [2024-07-02T05:33:33.249Z] 1469e6f7b9e6: Pull complete [2024-07-02T05:33:33.509Z] eaf3925da568: Pull complete [2024-07-02T05:33:35.426Z] bab4dde63d76: Pull complete [2024-07-02T05:33:35.426Z] bde34c3a00c8: Pull complete [2024-07-02T05:33:35.426Z] b352a97aabf1: Pull complete [2024-07-02T05:33:35.426Z] 4872d77fe225: Pull complete [2024-07-02T05:33:35.426Z] 5851b861e8e6: Pull complete [2024-07-02T05:33:35.426Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-07-02T05:33:35.688Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-07-02T05:33:35.688Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-02T05:33:35.998Z] prd-ubuntu20.04-docker-8c-8g-4769 does not seem to be running inside a container [2024-07-02T05:33:36.024Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-557 -v /w/workspace/xfoundry_device-modbus-go_PR-557:/w/workspace/xfoundry_device-modbus-go_PR-557:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-557@tmp:/w/workspace/xfoundry_device-modbus-go_PR-557@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-07-02T05:33:38.052Z] $ docker top e3d10095628ce1899028600d51fe7c4aa386ddc0b5be6c634ccaaa497897ed33 -eo pid,comm [2024-07-02T05:33:38.100Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2024-07-02T05:33:38.100Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-07-02T05:33:38.271Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-07-02T05:33:38.271Z] [ssh-agent] Looking for ssh-agent implementation... [2024-07-02T05:33:38.381Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-07-02T05:33:38.383Z] $ docker exec e3d10095628ce1899028600d51fe7c4aa386ddc0b5be6c634ccaaa497897ed33 ssh-agent [2024-07-02T05:33:38.482Z] SSH_AUTH_SOCK=/tmp/ssh-NUHIPbgZE536/agent.33 [2024-07-02T05:33:38.482Z] SSH_AGENT_PID=39 [2024-07-02T05:33:38.487Z] Running ssh-add (command line suppressed) [2024-07-02T05:33:38.598Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-557@tmp/private_key_9189544239605364163.key (/w/workspace/xfoundry_device-modbus-go_PR-557@tmp/private_key_9189544239605364163.key) [2024-07-02T05:33:38.611Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-07-02T05:33:38.968Z] + git tag --points-at HEAD [Pipeline] } [2024-07-02T05:33:38.997Z] $ docker exec --env ******** --env ******** e3d10095628ce1899028600d51fe7c4aa386ddc0b5be6c634ccaaa497897ed33 ssh-agent -k [2024-07-02T05:33:39.091Z] unset SSH_AUTH_SOCK; [2024-07-02T05:33:39.091Z] unset SSH_AGENT_PID; [2024-07-02T05:33:39.091Z] echo Agent pid 39 killed; [2024-07-02T05:33:39.100Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-07-02T05:33:39.230Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-07-02T05:33:39.230Z] [ssh-agent] Looking for ssh-agent implementation... [2024-07-02T05:33:39.342Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-07-02T05:33:39.344Z] $ docker exec e3d10095628ce1899028600d51fe7c4aa386ddc0b5be6c634ccaaa497897ed33 ssh-agent [2024-07-02T05:33:39.450Z] SSH_AUTH_SOCK=/tmp/ssh-KfXCv23hT4JL/agent.72 [2024-07-02T05:33:39.450Z] SSH_AGENT_PID=78 [2024-07-02T05:33:39.453Z] Running ssh-add (command line suppressed) [2024-07-02T05:33:39.557Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-557@tmp/private_key_11273376242528653546.key (/w/workspace/xfoundry_device-modbus-go_PR-557@tmp/private_key_11273376242528653546.key) [2024-07-02T05:33:39.572Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-07-02T05:33:39.918Z] + git semver init [2024-07-02T05:33:40.182Z] 2024-07-02 05:33:40,115 [run_init] DEBUG init version:0.0.0 force:False [2024-07-02T05:33:40.182Z] 2024-07-02 05:33:40,116 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-modbus-go_PR-557/.semver [2024-07-02T05:33:40.182Z] 2024-07-02 05:33:40,116 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/xfoundry_device-modbus-go_PR-557/.semver [2024-07-02T05:33:40.182Z] 2024-07-02 05:33:40,116 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/xfoundry_device-modbus-go_PR-557/.semver'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-557, universal_newlines=False, shell=None, istream=None) [2024-07-02T05:33:41.129Z] 2024-07-02 05:33:41,074 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-modbus-go_PR-557/.git/info/exclude [2024-07-02T05:33:41.129Z] 2024-07-02 05:33:41,075 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-modbus-go_PR-557/.semver/PR-557 with force:False [2024-07-02T05:33:41.129Z] 2024-07-02 05:33:41,075 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-modbus-go_PR-557/.semver/PR-557 [2024-07-02T05:33:41.129Z] 2024-07-02 05:33:41,080 [execute] INFO git cat-file --batch-check [2024-07-02T05:33:41.129Z] 2024-07-02 05:33:41,081 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-557/.semver, universal_newlines=False, shell=None, istream=) [2024-07-02T05:33:41.129Z] 2024-07-02 05:33:41,088 [execute] INFO git cat-file --batch [2024-07-02T05:33:41.129Z] 2024-07-02 05:33:41,088 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-557/.semver, universal_newlines=False, shell=None, istream=) [2024-07-02T05:33:41.129Z] 2024-07-02 05:33:41,094 [read_version] DEBUG read version from /w/workspace/xfoundry_device-modbus-go_PR-557/.semver/PR-557 [2024-07-02T05:33:41.129Z] 0.0.0 [Pipeline] } [2024-07-02T05:33:41.157Z] $ docker exec --env ******** --env ******** e3d10095628ce1899028600d51fe7c4aa386ddc0b5be6c634ccaaa497897ed33 ssh-agent -k [2024-07-02T05:33:41.259Z] unset SSH_AUTH_SOCK; [2024-07-02T05:33:41.259Z] unset SSH_AGENT_PID; [2024-07-02T05:33:41.259Z] echo Agent pid 78 killed; [2024-07-02T05:33:41.270Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-07-02T05:33:41.737Z] + git semver [Pipeline] } [2024-07-02T05:33:42.024Z] $ docker stop --time=1 e3d10095628ce1899028600d51fe7c4aa386ddc0b5be6c634ccaaa497897ed33 [2024-07-02T05:33:43.348Z] $ docker rm -f --volumes e3d10095628ce1899028600d51fe7c4aa386ddc0b5be6c634ccaaa497897ed33 [Pipeline] // withDockerContainer [Pipeline] sh [2024-07-02T05:33:43.764Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-07-02T05:33:44.073Z] Stashed 1 file(s) [Pipeline] echo [2024-07-02T05:33:44.097Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-07-02T05:33:44.985Z] provisioning config files... [2024-07-02T05:33:44.994Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-557@tmp/config17316007785620678010tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-07-02T05:33:45.371Z] ---> ****-login.sh [2024-07-02T05:33:45.371Z] nexus3.edgexfoundry.org:10001 [2024-07-02T05:33:45.371Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-02T05:33:45.371Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-02T05:33:45.371Z] Configure a credential helper to remove this warning. See [2024-07-02T05:33:45.371Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-02T05:33:45.371Z] [2024-07-02T05:33:45.371Z] Login Succeeded [2024-07-02T05:33:45.371Z] nexus3.edgexfoundry.org:10002 [2024-07-02T05:33:45.371Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-02T05:33:45.371Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-02T05:33:45.371Z] Configure a credential helper to remove this warning. See [2024-07-02T05:33:45.371Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-02T05:33:45.371Z] [2024-07-02T05:33:45.372Z] Login Succeeded [2024-07-02T05:33:45.372Z] nexus3.edgexfoundry.org:10003 [2024-07-02T05:33:45.631Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-02T05:33:45.631Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-02T05:33:45.631Z] Configure a credential helper to remove this warning. See [2024-07-02T05:33:45.631Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-02T05:33:45.631Z] [2024-07-02T05:33:45.631Z] Login Succeeded [2024-07-02T05:33:45.631Z] nexus3.edgexfoundry.org:10004 [2024-07-02T05:33:45.631Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-02T05:33:45.631Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-02T05:33:45.631Z] Configure a credential helper to remove this warning. See [2024-07-02T05:33:45.632Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-02T05:33:45.632Z] [2024-07-02T05:33:45.632Z] Login Succeeded [2024-07-02T05:33:45.632Z] ****.io [2024-07-02T05:33:45.632Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-02T05:33:45.890Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-02T05:33:45.890Z] Configure a credential helper to remove this warning. See [2024-07-02T05:33:45.890Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-02T05:33:45.890Z] [2024-07-02T05:33:45.890Z] Login Succeeded [2024-07-02T05:33:45.890Z] ---> ****-login.sh ends [Pipeline] } [2024-07-02T05:33:45.922Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-07-02T05:33:46.184Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-07-02T05:33:46.248Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-07-02T05:33:46.295Z] ========================================================= [2024-07-02T05:33:46.295Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2024-07-02T05:33:46.295Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-02T05:33:46.851Z] + 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 . [2024-07-02T05:33:46.851Z] Sending build context to Docker daemon 17.84MB [2024-07-02T05:33:46.851Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2024-07-02T05:33:46.851Z] Step 2/10 : FROM ${BASE} AS builder [2024-07-02T05:33:46.851Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2024-07-02T05:33:46.851Z] 619be1103602: Pulling fs layer [2024-07-02T05:33:46.851Z] 7862e08f4a3e: Pulling fs layer [2024-07-02T05:33:46.851Z] 5df492c9dc93: Pulling fs layer [2024-07-02T05:33:46.851Z] 7629e6793208: Pulling fs layer [2024-07-02T05:33:46.851Z] 4f4fb700ef54: Pulling fs layer [2024-07-02T05:33:46.851Z] 7629e6793208: Waiting [2024-07-02T05:33:46.851Z] fb5054dd5b73: Pulling fs layer [2024-07-02T05:33:46.851Z] eeca6798cff9: Pulling fs layer [2024-07-02T05:33:46.851Z] aa269ceb94a6: Pulling fs layer [2024-07-02T05:33:46.851Z] ada007ff1a6a: Pulling fs layer [2024-07-02T05:33:46.851Z] 4f4fb700ef54: Waiting [2024-07-02T05:33:46.851Z] eeca6798cff9: Waiting [2024-07-02T05:33:46.851Z] aa269ceb94a6: Waiting [2024-07-02T05:33:46.851Z] ada007ff1a6a: Waiting [2024-07-02T05:33:46.851Z] fb5054dd5b73: Waiting [2024-07-02T05:33:47.116Z] 7862e08f4a3e: Verifying Checksum [2024-07-02T05:33:47.116Z] 7862e08f4a3e: Download complete [2024-07-02T05:33:47.117Z] 7629e6793208: Verifying Checksum [2024-07-02T05:33:47.117Z] 7629e6793208: Download complete [2024-07-02T05:33:47.117Z] 4f4fb700ef54: Verifying Checksum [2024-07-02T05:33:47.117Z] 4f4fb700ef54: Download complete [2024-07-02T05:33:47.117Z] fb5054dd5b73: Verifying Checksum [2024-07-02T05:33:47.117Z] fb5054dd5b73: Download complete [2024-07-02T05:33:47.117Z] 619be1103602: Verifying Checksum [2024-07-02T05:33:47.117Z] 619be1103602: Download complete [2024-07-02T05:33:47.117Z] eeca6798cff9: Verifying Checksum [2024-07-02T05:33:47.117Z] eeca6798cff9: Download complete [2024-07-02T05:33:47.117Z] 619be1103602: Pull complete [2024-07-02T05:33:47.376Z] ada007ff1a6a: Verifying Checksum [2024-07-02T05:33:47.377Z] ada007ff1a6a: Download complete [2024-07-02T05:33:47.377Z] 7862e08f4a3e: Pull complete [2024-07-02T05:33:47.377Z] 5df492c9dc93: Download complete [2024-07-02T05:33:47.636Z] aa269ceb94a6: Verifying Checksum [2024-07-02T05:33:47.636Z] aa269ceb94a6: Download complete [2024-07-02T05:33:50.935Z] 5df492c9dc93: Pull complete [2024-07-02T05:33:50.935Z] 7629e6793208: Pull complete [2024-07-02T05:33:50.935Z] 4f4fb700ef54: Pull complete [2024-07-02T05:33:50.935Z] fb5054dd5b73: Pull complete [2024-07-02T05:33:50.935Z] eeca6798cff9: Pull complete [2024-07-02T05:33:53.468Z] aa269ceb94a6: Pull complete [2024-07-02T05:33:53.727Z] ada007ff1a6a: Pull complete [2024-07-02T05:33:53.727Z] Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 [2024-07-02T05:33:53.727Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2024-07-02T05:33:53.727Z] ---> f489d0715acc [2024-07-02T05:33:53.727Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2024-07-02T05:33:56.265Z] ---> Running in e083b4d214c7 [2024-07-02T05:33:56.266Z] Removing intermediate container e083b4d214c7 [2024-07-02T05:33:56.266Z] ---> a09054d30233 [2024-07-02T05:33:56.266Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-07-02T05:33:56.266Z] ---> Running in 73789878fa06 [2024-07-02T05:33:56.266Z] Removing intermediate container 73789878fa06 [2024-07-02T05:33:56.266Z] ---> 80129dca05e3 [2024-07-02T05:33:56.266Z] Step 5/10 : RUN apk add --update --no-cache make git openssh [2024-07-02T05:33:56.266Z] ---> Running in 44ba3004ebf5 [2024-07-02T05:33:56.266Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-07-02T05:33:56.837Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-07-02T05:33:56.837Z] (1/8) Installing openssh-keygen (9.3_p2-r1) [2024-07-02T05:33:56.837Z] (2/8) Installing libedit (20221030.3.1-r1) [2024-07-02T05:33:56.837Z] (3/8) Installing openssh-client-common (9.3_p2-r1) [2024-07-02T05:33:56.837Z] (4/8) Installing openssh-client-default (9.3_p2-r1) [2024-07-02T05:33:56.837Z] (5/8) Installing openssh-sftp-server (9.3_p2-r1) [2024-07-02T05:33:56.837Z] (6/8) Installing openssh-server-common (9.3_p2-r1) [2024-07-02T05:33:56.837Z] (7/8) Installing openssh-server (9.3_p2-r1) [2024-07-02T05:33:57.098Z] (8/8) Installing openssh (9.3_p2-r1) [2024-07-02T05:33:57.098Z] Executing busybox-1.36.1-r5.trigger [2024-07-02T05:33:57.098Z] OK: 270 MiB in 60 packages [2024-07-02T05:33:57.358Z] Removing intermediate container 44ba3004ebf5 [2024-07-02T05:33:57.358Z] ---> 436b2177699c [2024-07-02T05:33:57.358Z] Step 6/10 : WORKDIR /device-modbus-go [2024-07-02T05:33:57.358Z] ---> Running in 6a4453d2fd60 [2024-07-02T05:33:57.619Z] Removing intermediate container 6a4453d2fd60 [2024-07-02T05:33:57.619Z] ---> 6fcb40cad154 [2024-07-02T05:33:57.619Z] Step 7/10 : COPY go.mod vendor* ./ [2024-07-02T05:33:57.619Z] ---> ba140d382abc [2024-07-02T05:33:57.619Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-07-02T05:33:57.619Z] ---> Running in 24c58477fa03 [2024-07-02T05:33:59.772Z] Still waiting to schedule task [2024-07-02T05:33:59.772Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2024-07-02T05:34:53.881Z] Removing intermediate container 24c58477fa03 [2024-07-02T05:34:53.881Z] ---> f6a3e1b4035b [2024-07-02T05:34:53.881Z] Step 9/10 : COPY . . [2024-07-02T05:34:53.881Z] ---> 54786d446031 [2024-07-02T05:34:53.881Z] Step 10/10 : RUN ${MAKE} [2024-07-02T05:34:53.881Z] ---> Running in 6ca4ebdc68a8 [2024-07-02T05:34:53.881Z] noop [2024-07-02T05:34:53.881Z] Removing intermediate container 6ca4ebdc68a8 [2024-07-02T05:34:53.881Z] ---> e2cae4008271 [2024-07-02T05:34:53.881Z] Successfully built e2cae4008271 [2024-07-02T05:34:53.881Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-02T05:34:54.376Z] + docker inspect -f . ci-base-image-x86_64 [2024-07-02T05:34:54.376Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-02T05:34:54.549Z] prd-ubuntu20.04-docker-8c-8g-4769 does not seem to be running inside a container [2024-07-02T05:34:54.577Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-557 -v /w/workspace/xfoundry_device-modbus-go_PR-557:/w/workspace/xfoundry_device-modbus-go_PR-557:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-557@tmp:/w/workspace/xfoundry_device-modbus-go_PR-557@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-07-02T05:34:54.957Z] $ docker top d3159ddea5dba5d4fe7e89ed0560207344c78944cad4418f27a10a92d6d24748 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-07-02T05:34:55.380Z] + go version [2024-07-02T05:34:55.380Z] go version go1.21.9 linux/amd64 [Pipeline] } [2024-07-02T05:34:55.414Z] $ docker stop --time=1 d3159ddea5dba5d4fe7e89ed0560207344c78944cad4418f27a10a92d6d24748 [2024-07-02T05:34:56.652Z] $ docker rm -f --volumes d3159ddea5dba5d4fe7e89ed0560207344c78944cad4418f27a10a92d6d24748 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-02T05:34:57.479Z] + docker inspect -f . ci-base-image-x86_64 [2024-07-02T05:34:57.479Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-02T05:34:57.661Z] prd-ubuntu20.04-docker-8c-8g-4769 does not seem to be running inside a container [2024-07-02T05:34:57.685Z] $ 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-557 -v /w/workspace/xfoundry_device-modbus-go_PR-557:/w/workspace/xfoundry_device-modbus-go_PR-557:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-557@tmp:/w/workspace/xfoundry_device-modbus-go_PR-557@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-07-02T05:34:58.038Z] $ docker top 2985d96b67f12d5f36e4fdda5c2e29685d79db13e64a38efc7a6cbf3c95693ad -eo pid,comm [Pipeline] { [Pipeline] sh [2024-07-02T05:34:58.454Z] + git config --global --add safe.directory /w/workspace/xfoundry_device-modbus-go_PR-557 [Pipeline] fileExists [Pipeline] sh [2024-07-02T05:34:58.830Z] + make test [2024-07-02T05:34:58.830Z] go test ./... -coverprofile=coverage.out [2024-07-02T05:35:00.205Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2024-07-02T05:35:22.149Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2024-07-02T05:35:22.149Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.011s coverage: 47.9% of statements [2024-07-02T05:35:28.704Z] go vet ./... [2024-07-02T05:35:33.939Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-4771 in /w/workspace/xfoundry_device-modbus-go_PR-557 [Pipeline] { [2024-07-02T05:35:33.966Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-07-02T05:35:33.966Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-07-02T05:35:33.966Z] ./bin/test-attribution-txt.sh [2024-07-02T05:35:33.966Z] An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add [2024-07-02T05:35:33.966Z] An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add [2024-07-02T05:35:33.966Z] An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add [2024-07-02T05:35:33.966Z] An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add [2024-07-02T05:35:33.966Z] An attribution for github.com/go-jose/go-jose/v4 is missing from Attribution.txt, please add [2024-07-02T05:35:33.966Z] An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add [2024-07-02T05:35:33.966Z] An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add [2024-07-02T05:35:33.966Z] An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add [2024-07-02T05:35:33.966Z] An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add [2024-07-02T05:35:33.966Z] An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add [2024-07-02T05:35:33.966Z] An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add [2024-07-02T05:35:33.966Z] An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add [2024-07-02T05:35:33.966Z] An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add [2024-07-02T05:35:33.966Z] An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add [2024-07-02T05:35:33.966Z] An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add [2024-07-02T05:35:33.966Z] An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add [2024-07-02T05:35:33.966Z] An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add [2024-07-02T05:35:33.966Z] An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add [2024-07-02T05:35:33.966Z] An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add [2024-07-02T05:35:33.966Z] An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add [2024-07-02T05:35:33.966Z] An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add [2024-07-02T05:35:33.966Z] An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add [2024-07-02T05:35:33.966Z] An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add [Pipeline] ws [2024-07-02T05:35:34.040Z] Running in /w/workspace/device-modbus-go/1 [Pipeline] { [Pipeline] checkout [2024-07-02T05:35:34.228Z] An attribution for github.com/josharian/intern is missing from Attribution.txt, please add [2024-07-02T05:35:34.228Z] An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add [2024-07-02T05:35:34.228Z] An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add [2024-07-02T05:35:34.228Z] An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add [2024-07-02T05:35:34.228Z] An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add [2024-07-02T05:35:34.228Z] An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add [2024-07-02T05:35:34.228Z] An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add [2024-07-02T05:35:34.228Z] An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add [2024-07-02T05:35:34.228Z] An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add [2024-07-02T05:35:34.228Z] An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add [2024-07-02T05:35:34.228Z] An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add [2024-07-02T05:35:34.228Z] An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add [2024-07-02T05:35:34.228Z] An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add [2024-07-02T05:35:34.228Z] An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add [2024-07-02T05:35:34.228Z] An attribution for github.com/openziti/identity is missing from Attribution.txt, please add [2024-07-02T05:35:34.228Z] An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add [2024-07-02T05:35:34.228Z] An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add [2024-07-02T05:35:34.228Z] An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add [2024-07-02T05:35:34.228Z] An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add [2024-07-02T05:35:34.228Z] An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add [2024-07-02T05:35:34.228Z] An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add [2024-07-02T05:35:34.228Z] An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add [2024-07-02T05:35:34.228Z] An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add [2024-07-02T05:35:34.228Z] An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add [2024-07-02T05:35:34.228Z] An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add [2024-07-02T05:35:34.228Z] An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add [2024-07-02T05:35:34.228Z] An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add [2024-07-02T05:35:34.228Z] An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add [2024-07-02T05:35:34.228Z] An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add [2024-07-02T05:35:34.228Z] An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add [2024-07-02T05:35:34.228Z] An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add [2024-07-02T05:35:34.228Z] An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add [2024-07-02T05:35:34.228Z] An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add [2024-07-02T05:35:34.228Z] An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add [2024-07-02T05:35:34.228Z] An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add [2024-07-02T05:35:34.228Z] An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add [2024-07-02T05:35:34.228Z] An attribution for golang.org/x/term is missing from Attribution.txt, please add [2024-07-02T05:35:34.228Z] An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [2024-07-02T05:35:34.228Z] An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [2024-07-02T05:35:37.153Z] The recommended git tool is: git [Pipeline] echo [2024-07-02T05:35:37.219Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-07-02T05:35:37.262Z] $ docker stop --time=1 2985d96b67f12d5f36e4fdda5c2e29685d79db13e64a38efc7a6cbf3c95693ad [2024-07-02T05:35:39.922Z] $ docker rm -f --volumes 2985d96b67f12d5f36e4fdda5c2e29685d79db13e64a38efc7a6cbf3c95693ad [Pipeline] // withDockerContainer [Pipeline] sh [2024-07-02T05:35:40.537Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-07-02T05:35:40.611Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2024-07-02T05:35:41.364Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-07-02T05:35:41.683Z] + ls -al . [2024-07-02T05:35:41.683Z] total 264 [2024-07-02T05:35:41.683Z] drwxrwxr-x 9 jenkins jenkins 4096 Jul 2 05:34 . [2024-07-02T05:35:41.683Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 2 05:33 .. [2024-07-02T05:35:41.683Z] -rw-rw-r-- 1 jenkins jenkins 140 Jul 2 05:33 .dockerignore [2024-07-02T05:35:41.683Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 2 05:35 .git [2024-07-02T05:35:41.683Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 2 05:33 .github [2024-07-02T05:35:41.683Z] -rw-rw-r-- 1 jenkins jenkins 266 Jul 2 05:33 .gitignore [2024-07-02T05:35:41.683Z] -rw-rw-r-- 1 jenkins jenkins 41 Jul 2 05:33 .golangci.yml [2024-07-02T05:35:41.683Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 2 05:33 .semver [2024-07-02T05:35:41.683Z] -rw-rw-r-- 1 jenkins jenkins 11101 Jul 2 05:33 Attribution.txt [2024-07-02T05:35:41.683Z] -rw-rw-r-- 1 jenkins jenkins 16388 Jul 2 05:33 CHANGELOG.md [2024-07-02T05:35:41.683Z] -rw-rw-r-- 1 jenkins jenkins 1474 Jul 2 05:33 Dockerfile [2024-07-02T05:35:41.683Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 2 05:33 GOVERNANCE.md [2024-07-02T05:35:41.683Z] -rw-rw-r-- 1 jenkins jenkins 658 Jul 2 05:33 Jenkinsfile [2024-07-02T05:35:41.683Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jul 2 05:33 LICENSE [2024-07-02T05:35:41.683Z] -rw-rw-r-- 1 jenkins jenkins 1942 Jul 2 05:33 Makefile [2024-07-02T05:35:41.683Z] -rw-rw-r-- 1 jenkins jenkins 622 Jul 2 05:33 OWNERS.md [2024-07-02T05:35:41.683Z] -rw-rw-r-- 1 jenkins jenkins 4463 Jul 2 05:33 README.md [2024-07-02T05:35:41.683Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 2 05:33 VERSION [2024-07-02T05:35:41.683Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 2 05:33 bin [2024-07-02T05:35:41.683Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 2 05:33 cmd [2024-07-02T05:35:41.683Z] -rw-r--r-- 1 jenkins jenkins 24601 Jul 2 05:35 coverage.out [2024-07-02T05:35:41.683Z] -rw-rw-r-- 1 jenkins jenkins 7241 Jul 2 05:33 go.mod [2024-07-02T05:35:41.683Z] -rw-rw-r-- 1 jenkins jenkins 102291 Jul 2 05:33 go.sum [2024-07-02T05:35:41.683Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 2 05:33 internal [2024-07-02T05:35:41.683Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 2 05:33 simulator [2024-07-02T05:35:41.683Z] -rw-rw-r-- 1 jenkins jenkins 229 Jul 2 05:33 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-02T05:35:42.114Z] + 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=a9394f63f6c0c144b743431c16b8db4b3f15c990 --label arch=amd64 --label version=0.0.0 . [2024-07-02T05:35:42.114Z] Sending build context to Docker daemon 17.86MB [2024-07-02T05:35:42.114Z] Step 1/23 : ARG BASE=golang:1.21-alpine3.18 [2024-07-02T05:35:42.114Z] Step 2/23 : FROM ${BASE} AS builder [2024-07-02T05:35:42.114Z] ---> e2cae4008271 [2024-07-02T05:35:42.114Z] Step 3/23 : ARG ADD_BUILD_TAGS="" [2024-07-02T05:35:42.373Z] ---> Running in 761a4c595f1c [2024-07-02T05:35:42.373Z] Removing intermediate container 761a4c595f1c [2024-07-02T05:35:42.373Z] ---> a4a1ea7f1af5 [2024-07-02T05:35:42.373Z] Step 4/23 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-07-02T05:35:42.373Z] ---> Running in 8b5eb68508fa [2024-07-02T05:35:42.631Z] Removing intermediate container 8b5eb68508fa [2024-07-02T05:35:42.631Z] ---> a4a7c24d674c [2024-07-02T05:35:42.631Z] Step 5/23 : RUN apk add --update --no-cache make git openssh [2024-07-02T05:35:42.631Z] ---> Running in dafac7f9318f [2024-07-02T05:35:42.890Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-07-02T05:35:43.148Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-07-02T05:35:43.407Z] OK: 270 MiB in 60 packages [2024-07-02T05:35:43.995Z] Removing intermediate container dafac7f9318f [2024-07-02T05:35:43.995Z] ---> 34cd0d18a994 [2024-07-02T05:35:43.995Z] Step 6/23 : WORKDIR /device-modbus-go [2024-07-02T05:35:43.995Z] ---> Running in 3bc7e4130db8 [2024-07-02T05:35:43.995Z] Removing intermediate container 3bc7e4130db8 [2024-07-02T05:35:43.995Z] ---> 77298ce1b3c9 [2024-07-02T05:35:43.995Z] Step 7/23 : COPY go.mod vendor* ./ [2024-07-02T05:35:43.995Z] ---> 6acf8081ad97 [2024-07-02T05:35:43.995Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-07-02T05:35:44.087Z] using credential edgex-jenkins-ssh [2024-07-02T05:35:44.116Z] Cloning the remote Git repository [2024-07-02T05:35:44.253Z] ---> Running in c14e55ca0150 [2024-07-02T05:35:44.821Z] Removing intermediate container c14e55ca0150 [2024-07-02T05:35:44.821Z] ---> 72cb556a61ce [2024-07-02T05:35:44.821Z] Step 9/23 : COPY . . [2024-07-02T05:35:44.165Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2024-07-02T05:35:44.333Z] > git init /w/workspace/device-modbus-go/1 # timeout=10 [2024-07-02T05:35:44.606Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2024-07-02T05:35:44.607Z] > git --version # timeout=10 [2024-07-02T05:35:44.645Z] > git --version # 'git version 2.25.1' [2024-07-02T05:35:44.647Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-07-02T05:35:44.864Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-07-02T05:35:45.385Z] ---> a3d4a27af068 [2024-07-02T05:35:45.385Z] Step 10/23 : RUN ${MAKE} [2024-07-02T05:35:45.385Z] ---> Running in cf2cff8a38b6 [2024-07-02T05:35:45.644Z] 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.19" -trimpath -mod=readonly -o cmd/device-modbus ./cmd [2024-07-02T05:35:46.907Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2024-07-02T05:35:46.929Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-07-02T05:35:48.852Z] Merging remotes/origin/main commit f7c28725686cbfd62f6225fd09367d5909216c89 into PR head commit a9394f63f6c0c144b743431c16b8db4b3f15c990 [2024-07-02T05:35:49.117Z] Merge succeeded, producing a9394f63f6c0c144b743431c16b8db4b3f15c990 [2024-07-02T05:35:49.118Z] Checking out Revision a9394f63f6c0c144b743431c16b8db4b3f15c990 (PR-557) [2024-07-02T05:35:48.169Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2024-07-02T05:35:48.243Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2024-07-02T05:35:48.244Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-07-02T05:35:48.296Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/557/head:refs/remotes/origin/PR-557 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2024-07-02T05:35:48.871Z] > git config core.sparsecheckout # timeout=10 [2024-07-02T05:35:48.943Z] > git checkout -f a9394f63f6c0c144b743431c16b8db4b3f15c990 # timeout=10 [2024-07-02T05:35:49.021Z] > git remote # timeout=10 [2024-07-02T05:35:49.040Z] > git config --get remote.origin.url # timeout=10 [2024-07-02T05:35:49.063Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-07-02T05:35:49.081Z] > git merge f7c28725686cbfd62f6225fd09367d5909216c89 # timeout=10 [2024-07-02T05:35:49.105Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-07-02T05:35:49.125Z] > git config core.sparsecheckout # timeout=10 [2024-07-02T05:35:49.140Z] > git checkout -f a9394f63f6c0c144b743431c16b8db4b3f15c990 # timeout=10 [2024-07-02T05:35:49.739Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" [2024-07-02T05:35:49.794Z] > git --version # timeout=10 [2024-07-02T05:35:49.805Z] > git --version # 'git version 2.25.1' [2024-07-02T05:35:49.817Z] fatal: bad object 590556114a56c6d90cc8043840e039c2f74196dc [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-07-02T05:35:54.719Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-07-02T05:35:54.719Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-07-02T05:35:54.719Z] Dload Upload Total Spent Left Speed [2024-07-02T05:35:54.719Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 94323 0 --:--:-- --:--:-- --:--:-- 95022 [Pipeline] sh [2024-07-02T05:35:55.074Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-07-02T05:35:55.426Z] + + sudosudo tee jq /etc/docker/daemon.new . += {"seccomp-profile": "/etc/docker/seccomp.json"} [2024-07-02T05:35:55.426Z] /etc/docker/daemon.json [2024-07-02T05:35:55.426Z] { [2024-07-02T05:35:55.426Z] "registry-mirrors": [ [2024-07-02T05:35:55.426Z] "https://nexus3.edgexfoundry.org:10001" [2024-07-02T05:35:55.426Z] ], [2024-07-02T05:35:55.426Z] "bip": "10.250.0.254/24", [2024-07-02T05:35:55.426Z] "hosts": [ [2024-07-02T05:35:55.426Z] "tcp://0.0.0.0:5555", [2024-07-02T05:35:55.426Z] "unix:///var/run/docker.sock" [2024-07-02T05:35:55.426Z] ], [2024-07-02T05:35:55.426Z] "mtu": 1458, [2024-07-02T05:35:55.426Z] "selinux-enabled": true, [2024-07-02T05:35:55.426Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-07-02T05:35:55.426Z] } [Pipeline] sh [2024-07-02T05:35:55.775Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-07-02T05:35:56.122Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-07-02T05:36:14.472Z] provisioning config files... [2024-07-02T05:36:14.500Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/1@tmp/config16876930239280086424tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-07-02T05:36:15.005Z] ---> ****-login.sh [2024-07-02T05:36:15.005Z] nexus3.edgexfoundry.org:10001 [2024-07-02T05:36:15.594Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-02T05:36:15.594Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-02T05:36:15.594Z] Configure a credential helper to remove this warning. See [2024-07-02T05:36:15.594Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-02T05:36:15.594Z] [2024-07-02T05:36:15.594Z] Login Succeeded [2024-07-02T05:36:15.594Z] nexus3.edgexfoundry.org:10002 [2024-07-02T05:36:15.861Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-02T05:36:15.861Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-02T05:36:15.861Z] Configure a credential helper to remove this warning. See [2024-07-02T05:36:15.861Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-02T05:36:15.861Z] [2024-07-02T05:36:15.861Z] Login Succeeded [2024-07-02T05:36:16.131Z] nexus3.edgexfoundry.org:10003 [2024-07-02T05:36:16.132Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-02T05:36:16.401Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-02T05:36:16.401Z] Configure a credential helper to remove this warning. See [2024-07-02T05:36:16.401Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-02T05:36:16.401Z] [2024-07-02T05:36:16.401Z] Login Succeeded [2024-07-02T05:36:16.401Z] nexus3.edgexfoundry.org:10004 [2024-07-02T05:36:16.668Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-02T05:36:16.668Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-02T05:36:16.668Z] Configure a credential helper to remove this warning. See [2024-07-02T05:36:16.668Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-02T05:36:16.668Z] [2024-07-02T05:36:16.668Z] Login Succeeded [2024-07-02T05:36:16.668Z] ****.io [2024-07-02T05:36:16.934Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-02T05:36:17.199Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-02T05:36:17.199Z] Configure a credential helper to remove this warning. See [2024-07-02T05:36:17.199Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-02T05:36:17.199Z] [2024-07-02T05:36:17.199Z] Login Succeeded [2024-07-02T05:36:17.199Z] ---> ****-login.sh ends [Pipeline] } [2024-07-02T05:36:17.239Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-07-02T05:36:17.696Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-07-02T05:36:17.750Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-07-02T05:36:17.799Z] Removing intermediate container cf2cff8a38b6 [2024-07-02T05:36:17.799Z] ---> 733f00910aa2 [2024-07-02T05:36:17.799Z] Step 11/23 : FROM alpine:3.18 [2024-07-02T05:36:17.799Z] 3.18: Pulling from library/alpine [2024-07-02T05:36:17.799Z] 73baa7ef167e: Pulling fs layer [2024-07-02T05:36:17.799Z] 73baa7ef167e: Verifying Checksum [2024-07-02T05:36:17.799Z] 73baa7ef167e: Download complete [2024-07-02T05:36:17.799Z] 73baa7ef167e: Pull complete [2024-07-02T05:36:17.799Z] Digest: sha256:1875c923b73448b558132e7d4a44b815d078779ed7a73f76209c6372de95ea8d [2024-07-02T05:36:17.799Z] Status: Downloaded newer image for alpine:3.18 [2024-07-02T05:36:17.799Z] ---> 8fd7cac70a4a [2024-07-02T05:36:17.799Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2024-07-02T05:36:17.799Z] ---> Running in 7a50b42cd445 [2024-07-02T05:36:17.799Z] Removing intermediate container 7a50b42cd445 [2024-07-02T05:36:17.799Z] ---> 8bb38373db10 [2024-07-02T05:36:17.799Z] Step 13/23 : RUN apk add --update --no-cache dumb-init [2024-07-02T05:36:17.799Z] ---> Running in 8b02d2320cf2 [2024-07-02T05:36:17.799Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-07-02T05:36:17.799Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-07-02T05:36:17.799Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-07-02T05:36:17.799Z] Executing busybox-1.36.1-r7.trigger [2024-07-02T05:36:17.799Z] OK: 7 MiB in 16 packages [2024-07-02T05:36:17.799Z] Removing intermediate container 8b02d2320cf2 [2024-07-02T05:36:17.799Z] ---> 5b7de92a0780 [2024-07-02T05:36:17.799Z] Step 14/23 : RUN apk --no-cache upgrade [2024-07-02T05:36:17.799Z] ---> Running in f9954e729baa [2024-07-02T05:36:17.799Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-07-02T05:36:17.799Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-07-02T05:36:17.799Z] (1/2) Upgrading libcrypto3 (3.1.5-r0 -> 3.1.6-r0) [2024-07-02T05:36:17.799Z] (2/2) Upgrading libssl3 (3.1.5-r0 -> 3.1.6-r0) [2024-07-02T05:36:17.799Z] OK: 7 MiB in 16 packages [2024-07-02T05:36:17.799Z] Removing intermediate container f9954e729baa [2024-07-02T05:36:17.799Z] ---> ebfc2ac2b846 [2024-07-02T05:36:17.799Z] Step 15/23 : COPY --from=builder /device-modbus-go/cmd / [2024-07-02T05:36:17.799Z] ---> 4d3a407e1dc1 [2024-07-02T05:36:17.799Z] Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / [2024-07-02T05:36:17.799Z] ---> 77fae121eaf3 [2024-07-02T05:36:17.799Z] Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / [2024-07-02T05:36:17.799Z] ---> a0174528b342 [2024-07-02T05:36:17.799Z] Step 18/23 : EXPOSE 59901 [2024-07-02T05:36:17.799Z] ---> Running in a2033d9a8051 [2024-07-02T05:36:17.799Z] Removing intermediate container a2033d9a8051 [2024-07-02T05:36:17.799Z] ---> d72802d14d50 [2024-07-02T05:36:17.799Z] Step 19/23 : ENTRYPOINT ["/device-modbus"] [2024-07-02T05:36:17.799Z] ---> Running in 2edb361290af [2024-07-02T05:36:17.799Z] Removing intermediate container 2edb361290af [2024-07-02T05:36:17.799Z] ---> 7e40198e48e2 [2024-07-02T05:36:17.799Z] Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2024-07-02T05:36:17.800Z] ========================================================= [2024-07-02T05:36:17.800Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2024-07-02T05:36:17.800Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [2024-07-02T05:36:18.065Z] ---> Running in 452138801ba1 [2024-07-02T05:36:18.065Z] Removing intermediate container 452138801ba1 [2024-07-02T05:36:18.065Z] ---> 1e6db4dbbeab [2024-07-02T05:36:18.065Z] Step 21/23 : LABEL arch=amd64 [2024-07-02T05:36:18.065Z] ---> Running in c77439ef50a8 [2024-07-02T05:36:18.065Z] Removing intermediate container c77439ef50a8 [2024-07-02T05:36:18.065Z] ---> 5d200208a722 [2024-07-02T05:36:18.065Z] Step 22/23 : LABEL git_sha=a9394f63f6c0c144b743431c16b8db4b3f15c990 [Pipeline] sh [2024-07-02T05:36:18.326Z] ---> Running in 4c168f80f4fe [2024-07-02T05:36:18.326Z] Removing intermediate container 4c168f80f4fe [2024-07-02T05:36:18.326Z] ---> fd9bb28cf291 [2024-07-02T05:36:18.326Z] Step 23/23 : LABEL version=0.0.0 [2024-07-02T05:36:18.326Z] ---> Running in 62cc342a0e91 [2024-07-02T05:36:18.326Z] Removing intermediate container 62cc342a0e91 [2024-07-02T05:36:18.326Z] ---> 67c6206a0aa4 [2024-07-02T05:36:18.326Z] [Warning] One or more build-args [ARCH] were not consumed [2024-07-02T05:36:18.326Z] Successfully built 67c6206a0aa4 [2024-07-02T05:36:18.326Z] Successfully tagged device-modbus:latest [Pipeline] } [2024-07-02T05:36:18.383Z] + 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 . [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [2024-07-02T05:36:18.653Z] Sending build context to Docker daemon 9.054MB [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] getContext [Pipeline] } [2024-07-02T05:36:18.931Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2024-07-02T05:36:18.931Z] Step 2/10 : FROM ${BASE} AS builder [2024-07-02T05:36:18.931Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-07-02T05:36:18.931Z] c6b39de5b339: Pulling fs layer [2024-07-02T05:36:18.931Z] a69c41024577: Pulling fs layer [2024-07-02T05:36:18.931Z] d6de4b400683: Pulling fs layer [2024-07-02T05:36:18.931Z] 35cb2a7552d0: Pulling fs layer [2024-07-02T05:36:18.931Z] 4f4fb700ef54: Pulling fs layer [2024-07-02T05:36:18.931Z] 464afbd9ba4c: Pulling fs layer [2024-07-02T05:36:18.931Z] 00f215d4a9da: Pulling fs layer [2024-07-02T05:36:18.931Z] d496ad576159: Pulling fs layer [2024-07-02T05:36:18.931Z] 4f4fb700ef54: Waiting [2024-07-02T05:36:18.931Z] 464afbd9ba4c: Waiting [2024-07-02T05:36:18.931Z] 00f215d4a9da: Waiting [2024-07-02T05:36:18.931Z] d496ad576159: Waiting [2024-07-02T05:36:18.931Z] 35cb2a7552d0: Waiting [2024-07-02T05:36:18.931Z] a69c41024577: Verifying Checksum [2024-07-02T05:36:18.931Z] a69c41024577: Download complete [2024-07-02T05:36:18.931Z] 35cb2a7552d0: Verifying Checksum [2024-07-02T05:36:18.931Z] 35cb2a7552d0: Download complete [2024-07-02T05:36:18.931Z] 4f4fb700ef54: Verifying Checksum [2024-07-02T05:36:18.931Z] 4f4fb700ef54: Download complete [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-02T05:36:19.203Z] 464afbd9ba4c: Verifying Checksum [2024-07-02T05:36:19.203Z] 464afbd9ba4c: Download complete [2024-07-02T05:36:19.203Z] c6b39de5b339: Download complete [2024-07-02T05:36:19.475Z] d496ad576159: Verifying Checksum [2024-07-02T05:36:19.475Z] d496ad576159: Download complete [2024-07-02T05:36:19.491Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-07-02T05:36:19.491Z] [2024-07-02T05:36:19.491Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-02T05:36:19.894Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-07-02T05:36:19.895Z] latest: Pulling from edgex-lftools-log-publisher [2024-07-02T05:36:19.895Z] 5eb5b503b376: Pulling fs layer [2024-07-02T05:36:19.895Z] 5c69ac0246d0: Pulling fs layer [2024-07-02T05:36:19.895Z] ec43610c2a17: Pulling fs layer [2024-07-02T05:36:19.895Z] 3a2ae6a8a46f: Pulling fs layer [2024-07-02T05:36:19.895Z] 33b1e0a273af: Pulling fs layer [2024-07-02T05:36:19.895Z] 5d3b04190fa2: Pulling fs layer [2024-07-02T05:36:19.895Z] 2f39f015ded8: Pulling fs layer [2024-07-02T05:36:19.895Z] 3a2ae6a8a46f: Waiting [2024-07-02T05:36:19.895Z] 33b1e0a273af: Waiting [2024-07-02T05:36:19.895Z] 5d3b04190fa2: Waiting [2024-07-02T05:36:19.895Z] 2f39f015ded8: Waiting [2024-07-02T05:36:19.895Z] 5c69ac0246d0: Verifying Checksum [2024-07-02T05:36:19.895Z] 5c69ac0246d0: Download complete [2024-07-02T05:36:19.895Z] 3a2ae6a8a46f: Verifying Checksum [2024-07-02T05:36:19.895Z] 3a2ae6a8a46f: Download complete [2024-07-02T05:36:19.895Z] 33b1e0a273af: Verifying Checksum [2024-07-02T05:36:19.895Z] 33b1e0a273af: Download complete [2024-07-02T05:36:19.895Z] 5d3b04190fa2: Download complete [2024-07-02T05:36:19.895Z] ec43610c2a17: Verifying Checksum [2024-07-02T05:36:19.895Z] ec43610c2a17: Download complete [2024-07-02T05:36:20.064Z] c6b39de5b339: Pull complete [2024-07-02T05:36:20.163Z] 5eb5b503b376: Verifying Checksum [2024-07-02T05:36:20.163Z] 5eb5b503b376: Download complete [2024-07-02T05:36:20.652Z] a69c41024577: Pull complete [2024-07-02T05:36:20.733Z] 2f39f015ded8: Verifying Checksum [2024-07-02T05:36:20.733Z] 2f39f015ded8: Download complete [2024-07-02T05:36:20.921Z] d6de4b400683: Verifying Checksum [2024-07-02T05:36:20.921Z] d6de4b400683: Download complete [2024-07-02T05:36:21.298Z] 5eb5b503b376: Pull complete [2024-07-02T05:36:21.298Z] 5c69ac0246d0: Pull complete [2024-07-02T05:36:21.865Z] ec43610c2a17: Pull complete [2024-07-02T05:36:21.865Z] 3a2ae6a8a46f: Pull complete [2024-07-02T05:36:21.884Z] 00f215d4a9da: Verifying Checksum [2024-07-02T05:36:21.884Z] 00f215d4a9da: Download complete [2024-07-02T05:36:22.124Z] 33b1e0a273af: Pull complete [2024-07-02T05:36:22.124Z] 5d3b04190fa2: Pull complete [2024-07-02T05:36:26.309Z] 2f39f015ded8: Pull complete [2024-07-02T05:36:26.309Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-07-02T05:36:26.309Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-07-02T05:36:26.309Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-02T05:36:26.577Z] prd-ubuntu20.04-docker-8c-8g-4769 does not seem to be running inside a container [2024-07-02T05:36:26.601Z] $ 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-557 -v /w/workspace/xfoundry_device-modbus-go_PR-557:/w/workspace/xfoundry_device-modbus-go_PR-557:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-557@tmp:/w/workspace/xfoundry_device-modbus-go_PR-557@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-07-02T05:36:29.152Z] $ docker top 2941b2547ade5dcf677f8248734671b303e1d5c24b20be897cde62963befb68e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-07-02T05:36:29.687Z] ---> job-cost.sh [2024-07-02T05:36:29.687Z] lf-activate-venv: SKIPPING [2024-07-02T05:36:29.687Z] INFO: No Stack... [2024-07-02T05:36:29.947Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-07-02T05:36:30.515Z] INFO: Archiving Costs [Pipeline] sh [2024-07-02T05:36:30.839Z] + cat /w/workspace/xfoundry_device-modbus-go_PR-557/archives/cost.csv [2024-07-02T05:36:30.839Z] + cut -d, -f6 [Pipeline] lock [2024-07-02T05:36:30.893Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-modbus-go-PR-557-1-stack-cost] [2024-07-02T05:36:30.900Z] Resource [jenkins-edgexfoundry-device-modbus-go-PR-557-1-stack-cost] did not exist. Created. [2024-07-02T05:36:30.912Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-modbus-go-PR-557-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-07-02T05:36:31.333Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-07-02T05:36:31.389Z] Stashed 1 file(s) [Pipeline] } [2024-07-02T05:36:31.512Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-modbus-go-PR-557-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-07-02T05:36:31.621Z] $ docker stop --time=1 2941b2547ade5dcf677f8248734671b303e1d5c24b20be897cde62963befb68e [2024-07-02T05:36:32.778Z] $ docker rm -f --volumes 2941b2547ade5dcf677f8248734671b303e1d5c24b20be897cde62963befb68e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-07-02T05:36:34.229Z] d6de4b400683: Pull complete [2024-07-02T05:36:34.230Z] 35cb2a7552d0: Pull complete [2024-07-02T05:36:34.230Z] 4f4fb700ef54: Pull complete [2024-07-02T05:36:34.499Z] 464afbd9ba4c: Pull complete [2024-07-02T05:36:44.589Z] 00f215d4a9da: Pull complete [2024-07-02T05:36:44.858Z] d496ad576159: Pull complete [2024-07-02T05:36:44.858Z] Digest: sha256:94db8a0955b4c8a8fb4ef40f1d66dd6a37c55842a5f6085bb7a69a85e2cfc316 [2024-07-02T05:36:44.858Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2024-07-02T05:36:44.858Z] ---> f246e2811388 [2024-07-02T05:36:44.858Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2024-07-02T05:36:45.817Z] ---> Running in 21850fcf1be4 [2024-07-02T05:36:46.084Z] Removing intermediate container 21850fcf1be4 [2024-07-02T05:36:46.084Z] ---> 9d2fcc4f44f5 [2024-07-02T05:36:46.084Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-07-02T05:36:46.084Z] ---> Running in aecec0964dd6 [2024-07-02T05:36:46.354Z] Removing intermediate container aecec0964dd6 [2024-07-02T05:36:46.354Z] ---> 9b0a45fb89e5 [2024-07-02T05:36:46.354Z] Step 5/10 : RUN apk add --update --no-cache make git openssh [2024-07-02T05:36:46.354Z] ---> Running in 1668152ef710 [2024-07-02T05:36:47.769Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-07-02T05:36:48.049Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-07-02T05:36:49.017Z] (1/8) Installing openssh-keygen (9.3_p2-r1) [2024-07-02T05:36:49.018Z] (2/8) Installing libedit (20221030.3.1-r1) [2024-07-02T05:36:49.018Z] (3/8) Installing openssh-client-common (9.3_p2-r1) [2024-07-02T05:36:49.018Z] (4/8) Installing openssh-client-default (9.3_p2-r1) [2024-07-02T05:36:49.018Z] (5/8) Installing openssh-sftp-server (9.3_p2-r1) [2024-07-02T05:36:49.018Z] (6/8) Installing openssh-server-common (9.3_p2-r1) [2024-07-02T05:36:49.018Z] (7/8) Installing openssh-server (9.3_p2-r1) [2024-07-02T05:36:49.018Z] (8/8) Installing openssh (9.3_p2-r1) [2024-07-02T05:36:49.018Z] Executing busybox-1.36.1-r5.trigger [2024-07-02T05:36:49.018Z] OK: 272 MiB in 60 packages [2024-07-02T05:36:50.973Z] Removing intermediate container 1668152ef710 [2024-07-02T05:36:50.973Z] ---> e00a4fe55924 [2024-07-02T05:36:50.973Z] Step 6/10 : WORKDIR /device-modbus-go [2024-07-02T05:36:50.973Z] ---> Running in 2acec90f3ceb [2024-07-02T05:36:51.257Z] Removing intermediate container 2acec90f3ceb [2024-07-02T05:36:51.257Z] ---> 86d4a0766a1f [2024-07-02T05:36:51.257Z] Step 7/10 : COPY go.mod vendor* ./ [2024-07-02T05:36:51.839Z] ---> 263da2ce2da0 [2024-07-02T05:36:51.839Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-07-02T05:36:51.839Z] ---> Running in 7ad980c0d139 [2024-07-02T05:38:43.603Z] Removing intermediate container 7ad980c0d139 [2024-07-02T05:38:43.603Z] ---> 29379e3a2eac [2024-07-02T05:38:43.603Z] Step 9/10 : COPY . . [2024-07-02T05:38:43.603Z] ---> de687e231488 [2024-07-02T05:38:43.603Z] Step 10/10 : RUN ${MAKE} [2024-07-02T05:38:43.603Z] ---> Running in 7afc39b0f672 [2024-07-02T05:38:43.603Z] noop [2024-07-02T05:38:43.603Z] Removing intermediate container 7afc39b0f672 [2024-07-02T05:38:43.603Z] ---> c86684a0e146 [2024-07-02T05:38:43.603Z] Successfully built c86684a0e146 [2024-07-02T05:38:43.603Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-02T05:38:44.098Z] + docker inspect -f . ci-base-image-arm64 [2024-07-02T05:38:44.098Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-02T05:38:44.370Z] prd-ubuntu20.04-docker-arm64-4c-16g-4771 does not seem to be running inside a container [2024-07-02T05:38:44.425Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-07-02T05:38:45.567Z] $ docker top 81e552b8db017510045020699611114206e4f6ddafe676054716d4fc653def88 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-07-02T05:38:46.450Z] + go version [2024-07-02T05:38:46.450Z] go version go1.21.9 linux/arm64 [Pipeline] } [2024-07-02T05:38:46.497Z] $ docker stop --time=1 81e552b8db017510045020699611114206e4f6ddafe676054716d4fc653def88 [2024-07-02T05:38:48.073Z] $ docker rm -f --volumes 81e552b8db017510045020699611114206e4f6ddafe676054716d4fc653def88 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-02T05:38:49.113Z] + docker inspect -f . ci-base-image-arm64 [2024-07-02T05:38:49.113Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-02T05:38:49.389Z] prd-ubuntu20.04-docker-arm64-4c-16g-4771 does not seem to be running inside a container [2024-07-02T05:38:49.454Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-07-02T05:38:50.597Z] $ docker top 544cef696c8a0cbe460adf6f2f8c543492acbb4eafe5af3595a73d5ed387068b -eo pid,comm [Pipeline] { [Pipeline] sh [2024-07-02T05:38:51.172Z] + git config --global --add safe.directory /w/workspace/device-modbus-go/1 [Pipeline] fileExists [Pipeline] sh [2024-07-02T05:38:51.831Z] + make test [2024-07-02T05:38:51.831Z] go test ./... -coverprofile=coverage.out [2024-07-02T05:38:58.468Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2024-07-02T05:42:05.240Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2024-07-02T05:42:07.170Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.057s coverage: 47.9% of statements [2024-07-02T05:42:08.566Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2024-07-02T05:42:08.566Z] go vet ./... [2024-07-02T05:42:55.375Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-07-02T05:42:55.375Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-07-02T05:42:55.375Z] ./bin/test-attribution-txt.sh [2024-07-02T05:42:55.375Z] An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add [2024-07-02T05:42:55.375Z] An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add [2024-07-02T05:42:55.375Z] An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add [2024-07-02T05:42:55.375Z] An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add [2024-07-02T05:42:55.375Z] An attribution for github.com/go-jose/go-jose/v4 is missing from Attribution.txt, please add [2024-07-02T05:42:55.375Z] An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add [2024-07-02T05:42:55.375Z] An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add [2024-07-02T05:42:55.375Z] An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add [2024-07-02T05:42:55.375Z] An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add [2024-07-02T05:42:55.375Z] An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add [2024-07-02T05:42:55.375Z] An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add [2024-07-02T05:42:55.375Z] An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add [2024-07-02T05:42:55.375Z] An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add [2024-07-02T05:42:55.375Z] An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add [2024-07-02T05:42:55.375Z] An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add [2024-07-02T05:42:55.375Z] An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add [2024-07-02T05:42:55.375Z] An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add [2024-07-02T05:42:55.375Z] An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add [2024-07-02T05:42:55.375Z] An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add [2024-07-02T05:42:55.375Z] An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add [2024-07-02T05:42:55.375Z] An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add [2024-07-02T05:42:55.375Z] An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add [2024-07-02T05:42:55.375Z] An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add [2024-07-02T05:42:55.375Z] An attribution for github.com/josharian/intern is missing from Attribution.txt, please add [2024-07-02T05:42:55.375Z] An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add [2024-07-02T05:42:55.375Z] An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add [2024-07-02T05:42:55.375Z] An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add [2024-07-02T05:42:55.375Z] An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add [2024-07-02T05:42:55.375Z] An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add [2024-07-02T05:42:55.375Z] An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add [2024-07-02T05:42:55.375Z] An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add [2024-07-02T05:42:55.375Z] An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add [2024-07-02T05:42:55.375Z] An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add [2024-07-02T05:42:55.375Z] An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add [2024-07-02T05:42:55.375Z] An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add [2024-07-02T05:42:55.375Z] An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add [2024-07-02T05:42:55.375Z] An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add [2024-07-02T05:42:55.375Z] An attribution for github.com/openziti/identity is missing from Attribution.txt, please add [2024-07-02T05:42:55.375Z] An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add [2024-07-02T05:42:55.375Z] An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add [2024-07-02T05:42:55.375Z] An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add [2024-07-02T05:42:55.375Z] An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add [2024-07-02T05:42:55.375Z] An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add [2024-07-02T05:42:55.375Z] An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add [2024-07-02T05:42:55.375Z] An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add [2024-07-02T05:42:55.375Z] An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add [2024-07-02T05:42:55.375Z] An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add [2024-07-02T05:42:55.375Z] An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add [2024-07-02T05:42:55.375Z] An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add [2024-07-02T05:42:55.375Z] An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add [2024-07-02T05:42:55.375Z] An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add [2024-07-02T05:42:55.375Z] An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add [2024-07-02T05:42:55.375Z] An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add [2024-07-02T05:42:55.375Z] An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add [2024-07-02T05:42:55.375Z] An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add [2024-07-02T05:42:55.375Z] An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add [2024-07-02T05:42:55.375Z] An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add [2024-07-02T05:42:55.375Z] An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add [2024-07-02T05:42:55.375Z] An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add [2024-07-02T05:42:55.375Z] An attribution for golang.org/x/term is missing from Attribution.txt, please add [2024-07-02T05:42:55.375Z] An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [2024-07-02T05:42:55.375Z] An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo [2024-07-02T05:42:55.421Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-07-02T05:42:55.472Z] $ docker stop --time=1 544cef696c8a0cbe460adf6f2f8c543492acbb4eafe5af3595a73d5ed387068b [2024-07-02T05:42:57.332Z] $ docker rm -f --volumes 544cef696c8a0cbe460adf6f2f8c543492acbb4eafe5af3595a73d5ed387068b [Pipeline] // withDockerContainer [Pipeline] sh [2024-07-02T05:42:58.908Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-07-02T05:42:58.954Z] Warning: overwriting stash ‘coverage-report’ [2024-07-02T05:42:59.402Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-07-02T05:43:00.046Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-07-02T05:43:00.388Z] + ls -al . [2024-07-02T05:43:00.388Z] total 260 [2024-07-02T05:43:00.388Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 2 05:38 . [2024-07-02T05:43:00.388Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 2 05:35 .. [2024-07-02T05:43:00.388Z] -rw-rw-r-- 1 jenkins jenkins 140 Jul 2 05:35 .dockerignore [2024-07-02T05:43:00.388Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 2 05:35 .git [2024-07-02T05:43:00.388Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 2 05:35 .github [2024-07-02T05:43:00.388Z] -rw-rw-r-- 1 jenkins jenkins 266 Jul 2 05:35 .gitignore [2024-07-02T05:43:00.388Z] -rw-rw-r-- 1 jenkins jenkins 41 Jul 2 05:35 .golangci.yml [2024-07-02T05:43:00.388Z] -rw-rw-r-- 1 jenkins jenkins 11101 Jul 2 05:35 Attribution.txt [2024-07-02T05:43:00.388Z] -rw-rw-r-- 1 jenkins jenkins 16388 Jul 2 05:35 CHANGELOG.md [2024-07-02T05:43:00.388Z] -rw-rw-r-- 1 jenkins jenkins 1474 Jul 2 05:35 Dockerfile [2024-07-02T05:43:00.388Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 2 05:35 GOVERNANCE.md [2024-07-02T05:43:00.388Z] -rw-rw-r-- 1 jenkins jenkins 658 Jul 2 05:35 Jenkinsfile [2024-07-02T05:43:00.388Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jul 2 05:35 LICENSE [2024-07-02T05:43:00.388Z] -rw-rw-r-- 1 jenkins jenkins 1942 Jul 2 05:35 Makefile [2024-07-02T05:43:00.388Z] -rw-rw-r-- 1 jenkins jenkins 622 Jul 2 05:35 OWNERS.md [2024-07-02T05:43:00.388Z] -rw-rw-r-- 1 jenkins jenkins 4463 Jul 2 05:35 README.md [2024-07-02T05:43:00.388Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 2 05:33 VERSION [2024-07-02T05:43:00.388Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 2 05:35 bin [2024-07-02T05:43:00.388Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 2 05:35 cmd [2024-07-02T05:43:00.388Z] -rw-r--r-- 1 jenkins jenkins 24601 Jul 2 05:42 coverage.out [2024-07-02T05:43:00.388Z] -rw-rw-r-- 1 jenkins jenkins 7241 Jul 2 05:35 go.mod [2024-07-02T05:43:00.388Z] -rw-rw-r-- 1 jenkins jenkins 102291 Jul 2 05:35 go.sum [2024-07-02T05:43:00.388Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 2 05:35 internal [2024-07-02T05:43:00.388Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 2 05:35 simulator [2024-07-02T05:43:00.388Z] -rw-rw-r-- 1 jenkins jenkins 229 Jul 2 05:35 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-02T05:43:00.834Z] + 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=a9394f63f6c0c144b743431c16b8db4b3f15c990 --label arch=arm64 --label version=0.0.0 . [2024-07-02T05:43:01.103Z] Sending build context to Docker daemon 9.079MB [2024-07-02T05:43:01.375Z] Step 1/23 : ARG BASE=golang:1.21-alpine3.18 [2024-07-02T05:43:01.375Z] Step 2/23 : FROM ${BASE} AS builder [2024-07-02T05:43:01.375Z] ---> c86684a0e146 [2024-07-02T05:43:01.375Z] Step 3/23 : ARG ADD_BUILD_TAGS="" [2024-07-02T05:43:01.375Z] ---> Running in f65565bfd189 [2024-07-02T05:43:01.643Z] Removing intermediate container f65565bfd189 [2024-07-02T05:43:01.643Z] ---> eff089a7cbfc [2024-07-02T05:43:01.643Z] Step 4/23 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-07-02T05:43:01.917Z] ---> Running in 006462a101ef [2024-07-02T05:43:02.186Z] Removing intermediate container 006462a101ef [2024-07-02T05:43:02.186Z] ---> f3ee19c04d07 [2024-07-02T05:43:02.186Z] Step 5/23 : RUN apk add --update --no-cache make git openssh [2024-07-02T05:43:02.186Z] ---> Running in d2a3ea96ebfa [2024-07-02T05:43:03.149Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-07-02T05:43:03.731Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-07-02T05:43:04.315Z] OK: 272 MiB in 60 packages [2024-07-02T05:43:05.276Z] Removing intermediate container d2a3ea96ebfa [2024-07-02T05:43:05.276Z] ---> 0a485c3a709d [2024-07-02T05:43:05.276Z] Step 6/23 : WORKDIR /device-modbus-go [2024-07-02T05:43:05.276Z] ---> Running in 267d92e97936 [2024-07-02T05:43:05.544Z] Removing intermediate container 267d92e97936 [2024-07-02T05:43:05.544Z] ---> 4eb30cc0fc4f [2024-07-02T05:43:05.545Z] Step 7/23 : COPY go.mod vendor* ./ [2024-07-02T05:43:06.132Z] ---> 78aefdcf1f56 [2024-07-02T05:43:06.132Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-07-02T05:43:06.132Z] ---> Running in 5aeb95db3069 [2024-07-02T05:43:08.711Z] Removing intermediate container 5aeb95db3069 [2024-07-02T05:43:08.711Z] ---> 2da5a59ddbd4 [2024-07-02T05:43:08.711Z] Step 9/23 : COPY . . [2024-07-02T05:43:09.671Z] ---> d7a51547c950 [2024-07-02T05:43:09.671Z] Step 10/23 : RUN ${MAKE} [2024-07-02T05:43:09.671Z] ---> Running in 54ba12d4af55 [2024-07-02T05:43:10.632Z] 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.19" -trimpath -mod=readonly -o cmd/device-modbus ./cmd [2024-07-02T05:46:32.399Z] Removing intermediate container 54ba12d4af55 [2024-07-02T05:46:32.399Z] ---> 63297540ea76 [2024-07-02T05:46:32.399Z] Step 11/23 : FROM alpine:3.18 [2024-07-02T05:46:32.399Z] 3.18: Pulling from library/alpine [2024-07-02T05:46:32.399Z] 5c905c7ebe2f: Pulling fs layer [2024-07-02T05:46:32.399Z] 5c905c7ebe2f: Verifying Checksum [2024-07-02T05:46:32.399Z] 5c905c7ebe2f: Download complete [2024-07-02T05:46:32.399Z] 5c905c7ebe2f: Pull complete [2024-07-02T05:46:32.399Z] Digest: sha256:1875c923b73448b558132e7d4a44b815d078779ed7a73f76209c6372de95ea8d [2024-07-02T05:46:32.399Z] Status: Downloaded newer image for alpine:3.18 [2024-07-02T05:46:32.399Z] ---> dec292d02e07 [2024-07-02T05:46:32.399Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2024-07-02T05:46:32.399Z] ---> Running in ac08d560afaf [2024-07-02T05:46:32.399Z] Removing intermediate container ac08d560afaf [2024-07-02T05:46:32.399Z] ---> b8f41fb11d91 [2024-07-02T05:46:32.399Z] Step 13/23 : RUN apk add --update --no-cache dumb-init [2024-07-02T05:46:32.399Z] ---> Running in aed944812fe4 [2024-07-02T05:46:32.399Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-07-02T05:46:32.399Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-07-02T05:46:32.399Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-07-02T05:46:32.399Z] Executing busybox-1.36.1-r7.trigger [2024-07-02T05:46:32.399Z] OK: 8 MiB in 16 packages [2024-07-02T05:46:32.399Z] Removing intermediate container aed944812fe4 [2024-07-02T05:46:32.399Z] ---> 908e737f9e13 [2024-07-02T05:46:32.399Z] Step 14/23 : RUN apk --no-cache upgrade [2024-07-02T05:46:32.399Z] ---> Running in ba577c8ea5c1 [2024-07-02T05:46:32.399Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-07-02T05:46:32.399Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-07-02T05:46:32.399Z] (1/2) Upgrading libcrypto3 (3.1.5-r0 -> 3.1.6-r0) [2024-07-02T05:46:32.399Z] (2/2) Upgrading libssl3 (3.1.5-r0 -> 3.1.6-r0) [2024-07-02T05:46:32.399Z] OK: 8 MiB in 16 packages [2024-07-02T05:46:33.366Z] Removing intermediate container ba577c8ea5c1 [2024-07-02T05:46:33.366Z] ---> f4eaca0edd29 [2024-07-02T05:46:33.366Z] Step 15/23 : COPY --from=builder /device-modbus-go/cmd / [2024-07-02T05:46:34.776Z] ---> d308b6b29bd6 [2024-07-02T05:46:34.776Z] Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / [2024-07-02T05:46:35.357Z] ---> aa5b32e3bc50 [2024-07-02T05:46:35.357Z] Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / [2024-07-02T05:46:35.987Z] ---> 3fa3f2f3d13e [2024-07-02T05:46:35.987Z] Step 18/23 : EXPOSE 59901 [2024-07-02T05:46:35.987Z] ---> Running in ec4ad462345b [2024-07-02T05:46:36.270Z] Removing intermediate container ec4ad462345b [2024-07-02T05:46:36.270Z] ---> f0d40ca33083 [2024-07-02T05:46:36.270Z] Step 19/23 : ENTRYPOINT ["/device-modbus"] [2024-07-02T05:46:36.270Z] ---> Running in e9ec74d8c461 [2024-07-02T05:46:36.557Z] Removing intermediate container e9ec74d8c461 [2024-07-02T05:46:36.557Z] ---> a81090d4b80b [2024-07-02T05:46:36.557Z] Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2024-07-02T05:46:36.851Z] ---> Running in 3a129c62cb67 [2024-07-02T05:46:37.131Z] Removing intermediate container 3a129c62cb67 [2024-07-02T05:46:37.131Z] ---> 39fdc9583833 [2024-07-02T05:46:37.131Z] Step 21/23 : LABEL arch=arm64 [2024-07-02T05:46:37.131Z] ---> Running in b87ed84274cc [2024-07-02T05:46:37.410Z] Removing intermediate container b87ed84274cc [2024-07-02T05:46:37.410Z] ---> 7696c5410728 [2024-07-02T05:46:37.410Z] Step 22/23 : LABEL git_sha=a9394f63f6c0c144b743431c16b8db4b3f15c990 [2024-07-02T05:46:37.410Z] ---> Running in c2d348e38a61 [2024-07-02T05:46:38.001Z] Removing intermediate container c2d348e38a61 [2024-07-02T05:46:38.001Z] ---> b4390c1c7c32 [2024-07-02T05:46:38.001Z] Step 23/23 : LABEL version=0.0.0 [2024-07-02T05:46:38.001Z] ---> Running in e5657a58d468 [2024-07-02T05:46:38.270Z] Removing intermediate container e5657a58d468 [2024-07-02T05:46:38.270Z] ---> 3d3770d52ca6 [2024-07-02T05:46:38.270Z] [Warning] One or more build-args [ARCH] were not consumed [2024-07-02T05:46:38.270Z] Successfully built 3d3770d52ca6 [2024-07-02T05:46:38.270Z] Successfully tagged device-modbus-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-02T05:46:39.191Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-07-02T05:46:39.191Z] [2024-07-02T05:46:39.191Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-02T05:46:39.609Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-07-02T05:46:39.609Z] arm64: Pulling from edgex-lftools-log-publisher [2024-07-02T05:46:39.609Z] 8998bd30e6a1: Pulling fs layer [2024-07-02T05:46:39.609Z] 04944245beec: Pulling fs layer [2024-07-02T05:46:39.609Z] 699f458cf7ca: Pulling fs layer [2024-07-02T05:46:39.609Z] 765212b225bb: Pulling fs layer [2024-07-02T05:46:39.609Z] f23df028b6ca: Pulling fs layer [2024-07-02T05:46:39.609Z] d65c8cfc05b1: Pulling fs layer [2024-07-02T05:46:39.609Z] 2437ff75d9bd: Pulling fs layer [2024-07-02T05:46:39.609Z] 765212b225bb: Waiting [2024-07-02T05:46:39.609Z] f23df028b6ca: Waiting [2024-07-02T05:46:39.609Z] d65c8cfc05b1: Waiting [2024-07-02T05:46:39.609Z] 2437ff75d9bd: Waiting [2024-07-02T05:46:39.876Z] 04944245beec: Verifying Checksum [2024-07-02T05:46:39.876Z] 04944245beec: Download complete [2024-07-02T05:46:39.876Z] 765212b225bb: Verifying Checksum [2024-07-02T05:46:39.876Z] 765212b225bb: Download complete [2024-07-02T05:46:39.876Z] f23df028b6ca: Verifying Checksum [2024-07-02T05:46:39.876Z] f23df028b6ca: Download complete [2024-07-02T05:46:39.876Z] d65c8cfc05b1: Verifying Checksum [2024-07-02T05:46:39.876Z] d65c8cfc05b1: Download complete [2024-07-02T05:46:39.876Z] 699f458cf7ca: Verifying Checksum [2024-07-02T05:46:39.876Z] 699f458cf7ca: Download complete [2024-07-02T05:46:40.456Z] 8998bd30e6a1: Download complete [2024-07-02T05:46:43.030Z] 2437ff75d9bd: Download complete [2024-07-02T05:46:44.964Z] 8998bd30e6a1: Pull complete [2024-07-02T05:46:45.546Z] 04944245beec: Pull complete [2024-07-02T05:46:46.948Z] 699f458cf7ca: Pull complete [2024-07-02T05:46:47.214Z] 765212b225bb: Pull complete [2024-07-02T05:46:48.169Z] f23df028b6ca: Pull complete [2024-07-02T05:46:48.434Z] d65c8cfc05b1: Pull complete [2024-07-02T05:47:06.602Z] 2437ff75d9bd: Pull complete [2024-07-02T05:47:06.602Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-07-02T05:47:06.602Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-07-02T05:47:06.602Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-02T05:47:06.932Z] prd-ubuntu20.04-docker-arm64-4c-16g-4771 does not seem to be running inside a container [2024-07-02T05:47:06.993Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2024-07-02T05:47:09.470Z] $ docker top f1be967e9bcbf354f8a33b898fc0f5667f8025e9a8bb200ec92aabac4dca24c1 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-07-02T05:47:10.049Z] ---> job-cost.sh [2024-07-02T05:47:10.316Z] lf-activate-venv: SKIPPING [2024-07-02T05:47:10.316Z] INFO: No Stack... [2024-07-02T05:47:10.584Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-07-02T05:47:11.538Z] INFO: Archiving Costs [Pipeline] sh [2024-07-02T05:47:12.199Z] + cut -d, -f6 [2024-07-02T05:47:12.199Z] + cat /w/workspace/device-modbus-go/1/archives/cost.csv [Pipeline] lock [2024-07-02T05:47:12.291Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-modbus-go-PR-557-1-stack-cost] [2024-07-02T05:47:12.301Z] Resource [jenkins-edgexfoundry-device-modbus-go-PR-557-1-stack-cost] did not exist. Created. [2024-07-02T05:47:12.308Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-modbus-go-PR-557-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-07-02T05:47:13.066Z] /w/workspace/device-modbus-go/1@tmp/durable-7db85684/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-07-02T05:47:13.738Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-07-02T05:47:13.778Z] Warning: overwriting stash ‘stack-cost’ [2024-07-02T05:47:13.823Z] Stashed 1 file(s) [Pipeline] } [2024-07-02T05:47:13.842Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-modbus-go-PR-557-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-07-02T05:47:13.948Z] $ docker stop --time=1 f1be967e9bcbf354f8a33b898fc0f5667f8025e9a8bb200ec92aabac4dca24c1 [2024-07-02T05:47:15.465Z] $ docker rm -f --volumes f1be967e9bcbf354f8a33b898fc0f5667f8025e9a8bb200ec92aabac4dca24c1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2024-07-02T05:47:16.571Z] provisioning config files... [2024-07-02T05:47:16.579Z] copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-557@tmp/config15654492436052918738tmp [Pipeline] { [Pipeline] sh [2024-07-02T05:47:16.924Z] + set +x [2024-07-02T05:47:16.924Z] + bash -s -- [2024-07-02T05:47:16.924Z] + curl -s https://codecov.io/bash [2024-07-02T05:47:16.924Z] [2024-07-02T05:47:16.924Z] _____ _ [2024-07-02T05:47:16.924Z] / ____| | | [2024-07-02T05:47:16.924Z] | | ___ __| | ___ ___ _____ __ [2024-07-02T05:47:16.924Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2024-07-02T05:47:16.924Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2024-07-02T05:47:16.924Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2024-07-02T05:47:16.924Z] Bash-1.0.6 [2024-07-02T05:47:16.924Z] [2024-07-02T05:47:16.924Z] [2024-07-02T05:47:16.924Z] ==> git version 2.25.1 found [2024-07-02T05:47:16.924Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2024-07-02T05:47:16.924Z] Release-Date: 2020-01-08 [2024-07-02T05:47:16.924Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2024-07-02T05:47:16.924Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2024-07-02T05:47:16.924Z] ==> Jenkins CI detected. [2024-07-02T05:47:16.924Z] current dir:  /w/workspace/xfoundry_device-modbus-go_PR-557 [2024-07-02T05:47:16.924Z] project root: . [2024-07-02T05:47:16.924Z] --> token set from env [2024-07-02T05:47:16.924Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2024-07-02T05:47:17.185Z] ==> Running gcov in . (disable via -X gcov) [2024-07-02T05:47:17.185Z] ==> Python coveragepy not found [2024-07-02T05:47:17.185Z] ==> Searching for coverage reports in: [2024-07-02T05:47:17.185Z] + . [2024-07-02T05:47:17.185Z] -> Found 1 reports [2024-07-02T05:47:17.185Z] ==> Detecting git/mercurial file structure [2024-07-02T05:47:17.185Z] ==> Reading reports [2024-07-02T05:47:17.185Z] + ./coverage.out bytes=24601 [2024-07-02T05:47:17.185Z] ==> Appending adjustments [2024-07-02T05:47:17.185Z] https://docs.codecov.io/docs/fixing-reports [2024-07-02T05:47:17.185Z] + Found adjustments [2024-07-02T05:47:17.185Z] ==> Gzipping contents [2024-07-02T05:47:17.185Z] 4.0K /tmp/codecov.ly0ZSZ.gz [2024-07-02T05:47:17.185Z] ==> Uploading reports [2024-07-02T05:47:17.185Z] url: https://codecov.io [2024-07-02T05:47:17.185Z] query: branch=PR-557&commit=a9394f63f6c0c144b743431c16b8db4b3f15c990&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-557%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=557&job=&cmd_args= [2024-07-02T05:47:17.185Z] -> Pinging Codecov [2024-07-02T05:47:17.185Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-557&commit=a9394f63f6c0c144b743431c16b8db4b3f15c990&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-557%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=557&job=&cmd_args= [2024-07-02T05:47:17.443Z] -> Uploading to [2024-07-02T05:47:17.443Z] https://storage.googleapis.com/codecov/v4/raw/2024-07-02/55DBCA73C666E3227836607328DD7E49/a9394f63f6c0c144b743431c16b8db4b3f15c990/8c0e8759-635b-4200-82d6-5971fd95323c.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240702%2Fus-west2%2Fs3%2Faws4_request&X-Amz-Date=20240702T054717Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=d1e74a67ac28b6db8d4e56210052daa1c812d05e1fcc0e039bd0ff4bd8ee8580 [2024-07-02T05:47:17.443Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-07-02T05:47:17.443Z] Dload Upload Total Spent Left Speed [2024-07-02T05:47:17.703Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3843 0 0 100 3843 0 16708 --:--:-- --:--:-- --:--:-- 16708 [2024-07-02T05:47:17.703Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/a9394f63f6c0c144b743431c16b8db4b3f15c990 [Pipeline] } [2024-07-02T05:47:17.734Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2024-07-02T05:47:19.901Z] + [ -d /w/workspace/xfoundry_device-modbus-go_PR-557/archives ] [2024-07-02T05:47:19.901Z] + ls -al /w/workspace/xfoundry_device-modbus-go_PR-557/archives [2024-07-02T05:47:19.901Z] total 16 [2024-07-02T05:47:19.901Z] drwxr-xr-x 3 root root 4096 Jul 2 05:36 . [2024-07-02T05:47:19.901Z] drwxrwxr-x 10 jenkins jenkins 4096 Jul 2 05:36 .. [2024-07-02T05:47:19.901Z] drwxr-xr-x 2 root root 4096 Jul 2 05:36 cost [2024-07-02T05:47:19.901Z] -rw-r--r-- 1 root root 88 Jul 2 05:36 cost.csv [2024-07-02T05:47:19.901Z] + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-557/archives [2024-07-02T05:47:19.901Z] + ls -al /w/workspace/xfoundry_device-modbus-go_PR-557/archives [2024-07-02T05:47:19.901Z] total 16 [2024-07-02T05:47:19.901Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 2 05:36 . [2024-07-02T05:47:19.901Z] drwxrwxr-x 10 jenkins jenkins 4096 Jul 2 05:36 .. [2024-07-02T05:47:19.901Z] drwxr-xr-x 2 jenkins jenkins 4096 Jul 2 05:36 cost [2024-07-02T05:47:19.901Z] -rw-r--r-- 1 jenkins jenkins 88 Jul 2 05:36 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-07-02T05:47:20.242Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-07-02T05:47:21.143Z] ---> package-listing.sh [2024-07-02T05:47:21.143Z] ++ tr '[:upper:]' '[:lower:]' [2024-07-02T05:47:21.143Z] ++ facter osfamily [2024-07-02T05:47:21.403Z] + OS_FAMILY=debian [2024-07-02T05:47:21.403Z] + workspace=/w/workspace/xfoundry_device-modbus-go_PR-557 [2024-07-02T05:47:21.403Z] + START_PACKAGES=/tmp/packages_start.txt [2024-07-02T05:47:21.403Z] + END_PACKAGES=/tmp/packages_end.txt [2024-07-02T05:47:21.403Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-07-02T05:47:21.403Z] + PACKAGES=/tmp/packages_start.txt [2024-07-02T05:47:21.403Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-557 ']' [2024-07-02T05:47:21.403Z] + PACKAGES=/tmp/packages_end.txt [2024-07-02T05:47:21.403Z] + case "${OS_FAMILY}" in [2024-07-02T05:47:21.403Z] + dpkg -l [2024-07-02T05:47:21.403Z] + grep '^ii' [2024-07-02T05:47:21.403Z] + '[' -f /tmp/packages_start.txt ']' [2024-07-02T05:47:21.403Z] + '[' -f /tmp/packages_end.txt ']' [2024-07-02T05:47:21.403Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-07-02T05:47:21.403Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-557 ']' [2024-07-02T05:47:21.403Z] + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-557/archives/ [2024-07-02T05:47:21.403Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-557/archives/ [Pipeline] echo [2024-07-02T05:47:21.439Z] 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-557/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-07-02T05:47:21.738Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-02T05:47:22.383Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-07-02T05:47:22.383Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-02T05:47:22.547Z] prd-ubuntu20.04-docker-8c-8g-4769 does not seem to be running inside a container [2024-07-02T05:47:22.562Z] $ 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-557/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-557 -v /w/workspace/xfoundry_device-modbus-go_PR-557:/w/workspace/xfoundry_device-modbus-go_PR-557:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-557@tmp:/w/workspace/xfoundry_device-modbus-go_PR-557@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-07-02T05:47:22.766Z] $ docker top b942a46aaac72822d5c5020a992e1ab4948b76f2aaf7b4f9fab12db51d718103 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-07-02T05:47:23.189Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-07-02T05:47:23.501Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-07-02T05:47:23.817Z] + ls /var/log/sa-host [2024-07-02T05:47:23.817Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-07-02T05:47:24.053Z] provisioning config files... [2024-07-02T05:47:24.160Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-557@tmp/config4517253690403811559tmp [Pipeline] { [Pipeline] echo [2024-07-02T05:47:24.217Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-07-02T05:47:24.581Z] ---> create-netrc.sh [Pipeline] } [2024-07-02T05:47:24.615Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-07-02T05:47:25.099Z] ---> python-tools-install.sh [Pipeline] echo [2024-07-02T05:47:25.138Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-07-02T05:47:25.463Z] ---> sudo-logs.sh [2024-07-02T05:47:25.463Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-07-02T05:47:25.573Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-07-02T05:47:25.893Z] ---> job-cost.sh [2024-07-02T05:47:25.893Z] lf-activate-venv: SKIPPING [2024-07-02T05:47:25.893Z] DEBUG: total: 0.2199999988079071 [2024-07-02T05:47:25.893Z] INFO: Retrieving Stack Cost... [2024-07-02T05:47:26.153Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-07-02T05:47:26.411Z] INFO: Archiving Costs [Pipeline] echo [2024-07-02T05:47:26.453Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-07-02T05:47:26.778Z] ---> logs-deploy.sh [2024-07-02T05:47:26.778Z] lf-activate-venv: SKIPPING [2024-07-02T05:47:26.778Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-557/1 [2024-07-02T05:47:26.778Z] INFO: archiving workspace using pattern(s): [2024-07-02T05:47:27.715Z] Archives upload complete. [2024-07-02T05:47:27.715Z] INFO: archiving logs to Nexus