Pull request #555 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from d6c06c3c8c38f4e47fb9838bbfb63ff74df41f13+13e477b7e225234a84aaaa3becdbd9ca8ce93d09 (ec8caacd284a7635f610bdec8205a18e357089ce) 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-ssh16814130483972820169.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-ssh9140342775111902508.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-555/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-555/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5914600293707673668.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-555/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10646067823784453777.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-ssh12420146483457661848.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-555/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-555/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh4244288119155105593.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 Waiting for next available executor Running on prd-ubuntu20.04-docker-8c-8g-4328 in /w/workspace/xfoundry_device-modbus-go_PR-555 [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-555 # 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/555/head:refs/remotes/origin/PR-555 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 13e477b7e225234a84aaaa3becdbd9ca8ce93d09 into PR head commit d6c06c3c8c38f4e47fb9838bbfb63ff74df41f13 Merge succeeded, producing d6c06c3c8c38f4e47fb9838bbfb63ff74df41f13 Checking out Revision d6c06c3c8c38f4e47fb9838bbfb63ff74df41f13 (PR-555) 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 d6c06c3c8c38f4e47fb9838bbfb63ff74df41f13 # 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 13e477b7e225234a84aaaa3becdbd9ca8ce93d09 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d6c06c3c8c38f4e47fb9838bbfb63ff74df41f13 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-06-25T05:31:40.139Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-06-25T05:31:40.353Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-06-25T05:31:40.488Z] ========================================================= [2024-06-25T05:31:40.488Z] EdgeX Global Pipelines Version Info [2024-06-25T05:31:40.488Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-06-25T05:31:41.303Z] ------------------- [2024-06-25T05:31:41.303Z] stable info: [2024-06-25T05:31:41.303Z] ------------------- [2024-06-25T05:31:41.303Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-06-25T05:31:41.303Z] Commit SHA: 590556114a56c6d90cc8043840e039c2f74196dc [2024-06-25T05:31:41.303Z] Message: update stable to v1.0.260 [2024-06-25T05:31:41.872Z] ------------------- [2024-06-25T05:31:41.872Z] experimental info: [2024-06-25T05:31:41.872Z] ------------------- [2024-06-25T05:31:41.872Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-06-25T05:31:41.872Z] Commit SHA: f5e0e1f8358a839901f1a476b3a28a62f8570917 [2024-06-25T05:31:41.872Z] Message: update experimental to v1.0.259 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-06-25T05:31:42.111Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo [2024-06-25T05:31:42.165Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo [2024-06-25T05:31:42.221Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-06-25T05:31:42.279Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-06-25T05:31:42.336Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-06-25T05:31:42.394Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2024-06-25T05:31:42.463Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-06-25T05:31:42.521Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2024-06-25T05:31:42.581Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-06-25T05:31:42.643Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-06-25T05:31:42.704Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-06-25T05:31:42.765Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo [2024-06-25T05:31:42.825Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-06-25T05:31:42.880Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-06-25T05:31:42.933Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-06-25T05:31:42.993Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2024-06-25T05:31:43.060Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-06-25T05:31:43.116Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-06-25T05:31:43.185Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-06-25T05:31:43.240Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-06-25T05:31:43.300Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2024-06-25T05:31:43.354Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2024-06-25T05:31:43.413Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-06-25T05:31:43.466Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-06-25T05:31:43.526Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-06-25T05:31:43.584Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-06-25T05:31:43.652Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-06-25T05:31:43.712Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-555 [Pipeline] echo [2024-06-25T05:31:43.772Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-555 [Pipeline] echo [2024-06-25T05:31:43.832Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-555 [Pipeline] echo [2024-06-25T05:31:43.896Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d6c06c3c8c38f4e47fb9838bbfb63ff74df41f13 [Pipeline] echo [2024-06-25T05:31:43.955Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d6c06c3 [Pipeline] echo [2024-06-25T05:31:44.014Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-06-25T05:31:44.164Z] provisioning config files... [2024-06-25T05:31:44.181Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-555@tmp/config12105406317058443230tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-06-25T05:31:44.594Z] ---> ****-login.sh [2024-06-25T05:31:44.594Z] nexus3.edgexfoundry.org:10001 [2024-06-25T05:31:44.855Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-06-25T05:31:46.245Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-06-25T05:31:46.246Z] Configure a credential helper to remove this warning. See [2024-06-25T05:31:46.246Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-06-25T05:31:46.246Z] [2024-06-25T05:31:46.246Z] Login Succeeded [2024-06-25T05:31:46.246Z] nexus3.edgexfoundry.org:10002 [2024-06-25T05:31:46.246Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-06-25T05:31:46.246Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-06-25T05:31:46.246Z] Configure a credential helper to remove this warning. See [2024-06-25T05:31:46.246Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-06-25T05:31:46.246Z] [2024-06-25T05:31:46.246Z] Login Succeeded [2024-06-25T05:31:46.246Z] nexus3.edgexfoundry.org:10003 [2024-06-25T05:31:46.246Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-06-25T05:31:46.246Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-06-25T05:31:46.246Z] Configure a credential helper to remove this warning. See [2024-06-25T05:31:46.246Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-06-25T05:31:46.246Z] [2024-06-25T05:31:46.246Z] Login Succeeded [2024-06-25T05:31:46.246Z] nexus3.edgexfoundry.org:10004 [2024-06-25T05:31:46.246Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-06-25T05:31:46.246Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-06-25T05:31:46.246Z] Configure a credential helper to remove this warning. See [2024-06-25T05:31:46.246Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-06-25T05:31:46.246Z] [2024-06-25T05:31:46.246Z] Login Succeeded [2024-06-25T05:31:46.246Z] ****.io [2024-06-25T05:31:46.507Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-06-25T05:31:46.507Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-06-25T05:31:46.507Z] Configure a credential helper to remove this warning. See [2024-06-25T05:31:46.507Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-06-25T05:31:46.507Z] [2024-06-25T05:31:46.507Z] Login Succeeded [2024-06-25T05:31:46.507Z] ---> ****-login.sh ends [Pipeline] } [2024-06-25T05:31:46.542Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-06-25T05:31:47.241Z] + git rev-list -1 --merges d6c06c3c8c38f4e47fb9838bbfb63ff74df41f13~1..d6c06c3c8c38f4e47fb9838bbfb63ff74df41f13 [Pipeline] echo [2024-06-25T05:31:47.290Z] -----------> git rev-list -1 --merges d6c06c3c8c38f4e47fb9838bbfb63ff74df41f13~1..d6c06c3c8c38f4e47fb9838bbfb63ff74df41f13 d6c06c3c8c38f4e47fb9838bbfb63ff74df41f13 [false] [Pipeline] sh [2024-06-25T05:31:47.614Z] + git log --format=format:%s -1 d6c06c3c8c38f4e47fb9838bbfb63ff74df41f13 [Pipeline] echo [2024-06-25T05:31:47.657Z] ========================================================= [2024-06-25T05:31:47.657Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-06-25T05:31:47.657Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-06-25T05:31:48.131Z] + git log --format=format:%s -1 d6c06c3c8c38f4e47fb9838bbfb63ff74df41f13 [Pipeline] echo [2024-06-25T05:31:48.170Z] [semverPrep] GIT_COMMIT: d6c06c3c8c38f4e47fb9838bbfb63ff74df41f13, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo [2024-06-25T05:31:48.217Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-06-25T05:31:48.637Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-06-25T05:31:48.637Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-06-25T05:31:48.637Z] + [ -e /tmp/ssh_known_hosts ] [2024-06-25T05:31:48.637Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-06-25T05:31:48.637Z] + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-06-25T05:31:48.637Z] sudo tee -a /etc/ssh/ssh_known_hosts [2024-06-25T05:31:48.637Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-06-25T05:31:49.170Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-06-25T05:31:49.170Z] [2024-06-25T05:31:49.170Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-06-25T05:31:49.555Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-06-25T05:31:49.555Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-06-25T05:31:49.555Z] b85a868b505f: Pulling fs layer [2024-06-25T05:31:49.555Z] e2be974225ed: Pulling fs layer [2024-06-25T05:31:49.555Z] 339a4e72a1f5: Pulling fs layer [2024-06-25T05:31:49.555Z] 988bab9f4d93: Pulling fs layer [2024-06-25T05:31:49.555Z] 1469e6f7b9e6: Pulling fs layer [2024-06-25T05:31:49.555Z] eaf3925da568: Pulling fs layer [2024-06-25T05:31:49.555Z] bab4dde63d76: Pulling fs layer [2024-06-25T05:31:49.555Z] bde34c3a00c8: Pulling fs layer [2024-06-25T05:31:49.555Z] b352a97aabf1: Pulling fs layer [2024-06-25T05:31:49.555Z] 4872d77fe225: Pulling fs layer [2024-06-25T05:31:49.555Z] 5851b861e8e6: Pulling fs layer [2024-06-25T05:31:49.555Z] 988bab9f4d93: Waiting [2024-06-25T05:31:49.555Z] 1469e6f7b9e6: Waiting [2024-06-25T05:31:49.555Z] bde34c3a00c8: Waiting [2024-06-25T05:31:49.555Z] b352a97aabf1: Waiting [2024-06-25T05:31:49.555Z] bab4dde63d76: Waiting [2024-06-25T05:31:49.555Z] eaf3925da568: Waiting [2024-06-25T05:31:49.555Z] 4872d77fe225: Waiting [2024-06-25T05:31:49.555Z] e2be974225ed: Verifying Checksum [2024-06-25T05:31:49.555Z] e2be974225ed: Download complete [2024-06-25T05:31:49.555Z] 988bab9f4d93: Verifying Checksum [2024-06-25T05:31:49.555Z] 988bab9f4d93: Download complete [2024-06-25T05:31:49.815Z] 1469e6f7b9e6: Verifying Checksum [2024-06-25T05:31:49.815Z] 1469e6f7b9e6: Download complete [2024-06-25T05:31:49.815Z] eaf3925da568: Download complete [2024-06-25T05:31:49.815Z] 339a4e72a1f5: Verifying Checksum [2024-06-25T05:31:49.815Z] 339a4e72a1f5: Download complete [2024-06-25T05:31:49.815Z] bde34c3a00c8: Download complete [2024-06-25T05:31:49.815Z] b352a97aabf1: Verifying Checksum [2024-06-25T05:31:49.815Z] b352a97aabf1: Download complete [2024-06-25T05:31:49.815Z] 4872d77fe225: Verifying Checksum [2024-06-25T05:31:49.815Z] 4872d77fe225: Download complete [2024-06-25T05:31:49.815Z] 5851b861e8e6: Verifying Checksum [2024-06-25T05:31:49.815Z] 5851b861e8e6: Download complete [2024-06-25T05:31:49.815Z] b85a868b505f: Verifying Checksum [2024-06-25T05:31:49.815Z] b85a868b505f: Download complete [2024-06-25T05:31:50.073Z] bab4dde63d76: Verifying Checksum [2024-06-25T05:31:50.073Z] bab4dde63d76: Download complete [2024-06-25T05:31:51.014Z] b85a868b505f: Pull complete [2024-06-25T05:31:51.273Z] e2be974225ed: Pull complete [2024-06-25T05:31:51.532Z] 339a4e72a1f5: Pull complete [2024-06-25T05:31:51.791Z] 988bab9f4d93: Pull complete [2024-06-25T05:31:52.051Z] 1469e6f7b9e6: Pull complete [2024-06-25T05:31:52.051Z] eaf3925da568: Pull complete [2024-06-25T05:31:53.956Z] bab4dde63d76: Pull complete [2024-06-25T05:31:53.956Z] bde34c3a00c8: Pull complete [2024-06-25T05:31:53.956Z] b352a97aabf1: Pull complete [2024-06-25T05:31:54.216Z] 4872d77fe225: Pull complete [2024-06-25T05:31:54.216Z] 5851b861e8e6: Pull complete [2024-06-25T05:31:54.216Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-06-25T05:31:54.216Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-06-25T05:31:54.216Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-06-25T05:31:54.523Z] prd-ubuntu20.04-docker-8c-8g-4328 does not seem to be running inside a container [2024-06-25T05:31:54.557Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-555 -v /w/workspace/xfoundry_device-modbus-go_PR-555:/w/workspace/xfoundry_device-modbus-go_PR-555:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-555@tmp:/w/workspace/xfoundry_device-modbus-go_PR-555@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-06-25T05:31:56.019Z] $ docker top 01f8d472dfd2235db2de0e7d3a9347ad335c4d6b846803d4b60e7f29d779ed3a -eo pid,comm [2024-06-25T05:31:56.071Z] 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-06-25T05:31:56.071Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-06-25T05:31:56.239Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-06-25T05:31:56.239Z] [ssh-agent] Looking for ssh-agent implementation... [2024-06-25T05:31:56.364Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-06-25T05:31:56.369Z] $ docker exec 01f8d472dfd2235db2de0e7d3a9347ad335c4d6b846803d4b60e7f29d779ed3a ssh-agent [2024-06-25T05:31:56.469Z] SSH_AUTH_SOCK=/tmp/ssh-6erDiyq5h2sp/agent.32 [2024-06-25T05:31:56.469Z] SSH_AGENT_PID=37 [2024-06-25T05:31:56.476Z] Running ssh-add (command line suppressed) [2024-06-25T05:31:56.597Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-555@tmp/private_key_4500443465430151040.key (/w/workspace/xfoundry_device-modbus-go_PR-555@tmp/private_key_4500443465430151040.key) [2024-06-25T05:31:56.608Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-06-25T05:31:56.962Z] + git tag --points-at HEAD [Pipeline] } [2024-06-25T05:31:57.002Z] $ docker exec --env ******** --env ******** 01f8d472dfd2235db2de0e7d3a9347ad335c4d6b846803d4b60e7f29d779ed3a ssh-agent -k [2024-06-25T05:31:57.098Z] unset SSH_AUTH_SOCK; [2024-06-25T05:31:57.099Z] unset SSH_AGENT_PID; [2024-06-25T05:31:57.099Z] echo Agent pid 37 killed; [2024-06-25T05:31:57.107Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-06-25T05:31:57.228Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-06-25T05:31:57.228Z] [ssh-agent] Looking for ssh-agent implementation... [2024-06-25T05:31:57.352Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-06-25T05:31:57.357Z] $ docker exec 01f8d472dfd2235db2de0e7d3a9347ad335c4d6b846803d4b60e7f29d779ed3a ssh-agent [2024-06-25T05:31:57.481Z] SSH_AUTH_SOCK=/tmp/ssh-Ha9cI5cSKpDQ/agent.70 [2024-06-25T05:31:57.481Z] SSH_AGENT_PID=76 [2024-06-25T05:31:57.486Z] Running ssh-add (command line suppressed) [2024-06-25T05:31:57.594Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-555@tmp/private_key_9013109162275270634.key (/w/workspace/xfoundry_device-modbus-go_PR-555@tmp/private_key_9013109162275270634.key) [2024-06-25T05:31:57.606Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-06-25T05:31:57.964Z] + git semver init [2024-06-25T05:31:58.226Z] 2024-06-25 05:31:58,164 [run_init] DEBUG init version:0.0.0 force:False [2024-06-25T05:31:58.226Z] 2024-06-25 05:31:58,165 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-modbus-go_PR-555/.semver [2024-06-25T05:31:58.226Z] 2024-06-25 05:31:58,166 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/xfoundry_device-modbus-go_PR-555/.semver [2024-06-25T05:31:58.226Z] 2024-06-25 05:31:58,166 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/xfoundry_device-modbus-go_PR-555/.semver'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-555, universal_newlines=False, shell=None, istream=None) [2024-06-25T05:31:59.167Z] 2024-06-25 05:31:59,081 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-modbus-go_PR-555/.git/info/exclude [2024-06-25T05:31:59.167Z] 2024-06-25 05:31:59,081 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-modbus-go_PR-555/.semver/PR-555 with force:False [2024-06-25T05:31:59.167Z] 2024-06-25 05:31:59,081 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-modbus-go_PR-555/.semver/PR-555 [2024-06-25T05:31:59.167Z] 2024-06-25 05:31:59,086 [execute] INFO git cat-file --batch-check [2024-06-25T05:31:59.167Z] 2024-06-25 05:31:59,086 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-555/.semver, universal_newlines=False, shell=None, istream=) [2024-06-25T05:31:59.167Z] 2024-06-25 05:31:59,093 [execute] INFO git cat-file --batch [2024-06-25T05:31:59.167Z] 2024-06-25 05:31:59,093 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-555/.semver, universal_newlines=False, shell=None, istream=) [2024-06-25T05:31:59.167Z] 2024-06-25 05:31:59,098 [read_version] DEBUG read version from /w/workspace/xfoundry_device-modbus-go_PR-555/.semver/PR-555 [2024-06-25T05:31:59.167Z] 0.0.0 [Pipeline] } [2024-06-25T05:31:59.196Z] $ docker exec --env ******** --env ******** 01f8d472dfd2235db2de0e7d3a9347ad335c4d6b846803d4b60e7f29d779ed3a ssh-agent -k [2024-06-25T05:31:59.309Z] unset SSH_AUTH_SOCK; [2024-06-25T05:31:59.309Z] unset SSH_AGENT_PID; [2024-06-25T05:31:59.309Z] echo Agent pid 76 killed; [2024-06-25T05:31:59.317Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-06-25T05:31:59.790Z] + git semver [Pipeline] } [2024-06-25T05:32:00.100Z] $ docker stop --time=1 01f8d472dfd2235db2de0e7d3a9347ad335c4d6b846803d4b60e7f29d779ed3a [2024-06-25T05:32:01.398Z] $ docker rm -f --volumes 01f8d472dfd2235db2de0e7d3a9347ad335c4d6b846803d4b60e7f29d779ed3a [Pipeline] // withDockerContainer [Pipeline] sh [2024-06-25T05:32:01.829Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-06-25T05:32:02.145Z] Stashed 1 file(s) [Pipeline] echo [2024-06-25T05:32:02.170Z] [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-06-25T05:32:02.937Z] provisioning config files... [2024-06-25T05:32:02.946Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-555@tmp/config3738975022962168082tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-06-25T05:32:03.325Z] ---> ****-login.sh [2024-06-25T05:32:03.325Z] nexus3.edgexfoundry.org:10001 [2024-06-25T05:32:03.325Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-06-25T05:32:03.325Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-06-25T05:32:03.325Z] Configure a credential helper to remove this warning. See [2024-06-25T05:32:03.325Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-06-25T05:32:03.325Z] [2024-06-25T05:32:03.325Z] Login Succeeded [2024-06-25T05:32:03.325Z] nexus3.edgexfoundry.org:10002 [2024-06-25T05:32:03.325Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-06-25T05:32:03.325Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-06-25T05:32:03.325Z] Configure a credential helper to remove this warning. See [2024-06-25T05:32:03.325Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-06-25T05:32:03.325Z] [2024-06-25T05:32:03.325Z] Login Succeeded [2024-06-25T05:32:03.325Z] nexus3.edgexfoundry.org:10003 [2024-06-25T05:32:03.591Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-06-25T05:32:03.591Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-06-25T05:32:03.591Z] Configure a credential helper to remove this warning. See [2024-06-25T05:32:03.591Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-06-25T05:32:03.591Z] [2024-06-25T05:32:03.591Z] Login Succeeded [2024-06-25T05:32:03.591Z] nexus3.edgexfoundry.org:10004 [2024-06-25T05:32:03.591Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-06-25T05:32:03.591Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-06-25T05:32:03.591Z] Configure a credential helper to remove this warning. See [2024-06-25T05:32:03.591Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-06-25T05:32:03.591Z] [2024-06-25T05:32:03.591Z] Login Succeeded [2024-06-25T05:32:03.591Z] ****.io [2024-06-25T05:32:03.851Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-06-25T05:32:03.851Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-06-25T05:32:03.851Z] Configure a credential helper to remove this warning. See [2024-06-25T05:32:03.851Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-06-25T05:32:03.851Z] [2024-06-25T05:32:03.851Z] Login Succeeded [2024-06-25T05:32:03.851Z] ---> ****-login.sh ends [Pipeline] } [2024-06-25T05:32:03.888Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-06-25T05:32:04.136Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-06-25T05:32:04.189Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-06-25T05:32:04.235Z] ========================================================= [2024-06-25T05:32:04.235Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2024-06-25T05:32:04.235Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-06-25T05:32:04.770Z] + 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-06-25T05:32:04.770Z] Sending build context to Docker daemon 17.82MB [2024-06-25T05:32:04.770Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2024-06-25T05:32:04.770Z] Step 2/10 : FROM ${BASE} AS builder [2024-06-25T05:32:05.029Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2024-06-25T05:32:05.029Z] 619be1103602: Pulling fs layer [2024-06-25T05:32:05.029Z] 7862e08f4a3e: Pulling fs layer [2024-06-25T05:32:05.029Z] 5df492c9dc93: Pulling fs layer [2024-06-25T05:32:05.029Z] 7629e6793208: Pulling fs layer [2024-06-25T05:32:05.029Z] 4f4fb700ef54: Pulling fs layer [2024-06-25T05:32:05.029Z] fb5054dd5b73: Pulling fs layer [2024-06-25T05:32:05.029Z] eeca6798cff9: Pulling fs layer [2024-06-25T05:32:05.029Z] aa269ceb94a6: Pulling fs layer [2024-06-25T05:32:05.029Z] ada007ff1a6a: Pulling fs layer [2024-06-25T05:32:05.029Z] fb5054dd5b73: Waiting [2024-06-25T05:32:05.029Z] eeca6798cff9: Waiting [2024-06-25T05:32:05.029Z] aa269ceb94a6: Waiting [2024-06-25T05:32:05.029Z] ada007ff1a6a: Waiting [2024-06-25T05:32:05.029Z] 7629e6793208: Waiting [2024-06-25T05:32:05.029Z] 4f4fb700ef54: Waiting [2024-06-25T05:32:05.029Z] 7862e08f4a3e: Download complete [2024-06-25T05:32:05.029Z] 7629e6793208: Verifying Checksum [2024-06-25T05:32:05.029Z] 7629e6793208: Download complete [2024-06-25T05:32:05.029Z] 4f4fb700ef54: Download complete [2024-06-25T05:32:05.029Z] fb5054dd5b73: Verifying Checksum [2024-06-25T05:32:05.029Z] fb5054dd5b73: Download complete [2024-06-25T05:32:05.029Z] 619be1103602: Verifying Checksum [2024-06-25T05:32:05.029Z] 619be1103602: Download complete [2024-06-25T05:32:05.029Z] eeca6798cff9: Verifying Checksum [2024-06-25T05:32:05.029Z] eeca6798cff9: Download complete [2024-06-25T05:32:05.029Z] 619be1103602: Pull complete [2024-06-25T05:32:05.289Z] 7862e08f4a3e: Pull complete [2024-06-25T05:32:05.289Z] ada007ff1a6a: Verifying Checksum [2024-06-25T05:32:05.289Z] ada007ff1a6a: Download complete [2024-06-25T05:32:05.547Z] 5df492c9dc93: Verifying Checksum [2024-06-25T05:32:05.547Z] 5df492c9dc93: Download complete [2024-06-25T05:32:05.805Z] aa269ceb94a6: Verifying Checksum [2024-06-25T05:32:05.805Z] aa269ceb94a6: Download complete [2024-06-25T05:32:09.089Z] 5df492c9dc93: Pull complete [2024-06-25T05:32:09.089Z] 7629e6793208: Pull complete [2024-06-25T05:32:09.089Z] 4f4fb700ef54: Pull complete [2024-06-25T05:32:09.089Z] fb5054dd5b73: Pull complete [2024-06-25T05:32:09.089Z] eeca6798cff9: Pull complete [2024-06-25T05:32:11.618Z] aa269ceb94a6: Pull complete [2024-06-25T05:32:11.876Z] ada007ff1a6a: Pull complete [2024-06-25T05:32:11.876Z] Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 [2024-06-25T05:32:11.876Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2024-06-25T05:32:11.876Z] ---> f489d0715acc [2024-06-25T05:32:11.876Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2024-06-25T05:32:13.259Z] ---> Running in 147f536286df [2024-06-25T05:32:13.518Z] Removing intermediate container 147f536286df [2024-06-25T05:32:13.518Z] ---> 4f2e5a7d9520 [2024-06-25T05:32:13.518Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-06-25T05:32:13.518Z] ---> Running in 41287711a27f [2024-06-25T05:32:13.518Z] Removing intermediate container 41287711a27f [2024-06-25T05:32:13.518Z] ---> e4a7b03f964b [2024-06-25T05:32:13.518Z] Step 5/10 : RUN apk add --update --no-cache make git openssh [2024-06-25T05:32:13.518Z] ---> Running in 859c58097d11 [2024-06-25T05:32:13.778Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-06-25T05:32:14.037Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-06-25T05:32:14.298Z] (1/8) Installing openssh-keygen (9.3_p2-r1) [2024-06-25T05:32:14.298Z] (2/8) Installing libedit (20221030.3.1-r1) [2024-06-25T05:32:14.298Z] (3/8) Installing openssh-client-common (9.3_p2-r1) [2024-06-25T05:32:14.298Z] (4/8) Installing openssh-client-default (9.3_p2-r1) [2024-06-25T05:32:14.298Z] (5/8) Installing openssh-sftp-server (9.3_p2-r1) [2024-06-25T05:32:14.298Z] (6/8) Installing openssh-server-common (9.3_p2-r1) [2024-06-25T05:32:14.298Z] (7/8) Installing openssh-server (9.3_p2-r1) [2024-06-25T05:32:14.298Z] (8/8) Installing openssh (9.3_p2-r1) [2024-06-25T05:32:14.298Z] Executing busybox-1.36.1-r5.trigger [2024-06-25T05:32:14.561Z] OK: 270 MiB in 60 packages [2024-06-25T05:32:14.821Z] Removing intermediate container 859c58097d11 [2024-06-25T05:32:14.821Z] ---> 7d97363cc7fc [2024-06-25T05:32:14.821Z] Step 6/10 : WORKDIR /device-modbus-go [2024-06-25T05:32:14.821Z] ---> Running in 49bd28c5a6eb [2024-06-25T05:32:15.081Z] Removing intermediate container 49bd28c5a6eb [2024-06-25T05:32:15.081Z] ---> dddd6a375706 [2024-06-25T05:32:15.081Z] Step 7/10 : COPY go.mod vendor* ./ [2024-06-25T05:32:15.081Z] ---> 91e71ce1656f [2024-06-25T05:32:15.081Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-06-25T05:32:15.081Z] ---> Running in 4f83a3d4cda8 [2024-06-25T05:32:17.706Z] Still waiting to schedule task [2024-06-25T05:32:17.707Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2024-06-25T05:33:01.780Z] Removing intermediate container 4f83a3d4cda8 [2024-06-25T05:33:01.780Z] ---> 50a8794fc408 [2024-06-25T05:33:01.780Z] Step 9/10 : COPY . . [2024-06-25T05:33:01.780Z] ---> cd4eb3b9c123 [2024-06-25T05:33:01.780Z] Step 10/10 : RUN ${MAKE} [2024-06-25T05:33:01.780Z] ---> Running in 25ba72660d4b [2024-06-25T05:33:01.780Z] noop [2024-06-25T05:33:01.780Z] Removing intermediate container 25ba72660d4b [2024-06-25T05:33:01.780Z] ---> d6306bb00ebc [2024-06-25T05:33:01.780Z] Successfully built d6306bb00ebc [2024-06-25T05:33:01.780Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-06-25T05:33:02.289Z] + docker inspect -f . ci-base-image-x86_64 [2024-06-25T05:33:02.289Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-06-25T05:33:02.486Z] prd-ubuntu20.04-docker-8c-8g-4328 does not seem to be running inside a container [2024-06-25T05:33:02.519Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-555 -v /w/workspace/xfoundry_device-modbus-go_PR-555:/w/workspace/xfoundry_device-modbus-go_PR-555:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-555@tmp:/w/workspace/xfoundry_device-modbus-go_PR-555@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-06-25T05:33:02.887Z] $ docker top 6c5b540ee0dfa01352c5fe40b42a159a4f371087691228a34f140641b3758d06 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-06-25T05:33:03.308Z] + go version [2024-06-25T05:33:03.308Z] go version go1.21.9 linux/amd64 [Pipeline] } [2024-06-25T05:33:03.344Z] $ docker stop --time=1 6c5b540ee0dfa01352c5fe40b42a159a4f371087691228a34f140641b3758d06 [2024-06-25T05:33:04.616Z] $ docker rm -f --volumes 6c5b540ee0dfa01352c5fe40b42a159a4f371087691228a34f140641b3758d06 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-06-25T05:33:05.383Z] + docker inspect -f . ci-base-image-x86_64 [2024-06-25T05:33:05.383Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-06-25T05:33:05.556Z] prd-ubuntu20.04-docker-8c-8g-4328 does not seem to be running inside a container [2024-06-25T05:33:05.586Z] $ 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-555 -v /w/workspace/xfoundry_device-modbus-go_PR-555:/w/workspace/xfoundry_device-modbus-go_PR-555:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-555@tmp:/w/workspace/xfoundry_device-modbus-go_PR-555@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-06-25T05:33:05.924Z] $ docker top f6567a48e363da2d2fefcd4dba924d29ae26473f9d92fa5fe6b94310bed7589b -eo pid,comm [Pipeline] { [Pipeline] sh [2024-06-25T05:33:06.328Z] + git config --global --add safe.directory /w/workspace/xfoundry_device-modbus-go_PR-555 [Pipeline] fileExists [Pipeline] sh [2024-06-25T05:33:06.705Z] + make test [2024-06-25T05:33:06.705Z] go test ./... -coverprofile=coverage.out [2024-06-25T05:33:08.084Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2024-06-25T05:33:30.004Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2024-06-25T05:33:30.004Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.009s coverage: 47.9% of statements [2024-06-25T05:33:38.231Z] go vet ./... [2024-06-25T05:33:44.614Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-4329 in /w/workspace/xfoundry_device-modbus-go_PR-555 [Pipeline] { [Pipeline] ws [2024-06-25T05:33:44.707Z] Running in /w/workspace/device-modbus-go/1 [Pipeline] { [Pipeline] checkout [2024-06-25T05:33:44.793Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-06-25T05:33:44.793Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-06-25T05:33:44.793Z] ./bin/test-attribution-txt.sh [2024-06-25T05:33:44.793Z] An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add [2024-06-25T05:33:44.793Z] An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add [2024-06-25T05:33:44.793Z] An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add [2024-06-25T05:33:44.793Z] An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add [2024-06-25T05:33:44.793Z] An attribution for github.com/go-jose/go-jose/v4 is missing from Attribution.txt, please add [2024-06-25T05:33:44.793Z] An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add [2024-06-25T05:33:44.793Z] An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add [2024-06-25T05:33:44.793Z] An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add [2024-06-25T05:33:44.793Z] An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add [2024-06-25T05:33:44.793Z] An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add [2024-06-25T05:33:44.793Z] An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add [2024-06-25T05:33:44.793Z] An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add [2024-06-25T05:33:44.793Z] An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add [2024-06-25T05:33:44.793Z] An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add [2024-06-25T05:33:44.793Z] An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add [2024-06-25T05:33:44.793Z] An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add [2024-06-25T05:33:44.793Z] An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add [2024-06-25T05:33:44.793Z] An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add [2024-06-25T05:33:44.793Z] An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add [2024-06-25T05:33:44.793Z] An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add [2024-06-25T05:33:44.793Z] An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add [2024-06-25T05:33:44.793Z] An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add [2024-06-25T05:33:44.793Z] An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add [2024-06-25T05:33:44.793Z] An attribution for github.com/josharian/intern is missing from Attribution.txt, please add [2024-06-25T05:33:44.793Z] An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add [2024-06-25T05:33:44.793Z] An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add [2024-06-25T05:33:44.793Z] An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add [2024-06-25T05:33:44.793Z] An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add [2024-06-25T05:33:44.793Z] An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add [2024-06-25T05:33:44.793Z] An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add [2024-06-25T05:33:44.793Z] An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add [2024-06-25T05:33:44.793Z] An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add [2024-06-25T05:33:44.793Z] An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add [2024-06-25T05:33:44.793Z] An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add [2024-06-25T05:33:44.793Z] An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add [2024-06-25T05:33:44.793Z] An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add [2024-06-25T05:33:44.793Z] An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add [2024-06-25T05:33:44.793Z] An attribution for github.com/openziti/identity is missing from Attribution.txt, please add [2024-06-25T05:33:44.793Z] An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add [2024-06-25T05:33:44.793Z] An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add [2024-06-25T05:33:44.793Z] An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add [2024-06-25T05:33:44.793Z] An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add [2024-06-25T05:33:44.793Z] An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add [2024-06-25T05:33:44.793Z] An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add [2024-06-25T05:33:44.793Z] An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add [2024-06-25T05:33:44.793Z] An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add [2024-06-25T05:33:44.794Z] An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add [2024-06-25T05:33:44.794Z] An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add [2024-06-25T05:33:44.794Z] An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add [2024-06-25T05:33:44.794Z] An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add [2024-06-25T05:33:44.794Z] An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add [2024-06-25T05:33:44.794Z] An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add [2024-06-25T05:33:44.794Z] An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add [2024-06-25T05:33:44.794Z] An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add [2024-06-25T05:33:44.794Z] An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add [2024-06-25T05:33:44.794Z] An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add [2024-06-25T05:33:44.794Z] An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add [2024-06-25T05:33:44.794Z] An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add [2024-06-25T05:33:44.794Z] An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add [2024-06-25T05:33:44.794Z] An attribution for golang.org/x/term is missing from Attribution.txt, please add [2024-06-25T05:33:44.794Z] An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [2024-06-25T05:33:44.794Z] An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [2024-06-25T05:33:47.819Z] The recommended git tool is: git [Pipeline] echo [2024-06-25T05:33:47.877Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-06-25T05:33:47.916Z] $ docker stop --time=1 f6567a48e363da2d2fefcd4dba924d29ae26473f9d92fa5fe6b94310bed7589b [2024-06-25T05:33:51.723Z] $ docker rm -f --volumes f6567a48e363da2d2fefcd4dba924d29ae26473f9d92fa5fe6b94310bed7589b [Pipeline] // withDockerContainer [Pipeline] sh [2024-06-25T05:33:52.294Z] using credential edgex-jenkins-ssh [2024-06-25T05:33:52.315Z] Cloning the remote Git repository [2024-06-25T05:33:52.384Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-06-25T05:33:52.462Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [2024-06-25T05:33:52.352Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2024-06-25T05:33:52.438Z] > git init /w/workspace/device-modbus-go/1 # timeout=10 [2024-06-25T05:33:52.559Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2024-06-25T05:33:52.560Z] > git --version # timeout=10 [2024-06-25T05:33:52.583Z] > git --version # 'git version 2.25.1' [2024-06-25T05:33:52.586Z] using GIT_SSH to set credentials SSH Credentials for GitHub [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2024-06-25T05:33:53.233Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-06-25T05:33:53.551Z] + ls -al . [2024-06-25T05:33:53.551Z] total 264 [2024-06-25T05:33:53.551Z] drwxrwxr-x 9 jenkins jenkins 4096 Jun 25 05:33 . [2024-06-25T05:33:53.551Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 25 05:31 .. [2024-06-25T05:33:53.551Z] -rw-rw-r-- 1 jenkins jenkins 140 Jun 25 05:31 .dockerignore [2024-06-25T05:33:53.551Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 25 05:33 .git [2024-06-25T05:33:53.551Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 25 05:31 .github [2024-06-25T05:33:53.551Z] -rw-rw-r-- 1 jenkins jenkins 266 Jun 25 05:31 .gitignore [2024-06-25T05:33:53.551Z] -rw-rw-r-- 1 jenkins jenkins 41 Jun 25 05:31 .golangci.yml [2024-06-25T05:33:53.551Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 25 05:31 .semver [2024-06-25T05:33:53.551Z] -rw-rw-r-- 1 jenkins jenkins 11101 Jun 25 05:31 Attribution.txt [2024-06-25T05:33:53.551Z] -rw-rw-r-- 1 jenkins jenkins 16388 Jun 25 05:31 CHANGELOG.md [2024-06-25T05:33:53.551Z] -rw-rw-r-- 1 jenkins jenkins 1474 Jun 25 05:31 Dockerfile [2024-06-25T05:33:53.551Z] -rw-rw-r-- 1 jenkins jenkins 677 Jun 25 05:31 GOVERNANCE.md [2024-06-25T05:33:53.551Z] -rw-rw-r-- 1 jenkins jenkins 658 Jun 25 05:31 Jenkinsfile [2024-06-25T05:33:53.551Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jun 25 05:31 LICENSE [2024-06-25T05:33:53.551Z] -rw-rw-r-- 1 jenkins jenkins 1942 Jun 25 05:31 Makefile [2024-06-25T05:33:53.551Z] -rw-rw-r-- 1 jenkins jenkins 622 Jun 25 05:31 OWNERS.md [2024-06-25T05:33:53.551Z] -rw-rw-r-- 1 jenkins jenkins 4463 Jun 25 05:31 README.md [2024-06-25T05:33:53.551Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 25 05:32 VERSION [2024-06-25T05:33:53.551Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 25 05:31 bin [2024-06-25T05:33:53.551Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 25 05:31 cmd [2024-06-25T05:33:53.551Z] -rw-r--r-- 1 jenkins jenkins 24601 Jun 25 05:33 coverage.out [2024-06-25T05:33:53.551Z] -rw-rw-r-- 1 jenkins jenkins 7241 Jun 25 05:31 go.mod [2024-06-25T05:33:53.551Z] -rw-rw-r-- 1 jenkins jenkins 102291 Jun 25 05:31 go.sum [2024-06-25T05:33:53.551Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 25 05:31 internal [2024-06-25T05:33:53.551Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 25 05:31 simulator [2024-06-25T05:33:53.551Z] -rw-rw-r-- 1 jenkins jenkins 229 Jun 25 05:31 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-06-25T05:33:52.726Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-06-25T05:33:53.975Z] + 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=d6c06c3c8c38f4e47fb9838bbfb63ff74df41f13 --label arch=amd64 --label version=0.0.0 . [2024-06-25T05:33:53.975Z] Sending build context to Docker daemon 17.85MB [2024-06-25T05:33:53.975Z] Step 1/23 : ARG BASE=golang:1.21-alpine3.18 [2024-06-25T05:33:53.975Z] Step 2/23 : FROM ${BASE} AS builder [2024-06-25T05:33:53.975Z] ---> d6306bb00ebc [2024-06-25T05:33:53.975Z] Step 3/23 : ARG ADD_BUILD_TAGS="" [2024-06-25T05:33:54.234Z] ---> Running in ff8fd894b634 [2024-06-25T05:33:54.494Z] Removing intermediate container ff8fd894b634 [2024-06-25T05:33:54.494Z] ---> 715b47c2d79c [2024-06-25T05:33:54.494Z] Step 4/23 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-06-25T05:33:54.494Z] ---> Running in 2986c322310f [2024-06-25T05:33:54.494Z] Removing intermediate container 2986c322310f [2024-06-25T05:33:54.494Z] ---> f88457a1d2a7 [2024-06-25T05:33:54.494Z] Step 5/23 : RUN apk add --update --no-cache make git openssh [2024-06-25T05:33:54.494Z] ---> Running in ed1e49ceafc0 [2024-06-25T05:33:54.753Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-06-25T05:33:55.013Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-06-25T05:33:54.553Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2024-06-25T05:33:54.583Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-06-25T05:33:55.272Z] OK: 270 MiB in 60 packages [2024-06-25T05:33:55.530Z] Removing intermediate container ed1e49ceafc0 [2024-06-25T05:33:55.530Z] ---> 4a6526c594f4 [2024-06-25T05:33:55.530Z] Step 6/23 : WORKDIR /device-modbus-go [2024-06-25T05:33:55.530Z] ---> Running in 59d7547dcd99 [2024-06-25T05:33:55.530Z] Removing intermediate container 59d7547dcd99 [2024-06-25T05:33:55.530Z] ---> 5a672c2053a8 [2024-06-25T05:33:55.530Z] Step 7/23 : COPY go.mod vendor* ./ [2024-06-25T05:33:55.788Z] ---> ff49bd4e1823 [2024-06-25T05:33:55.788Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-06-25T05:33:55.788Z] ---> Running in 1f41efb4c44d [2024-06-25T05:33:55.953Z] Merging remotes/origin/main commit 13e477b7e225234a84aaaa3becdbd9ca8ce93d09 into PR head commit d6c06c3c8c38f4e47fb9838bbfb63ff74df41f13 [2024-06-25T05:33:56.199Z] Merge succeeded, producing d6c06c3c8c38f4e47fb9838bbfb63ff74df41f13 [2024-06-25T05:33:56.199Z] Checking out Revision d6c06c3c8c38f4e47fb9838bbfb63ff74df41f13 (PR-555) [2024-06-25T05:33:55.412Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2024-06-25T05:33:55.453Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2024-06-25T05:33:55.454Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-06-25T05:33:55.475Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/555/head:refs/remotes/origin/PR-555 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2024-06-25T05:33:55.967Z] > git config core.sparsecheckout # timeout=10 [2024-06-25T05:33:56.023Z] > git checkout -f d6c06c3c8c38f4e47fb9838bbfb63ff74df41f13 # timeout=10 [2024-06-25T05:33:56.098Z] > git remote # timeout=10 [2024-06-25T05:33:56.121Z] > git config --get remote.origin.url # timeout=10 [2024-06-25T05:33:56.139Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-06-25T05:33:56.157Z] > git merge 13e477b7e225234a84aaaa3becdbd9ca8ce93d09 # timeout=10 [2024-06-25T05:33:56.180Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-06-25T05:33:56.201Z] > git config core.sparsecheckout # timeout=10 [2024-06-25T05:33:56.213Z] > git checkout -f d6c06c3c8c38f4e47fb9838bbfb63ff74df41f13 # timeout=10 [2024-06-25T05:33:56.734Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" [2024-06-25T05:33:56.776Z] > git --version # timeout=10 [2024-06-25T05:33:56.787Z] > git --version # 'git version 2.25.1' [2024-06-25T05:33:56.801Z] fatal: bad object 590556114a56c6d90cc8043840e039c2f74196dc [2024-06-25T05:33:59.075Z] Removing intermediate container 1f41efb4c44d [2024-06-25T05:33:59.075Z] ---> 8c832aad725f [2024-06-25T05:33:59.075Z] Step 9/23 : COPY . . [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [2024-06-25T05:34:00.991Z] ---> 4425a30f0889 [2024-06-25T05:34:00.991Z] Step 10/23 : RUN ${MAKE} [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-06-25T05:34:01.252Z] ---> Running in 3d1a75c76bf4 [2024-06-25T05:34:01.684Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-06-25T05:34:01.684Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-06-25T05:34:01.684Z] Dload Upload Total Spent Left Speed [2024-06-25T05:34:01.684Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 93635 0 --:--:-- --:--:-- --:--:-- 93635 [Pipeline] sh [2024-06-25T05:34:02.025Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-06-25T05:34:02.369Z] + sudo tee /etc/docker/daemon.new+ [2024-06-25T05:34:02.369Z] sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2024-06-25T05:34:02.369Z] { [2024-06-25T05:34:02.369Z] "registry-mirrors": [ [2024-06-25T05:34:02.369Z] "https://nexus3.edgexfoundry.org:10001" [2024-06-25T05:34:02.369Z] ], [2024-06-25T05:34:02.369Z] "bip": "10.250.0.254/24", [2024-06-25T05:34:02.369Z] "hosts": [ [2024-06-25T05:34:02.369Z] "tcp://0.0.0.0:5555", [2024-06-25T05:34:02.369Z] "unix:///var/run/docker.sock" [2024-06-25T05:34:02.369Z] ], [2024-06-25T05:34:02.369Z] "mtu": 1458, [2024-06-25T05:34:02.369Z] "selinux-enabled": true, [2024-06-25T05:34:02.369Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-06-25T05:34:02.369Z] } [Pipeline] sh [2024-06-25T05:34:02.633Z] 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.18" -trimpath -mod=readonly -o cmd/device-modbus ./cmd [2024-06-25T05:34:02.723Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-06-25T05:34:03.072Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-06-25T05:34:21.413Z] provisioning config files... [2024-06-25T05:34:21.439Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/1@tmp/config10671178137003547687tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-06-25T05:34:21.940Z] ---> ****-login.sh [2024-06-25T05:34:21.940Z] nexus3.edgexfoundry.org:10001 [2024-06-25T05:34:22.209Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-06-25T05:34:22.481Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-06-25T05:34:22.481Z] Configure a credential helper to remove this warning. See [2024-06-25T05:34:22.481Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-06-25T05:34:22.481Z] [2024-06-25T05:34:22.481Z] Login Succeeded [2024-06-25T05:34:22.481Z] nexus3.edgexfoundry.org:10002 [2024-06-25T05:34:22.750Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-06-25T05:34:23.018Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-06-25T05:34:23.018Z] Configure a credential helper to remove this warning. See [2024-06-25T05:34:23.018Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-06-25T05:34:23.018Z] [2024-06-25T05:34:23.018Z] Login Succeeded [2024-06-25T05:34:23.018Z] nexus3.edgexfoundry.org:10003 [2024-06-25T05:34:23.290Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-06-25T05:34:23.291Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-06-25T05:34:23.291Z] Configure a credential helper to remove this warning. See [2024-06-25T05:34:23.291Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-06-25T05:34:23.291Z] [2024-06-25T05:34:23.291Z] Login Succeeded [2024-06-25T05:34:23.291Z] nexus3.edgexfoundry.org:10004 [2024-06-25T05:34:23.561Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-06-25T05:34:23.561Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-06-25T05:34:23.561Z] Configure a credential helper to remove this warning. See [2024-06-25T05:34:23.561Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-06-25T05:34:23.561Z] [2024-06-25T05:34:23.561Z] Login Succeeded [2024-06-25T05:34:23.561Z] ****.io [2024-06-25T05:34:23.829Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-06-25T05:34:24.096Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-06-25T05:34:24.096Z] Configure a credential helper to remove this warning. See [2024-06-25T05:34:24.096Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-06-25T05:34:24.096Z] [2024-06-25T05:34:24.096Z] Login Succeeded [2024-06-25T05:34:24.096Z] ---> ****-login.sh ends [Pipeline] } [2024-06-25T05:34:24.134Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-06-25T05:34:24.578Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-06-25T05:34:24.631Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-06-25T05:34:24.676Z] ========================================================= [2024-06-25T05:34:24.677Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2024-06-25T05:34:24.677Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-06-25T05:34:25.227Z] + 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 . [2024-06-25T05:34:25.496Z] Sending build context to Docker daemon 9.037MB [2024-06-25T05:34:25.776Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2024-06-25T05:34:25.776Z] Step 2/10 : FROM ${BASE} AS builder [2024-06-25T05:34:25.776Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-06-25T05:34:25.776Z] c6b39de5b339: Pulling fs layer [2024-06-25T05:34:25.776Z] a69c41024577: Pulling fs layer [2024-06-25T05:34:25.776Z] d6de4b400683: Pulling fs layer [2024-06-25T05:34:25.776Z] 35cb2a7552d0: Pulling fs layer [2024-06-25T05:34:25.776Z] 4f4fb700ef54: Pulling fs layer [2024-06-25T05:34:25.776Z] 464afbd9ba4c: Pulling fs layer [2024-06-25T05:34:25.776Z] 00f215d4a9da: Pulling fs layer [2024-06-25T05:34:25.776Z] d496ad576159: Pulling fs layer [2024-06-25T05:34:25.776Z] 464afbd9ba4c: Waiting [2024-06-25T05:34:25.776Z] 00f215d4a9da: Waiting [2024-06-25T05:34:25.776Z] d496ad576159: Waiting [2024-06-25T05:34:25.776Z] 35cb2a7552d0: Waiting [2024-06-25T05:34:25.776Z] 4f4fb700ef54: Waiting [2024-06-25T05:34:25.776Z] a69c41024577: Download complete [2024-06-25T05:34:25.776Z] 35cb2a7552d0: Verifying Checksum [2024-06-25T05:34:25.776Z] 35cb2a7552d0: Download complete [2024-06-25T05:34:25.776Z] 4f4fb700ef54: Verifying Checksum [2024-06-25T05:34:25.776Z] 4f4fb700ef54: Download complete [2024-06-25T05:34:25.776Z] 464afbd9ba4c: Download complete [2024-06-25T05:34:26.058Z] c6b39de5b339: Verifying Checksum [2024-06-25T05:34:26.058Z] c6b39de5b339: Download complete [2024-06-25T05:34:26.328Z] d496ad576159: Verifying Checksum [2024-06-25T05:34:26.328Z] d496ad576159: Download complete [2024-06-25T05:34:26.912Z] c6b39de5b339: Pull complete [2024-06-25T05:34:27.493Z] a69c41024577: Pull complete [2024-06-25T05:34:27.759Z] d6de4b400683: Download complete [2024-06-25T05:34:28.717Z] 00f215d4a9da: Verifying Checksum [2024-06-25T05:34:41.061Z] d6de4b400683: Pull complete [2024-06-25T05:34:41.061Z] 35cb2a7552d0: Pull complete [2024-06-25T05:34:41.061Z] 4f4fb700ef54: Pull complete [2024-06-25T05:34:41.061Z] 464afbd9ba4c: Pull complete [2024-06-25T05:34:41.436Z] Removing intermediate container 3d1a75c76bf4 [2024-06-25T05:34:41.436Z] ---> 4b2b9caaba46 [2024-06-25T05:34:41.436Z] Step 11/23 : FROM alpine:3.18 [2024-06-25T05:34:41.436Z] 3.18: Pulling from library/alpine [2024-06-25T05:34:41.436Z] 73baa7ef167e: Pulling fs layer [2024-06-25T05:34:41.436Z] 73baa7ef167e: Verifying Checksum [2024-06-25T05:34:41.436Z] 73baa7ef167e: Download complete [2024-06-25T05:34:41.436Z] 73baa7ef167e: Pull complete [2024-06-25T05:34:41.436Z] Digest: sha256:1875c923b73448b558132e7d4a44b815d078779ed7a73f76209c6372de95ea8d [2024-06-25T05:34:41.436Z] Status: Downloaded newer image for alpine:3.18 [2024-06-25T05:34:41.436Z] ---> 8fd7cac70a4a [2024-06-25T05:34:41.436Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2024-06-25T05:34:41.436Z] ---> Running in f10c071c2331 [2024-06-25T05:34:41.436Z] Removing intermediate container f10c071c2331 [2024-06-25T05:34:41.436Z] ---> da62db888736 [2024-06-25T05:34:41.436Z] Step 13/23 : RUN apk add --update --no-cache dumb-init [2024-06-25T05:34:41.436Z] ---> Running in a97024107958 [2024-06-25T05:34:41.436Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-06-25T05:34:41.436Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-06-25T05:34:41.436Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-06-25T05:34:41.436Z] Executing busybox-1.36.1-r7.trigger [2024-06-25T05:34:41.436Z] OK: 7 MiB in 16 packages [2024-06-25T05:34:41.436Z] Removing intermediate container a97024107958 [2024-06-25T05:34:41.436Z] ---> d0d0744e51ce [2024-06-25T05:34:41.436Z] Step 14/23 : RUN apk --no-cache upgrade [2024-06-25T05:34:41.436Z] ---> Running in fb8a5d00a7ac [2024-06-25T05:34:41.436Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-06-25T05:34:41.436Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-06-25T05:34:41.436Z] OK: 7 MiB in 16 packages [2024-06-25T05:34:41.436Z] Removing intermediate container fb8a5d00a7ac [2024-06-25T05:34:41.436Z] ---> da518bb681d0 [2024-06-25T05:34:41.436Z] Step 15/23 : COPY --from=builder /device-modbus-go/cmd / [2024-06-25T05:34:41.436Z] ---> 54995727cc90 [2024-06-25T05:34:41.436Z] Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / [2024-06-25T05:34:41.436Z] ---> 4d3e4ef49869 [2024-06-25T05:34:41.436Z] Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / [2024-06-25T05:34:41.436Z] ---> 86710967f262 [2024-06-25T05:34:41.436Z] Step 18/23 : EXPOSE 59901 [2024-06-25T05:34:41.436Z] ---> Running in 6169d21f9974 [2024-06-25T05:34:41.436Z] Removing intermediate container 6169d21f9974 [2024-06-25T05:34:41.436Z] ---> 768fa4253c0e [2024-06-25T05:34:41.436Z] Step 19/23 : ENTRYPOINT ["/device-modbus"] [2024-06-25T05:34:41.436Z] ---> Running in 06053f1c87cf [2024-06-25T05:34:41.436Z] Removing intermediate container 06053f1c87cf [2024-06-25T05:34:41.436Z] ---> ddd706587a50 [2024-06-25T05:34:41.436Z] Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2024-06-25T05:34:41.436Z] ---> Running in aa5a95232e94 [2024-06-25T05:34:41.436Z] Removing intermediate container aa5a95232e94 [2024-06-25T05:34:41.436Z] ---> 211d15825846 [2024-06-25T05:34:41.436Z] Step 21/23 : LABEL arch=amd64 [2024-06-25T05:34:41.436Z] ---> Running in 6c92d43708f4 [2024-06-25T05:34:41.436Z] Removing intermediate container 6c92d43708f4 [2024-06-25T05:34:41.436Z] ---> 2d656e8e83d9 [2024-06-25T05:34:41.436Z] Step 22/23 : LABEL git_sha=d6c06c3c8c38f4e47fb9838bbfb63ff74df41f13 [2024-06-25T05:34:41.436Z] ---> Running in 38ca259665ba [2024-06-25T05:34:41.696Z] Removing intermediate container 38ca259665ba [2024-06-25T05:34:41.696Z] ---> 850d423e867c [2024-06-25T05:34:41.696Z] Step 23/23 : LABEL version=0.0.0 [2024-06-25T05:34:41.696Z] ---> Running in bfd8934ae6d4 [2024-06-25T05:34:41.696Z] Removing intermediate container bfd8934ae6d4 [2024-06-25T05:34:41.696Z] ---> 312902eb37d8 [2024-06-25T05:34:41.696Z] [Warning] One or more build-args [ARCH] were not consumed [2024-06-25T05:34:41.696Z] Successfully built 312902eb37d8 [2024-06-25T05:34:41.696Z] Successfully tagged device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-06-25T05:34:42.817Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-06-25T05:34:42.817Z] [2024-06-25T05:34:42.817Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-06-25T05:34:43.236Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-06-25T05:34:43.236Z] latest: Pulling from edgex-lftools-log-publisher [2024-06-25T05:34:43.236Z] 5eb5b503b376: Pulling fs layer [2024-06-25T05:34:43.236Z] 5c69ac0246d0: Pulling fs layer [2024-06-25T05:34:43.236Z] ec43610c2a17: Pulling fs layer [2024-06-25T05:34:43.236Z] 3a2ae6a8a46f: Pulling fs layer [2024-06-25T05:34:43.236Z] 33b1e0a273af: Pulling fs layer [2024-06-25T05:34:43.236Z] 5d3b04190fa2: Pulling fs layer [2024-06-25T05:34:43.236Z] 2f39f015ded8: Pulling fs layer [2024-06-25T05:34:43.236Z] 5d3b04190fa2: Waiting [2024-06-25T05:34:43.236Z] 2f39f015ded8: Waiting [2024-06-25T05:34:43.236Z] 33b1e0a273af: Waiting [2024-06-25T05:34:43.236Z] 3a2ae6a8a46f: Waiting [2024-06-25T05:34:43.236Z] 5c69ac0246d0: Download complete [2024-06-25T05:34:43.236Z] 3a2ae6a8a46f: Verifying Checksum [2024-06-25T05:34:43.236Z] 3a2ae6a8a46f: Download complete [2024-06-25T05:34:43.236Z] 33b1e0a273af: Verifying Checksum [2024-06-25T05:34:43.236Z] 33b1e0a273af: Download complete [2024-06-25T05:34:43.236Z] 5d3b04190fa2: Verifying Checksum [2024-06-25T05:34:43.236Z] 5d3b04190fa2: Download complete [2024-06-25T05:34:43.236Z] ec43610c2a17: Verifying Checksum [2024-06-25T05:34:43.236Z] ec43610c2a17: Download complete [2024-06-25T05:34:43.494Z] 5eb5b503b376: Verifying Checksum [2024-06-25T05:34:43.494Z] 5eb5b503b376: Download complete [2024-06-25T05:34:44.061Z] 2f39f015ded8: Download complete [2024-06-25T05:34:44.628Z] 5eb5b503b376: Pull complete [2024-06-25T05:34:44.628Z] 5c69ac0246d0: Pull complete [2024-06-25T05:34:45.193Z] ec43610c2a17: Pull complete [2024-06-25T05:34:45.193Z] 3a2ae6a8a46f: Pull complete [2024-06-25T05:34:45.451Z] 33b1e0a273af: Pull complete [2024-06-25T05:34:45.451Z] 5d3b04190fa2: Pull complete [2024-06-25T05:34:49.632Z] 2f39f015ded8: Pull complete [2024-06-25T05:34:49.632Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-06-25T05:34:49.632Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-06-25T05:34:49.632Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-06-25T05:34:49.925Z] prd-ubuntu20.04-docker-8c-8g-4328 does not seem to be running inside a container [2024-06-25T05:34:49.957Z] $ 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-555 -v /w/workspace/xfoundry_device-modbus-go_PR-555:/w/workspace/xfoundry_device-modbus-go_PR-555:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-555@tmp:/w/workspace/xfoundry_device-modbus-go_PR-555@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-06-25T05:34:51.150Z] 00f215d4a9da: Pull complete [2024-06-25T05:34:51.150Z] d496ad576159: Pull complete [2024-06-25T05:34:51.416Z] Digest: sha256:94db8a0955b4c8a8fb4ef40f1d66dd6a37c55842a5f6085bb7a69a85e2cfc316 [2024-06-25T05:34:51.416Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2024-06-25T05:34:51.416Z] ---> f246e2811388 [2024-06-25T05:34:51.416Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2024-06-25T05:34:52.830Z] ---> Running in 20702ba71120 [2024-06-25T05:34:53.103Z] Removing intermediate container 20702ba71120 [2024-06-25T05:34:53.103Z] ---> 4abbbd2df5a7 [2024-06-25T05:34:53.103Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-06-25T05:34:53.371Z] ---> Running in 6e1a1d71dfb1 [2024-06-25T05:34:53.642Z] Removing intermediate container 6e1a1d71dfb1 [2024-06-25T05:34:53.642Z] ---> 69cad11f83e0 [2024-06-25T05:34:53.642Z] Step 5/10 : RUN apk add --update --no-cache make git openssh [2024-06-25T05:34:53.642Z] ---> Running in 3894b63dbae1 [2024-06-25T05:34:54.221Z] $ docker top cff159ce904ca285257496814e4a448c855226f5a257f76dc3005373b747733c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-06-25T05:34:54.820Z] ---> job-cost.sh [2024-06-25T05:34:54.820Z] lf-activate-venv: SKIPPING [2024-06-25T05:34:54.820Z] INFO: No Stack... [2024-06-25T05:34:55.063Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-06-25T05:34:55.063Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-06-25T05:34:55.079Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-06-25T05:34:55.339Z] INFO: Archiving Costs [Pipeline] sh [2024-06-25T05:34:55.658Z] + cat /w/workspace/xfoundry_device-modbus-go_PR-555/archives/cost.csv [2024-06-25T05:34:55.658Z] + cut -d, -f6 [Pipeline] lock [2024-06-25T05:34:55.709Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-modbus-go-PR-555-1-stack-cost] [2024-06-25T05:34:55.715Z] Resource [jenkins-edgexfoundry-device-modbus-go-PR-555-1-stack-cost] did not exist. Created. [2024-06-25T05:34:55.721Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-modbus-go-PR-555-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-06-25T05:34:56.024Z] (1/8) Installing openssh-keygen (9.3_p2-r1) [2024-06-25T05:34:56.024Z] (2/8) Installing libedit (20221030.3.1-r1) [2024-06-25T05:34:56.024Z] (3/8) Installing openssh-client-common (9.3_p2-r1) [2024-06-25T05:34:56.024Z] (4/8) Installing openssh-client-default (9.3_p2-r1) [2024-06-25T05:34:56.148Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-06-25T05:34:56.202Z] Stashed 1 file(s) [Pipeline] } [2024-06-25T05:34:56.241Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-modbus-go-PR-555-1-stack-cost] [2024-06-25T05:34:56.294Z] (5/8) Installing openssh-sftp-server (9.3_p2-r1) [2024-06-25T05:34:56.294Z] (6/8) Installing openssh-server-common (9.3_p2-r1) [2024-06-25T05:34:56.294Z] (7/8) Installing openssh-server (9.3_p2-r1) [2024-06-25T05:34:56.294Z] (8/8) Installing openssh (9.3_p2-r1) [2024-06-25T05:34:56.294Z] Executing busybox-1.36.1-r5.trigger [2024-06-25T05:34:56.294Z] OK: 272 MiB in 60 packages [Pipeline] // lock [Pipeline] } [2024-06-25T05:34:56.373Z] $ docker stop --time=1 cff159ce904ca285257496814e4a448c855226f5a257f76dc3005373b747733c [2024-06-25T05:34:57.521Z] $ docker rm -f --volumes cff159ce904ca285257496814e4a448c855226f5a257f76dc3005373b747733c [Pipeline] // withDockerContainer [Pipeline] } [2024-06-25T05:34:57.720Z] Removing intermediate container 3894b63dbae1 [2024-06-25T05:34:57.721Z] ---> e8d0280477a7 [2024-06-25T05:34:57.721Z] Step 6/10 : WORKDIR /device-modbus-go [2024-06-25T05:34:57.721Z] ---> Running in a13d3a48511c [2024-06-25T05:34:57.721Z] Removing intermediate container a13d3a48511c [2024-06-25T05:34:57.721Z] ---> 61d9e39f3446 [2024-06-25T05:34:57.721Z] Step 7/10 : COPY go.mod vendor* ./ [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-06-25T05:34:58.327Z] ---> ee1f50367b33 [2024-06-25T05:34:58.328Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-06-25T05:34:58.328Z] ---> Running in c3ea0f420ce4 [2024-06-25T05:36:50.003Z] Removing intermediate container c3ea0f420ce4 [2024-06-25T05:36:50.003Z] ---> 0376c22411ce [2024-06-25T05:36:50.003Z] Step 9/10 : COPY . . [2024-06-25T05:36:50.003Z] ---> 533062fe05a2 [2024-06-25T05:36:50.003Z] Step 10/10 : RUN ${MAKE} [2024-06-25T05:36:50.003Z] ---> Running in 59d54b39d96a [2024-06-25T05:36:50.003Z] noop [2024-06-25T05:36:50.003Z] Removing intermediate container 59d54b39d96a [2024-06-25T05:36:50.003Z] ---> 78d9196acd37 [2024-06-25T05:36:50.003Z] Successfully built 78d9196acd37 [2024-06-25T05:36:50.003Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-06-25T05:36:50.526Z] + docker inspect -f . ci-base-image-arm64 [2024-06-25T05:36:50.526Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-06-25T05:36:50.819Z] prd-ubuntu20.04-docker-arm64-4c-16g-4329 does not seem to be running inside a container [2024-06-25T05:36:50.882Z] $ 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-06-25T05:36:52.074Z] $ docker top 693bc88389ca56ef349c37b2d446d4ef8faeb9b8f79ed91f08deb49b0a6b00a2 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-06-25T05:36:52.975Z] + go version [2024-06-25T05:36:52.975Z] go version go1.21.9 linux/arm64 [Pipeline] } [2024-06-25T05:36:53.014Z] $ docker stop --time=1 693bc88389ca56ef349c37b2d446d4ef8faeb9b8f79ed91f08deb49b0a6b00a2 [2024-06-25T05:36:54.637Z] $ docker rm -f --volumes 693bc88389ca56ef349c37b2d446d4ef8faeb9b8f79ed91f08deb49b0a6b00a2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-06-25T05:36:55.588Z] + docker inspect -f . ci-base-image-arm64 [2024-06-25T05:36:55.588Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-06-25T05:36:55.855Z] prd-ubuntu20.04-docker-arm64-4c-16g-4329 does not seem to be running inside a container [2024-06-25T05:36:55.910Z] $ 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-06-25T05:36:57.094Z] $ docker top ce8163eff6223ab200d5de87cab142d4cf55e0b4c1753d7cb50f7f6544599e1e -eo pid,comm [Pipeline] { [Pipeline] sh [2024-06-25T05:36:58.012Z] + git config --global --add safe.directory /w/workspace/device-modbus-go/1 [Pipeline] fileExists [Pipeline] sh [2024-06-25T05:36:58.743Z] + make test [2024-06-25T05:36:58.743Z] go test ./... -coverprofile=coverage.out [2024-06-25T05:37:04.085Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2024-06-25T05:40:41.078Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2024-06-25T05:40:41.078Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.049s coverage: 47.9% of statements [2024-06-25T05:40:41.078Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2024-06-25T05:40:41.078Z] go vet ./... [2024-06-25T05:41:27.956Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-06-25T05:41:27.956Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-06-25T05:41:27.956Z] ./bin/test-attribution-txt.sh [2024-06-25T05:41:27.956Z] An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add [2024-06-25T05:41:27.956Z] An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add [2024-06-25T05:41:27.956Z] An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add [2024-06-25T05:41:27.956Z] An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add [2024-06-25T05:41:27.956Z] An attribution for github.com/go-jose/go-jose/v4 is missing from Attribution.txt, please add [2024-06-25T05:41:27.956Z] An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add [2024-06-25T05:41:27.956Z] An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add [2024-06-25T05:41:27.956Z] An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add [2024-06-25T05:41:27.956Z] An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add [2024-06-25T05:41:27.956Z] An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add [2024-06-25T05:41:27.956Z] An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add [2024-06-25T05:41:27.956Z] An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add [2024-06-25T05:41:27.956Z] An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add [2024-06-25T05:41:27.956Z] An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add [2024-06-25T05:41:27.956Z] An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add [2024-06-25T05:41:27.956Z] An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add [2024-06-25T05:41:27.956Z] An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add [2024-06-25T05:41:27.956Z] An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add [2024-06-25T05:41:27.956Z] An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add [2024-06-25T05:41:27.956Z] An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add [2024-06-25T05:41:27.956Z] An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add [2024-06-25T05:41:27.956Z] An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add [2024-06-25T05:41:27.956Z] An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add [2024-06-25T05:41:27.956Z] An attribution for github.com/josharian/intern is missing from Attribution.txt, please add [2024-06-25T05:41:27.956Z] An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add [2024-06-25T05:41:27.956Z] An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add [2024-06-25T05:41:27.956Z] An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add [2024-06-25T05:41:27.956Z] An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add [2024-06-25T05:41:27.956Z] An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add [2024-06-25T05:41:27.956Z] An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add [2024-06-25T05:41:27.956Z] An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add [2024-06-25T05:41:27.956Z] An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add [2024-06-25T05:41:27.956Z] An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add [2024-06-25T05:41:27.956Z] An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add [2024-06-25T05:41:27.956Z] An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add [2024-06-25T05:41:27.956Z] An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add [2024-06-25T05:41:27.956Z] An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add [2024-06-25T05:41:27.956Z] An attribution for github.com/openziti/identity is missing from Attribution.txt, please add [2024-06-25T05:41:27.956Z] An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add [2024-06-25T05:41:27.956Z] An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add [2024-06-25T05:41:27.956Z] An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add [2024-06-25T05:41:27.956Z] An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add [2024-06-25T05:41:27.956Z] An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add [2024-06-25T05:41:27.956Z] An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add [2024-06-25T05:41:27.956Z] An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add [2024-06-25T05:41:27.956Z] An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add [2024-06-25T05:41:27.956Z] An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add [2024-06-25T05:41:27.956Z] An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add [2024-06-25T05:41:27.956Z] An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add [2024-06-25T05:41:27.956Z] An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add [2024-06-25T05:41:27.956Z] An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add [2024-06-25T05:41:27.956Z] An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add [2024-06-25T05:41:27.956Z] An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add [2024-06-25T05:41:27.956Z] An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add [2024-06-25T05:41:27.956Z] An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add [2024-06-25T05:41:27.956Z] An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add [2024-06-25T05:41:27.956Z] An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add [2024-06-25T05:41:27.956Z] An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add [2024-06-25T05:41:27.956Z] An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add [2024-06-25T05:41:27.956Z] An attribution for golang.org/x/term is missing from Attribution.txt, please add [2024-06-25T05:41:27.956Z] An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [2024-06-25T05:41:27.956Z] An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo [2024-06-25T05:41:28.008Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-06-25T05:41:28.054Z] $ docker stop --time=1 ce8163eff6223ab200d5de87cab142d4cf55e0b4c1753d7cb50f7f6544599e1e [2024-06-25T05:41:29.892Z] $ docker rm -f --volumes ce8163eff6223ab200d5de87cab142d4cf55e0b4c1753d7cb50f7f6544599e1e [Pipeline] // withDockerContainer [Pipeline] sh [2024-06-25T05:41:31.419Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-06-25T05:41:31.460Z] Warning: overwriting stash ‘coverage-report’ [2024-06-25T05:41:31.924Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-06-25T05:41:32.596Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-06-25T05:41:32.954Z] + ls -al . [2024-06-25T05:41:32.954Z] total 260 [2024-06-25T05:41:32.954Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 25 05:37 . [2024-06-25T05:41:32.954Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 25 05:33 .. [2024-06-25T05:41:32.954Z] -rw-rw-r-- 1 jenkins jenkins 140 Jun 25 05:33 .dockerignore [2024-06-25T05:41:32.954Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 25 05:34 .git [2024-06-25T05:41:32.954Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 25 05:33 .github [2024-06-25T05:41:32.954Z] -rw-rw-r-- 1 jenkins jenkins 266 Jun 25 05:33 .gitignore [2024-06-25T05:41:32.954Z] -rw-rw-r-- 1 jenkins jenkins 41 Jun 25 05:33 .golangci.yml [2024-06-25T05:41:32.954Z] -rw-rw-r-- 1 jenkins jenkins 11101 Jun 25 05:33 Attribution.txt [2024-06-25T05:41:32.954Z] -rw-rw-r-- 1 jenkins jenkins 16388 Jun 25 05:33 CHANGELOG.md [2024-06-25T05:41:32.954Z] -rw-rw-r-- 1 jenkins jenkins 1474 Jun 25 05:33 Dockerfile [2024-06-25T05:41:32.954Z] -rw-rw-r-- 1 jenkins jenkins 677 Jun 25 05:33 GOVERNANCE.md [2024-06-25T05:41:32.954Z] -rw-rw-r-- 1 jenkins jenkins 658 Jun 25 05:33 Jenkinsfile [2024-06-25T05:41:32.954Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jun 25 05:33 LICENSE [2024-06-25T05:41:32.954Z] -rw-rw-r-- 1 jenkins jenkins 1942 Jun 25 05:33 Makefile [2024-06-25T05:41:32.954Z] -rw-rw-r-- 1 jenkins jenkins 622 Jun 25 05:33 OWNERS.md [2024-06-25T05:41:32.954Z] -rw-rw-r-- 1 jenkins jenkins 4463 Jun 25 05:33 README.md [2024-06-25T05:41:32.954Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 25 05:32 VERSION [2024-06-25T05:41:32.954Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 25 05:33 bin [2024-06-25T05:41:32.954Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 25 05:33 cmd [2024-06-25T05:41:32.954Z] -rw-r--r-- 1 jenkins jenkins 24601 Jun 25 05:40 coverage.out [2024-06-25T05:41:32.954Z] -rw-rw-r-- 1 jenkins jenkins 7241 Jun 25 05:33 go.mod [2024-06-25T05:41:32.954Z] -rw-rw-r-- 1 jenkins jenkins 102291 Jun 25 05:33 go.sum [2024-06-25T05:41:32.954Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 25 05:33 internal [2024-06-25T05:41:32.954Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 25 05:33 simulator [2024-06-25T05:41:32.954Z] -rw-rw-r-- 1 jenkins jenkins 229 Jun 25 05:33 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-06-25T05:41:33.400Z] + 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=d6c06c3c8c38f4e47fb9838bbfb63ff74df41f13 --label arch=arm64 --label version=0.0.0 . [2024-06-25T05:41:33.670Z] Sending build context to Docker daemon 9.062MB [2024-06-25T05:41:33.938Z] Step 1/23 : ARG BASE=golang:1.21-alpine3.18 [2024-06-25T05:41:33.938Z] Step 2/23 : FROM ${BASE} AS builder [2024-06-25T05:41:33.938Z] ---> 78d9196acd37 [2024-06-25T05:41:33.938Z] Step 3/23 : ARG ADD_BUILD_TAGS="" [2024-06-25T05:41:33.938Z] ---> Running in da61e083c6ba [2024-06-25T05:41:34.207Z] Removing intermediate container da61e083c6ba [2024-06-25T05:41:34.207Z] ---> 9e41dc35ec25 [2024-06-25T05:41:34.207Z] Step 4/23 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-06-25T05:41:34.475Z] ---> Running in 76dcb8aaab6b [2024-06-25T05:41:34.742Z] Removing intermediate container 76dcb8aaab6b [2024-06-25T05:41:34.743Z] ---> f8aba1b27e7c [2024-06-25T05:41:34.743Z] Step 5/23 : RUN apk add --update --no-cache make git openssh [2024-06-25T05:41:34.743Z] ---> Running in e8e8501a1cb1 [2024-06-25T05:41:35.703Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-06-25T05:41:36.286Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-06-25T05:41:37.249Z] OK: 272 MiB in 60 packages [2024-06-25T05:41:38.215Z] Removing intermediate container e8e8501a1cb1 [2024-06-25T05:41:38.215Z] ---> 013061a45acd [2024-06-25T05:41:38.215Z] Step 6/23 : WORKDIR /device-modbus-go [2024-06-25T05:41:38.215Z] ---> Running in ff342e955fed [2024-06-25T05:41:38.480Z] Removing intermediate container ff342e955fed [2024-06-25T05:41:38.480Z] ---> cd8bb1aea021 [2024-06-25T05:41:38.480Z] Step 7/23 : COPY go.mod vendor* ./ [2024-06-25T05:41:39.068Z] ---> d4ecba02b403 [2024-06-25T05:41:39.068Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-06-25T05:41:39.068Z] ---> Running in 6ab0ebd46599 [2024-06-25T05:41:41.010Z] Removing intermediate container 6ab0ebd46599 [2024-06-25T05:41:41.010Z] ---> 9f0f762da7d7 [2024-06-25T05:41:41.010Z] Step 9/23 : COPY . . [2024-06-25T05:41:42.419Z] ---> 8fd0e3fae9b3 [2024-06-25T05:41:42.419Z] Step 10/23 : RUN ${MAKE} [2024-06-25T05:41:42.419Z] ---> Running in 6b6c6039ee70 [2024-06-25T05:41:43.386Z] 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.18" -trimpath -mod=readonly -o cmd/device-modbus ./cmd [2024-06-25T05:45:05.158Z] Removing intermediate container 6b6c6039ee70 [2024-06-25T05:45:05.158Z] ---> 214121f1570b [2024-06-25T05:45:05.158Z] Step 11/23 : FROM alpine:3.18 [2024-06-25T05:45:05.158Z] 3.18: Pulling from library/alpine [2024-06-25T05:45:05.158Z] 5c905c7ebe2f: Pulling fs layer [2024-06-25T05:45:05.158Z] 5c905c7ebe2f: Verifying Checksum [2024-06-25T05:45:05.158Z] 5c905c7ebe2f: Download complete [2024-06-25T05:45:05.158Z] 5c905c7ebe2f: Pull complete [2024-06-25T05:45:05.158Z] Digest: sha256:1875c923b73448b558132e7d4a44b815d078779ed7a73f76209c6372de95ea8d [2024-06-25T05:45:05.158Z] Status: Downloaded newer image for alpine:3.18 [2024-06-25T05:45:05.158Z] ---> dec292d02e07 [2024-06-25T05:45:05.158Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2024-06-25T05:45:05.158Z] ---> Running in 6c2ba17c0c2c [2024-06-25T05:45:05.158Z] Removing intermediate container 6c2ba17c0c2c [2024-06-25T05:45:05.158Z] ---> 8a79e590c90e [2024-06-25T05:45:05.158Z] Step 13/23 : RUN apk add --update --no-cache dumb-init [2024-06-25T05:45:05.158Z] ---> Running in 5b33eb5a4ef3 [2024-06-25T05:45:05.158Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-06-25T05:45:05.158Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-06-25T05:45:05.158Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-06-25T05:45:05.158Z] Executing busybox-1.36.1-r7.trigger [2024-06-25T05:45:05.158Z] OK: 8 MiB in 16 packages [2024-06-25T05:45:05.158Z] Removing intermediate container 5b33eb5a4ef3 [2024-06-25T05:45:05.158Z] ---> 411873e23f03 [2024-06-25T05:45:05.158Z] Step 14/23 : RUN apk --no-cache upgrade [2024-06-25T05:45:05.158Z] ---> Running in 1ec50d0af5f4 [2024-06-25T05:45:05.158Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-06-25T05:45:05.158Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-06-25T05:45:05.158Z] OK: 8 MiB in 16 packages [2024-06-25T05:45:05.158Z] Removing intermediate container 1ec50d0af5f4 [2024-06-25T05:45:05.158Z] ---> 348023cbd181 [2024-06-25T05:45:05.158Z] Step 15/23 : COPY --from=builder /device-modbus-go/cmd / [2024-06-25T05:45:07.097Z] ---> 776bebad45f2 [2024-06-25T05:45:07.097Z] Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / [2024-06-25T05:45:07.097Z] ---> badfbed47b6c [2024-06-25T05:45:07.097Z] Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / [2024-06-25T05:45:07.682Z] ---> 916c58bdf10a [2024-06-25T05:45:07.682Z] Step 18/23 : EXPOSE 59901 [2024-06-25T05:45:07.682Z] ---> Running in f51eae58df7e [2024-06-25T05:45:07.949Z] Removing intermediate container f51eae58df7e [2024-06-25T05:45:07.949Z] ---> e7fe10a838b0 [2024-06-25T05:45:07.949Z] Step 19/23 : ENTRYPOINT ["/device-modbus"] [2024-06-25T05:45:08.215Z] ---> Running in 37719468ee82 [2024-06-25T05:45:08.483Z] Removing intermediate container 37719468ee82 [2024-06-25T05:45:08.483Z] ---> 136e0637ec77 [2024-06-25T05:45:08.483Z] Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2024-06-25T05:45:08.483Z] ---> Running in fa118d4d8daa [2024-06-25T05:45:08.751Z] Removing intermediate container fa118d4d8daa [2024-06-25T05:45:08.751Z] ---> 9eec1201a92a [2024-06-25T05:45:08.751Z] Step 21/23 : LABEL arch=arm64 [2024-06-25T05:45:08.751Z] ---> Running in e15366edacf2 [2024-06-25T05:45:09.018Z] Removing intermediate container e15366edacf2 [2024-06-25T05:45:09.018Z] ---> c18e6670e93d [2024-06-25T05:45:09.018Z] Step 22/23 : LABEL git_sha=d6c06c3c8c38f4e47fb9838bbfb63ff74df41f13 [2024-06-25T05:45:09.290Z] ---> Running in c702edd14c70 [2024-06-25T05:45:09.557Z] Removing intermediate container c702edd14c70 [2024-06-25T05:45:09.557Z] ---> 4f09f8ca22cc [2024-06-25T05:45:09.557Z] Step 23/23 : LABEL version=0.0.0 [2024-06-25T05:45:09.557Z] ---> Running in d82d623addd6 [2024-06-25T05:45:09.822Z] Removing intermediate container d82d623addd6 [2024-06-25T05:45:09.822Z] ---> 0fa7bf949f13 [2024-06-25T05:45:09.822Z] [Warning] One or more build-args [ARCH] were not consumed [2024-06-25T05:45:09.822Z] Successfully built 0fa7bf949f13 [2024-06-25T05:45:09.822Z] 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-06-25T05:45:10.763Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-06-25T05:45:10.763Z] [2024-06-25T05:45:10.763Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-06-25T05:45:11.183Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-06-25T05:45:11.183Z] arm64: Pulling from edgex-lftools-log-publisher [2024-06-25T05:45:11.183Z] 8998bd30e6a1: Pulling fs layer [2024-06-25T05:45:11.183Z] 04944245beec: Pulling fs layer [2024-06-25T05:45:11.183Z] 699f458cf7ca: Pulling fs layer [2024-06-25T05:45:11.183Z] 765212b225bb: Pulling fs layer [2024-06-25T05:45:11.183Z] f23df028b6ca: Pulling fs layer [2024-06-25T05:45:11.183Z] d65c8cfc05b1: Pulling fs layer [2024-06-25T05:45:11.183Z] 2437ff75d9bd: Pulling fs layer [2024-06-25T05:45:11.183Z] 765212b225bb: Waiting [2024-06-25T05:45:11.183Z] f23df028b6ca: Waiting [2024-06-25T05:45:11.183Z] d65c8cfc05b1: Waiting [2024-06-25T05:45:11.183Z] 2437ff75d9bd: Waiting [2024-06-25T05:45:11.513Z] 04944245beec: Verifying Checksum [2024-06-25T05:45:11.513Z] 04944245beec: Download complete [2024-06-25T05:45:11.513Z] 765212b225bb: Verifying Checksum [2024-06-25T05:45:11.513Z] 765212b225bb: Download complete [2024-06-25T05:45:11.513Z] f23df028b6ca: Verifying Checksum [2024-06-25T05:45:11.513Z] f23df028b6ca: Download complete [2024-06-25T05:45:11.513Z] d65c8cfc05b1: Verifying Checksum [2024-06-25T05:45:11.513Z] d65c8cfc05b1: Download complete [2024-06-25T05:45:11.513Z] 699f458cf7ca: Verifying Checksum [2024-06-25T05:45:11.513Z] 699f458cf7ca: Download complete [2024-06-25T05:45:12.099Z] 8998bd30e6a1: Verifying Checksum [2024-06-25T05:45:12.099Z] 8998bd30e6a1: Download complete [2024-06-25T05:45:14.678Z] 2437ff75d9bd: Verifying Checksum [2024-06-25T05:45:14.678Z] 2437ff75d9bd: Download complete [2024-06-25T05:45:16.618Z] 8998bd30e6a1: Pull complete [2024-06-25T05:45:17.200Z] 04944245beec: Pull complete [2024-06-25T05:45:18.603Z] 699f458cf7ca: Pull complete [2024-06-25T05:45:18.869Z] 765212b225bb: Pull complete [2024-06-25T05:45:19.825Z] f23df028b6ca: Pull complete [2024-06-25T05:45:19.825Z] d65c8cfc05b1: Pull complete [2024-06-25T05:45:38.027Z] 2437ff75d9bd: Pull complete [2024-06-25T05:45:38.027Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-06-25T05:45:38.027Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-06-25T05:45:38.027Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-06-25T05:45:38.401Z] prd-ubuntu20.04-docker-arm64-4c-16g-4329 does not seem to be running inside a container [2024-06-25T05:45:38.471Z] $ 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-06-25T05:45:41.137Z] $ docker top 6e47200a2ba9cad1bc35993b74bedaa9b05876fe7552c220effdf479b7943b9b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-06-25T05:45:42.038Z] ---> job-cost.sh [2024-06-25T05:45:42.038Z] lf-activate-venv: SKIPPING [2024-06-25T05:45:42.038Z] INFO: No Stack... [2024-06-25T05:45:42.615Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-06-25T05:45:43.194Z] INFO: Archiving Costs [Pipeline] sh [2024-06-25T05:45:43.853Z] + cut -d, -f6 [2024-06-25T05:45:43.853Z] + cat /w/workspace/device-modbus-go/1/archives/cost.csv [Pipeline] lock [2024-06-25T05:45:43.939Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-modbus-go-PR-555-1-stack-cost] [2024-06-25T05:45:43.946Z] Resource [jenkins-edgexfoundry-device-modbus-go-PR-555-1-stack-cost] did not exist. Created. [2024-06-25T05:45:43.953Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-modbus-go-PR-555-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-06-25T05:45:44.695Z] /w/workspace/device-modbus-go/1@tmp/durable-638b39aa/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-06-25T05:45:45.356Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-06-25T05:45:45.410Z] Warning: overwriting stash ‘stack-cost’ [2024-06-25T05:45:45.454Z] Stashed 1 file(s) [Pipeline] } [2024-06-25T05:45:45.551Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-modbus-go-PR-555-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-06-25T05:45:45.744Z] $ docker stop --time=1 6e47200a2ba9cad1bc35993b74bedaa9b05876fe7552c220effdf479b7943b9b [2024-06-25T05:45:47.229Z] $ docker rm -f --volumes 6e47200a2ba9cad1bc35993b74bedaa9b05876fe7552c220effdf479b7943b9b [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-06-25T05:45:48.440Z] provisioning config files... [2024-06-25T05:45:48.447Z] copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-555@tmp/config11157862533341093023tmp [Pipeline] { [Pipeline] sh [2024-06-25T05:45:48.812Z] + set +x [2024-06-25T05:45:48.812Z] + bash -s -- [2024-06-25T05:45:48.812Z] + curl -s https://codecov.io/bash [2024-06-25T05:45:48.812Z] [2024-06-25T05:45:48.812Z] _____ _ [2024-06-25T05:45:48.812Z] / ____| | | [2024-06-25T05:45:48.812Z] | | ___ __| | ___ ___ _____ __ [2024-06-25T05:45:48.812Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2024-06-25T05:45:48.812Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2024-06-25T05:45:48.812Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2024-06-25T05:45:48.812Z] Bash-1.0.6 [2024-06-25T05:45:48.812Z] [2024-06-25T05:45:48.812Z] [2024-06-25T05:45:48.812Z] ==> git version 2.25.1 found [2024-06-25T05:45:48.812Z] ==> 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-06-25T05:45:48.812Z] Release-Date: 2020-01-08 [2024-06-25T05:45:48.812Z] 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-06-25T05:45:48.812Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2024-06-25T05:45:48.812Z] ==> Jenkins CI detected. [2024-06-25T05:45:48.812Z] current dir:  /w/workspace/xfoundry_device-modbus-go_PR-555 [2024-06-25T05:45:48.812Z] project root: . [2024-06-25T05:45:48.812Z] --> token set from env [2024-06-25T05:45:48.812Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2024-06-25T05:45:48.812Z] ==> Running gcov in . (disable via -X gcov) [2024-06-25T05:45:48.812Z] ==> Python coveragepy not found [2024-06-25T05:45:48.812Z] ==> Searching for coverage reports in: [2024-06-25T05:45:48.812Z] + . [2024-06-25T05:45:48.812Z] -> Found 1 reports [2024-06-25T05:45:48.812Z] ==> Detecting git/mercurial file structure [2024-06-25T05:45:48.812Z] ==> Reading reports [2024-06-25T05:45:49.073Z] + ./coverage.out bytes=24601 [2024-06-25T05:45:49.073Z] ==> Appending adjustments [2024-06-25T05:45:49.073Z] https://docs.codecov.io/docs/fixing-reports [2024-06-25T05:45:49.073Z] + Found adjustments [2024-06-25T05:45:49.073Z] ==> Gzipping contents [2024-06-25T05:45:49.073Z] 4.0K /tmp/codecov.7Dy2RF.gz [2024-06-25T05:45:49.073Z] ==> Uploading reports [2024-06-25T05:45:49.073Z] url: https://codecov.io [2024-06-25T05:45:49.073Z] query: branch=PR-555&commit=d6c06c3c8c38f4e47fb9838bbfb63ff74df41f13&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-555%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=555&job=&cmd_args= [2024-06-25T05:45:49.073Z] -> Pinging Codecov [2024-06-25T05:45:49.073Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-555&commit=d6c06c3c8c38f4e47fb9838bbfb63ff74df41f13&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-555%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=555&job=&cmd_args= [2024-06-25T05:45:49.073Z] -> Uploading to [2024-06-25T05:45:49.073Z] https://storage.googleapis.com/codecov/v4/raw/2024-06-25/55DBCA73C666E3227836607328DD7E49/d6c06c3c8c38f4e47fb9838bbfb63ff74df41f13/359acf80-64ff-4289-a6ee-104cdedc92c6.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240625%2Fus-west2%2Fs3%2Faws4_request&X-Amz-Date=20240625T054549Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=10f7883d79e6e0926771f9b9c45900803e789a6b3e87093ddc0d195c6e8ef91f [2024-06-25T05:45:49.073Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-06-25T05:45:49.073Z] Dload Upload Total Spent Left Speed [2024-06-25T05:45:49.335Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3843 0 0 100 3843 0 16708 --:--:-- --:--:-- --:--:-- 16708 [2024-06-25T05:45:49.335Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/d6c06c3c8c38f4e47fb9838bbfb63ff74df41f13 [Pipeline] } [2024-06-25T05:45:49.365Z] 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-06-25T05:45:51.685Z] + [ -d /w/workspace/xfoundry_device-modbus-go_PR-555/archives ] [2024-06-25T05:45:51.685Z] + ls -al /w/workspace/xfoundry_device-modbus-go_PR-555/archives [2024-06-25T05:45:51.685Z] total 16 [2024-06-25T05:45:51.685Z] drwxr-xr-x 3 root root 4096 Jun 25 05:34 . [2024-06-25T05:45:51.685Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 25 05:34 .. [2024-06-25T05:45:51.685Z] drwxr-xr-x 2 root root 4096 Jun 25 05:34 cost [2024-06-25T05:45:51.685Z] -rw-r--r-- 1 root root 88 Jun 25 05:34 cost.csv [2024-06-25T05:45:51.685Z] + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-555/archives [2024-06-25T05:45:51.685Z] + ls -al /w/workspace/xfoundry_device-modbus-go_PR-555/archives [2024-06-25T05:45:51.685Z] total 16 [2024-06-25T05:45:51.685Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 25 05:34 . [2024-06-25T05:45:51.685Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 25 05:34 .. [2024-06-25T05:45:51.685Z] drwxr-xr-x 2 jenkins jenkins 4096 Jun 25 05:34 cost [2024-06-25T05:45:51.685Z] -rw-r--r-- 1 jenkins jenkins 88 Jun 25 05:34 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-06-25T05:45:52.055Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-06-25T05:45:52.963Z] ---> package-listing.sh [2024-06-25T05:45:52.963Z] ++ facter osfamily [2024-06-25T05:45:52.963Z] ++ tr '[:upper:]' '[:lower:]' [2024-06-25T05:45:53.222Z] + OS_FAMILY=debian [2024-06-25T05:45:53.222Z] + workspace=/w/workspace/xfoundry_device-modbus-go_PR-555 [2024-06-25T05:45:53.222Z] + START_PACKAGES=/tmp/packages_start.txt [2024-06-25T05:45:53.222Z] + END_PACKAGES=/tmp/packages_end.txt [2024-06-25T05:45:53.222Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-06-25T05:45:53.222Z] + PACKAGES=/tmp/packages_start.txt [2024-06-25T05:45:53.222Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-555 ']' [2024-06-25T05:45:53.222Z] + PACKAGES=/tmp/packages_end.txt [2024-06-25T05:45:53.222Z] + case "${OS_FAMILY}" in [2024-06-25T05:45:53.222Z] + dpkg -l [2024-06-25T05:45:53.222Z] + grep '^ii' [2024-06-25T05:45:53.222Z] + '[' -f /tmp/packages_start.txt ']' [2024-06-25T05:45:53.222Z] + '[' -f /tmp/packages_end.txt ']' [2024-06-25T05:45:53.222Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-06-25T05:45:53.222Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-555 ']' [2024-06-25T05:45:53.222Z] + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-555/archives/ [2024-06-25T05:45:53.222Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-555/archives/ [Pipeline] echo [2024-06-25T05:45:53.262Z] 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-555/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-06-25T05:45:53.556Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-06-25T05:45:54.208Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-06-25T05:45:54.208Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-06-25T05:45:54.370Z] prd-ubuntu20.04-docker-8c-8g-4328 does not seem to be running inside a container [2024-06-25T05:45:54.393Z] $ 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-555/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-555 -v /w/workspace/xfoundry_device-modbus-go_PR-555:/w/workspace/xfoundry_device-modbus-go_PR-555:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-555@tmp:/w/workspace/xfoundry_device-modbus-go_PR-555@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-06-25T05:45:54.602Z] $ docker top dc78c4386d0a7843795174979899e3ba29f17af0eddfc813173efa9422ef03f5 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-06-25T05:45:55.005Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-06-25T05:45:55.321Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-06-25T05:45:55.641Z] + ls /var/log/sa-host [2024-06-25T05:45:55.642Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-06-25T05:45:55.787Z] provisioning config files... [2024-06-25T05:45:55.796Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-555@tmp/config4378229700708949933tmp [Pipeline] { [Pipeline] echo [2024-06-25T05:45:55.867Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-06-25T05:45:56.184Z] ---> create-netrc.sh [Pipeline] } [2024-06-25T05:45:56.216Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-06-25T05:45:56.644Z] ---> python-tools-install.sh [Pipeline] echo [2024-06-25T05:45:56.686Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-06-25T05:45:57.012Z] ---> sudo-logs.sh [2024-06-25T05:45:57.012Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-06-25T05:45:57.123Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-06-25T05:45:57.498Z] ---> job-cost.sh [2024-06-25T05:45:57.498Z] lf-activate-venv: SKIPPING [2024-06-25T05:45:57.498Z] DEBUG: total: 0.2199999988079071 [2024-06-25T05:45:57.498Z] INFO: Retrieving Stack Cost... [2024-06-25T05:45:58.083Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-06-25T05:45:58.354Z] INFO: Archiving Costs [Pipeline] echo [2024-06-25T05:45:58.396Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-06-25T05:45:58.765Z] ---> logs-deploy.sh [2024-06-25T05:45:58.765Z] lf-activate-venv: SKIPPING [2024-06-25T05:45:58.765Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-555/1 [2024-06-25T05:45:58.765Z] INFO: archiving workspace using pattern(s): [2024-06-25T05:45:59.734Z] Archives upload complete. [2024-06-25T05:45:59.734Z] INFO: archiving logs to Nexus