Pull request #581 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of whxtpbnl for edgexfoundry/device-modbus-go Loading trusted files from base branch main at e778c6a7e22bae4333302da5b4dc0bc2aa806a86 rather than 0079a6753dc3243845d21c2f9117c3e0b3b23a10 Obtained Jenkinsfile from e778c6a7e22bae4333302da5b4dc0bc2aa806a86 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-ssh12880244723441084197.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 0b81fa10a7dd14683a964f04f411324fe83f93ac Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh6103511704557779604.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 0b81fa10a7dd14683a964f04f411324fe83f93ac The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-581/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-581/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh13512471444641296592.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-581/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh15327075737517326866.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 0b81fa10a7dd14683a964f04f411324fe83f93ac (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 0b81fa10a7dd14683a964f04f411324fe83f93ac # timeout=10 Commit message: "Merge pull request #457 from jinlinGuan/golang-1.23" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh8398483113984953721.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-581/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-581/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh8654049560611320127.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 0b81fa10a7dd14683a964f04f411324fe83f93ac Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-modbus-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-modbus-go-settings PROJECT: device-modbus-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.23 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-modbus DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-22421 in /w/workspace/xfoundry_device-modbus-go_PR-581 [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-581 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit e778c6a7e22bae4333302da5b4dc0bc2aa806a86 into PR head commit 0079a6753dc3243845d21c2f9117c3e0b3b23a10 > 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/581/head:refs/remotes/origin/PR-581 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 0079a6753dc3243845d21c2f9117c3e0b3b23a10 # 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 e778c6a7e22bae4333302da5b4dc0bc2aa806a86 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 Merge succeeded, producing 0079a6753dc3243845d21c2f9117c3e0b3b23a10 Checking out Revision 0079a6753dc3243845d21c2f9117c3e0b3b23a10 (PR-581) > git config core.sparsecheckout # timeout=10 > git checkout -f 0079a6753dc3243845d21c2f9117c3e0b3b23a10 # timeout=10 Commit message: "feat: support reuse modbus client" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 0b81fa10a7dd14683a964f04f411324fe83f93ac [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-10-10T13:42:15.219Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-10-10T13:42:15.465Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-10-10T13:42:15.612Z] ========================================================= [2024-10-10T13:42:15.612Z] EdgeX Global Pipelines Version Info [2024-10-10T13:42:15.612Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-10-10T13:42:16.380Z] ------------------- [2024-10-10T13:42:16.380Z] stable info: [2024-10-10T13:42:16.380Z] ------------------- [2024-10-10T13:42:16.380Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-10-10T13:42:16.380Z] Commit SHA: 0b81fa10a7dd14683a964f04f411324fe83f93ac [2024-10-10T13:42:16.380Z] Message: update stable to v1.0.265 [2024-10-10T13:42:16.949Z] ------------------- [2024-10-10T13:42:16.949Z] experimental info: [2024-10-10T13:42:16.949Z] ------------------- [2024-10-10T13:42:16.949Z] Commited By: Cherry Wang cherry@iotechsys.com [2024-10-10T13:42:16.949Z] Commit SHA: b5a5e52272fc4198cf3754284eedf36dbf0baa35 [2024-10-10T13:42:16.949Z] Message: update experimental to v1.0.264 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-10-10T13:42:17.183Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo [2024-10-10T13:42:17.251Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo [2024-10-10T13:42:17.312Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-10-10T13:42:17.377Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-10-10T13:42:17.442Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-10-10T13:42:17.508Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo [2024-10-10T13:42:17.575Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-10-10T13:42:17.639Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2024-10-10T13:42:17.698Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-10-10T13:42:17.757Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-10-10T13:42:17.817Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-10-10T13:42:17.879Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo [2024-10-10T13:42:17.941Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-10-10T13:42:18.009Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-10-10T13:42:18.071Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-10-10T13:42:18.134Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2024-10-10T13:42:18.197Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-10-10T13:42:18.264Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-10-10T13:42:18.326Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-10-10T13:42:18.387Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-10-10T13:42:18.452Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2024-10-10T13:42:18.517Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2024-10-10T13:42:18.585Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-10-10T13:42:18.662Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-10-10T13:42:18.729Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-10-10T13:42:18.797Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-10-10T13:42:18.868Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-10-10T13:42:18.938Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-581 [Pipeline] echo [2024-10-10T13:42:19.007Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-581 [Pipeline] echo [2024-10-10T13:42:19.073Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-581 [Pipeline] echo [2024-10-10T13:42:19.143Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 0079a6753dc3243845d21c2f9117c3e0b3b23a10 [Pipeline] echo [2024-10-10T13:42:19.214Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 0079a67 [Pipeline] echo [2024-10-10T13:42:19.281Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-10-10T13:42:19.445Z] provisioning config files... [2024-10-10T13:42:19.460Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-581@tmp/config16477999003571417456tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-10T13:42:20.932Z] ---> ****-login.sh [2024-10-10T13:42:20.932Z] nexus3.edgexfoundry.org:10001 [2024-10-10T13:42:20.932Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-10T13:42:20.932Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-10T13:42:20.932Z] Configure a credential helper to remove this warning. See [2024-10-10T13:42:20.932Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-10T13:42:20.932Z] [2024-10-10T13:42:20.932Z] Login Succeeded [2024-10-10T13:42:20.932Z] nexus3.edgexfoundry.org:10002 [2024-10-10T13:42:20.932Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-10T13:42:20.932Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-10T13:42:20.932Z] Configure a credential helper to remove this warning. See [2024-10-10T13:42:20.932Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-10T13:42:20.932Z] [2024-10-10T13:42:20.932Z] Login Succeeded [2024-10-10T13:42:20.932Z] nexus3.edgexfoundry.org:10003 [2024-10-10T13:42:20.932Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-10T13:42:20.933Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-10T13:42:20.933Z] Configure a credential helper to remove this warning. See [2024-10-10T13:42:20.933Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-10T13:42:20.933Z] [2024-10-10T13:42:20.933Z] Login Succeeded [2024-10-10T13:42:20.933Z] nexus3.edgexfoundry.org:10004 [2024-10-10T13:42:20.933Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-10T13:42:20.933Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-10T13:42:20.933Z] Configure a credential helper to remove this warning. See [2024-10-10T13:42:20.933Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-10T13:42:20.933Z] [2024-10-10T13:42:20.933Z] Login Succeeded [2024-10-10T13:42:20.933Z] ****.io [2024-10-10T13:42:20.933Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-10T13:42:20.933Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-10T13:42:20.933Z] Configure a credential helper to remove this warning. See [2024-10-10T13:42:20.933Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-10T13:42:20.933Z] [2024-10-10T13:42:20.933Z] Login Succeeded [2024-10-10T13:42:20.933Z] ---> ****-login.sh ends [Pipeline] } [2024-10-10T13:42:20.964Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-10-10T13:42:21.664Z] + git rev-list -1 --merges 0079a6753dc3243845d21c2f9117c3e0b3b23a10~1..0079a6753dc3243845d21c2f9117c3e0b3b23a10 [Pipeline] echo [2024-10-10T13:42:21.712Z] -----------> git rev-list -1 --merges 0079a6753dc3243845d21c2f9117c3e0b3b23a10~1..0079a6753dc3243845d21c2f9117c3e0b3b23a10 0079a6753dc3243845d21c2f9117c3e0b3b23a10 [false] [Pipeline] sh [2024-10-10T13:42:22.039Z] + git log --format=format:%s -1 0079a6753dc3243845d21c2f9117c3e0b3b23a10 [Pipeline] echo [2024-10-10T13:42:22.085Z] ========================================================= [2024-10-10T13:42:22.085Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-10-10T13:42:22.085Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-10-10T13:42:22.557Z] + git log --format=format:%s -1 0079a6753dc3243845d21c2f9117c3e0b3b23a10 [Pipeline] echo [2024-10-10T13:42:22.601Z] [semverPrep] GIT_COMMIT: 0079a6753dc3243845d21c2f9117c3e0b3b23a10, Commit Message: feat: support reuse modbus client [Pipeline] echo [2024-10-10T13:42:22.641Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-10-10T13:42:23.099Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-10-10T13:42:23.100Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-10-10T13:42:23.100Z] + [ -e /tmp/ssh_known_hosts ] [2024-10-10T13:42:23.100Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-10-10T13:42:23.100Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-10-10T13:42:23.100Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2024-10-10T13:42:23.100Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-10T13:42:23.945Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-10-10T13:42:23.945Z] [2024-10-10T13:42:23.945Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-10T13:42:24.350Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-10-10T13:42:24.350Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-10-10T13:42:24.350Z] b85a868b505f: Pulling fs layer [2024-10-10T13:42:24.350Z] e2be974225ed: Pulling fs layer [2024-10-10T13:42:24.350Z] 339a4e72a1f5: Pulling fs layer [2024-10-10T13:42:24.350Z] 988bab9f4d93: Pulling fs layer [2024-10-10T13:42:24.350Z] 1469e6f7b9e6: Pulling fs layer [2024-10-10T13:42:24.350Z] eaf3925da568: Pulling fs layer [2024-10-10T13:42:24.350Z] bab4dde63d76: Pulling fs layer [2024-10-10T13:42:24.350Z] bde34c3a00c8: Pulling fs layer [2024-10-10T13:42:24.350Z] b352a97aabf1: Pulling fs layer [2024-10-10T13:42:24.350Z] 4872d77fe225: Pulling fs layer [2024-10-10T13:42:24.350Z] 5851b861e8e6: Pulling fs layer [2024-10-10T13:42:24.350Z] 988bab9f4d93: Waiting [2024-10-10T13:42:24.350Z] 1469e6f7b9e6: Waiting [2024-10-10T13:42:24.350Z] eaf3925da568: Waiting [2024-10-10T13:42:24.350Z] bab4dde63d76: Waiting [2024-10-10T13:42:24.350Z] bde34c3a00c8: Waiting [2024-10-10T13:42:24.350Z] b352a97aabf1: Waiting [2024-10-10T13:42:24.350Z] 5851b861e8e6: Waiting [2024-10-10T13:42:24.350Z] 4872d77fe225: Waiting [2024-10-10T13:42:24.350Z] e2be974225ed: Verifying Checksum [2024-10-10T13:42:24.350Z] e2be974225ed: Download complete [2024-10-10T13:42:24.350Z] 988bab9f4d93: Verifying Checksum [2024-10-10T13:42:24.350Z] 988bab9f4d93: Download complete [2024-10-10T13:42:24.350Z] 1469e6f7b9e6: Verifying Checksum [2024-10-10T13:42:24.350Z] 1469e6f7b9e6: Download complete [2024-10-10T13:42:24.609Z] eaf3925da568: Verifying Checksum [2024-10-10T13:42:24.609Z] eaf3925da568: Download complete [2024-10-10T13:42:24.609Z] 339a4e72a1f5: Verifying Checksum [2024-10-10T13:42:24.609Z] 339a4e72a1f5: Download complete [2024-10-10T13:42:24.609Z] bde34c3a00c8: Download complete [2024-10-10T13:42:24.609Z] b352a97aabf1: Verifying Checksum [2024-10-10T13:42:24.609Z] b352a97aabf1: Download complete [2024-10-10T13:42:24.609Z] 4872d77fe225: Download complete [2024-10-10T13:42:24.609Z] 5851b861e8e6: Verifying Checksum [2024-10-10T13:42:24.609Z] 5851b861e8e6: Download complete [2024-10-10T13:42:24.609Z] b85a868b505f: Verifying Checksum [2024-10-10T13:42:24.609Z] b85a868b505f: Download complete [2024-10-10T13:42:24.869Z] bab4dde63d76: Verifying Checksum [2024-10-10T13:42:24.869Z] bab4dde63d76: Download complete [2024-10-10T13:42:25.806Z] b85a868b505f: Pull complete [2024-10-10T13:42:25.806Z] e2be974225ed: Pull complete [2024-10-10T13:42:26.376Z] 339a4e72a1f5: Pull complete [2024-10-10T13:42:26.376Z] 988bab9f4d93: Pull complete [2024-10-10T13:42:26.637Z] 1469e6f7b9e6: Pull complete [2024-10-10T13:42:26.637Z] eaf3925da568: Pull complete [2024-10-10T13:42:28.546Z] bab4dde63d76: Pull complete [2024-10-10T13:42:28.546Z] bde34c3a00c8: Pull complete [2024-10-10T13:42:28.546Z] b352a97aabf1: Pull complete [2024-10-10T13:42:28.546Z] 4872d77fe225: Pull complete [2024-10-10T13:42:28.546Z] 5851b861e8e6: Pull complete [2024-10-10T13:42:28.546Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-10-10T13:42:28.546Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-10-10T13:42:28.546Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-10T13:42:28.863Z] prd-ubuntu20.04-docker-8c-8g-22421 does not seem to be running inside a container [2024-10-10T13:42:28.894Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-581 -v /w/workspace/xfoundry_device-modbus-go_PR-581:/w/workspace/xfoundry_device-modbus-go_PR-581:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-581@tmp:/w/workspace/xfoundry_device-modbus-go_PR-581@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-10-10T13:42:32.135Z] $ docker top f31d0c9b6207275298dab75784565c9c86b3597f17acdd8be50c7fe037c9bbc2 -eo pid,comm [2024-10-10T13:42:32.186Z] 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-10-10T13:42:32.186Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-10-10T13:42:32.378Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-10-10T13:42:32.378Z] [ssh-agent] Looking for ssh-agent implementation... [2024-10-10T13:42:32.478Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-10-10T13:42:32.481Z] $ docker exec f31d0c9b6207275298dab75784565c9c86b3597f17acdd8be50c7fe037c9bbc2 ssh-agent [2024-10-10T13:42:32.577Z] SSH_AUTH_SOCK=/tmp/ssh-1nhnhrG1xj8M/agent.33 [2024-10-10T13:42:32.577Z] SSH_AGENT_PID=39 [2024-10-10T13:42:32.582Z] Running ssh-add (command line suppressed) [2024-10-10T13:42:32.670Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-581@tmp/private_key_4655402488556462504.key (/w/workspace/xfoundry_device-modbus-go_PR-581@tmp/private_key_4655402488556462504.key) [2024-10-10T13:42:32.683Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-10-10T13:42:33.030Z] + git tag --points-at HEAD [Pipeline] } [2024-10-10T13:42:33.057Z] $ docker exec --env ******** --env ******** f31d0c9b6207275298dab75784565c9c86b3597f17acdd8be50c7fe037c9bbc2 ssh-agent -k [2024-10-10T13:42:33.153Z] unset SSH_AUTH_SOCK; [2024-10-10T13:42:33.154Z] unset SSH_AGENT_PID; [2024-10-10T13:42:33.154Z] echo Agent pid 39 killed; [2024-10-10T13:42:33.164Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-10-10T13:42:33.286Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-10-10T13:42:33.286Z] [ssh-agent] Looking for ssh-agent implementation... [2024-10-10T13:42:33.400Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-10-10T13:42:33.402Z] $ docker exec f31d0c9b6207275298dab75784565c9c86b3597f17acdd8be50c7fe037c9bbc2 ssh-agent [2024-10-10T13:42:33.504Z] SSH_AUTH_SOCK=/tmp/ssh-S73eDduYrm4z/agent.72 [2024-10-10T13:42:33.504Z] SSH_AGENT_PID=78 [2024-10-10T13:42:33.508Z] Running ssh-add (command line suppressed) [2024-10-10T13:42:33.607Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-581@tmp/private_key_33466802720212341.key (/w/workspace/xfoundry_device-modbus-go_PR-581@tmp/private_key_33466802720212341.key) [2024-10-10T13:42:33.621Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-10-10T13:42:33.986Z] + git semver init [2024-10-10T13:42:34.252Z] 2024-10-10 13:42:34,141 [run_init] DEBUG init version:0.0.0 force:False [2024-10-10T13:42:34.252Z] 2024-10-10 13:42:34,142 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-modbus-go_PR-581/.semver [2024-10-10T13:42:34.252Z] 2024-10-10 13:42:34,142 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/xfoundry_device-modbus-go_PR-581/.semver [2024-10-10T13:42:34.252Z] 2024-10-10 13:42:34,142 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/xfoundry_device-modbus-go_PR-581/.semver'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-581, universal_newlines=False, shell=None, istream=None) [2024-10-10T13:42:35.191Z] 2024-10-10 13:42:35,141 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-modbus-go_PR-581/.git/info/exclude [2024-10-10T13:42:35.191Z] 2024-10-10 13:42:35,142 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-modbus-go_PR-581/.semver/PR-581 with force:False [2024-10-10T13:42:35.191Z] 2024-10-10 13:42:35,142 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-modbus-go_PR-581/.semver/PR-581 [2024-10-10T13:42:35.191Z] 2024-10-10 13:42:35,146 [execute] INFO git cat-file --batch-check [2024-10-10T13:42:35.191Z] 2024-10-10 13:42:35,147 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-581/.semver, universal_newlines=False, shell=None, istream=) [2024-10-10T13:42:35.191Z] 2024-10-10 13:42:35,152 [execute] INFO git cat-file --batch [2024-10-10T13:42:35.191Z] 2024-10-10 13:42:35,153 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-581/.semver, universal_newlines=False, shell=None, istream=) [2024-10-10T13:42:35.191Z] 2024-10-10 13:42:35,157 [read_version] DEBUG read version from /w/workspace/xfoundry_device-modbus-go_PR-581/.semver/PR-581 [2024-10-10T13:42:35.191Z] 0.0.0 [Pipeline] } [2024-10-10T13:42:35.223Z] $ docker exec --env ******** --env ******** f31d0c9b6207275298dab75784565c9c86b3597f17acdd8be50c7fe037c9bbc2 ssh-agent -k [2024-10-10T13:42:35.319Z] unset SSH_AUTH_SOCK; [2024-10-10T13:42:35.319Z] unset SSH_AGENT_PID; [2024-10-10T13:42:35.319Z] echo Agent pid 78 killed; [2024-10-10T13:42:35.329Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-10-10T13:42:35.807Z] + git semver [Pipeline] } [2024-10-10T13:42:36.092Z] $ docker stop --time=1 f31d0c9b6207275298dab75784565c9c86b3597f17acdd8be50c7fe037c9bbc2 [2024-10-10T13:42:37.386Z] $ docker rm -f --volumes f31d0c9b6207275298dab75784565c9c86b3597f17acdd8be50c7fe037c9bbc2 [Pipeline] // withDockerContainer [Pipeline] sh [2024-10-10T13:42:37.814Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-10-10T13:42:38.164Z] Stashed 1 file(s) [Pipeline] echo [2024-10-10T13:42:38.191Z] [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-10-10T13:42:38.978Z] provisioning config files... [2024-10-10T13:42:38.988Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-581@tmp/config12276167068044033116tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-10T13:42:39.383Z] ---> ****-login.sh [2024-10-10T13:42:39.383Z] nexus3.edgexfoundry.org:10001 [2024-10-10T13:42:39.383Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-10T13:42:39.383Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-10T13:42:39.383Z] Configure a credential helper to remove this warning. See [2024-10-10T13:42:39.383Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-10T13:42:39.383Z] [2024-10-10T13:42:39.383Z] Login Succeeded [2024-10-10T13:42:39.383Z] nexus3.edgexfoundry.org:10002 [2024-10-10T13:42:39.383Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-10T13:42:39.384Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-10T13:42:39.384Z] Configure a credential helper to remove this warning. See [2024-10-10T13:42:39.384Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-10T13:42:39.384Z] [2024-10-10T13:42:39.384Z] Login Succeeded [2024-10-10T13:42:39.384Z] nexus3.edgexfoundry.org:10003 [2024-10-10T13:42:39.643Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-10T13:42:39.643Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-10T13:42:39.643Z] Configure a credential helper to remove this warning. See [2024-10-10T13:42:39.643Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-10T13:42:39.643Z] [2024-10-10T13:42:39.643Z] Login Succeeded [2024-10-10T13:42:39.643Z] nexus3.edgexfoundry.org:10004 [2024-10-10T13:42:39.643Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-10T13:42:39.643Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-10T13:42:39.643Z] Configure a credential helper to remove this warning. See [2024-10-10T13:42:39.644Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-10T13:42:39.644Z] [2024-10-10T13:42:39.644Z] Login Succeeded [2024-10-10T13:42:39.644Z] ****.io [2024-10-10T13:42:39.644Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-10T13:42:39.904Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-10T13:42:39.904Z] Configure a credential helper to remove this warning. See [2024-10-10T13:42:39.904Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-10T13:42:39.904Z] [2024-10-10T13:42:39.904Z] Login Succeeded [2024-10-10T13:42:39.904Z] ---> ****-login.sh ends [Pipeline] } [2024-10-10T13:42:39.937Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-10-10T13:42:40.205Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-10T13:42:40.260Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-10T13:42:40.311Z] ========================================================= [2024-10-10T13:42:40.311Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] [2024-10-10T13:42:40.311Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-10T13:42:40.858Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine --build-arg MAKE=echo noop --target=builder . [2024-10-10T13:42:40.858Z] Sending build context to Docker daemon 17.98MB [2024-10-10T13:42:40.858Z] Step 1/10 : ARG BASE=golang:1.23-alpine3.20 [2024-10-10T13:42:40.858Z] Step 2/10 : FROM ${BASE} AS builder [2024-10-10T13:42:40.858Z] 1.23-alpine: Pulling from edgex-devops/edgex-golang-base [2024-10-10T13:42:40.858Z] 43c4264eed91: Pulling fs layer [2024-10-10T13:42:40.858Z] 4cc291be95ef: Pulling fs layer [2024-10-10T13:42:40.858Z] 2ac1f1163629: Pulling fs layer [2024-10-10T13:42:40.858Z] 5c3c966382ef: Pulling fs layer [2024-10-10T13:42:40.858Z] 4f4fb700ef54: Pulling fs layer [2024-10-10T13:42:40.858Z] 5d5c8e513c77: Pulling fs layer [2024-10-10T13:42:40.858Z] 9f66e0745190: Pulling fs layer [2024-10-10T13:42:40.858Z] f49a43e4bbc0: Pulling fs layer [2024-10-10T13:42:40.858Z] 5c3c966382ef: Waiting [2024-10-10T13:42:40.858Z] 4f4fb700ef54: Waiting [2024-10-10T13:42:40.859Z] 5d5c8e513c77: Waiting [2024-10-10T13:42:40.859Z] 9f66e0745190: Waiting [2024-10-10T13:42:40.859Z] f49a43e4bbc0: Waiting [2024-10-10T13:42:40.859Z] 561ebcabdf7f: Pulling fs layer [2024-10-10T13:42:40.859Z] 561ebcabdf7f: Waiting [2024-10-10T13:42:40.859Z] 4cc291be95ef: Download complete [2024-10-10T13:42:41.116Z] 5c3c966382ef: Download complete [2024-10-10T13:42:41.116Z] 43c4264eed91: Verifying Checksum [2024-10-10T13:42:41.116Z] 43c4264eed91: Download complete [2024-10-10T13:42:41.116Z] 5d5c8e513c77: Download complete [2024-10-10T13:42:41.116Z] 9f66e0745190: Verifying Checksum [2024-10-10T13:42:41.116Z] 9f66e0745190: Download complete [2024-10-10T13:42:41.116Z] 43c4264eed91: Pull complete [2024-10-10T13:42:41.116Z] 561ebcabdf7f: Verifying Checksum [2024-10-10T13:42:41.116Z] 561ebcabdf7f: Download complete [2024-10-10T13:42:41.375Z] 4cc291be95ef: Pull complete [2024-10-10T13:42:41.375Z] 2ac1f1163629: Verifying Checksum [2024-10-10T13:42:41.375Z] 2ac1f1163629: Download complete [2024-10-10T13:42:41.942Z] f49a43e4bbc0: Verifying Checksum [2024-10-10T13:42:41.942Z] f49a43e4bbc0: Download complete [2024-10-10T13:42:45.232Z] 2ac1f1163629: Pull complete [2024-10-10T13:42:45.232Z] 5c3c966382ef: Pull complete [2024-10-10T13:42:45.232Z] 4f4fb700ef54: Pull complete [2024-10-10T13:42:45.232Z] 5d5c8e513c77: Pull complete [2024-10-10T13:42:45.232Z] 9f66e0745190: Pull complete [2024-10-10T13:42:47.130Z] f49a43e4bbc0: Pull complete [2024-10-10T13:42:47.694Z] 561ebcabdf7f: Pull complete [2024-10-10T13:42:47.694Z] Digest: sha256:0719486ae9a24b675ee3acaa2cfd867e7a981f2ef22b41d166c62d936fe8de2d [2024-10-10T13:42:47.694Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine [2024-10-10T13:42:47.694Z] ---> 3a752c3f9dda [2024-10-10T13:42:47.694Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2024-10-10T13:42:53.736Z] Still waiting to schedule task [2024-10-10T13:42:53.737Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2024-10-10T13:42:54.275Z] ---> Running in 3ebc2da74a49 [2024-10-10T13:42:54.275Z] Removing intermediate container 3ebc2da74a49 [2024-10-10T13:42:54.275Z] ---> 422b222e721f [2024-10-10T13:42:54.275Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-10-10T13:42:54.275Z] ---> Running in 4ca45fe9eac7 [2024-10-10T13:42:54.275Z] Removing intermediate container 4ca45fe9eac7 [2024-10-10T13:42:54.275Z] ---> 75be162f17cc [2024-10-10T13:42:54.275Z] Step 5/10 : RUN apk add --update --no-cache make git openssh [2024-10-10T13:42:54.275Z] ---> Running in a6633bdd2527 [2024-10-10T13:42:54.275Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-10T13:42:54.275Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-10T13:42:54.275Z] (1/8) Installing openssh-keygen (9.7_p1-r4) [2024-10-10T13:42:54.275Z] (2/8) Installing libedit (20240517.3.1-r0) [2024-10-10T13:42:54.275Z] (3/8) Installing openssh-client-common (9.7_p1-r4) [2024-10-10T13:42:54.275Z] (4/8) Installing openssh-client-default (9.7_p1-r4) [2024-10-10T13:42:54.275Z] (5/8) Installing openssh-sftp-server (9.7_p1-r4) [2024-10-10T13:42:54.275Z] (6/8) Installing openssh-server-common (9.7_p1-r4) [2024-10-10T13:42:54.275Z] (7/8) Installing openssh-server (9.7_p1-r4) [2024-10-10T13:42:54.275Z] (8/8) Installing openssh (9.7_p1-r4) [2024-10-10T13:42:54.275Z] Executing busybox-1.36.1-r29.trigger [2024-10-10T13:42:54.275Z] OK: 252 MiB in 62 packages [2024-10-10T13:42:54.845Z] Removing intermediate container a6633bdd2527 [2024-10-10T13:42:54.845Z] ---> 3246506a28df [2024-10-10T13:42:54.845Z] Step 6/10 : WORKDIR /device-modbus-go [2024-10-10T13:42:54.845Z] ---> Running in 3ff1ddcf3448 [2024-10-10T13:42:54.845Z] Removing intermediate container 3ff1ddcf3448 [2024-10-10T13:42:54.845Z] ---> 3bdfbaf3b3dd [2024-10-10T13:42:54.845Z] Step 7/10 : COPY go.mod vendor* ./ [2024-10-10T13:42:55.104Z] ---> 8c8689d010cc [2024-10-10T13:42:55.104Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-10-10T13:42:55.104Z] ---> Running in 1e9800c91e96 [2024-10-10T13:44:02.946Z] Removing intermediate container 1e9800c91e96 [2024-10-10T13:44:02.946Z] ---> 1c79375084d1 [2024-10-10T13:44:02.946Z] Step 9/10 : COPY . . [2024-10-10T13:44:02.946Z] ---> b464b49c6f51 [2024-10-10T13:44:02.946Z] Step 10/10 : RUN ${MAKE} [2024-10-10T13:44:02.946Z] ---> Running in 8662bdfb6234 [2024-10-10T13:44:02.946Z] noop [2024-10-10T13:44:02.946Z] Removing intermediate container 8662bdfb6234 [2024-10-10T13:44:02.946Z] ---> 39977db86004 [2024-10-10T13:44:02.946Z] Successfully built 39977db86004 [2024-10-10T13:44:02.946Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-10T13:44:03.436Z] + docker inspect -f . ci-base-image-x86_64 [2024-10-10T13:44:03.436Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-10T13:44:03.614Z] prd-ubuntu20.04-docker-8c-8g-22421 does not seem to be running inside a container [2024-10-10T13:44:03.646Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-581 -v /w/workspace/xfoundry_device-modbus-go_PR-581:/w/workspace/xfoundry_device-modbus-go_PR-581:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-581@tmp:/w/workspace/xfoundry_device-modbus-go_PR-581@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-10-10T13:44:03.971Z] $ docker top 80aa2053501d3e7cda2bd3bb1ac00629d2d8b9a824d5ff9afac560a69a0a8958 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-10T13:44:04.389Z] + go version [2024-10-10T13:44:04.389Z] go version go1.23.2 linux/amd64 [Pipeline] } [2024-10-10T13:44:04.425Z] $ docker stop --time=1 80aa2053501d3e7cda2bd3bb1ac00629d2d8b9a824d5ff9afac560a69a0a8958 [2024-10-10T13:44:05.675Z] $ docker rm -f --volumes 80aa2053501d3e7cda2bd3bb1ac00629d2d8b9a824d5ff9afac560a69a0a8958 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-10T13:44:06.487Z] + docker inspect -f . ci-base-image-x86_64 [2024-10-10T13:44:06.487Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-10T13:44:06.666Z] prd-ubuntu20.04-docker-8c-8g-22421 does not seem to be running inside a container [2024-10-10T13:44:06.695Z] $ 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-581 -v /w/workspace/xfoundry_device-modbus-go_PR-581:/w/workspace/xfoundry_device-modbus-go_PR-581:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-581@tmp:/w/workspace/xfoundry_device-modbus-go_PR-581@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-10-10T13:44:07.040Z] $ docker top 3af269d1b9280ee40482c6f8799a2356aa23af44fb865d66fa916d4a0037b14d -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-10T13:44:07.459Z] + git config --global --add safe.directory /w/workspace/xfoundry_device-modbus-go_PR-581 [Pipeline] fileExists [Pipeline] sh [2024-10-10T13:44:07.836Z] + make test [2024-10-10T13:44:07.836Z] go test ./... -coverprofile=coverage.out [2024-10-10T13:44:09.750Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2024-10-10T13:44:27.842Z] github.com/edgexfoundry/device-modbus-go/cmd coverage: 0.0% of statements [2024-10-10T13:44:27.842Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.008s coverage: 47.9% of statements [2024-10-10T13:44:32.056Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-22422 in /w/workspace/xfoundry_device-modbus-go_PR-581 [Pipeline] { [Pipeline] ws [2024-10-10T13:44:32.135Z] Running in /w/workspace/device-modbus-go/1 [Pipeline] { [Pipeline] checkout [2024-10-10T13:44:32.232Z] The recommended git tool is: git [2024-10-10T13:44:35.946Z] go vet ./... [2024-10-10T13:44:38.971Z] using credential edgex-jenkins-ssh [2024-10-10T13:44:38.997Z] Cloning the remote Git repository [2024-10-10T13:44:39.038Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2024-10-10T13:44:39.140Z] > git init /w/workspace/device-modbus-go/1 # timeout=10 [2024-10-10T13:44:39.370Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2024-10-10T13:44:39.372Z] > git --version # timeout=10 [2024-10-10T13:44:39.405Z] > git --version # 'git version 2.25.1' [2024-10-10T13:44:39.408Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-10-10T13:44:39.613Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-10-10T13:44:41.211Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-10-10T13:44:41.211Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-10-10T13:44:41.212Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2024-10-10T13:44:41.259Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-10-10T13:44:41.299Z] $ docker stop --time=1 3af269d1b9280ee40482c6f8799a2356aa23af44fb865d66fa916d4a0037b14d [2024-10-10T13:44:41.771Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2024-10-10T13:44:41.815Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-10-10T13:44:43.612Z] Merging remotes/origin/main commit e778c6a7e22bae4333302da5b4dc0bc2aa806a86 into PR head commit 0079a6753dc3243845d21c2f9117c3e0b3b23a10 [2024-10-10T13:44:43.922Z] Merge succeeded, producing 0079a6753dc3243845d21c2f9117c3e0b3b23a10 [2024-10-10T13:44:43.923Z] Checking out Revision 0079a6753dc3243845d21c2f9117c3e0b3b23a10 (PR-581) [2024-10-10T13:44:42.970Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2024-10-10T13:44:43.014Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2024-10-10T13:44:43.015Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-10-10T13:44:43.038Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/581/head:refs/remotes/origin/PR-581 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2024-10-10T13:44:43.628Z] > git config core.sparsecheckout # timeout=10 [2024-10-10T13:44:43.690Z] > git checkout -f 0079a6753dc3243845d21c2f9117c3e0b3b23a10 # timeout=10 [2024-10-10T13:44:43.777Z] > git remote # timeout=10 [2024-10-10T13:44:43.797Z] > git config --get remote.origin.url # timeout=10 [2024-10-10T13:44:43.835Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-10-10T13:44:43.861Z] > git merge e778c6a7e22bae4333302da5b4dc0bc2aa806a86 # timeout=10 [2024-10-10T13:44:43.895Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-10-10T13:44:43.930Z] > git config core.sparsecheckout # timeout=10 [2024-10-10T13:44:43.955Z] > git checkout -f 0079a6753dc3243845d21c2f9117c3e0b3b23a10 # timeout=10 [2024-10-10T13:44:47.837Z] $ docker rm -f --volumes 3af269d1b9280ee40482c6f8799a2356aa23af44fb865d66fa916d4a0037b14d [2024-10-10T13:44:47.904Z] Commit message: "feat: support reuse modbus client" [Pipeline] // withDockerContainer [2024-10-10T13:44:48.033Z] > git --version # timeout=10 [2024-10-10T13:44:48.084Z] > git --version # 'git version 2.25.1' [2024-10-10T13:44:48.159Z] fatal: bad object 0b81fa10a7dd14683a964f04f411324fe83f93ac [Pipeline] sh [2024-10-10T13:44:48.455Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-10-10T13:44:48.533Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [2024-10-10T13:44:50.074Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [Pipeline] script [Pipeline] { [Pipeline] sh [2024-10-10T13:44:50.384Z] + ls -al . [2024-10-10T13:44:50.384Z] total 272 [2024-10-10T13:44:50.384Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 10 13:44 . [2024-10-10T13:44:50.384Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 10 13:42 .. [2024-10-10T13:44:50.384Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 10 13:42 .dockerignore [2024-10-10T13:44:50.384Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 10 13:44 .git [2024-10-10T13:44:50.384Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 10 13:42 .github [2024-10-10T13:44:50.384Z] -rw-rw-r-- 1 jenkins jenkins 266 Oct 10 13:42 .gitignore [2024-10-10T13:44:50.384Z] -rw-rw-r-- 1 jenkins jenkins 199 Oct 10 13:42 .golangci.yml [2024-10-10T13:44:50.384Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 10 13:42 .semver [2024-10-10T13:44:50.384Z] -rw-rw-r-- 1 jenkins jenkins 19818 Oct 10 13:42 Attribution.txt [2024-10-10T13:44:50.384Z] -rw-rw-r-- 1 jenkins jenkins 16388 Oct 10 13:42 CHANGELOG.md [2024-10-10T13:44:50.384Z] -rw-rw-r-- 1 jenkins jenkins 1474 Oct 10 13:42 Dockerfile [2024-10-10T13:44:50.384Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 10 13:42 GOVERNANCE.md [2024-10-10T13:44:50.384Z] -rw-rw-r-- 1 jenkins jenkins 658 Oct 10 13:42 Jenkinsfile [2024-10-10T13:44:50.384Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 10 13:42 LICENSE [2024-10-10T13:44:50.384Z] -rw-rw-r-- 1 jenkins jenkins 1942 Oct 10 13:42 Makefile [2024-10-10T13:44:50.384Z] -rw-rw-r-- 1 jenkins jenkins 622 Oct 10 13:42 OWNERS.md [2024-10-10T13:44:50.384Z] -rw-rw-r-- 1 jenkins jenkins 4463 Oct 10 13:42 README.md [2024-10-10T13:44:50.384Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 10 13:42 VERSION [2024-10-10T13:44:50.384Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 10 13:42 bin [2024-10-10T13:44:50.384Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 10 13:42 cmd [2024-10-10T13:44:50.384Z] -rw-r--r-- 1 jenkins jenkins 25463 Oct 10 13:44 coverage.out [2024-10-10T13:44:50.384Z] -rw-rw-r-- 1 jenkins jenkins 7157 Oct 10 13:42 go.mod [2024-10-10T13:44:50.384Z] -rw-rw-r-- 1 jenkins jenkins 100518 Oct 10 13:42 go.sum [2024-10-10T13:44:50.384Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 10 13:42 internal [2024-10-10T13:44:50.384Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 10 13:42 simulator [2024-10-10T13:44:50.384Z] -rw-rw-r-- 1 jenkins jenkins 229 Oct 10 13:42 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-10T13:44:50.730Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-10-10T13:44:50.730Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-10-10T13:44:50.730Z] Dload Upload Total Spent Left Speed [2024-10-10T13:44:50.730Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 85520 0 --:--:-- --:--:-- --:--:-- 85520 [Pipeline] sh [2024-10-10T13:44:50.857Z] + 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=0079a6753dc3243845d21c2f9117c3e0b3b23a10 --label arch=amd64 --label version=0.0.0 . [2024-10-10T13:44:50.857Z] Sending build context to Docker daemon 18MB [2024-10-10T13:44:50.857Z] Step 1/23 : ARG BASE=golang:1.23-alpine3.20 [2024-10-10T13:44:50.857Z] Step 2/23 : FROM ${BASE} AS builder [2024-10-10T13:44:50.857Z] ---> 39977db86004 [2024-10-10T13:44:50.857Z] Step 3/23 : ARG ADD_BUILD_TAGS="" [2024-10-10T13:44:51.102Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [2024-10-10T13:44:51.123Z] ---> Running in 3b7cccca50b8 [Pipeline] sh [2024-10-10T13:44:51.382Z] Removing intermediate container 3b7cccca50b8 [2024-10-10T13:44:51.382Z] ---> dad97bb9afd7 [2024-10-10T13:44:51.382Z] Step 4/23 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-10-10T13:44:51.382Z] ---> Running in eea84c6620cb [2024-10-10T13:44:51.382Z] Removing intermediate container eea84c6620cb [2024-10-10T13:44:51.382Z] ---> a257975283ab [2024-10-10T13:44:51.382Z] Step 5/23 : RUN apk add --update --no-cache make git openssh [2024-10-10T13:44:51.382Z] ---> Running in 34ead12a1d8e [2024-10-10T13:44:51.467Z] + sudo tee /etc/docker/daemon.new [2024-10-10T13:44:51.467Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2024-10-10T13:44:51.467Z] { [2024-10-10T13:44:51.467Z] "registry-mirrors": [ [2024-10-10T13:44:51.467Z] "https://nexus3.edgexfoundry.org:10001" [2024-10-10T13:44:51.467Z] ], [2024-10-10T13:44:51.467Z] "bip": "10.250.0.254/24", [2024-10-10T13:44:51.467Z] "hosts": [ [2024-10-10T13:44:51.467Z] "tcp://0.0.0.0:5555", [2024-10-10T13:44:51.467Z] "unix:///var/run/docker.sock" [2024-10-10T13:44:51.467Z] ], [2024-10-10T13:44:51.467Z] "mtu": 1458, [2024-10-10T13:44:51.467Z] "selinux-enabled": true, [2024-10-10T13:44:51.467Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-10-10T13:44:51.467Z] } [Pipeline] sh [2024-10-10T13:44:51.641Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-10T13:44:51.825Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-10-10T13:44:51.900Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-10T13:44:52.159Z] OK: 252 MiB in 62 packages [2024-10-10T13:44:52.203Z] + sudo service docker restart [2024-10-10T13:44:52.417Z] Removing intermediate container 34ead12a1d8e [2024-10-10T13:44:52.418Z] ---> f75366b3945d [2024-10-10T13:44:52.418Z] Step 6/23 : WORKDIR /device-modbus-go [2024-10-10T13:44:52.418Z] ---> Running in ca854c228488 [2024-10-10T13:44:52.675Z] Removing intermediate container ca854c228488 [2024-10-10T13:44:52.675Z] ---> 7f8b7da35631 [2024-10-10T13:44:52.675Z] Step 7/23 : COPY go.mod vendor* ./ [2024-10-10T13:44:52.675Z] ---> c682254f8855 [2024-10-10T13:44:52.675Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-10-10T13:44:52.675Z] ---> Running in 4799e9f23889 [2024-10-10T13:44:53.242Z] Removing intermediate container 4799e9f23889 [2024-10-10T13:44:53.242Z] ---> 4a707219225b [2024-10-10T13:44:53.242Z] Step 9/23 : COPY . . [2024-10-10T13:44:53.810Z] ---> 4e75b15165a7 [2024-10-10T13:44:53.810Z] Step 10/23 : RUN ${MAKE} [2024-10-10T13:44:54.069Z] ---> Running in 897cd01f7f61 [2024-10-10T13:44:54.332Z] 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.41" -trimpath -mod=readonly -o cmd/device-modbus ./cmd [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-10-10T13:45:10.563Z] provisioning config files... [2024-10-10T13:45:10.586Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/1@tmp/config17634400210325060135tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-10T13:45:11.086Z] ---> ****-login.sh [2024-10-10T13:45:11.086Z] nexus3.edgexfoundry.org:10001 [2024-10-10T13:45:11.352Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-10T13:45:11.627Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-10T13:45:11.627Z] Configure a credential helper to remove this warning. See [2024-10-10T13:45:11.627Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-10T13:45:11.627Z] [2024-10-10T13:45:11.627Z] Login Succeeded [2024-10-10T13:45:11.627Z] nexus3.edgexfoundry.org:10002 [2024-10-10T13:45:11.909Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-10T13:45:12.178Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-10T13:45:12.178Z] Configure a credential helper to remove this warning. See [2024-10-10T13:45:12.178Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-10T13:45:12.178Z] [2024-10-10T13:45:12.178Z] Login Succeeded [2024-10-10T13:45:12.178Z] nexus3.edgexfoundry.org:10003 [2024-10-10T13:45:12.178Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-10T13:45:12.448Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-10T13:45:12.448Z] Configure a credential helper to remove this warning. See [2024-10-10T13:45:12.448Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-10T13:45:12.448Z] [2024-10-10T13:45:12.448Z] Login Succeeded [2024-10-10T13:45:12.448Z] nexus3.edgexfoundry.org:10004 [2024-10-10T13:45:12.717Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-10T13:45:12.717Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-10T13:45:12.717Z] Configure a credential helper to remove this warning. See [2024-10-10T13:45:12.717Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-10T13:45:12.717Z] [2024-10-10T13:45:12.717Z] Login Succeeded [2024-10-10T13:45:12.717Z] ****.io [2024-10-10T13:45:12.984Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-10T13:45:13.250Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-10T13:45:13.250Z] Configure a credential helper to remove this warning. See [2024-10-10T13:45:13.250Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-10T13:45:13.250Z] [2024-10-10T13:45:13.250Z] Login Succeeded [2024-10-10T13:45:13.250Z] ---> ****-login.sh ends [Pipeline] } [2024-10-10T13:45:13.284Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-10-10T13:45:13.849Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-10T13:45:13.900Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-10T13:45:13.951Z] ========================================================= [2024-10-10T13:45:13.951Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine] [2024-10-10T13:45:13.951Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-10T13:45:14.519Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine --build-arg MAKE=echo noop --target=builder . [2024-10-10T13:45:14.841Z] Sending build context to Docker daemon 9.141MB [2024-10-10T13:45:14.841Z] Step 1/10 : ARG BASE=golang:1.23-alpine3.20 [2024-10-10T13:45:14.841Z] Step 2/10 : FROM ${BASE} AS builder [2024-10-10T13:45:15.118Z] 1.23-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-10-10T13:45:15.118Z] cf04c63912e1: Pulling fs layer [2024-10-10T13:45:15.118Z] 55b35a11ae5e: Pulling fs layer [2024-10-10T13:45:15.118Z] a37a00ec5f00: Pulling fs layer [2024-10-10T13:45:15.118Z] 50b3750afda1: Pulling fs layer [2024-10-10T13:45:15.118Z] 4f4fb700ef54: Pulling fs layer [2024-10-10T13:45:15.118Z] 80978eb59214: Pulling fs layer [2024-10-10T13:45:15.118Z] c9f46d7d2bd2: Pulling fs layer [2024-10-10T13:45:15.118Z] c5a475d317c9: Pulling fs layer [2024-10-10T13:45:15.118Z] 80978eb59214: Waiting [2024-10-10T13:45:15.118Z] c9f46d7d2bd2: Waiting [2024-10-10T13:45:15.118Z] 50b3750afda1: Waiting [2024-10-10T13:45:15.118Z] 4f4fb700ef54: Waiting [2024-10-10T13:45:15.118Z] 55b35a11ae5e: Verifying Checksum [2024-10-10T13:45:15.118Z] 55b35a11ae5e: Download complete [2024-10-10T13:45:15.118Z] 50b3750afda1: Verifying Checksum [2024-10-10T13:45:15.118Z] 50b3750afda1: Download complete [2024-10-10T13:45:15.118Z] 4f4fb700ef54: Download complete [2024-10-10T13:45:15.389Z] 80978eb59214: Verifying Checksum [2024-10-10T13:45:15.389Z] 80978eb59214: Download complete [2024-10-10T13:45:15.389Z] cf04c63912e1: Verifying Checksum [2024-10-10T13:45:15.389Z] cf04c63912e1: Download complete [2024-10-10T13:45:15.662Z] c5a475d317c9: Verifying Checksum [2024-10-10T13:45:15.662Z] c5a475d317c9: Download complete [2024-10-10T13:45:16.248Z] cf04c63912e1: Pull complete [2024-10-10T13:45:17.213Z] 55b35a11ae5e: Pull complete [2024-10-10T13:45:17.213Z] a37a00ec5f00: Download complete [2024-10-10T13:45:18.185Z] c9f46d7d2bd2: Verifying Checksum [2024-10-10T13:45:18.185Z] c9f46d7d2bd2: Download complete [2024-10-10T13:45:26.395Z] Removing intermediate container 897cd01f7f61 [2024-10-10T13:45:26.395Z] ---> 85208ee79ddc [2024-10-10T13:45:26.395Z] Step 11/23 : FROM alpine:3.20 [2024-10-10T13:45:26.395Z] 3.20: Pulling from library/alpine [2024-10-10T13:45:26.395Z] 43c4264eed91: Already exists [2024-10-10T13:45:26.395Z] Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d [2024-10-10T13:45:26.395Z] Status: Downloaded newer image for alpine:3.20 [2024-10-10T13:45:26.395Z] ---> 91ef0af61f39 [2024-10-10T13:45:26.395Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2024: IoTech Ltd' [2024-10-10T13:45:26.395Z] ---> Running in 428f011c9da5 [2024-10-10T13:45:26.395Z] Removing intermediate container 428f011c9da5 [2024-10-10T13:45:26.395Z] ---> bfba5a1eaf73 [2024-10-10T13:45:26.395Z] Step 13/23 : RUN apk add --update --no-cache dumb-init [2024-10-10T13:45:26.395Z] ---> Running in 17147e51834e [2024-10-10T13:45:26.395Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-10T13:45:26.395Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-10T13:45:26.395Z] (1/1) Installing dumb-init (1.2.5-r3) [2024-10-10T13:45:26.395Z] Executing busybox-1.36.1-r29.trigger [2024-10-10T13:45:26.395Z] OK: 8 MiB in 15 packages [2024-10-10T13:45:26.395Z] Removing intermediate container 17147e51834e [2024-10-10T13:45:26.395Z] ---> 1dc832a6c744 [2024-10-10T13:45:26.395Z] Step 14/23 : RUN apk --no-cache upgrade [2024-10-10T13:45:26.395Z] ---> Running in f6cc037681ac [2024-10-10T13:45:26.395Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-10T13:45:26.655Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-10T13:45:26.914Z] Upgrading critical system libraries and apk-tools: [2024-10-10T13:45:26.914Z] (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) [2024-10-10T13:45:26.914Z] Executing busybox-1.36.1-r29.trigger [2024-10-10T13:45:26.914Z] Continuing the upgrade transaction with new apk-tools: [2024-10-10T13:45:26.914Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-10T13:45:26.914Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-10T13:45:27.174Z] OK: 8 MiB in 15 packages [2024-10-10T13:45:27.433Z] Removing intermediate container f6cc037681ac [2024-10-10T13:45:27.433Z] ---> 99989db01036 [2024-10-10T13:45:27.433Z] Step 15/23 : COPY --from=builder /device-modbus-go/cmd / [2024-10-10T13:45:28.811Z] ---> 5581350093b1 [2024-10-10T13:45:28.811Z] Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / [2024-10-10T13:45:28.811Z] ---> df4dd3e8b19f [2024-10-10T13:45:28.811Z] Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / [2024-10-10T13:45:28.811Z] ---> abc41e97c971 [2024-10-10T13:45:28.811Z] Step 18/23 : EXPOSE 59901 [2024-10-10T13:45:28.811Z] ---> Running in 0e584419962c [2024-10-10T13:45:28.811Z] Removing intermediate container 0e584419962c [2024-10-10T13:45:28.811Z] ---> cd01e54b4b1c [2024-10-10T13:45:28.811Z] Step 19/23 : ENTRYPOINT ["/device-modbus"] [2024-10-10T13:45:28.811Z] ---> Running in c0edd0c1b8e8 [2024-10-10T13:45:28.811Z] Removing intermediate container c0edd0c1b8e8 [2024-10-10T13:45:28.811Z] ---> 27389ef85a2d [2024-10-10T13:45:28.811Z] Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2024-10-10T13:45:29.070Z] ---> Running in 25934e0b6e20 [2024-10-10T13:45:29.070Z] Removing intermediate container 25934e0b6e20 [2024-10-10T13:45:29.070Z] ---> f0381b7867d9 [2024-10-10T13:45:29.070Z] Step 21/23 : LABEL arch=amd64 [2024-10-10T13:45:29.070Z] ---> Running in e6976bd8d45a [2024-10-10T13:45:29.070Z] Removing intermediate container e6976bd8d45a [2024-10-10T13:45:29.070Z] ---> 03045c68cf9d [2024-10-10T13:45:29.070Z] Step 22/23 : LABEL git_sha=0079a6753dc3243845d21c2f9117c3e0b3b23a10 [2024-10-10T13:45:29.070Z] ---> Running in 39822ab9f5d2 [2024-10-10T13:45:29.070Z] Removing intermediate container 39822ab9f5d2 [2024-10-10T13:45:29.070Z] ---> 079139af154e [2024-10-10T13:45:29.070Z] Step 23/23 : LABEL version=0.0.0 [2024-10-10T13:45:29.330Z] ---> Running in 45444db9226a [2024-10-10T13:45:29.330Z] Removing intermediate container 45444db9226a [2024-10-10T13:45:29.330Z] ---> aa20977e84f8 [2024-10-10T13:45:29.330Z] [Warning] One or more build-args [ARCH] were not consumed [2024-10-10T13:45:29.330Z] Successfully built aa20977e84f8 [2024-10-10T13:45:29.330Z] 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-10-10T13:45:30.398Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-10T13:45:30.398Z] [2024-10-10T13:45:30.398Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [2024-10-10T13:45:30.513Z] a37a00ec5f00: Pull complete [2024-10-10T13:45:30.513Z] 50b3750afda1: Pull complete [Pipeline] sh [2024-10-10T13:45:30.781Z] 4f4fb700ef54: Pull complete [2024-10-10T13:45:30.830Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-10T13:45:30.830Z] latest: Pulling from edgex-lftools-log-publisher [2024-10-10T13:45:30.830Z] 5eb5b503b376: Pulling fs layer [2024-10-10T13:45:30.830Z] 5c69ac0246d0: Pulling fs layer [2024-10-10T13:45:30.830Z] ec43610c2a17: Pulling fs layer [2024-10-10T13:45:30.830Z] 3a2ae6a8a46f: Pulling fs layer [2024-10-10T13:45:30.830Z] 33b1e0a273af: Pulling fs layer [2024-10-10T13:45:30.830Z] 5d3b04190fa2: Pulling fs layer [2024-10-10T13:45:30.830Z] 2f39f015ded8: Pulling fs layer [2024-10-10T13:45:30.830Z] 3a2ae6a8a46f: Waiting [2024-10-10T13:45:30.830Z] 33b1e0a273af: Waiting [2024-10-10T13:45:30.830Z] 5d3b04190fa2: Waiting [2024-10-10T13:45:30.830Z] 2f39f015ded8: Waiting [2024-10-10T13:45:30.830Z] 5c69ac0246d0: Verifying Checksum [2024-10-10T13:45:30.830Z] 5c69ac0246d0: Download complete [2024-10-10T13:45:30.830Z] 3a2ae6a8a46f: Verifying Checksum [2024-10-10T13:45:30.830Z] 3a2ae6a8a46f: Download complete [2024-10-10T13:45:30.830Z] 33b1e0a273af: Verifying Checksum [2024-10-10T13:45:30.830Z] 33b1e0a273af: Download complete [2024-10-10T13:45:30.830Z] 5d3b04190fa2: Verifying Checksum [2024-10-10T13:45:30.830Z] 5d3b04190fa2: Download complete [2024-10-10T13:45:30.830Z] ec43610c2a17: Verifying Checksum [2024-10-10T13:45:30.830Z] ec43610c2a17: Download complete [2024-10-10T13:45:31.053Z] 80978eb59214: Pull complete [2024-10-10T13:45:31.096Z] 5eb5b503b376: Download complete [2024-10-10T13:45:31.665Z] 2f39f015ded8: Verifying Checksum [2024-10-10T13:45:31.665Z] 2f39f015ded8: Download complete [2024-10-10T13:45:32.231Z] 5eb5b503b376: Pull complete [2024-10-10T13:45:32.489Z] 5c69ac0246d0: Pull complete [2024-10-10T13:45:32.748Z] ec43610c2a17: Pull complete [2024-10-10T13:45:33.006Z] 3a2ae6a8a46f: Pull complete [2024-10-10T13:45:33.006Z] 33b1e0a273af: Pull complete [2024-10-10T13:45:33.267Z] 5d3b04190fa2: Pull complete [2024-10-10T13:45:37.454Z] 2f39f015ded8: Pull complete [2024-10-10T13:45:37.454Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-10-10T13:45:37.454Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-10T13:45:37.454Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-10T13:45:37.734Z] prd-ubuntu20.04-docker-8c-8g-22421 does not seem to be running inside a container [2024-10-10T13:45:37.766Z] $ 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-581 -v /w/workspace/xfoundry_device-modbus-go_PR-581:/w/workspace/xfoundry_device-modbus-go_PR-581:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-581@tmp:/w/workspace/xfoundry_device-modbus-go_PR-581@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-10-10T13:45:39.277Z] c9f46d7d2bd2: Pull complete [2024-10-10T13:45:40.354Z] c5a475d317c9: Pull complete [2024-10-10T13:45:40.354Z] Digest: sha256:2391c17ca386d1fbfa331956bd558234564149703727e64d3c69580d84b42a9b [2024-10-10T13:45:40.354Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine [2024-10-10T13:45:40.354Z] ---> be29e6b0f0d4 [2024-10-10T13:45:40.354Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2024-10-10T13:45:41.318Z] ---> Running in cea2163687b3 [2024-10-10T13:45:41.318Z] Removing intermediate container cea2163687b3 [2024-10-10T13:45:41.318Z] ---> 88ab8cfae8d6 [2024-10-10T13:45:41.318Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-10-10T13:45:41.592Z] ---> Running in f303f03ea85c [2024-10-10T13:45:41.862Z] Removing intermediate container f303f03ea85c [2024-10-10T13:45:41.862Z] ---> 243d3fd35285 [2024-10-10T13:45:41.862Z] Step 5/10 : RUN apk add --update --no-cache make git openssh [2024-10-10T13:45:41.862Z] ---> Running in f1d8e48a78a2 [2024-10-10T13:45:42.130Z] $ docker top 8916eda6182594f7d7e863262861a28470befca28d85160c1da4961be2016226 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-10T13:45:42.731Z] ---> job-cost.sh [2024-10-10T13:45:42.731Z] lf-activate-venv: SKIPPING [2024-10-10T13:45:42.731Z] INFO: No Stack... [2024-10-10T13:45:42.829Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-10T13:45:42.991Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-10-10T13:45:43.250Z] INFO: Archiving Costs [Pipeline] sh [2024-10-10T13:45:43.410Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-10T13:45:43.582Z] + cat /w/workspace/xfoundry_device-modbus-go_PR-581/archives/cost.csv [2024-10-10T13:45:43.582Z] + cut -d, -f6 [Pipeline] lock [2024-10-10T13:45:43.639Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-modbus-go-PR-581-1-stack-cost] [2024-10-10T13:45:43.646Z] Resource [jenkins-edgexfoundry-device-modbus-go-PR-581-1-stack-cost] did not exist. Created. [2024-10-10T13:45:43.653Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-modbus-go-PR-581-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-10-10T13:45:44.099Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-10-10T13:45:44.162Z] Stashed 1 file(s) [Pipeline] } [2024-10-10T13:45:44.206Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-modbus-go-PR-581-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-10-10T13:45:44.316Z] $ docker stop --time=1 8916eda6182594f7d7e863262861a28470befca28d85160c1da4961be2016226 [2024-10-10T13:45:44.363Z] (1/8) Installing openssh-keygen (9.7_p1-r4) [2024-10-10T13:45:44.363Z] (2/8) Installing libedit (20240517.3.1-r0) [2024-10-10T13:45:44.363Z] (3/8) Installing openssh-client-common (9.7_p1-r4) [2024-10-10T13:45:44.628Z] (4/8) Installing openssh-client-default (9.7_p1-r4) [2024-10-10T13:45:44.628Z] (5/8) Installing openssh-sftp-server (9.7_p1-r4) [2024-10-10T13:45:44.628Z] (6/8) Installing openssh-server-common (9.7_p1-r4) [2024-10-10T13:45:44.629Z] (7/8) Installing openssh-server (9.7_p1-r4) [2024-10-10T13:45:44.629Z] (8/8) Installing openssh (9.7_p1-r4) [2024-10-10T13:45:44.629Z] Executing busybox-1.36.1-r29.trigger [2024-10-10T13:45:44.629Z] OK: 244 MiB in 62 packages [2024-10-10T13:45:45.460Z] $ docker rm -f --volumes 8916eda6182594f7d7e863262861a28470befca28d85160c1da4961be2016226 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-10-10T13:45:46.041Z] Removing intermediate container f1d8e48a78a2 [2024-10-10T13:45:46.041Z] ---> 268216182508 [2024-10-10T13:45:46.041Z] Step 6/10 : WORKDIR /device-modbus-go [2024-10-10T13:45:46.042Z] ---> Running in 8b1b0ea74bb9 [2024-10-10T13:45:46.042Z] Removing intermediate container 8b1b0ea74bb9 [2024-10-10T13:45:46.042Z] ---> 7e03174194d0 [2024-10-10T13:45:46.042Z] Step 7/10 : COPY go.mod vendor* ./ [2024-10-10T13:45:46.623Z] ---> 094128693451 [2024-10-10T13:45:46.623Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-10-10T13:45:46.623Z] ---> Running in beb35cddc5a2 [2024-10-10T13:47:38.275Z] Removing intermediate container beb35cddc5a2 [2024-10-10T13:47:38.275Z] ---> 7ad36d5e0dbd [2024-10-10T13:47:38.275Z] Step 9/10 : COPY . . [2024-10-10T13:47:38.275Z] ---> 85447feadee3 [2024-10-10T13:47:38.275Z] Step 10/10 : RUN ${MAKE} [2024-10-10T13:47:38.275Z] ---> Running in 14fe20926219 [2024-10-10T13:47:38.275Z] noop [2024-10-10T13:47:38.275Z] Removing intermediate container 14fe20926219 [2024-10-10T13:47:38.275Z] ---> 7e01cf306ad2 [2024-10-10T13:47:38.275Z] Successfully built 7e01cf306ad2 [2024-10-10T13:47:38.275Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-10T13:47:38.774Z] + docker inspect -f . ci-base-image-arm64 [2024-10-10T13:47:38.774Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-10T13:47:39.062Z] prd-ubuntu20.04-docker-arm64-4c-16g-22422 does not seem to be running inside a container [2024-10-10T13:47:39.119Z] $ 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-10-10T13:47:40.262Z] $ docker top 60f7566e0ca1beea36f5980b6b4838274515de1c258a3b554fc5e3ef5da7c3d0 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-10T13:47:41.131Z] + go version [2024-10-10T13:47:41.131Z] go version go1.23.2 linux/arm64 [Pipeline] } [2024-10-10T13:47:41.172Z] $ docker stop --time=1 60f7566e0ca1beea36f5980b6b4838274515de1c258a3b554fc5e3ef5da7c3d0 [2024-10-10T13:47:42.770Z] $ docker rm -f --volumes 60f7566e0ca1beea36f5980b6b4838274515de1c258a3b554fc5e3ef5da7c3d0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-10T13:47:43.694Z] + docker inspect -f . ci-base-image-arm64 [2024-10-10T13:47:43.694Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-10T13:47:43.958Z] prd-ubuntu20.04-docker-arm64-4c-16g-22422 does not seem to be running inside a container [2024-10-10T13:47:44.019Z] $ 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-10-10T13:47:45.267Z] $ docker top 629ec78aa0d0286aa5760d4a4eaf11225bf4e849052889a6f51ab63b90bb4890 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-10T13:47:46.168Z] + git config --global --add safe.directory /w/workspace/device-modbus-go/1 [Pipeline] fileExists [Pipeline] sh [2024-10-10T13:47:46.889Z] + make test [2024-10-10T13:47:46.889Z] go test ./... -coverprofile=coverage.out [2024-10-10T13:47:52.286Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2024-10-10T13:51:14.051Z] github.com/edgexfoundry/device-modbus-go/cmd coverage: 0.0% of statements [2024-10-10T13:51:14.051Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.051s coverage: 47.9% of statements [2024-10-10T13:51:14.051Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2024-10-10T13:51:14.051Z] go vet ./... [2024-10-10T13:52:00.916Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-10-10T13:52:00.916Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-10-10T13:52:00.916Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2024-10-10T13:52:00.968Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-10-10T13:52:01.008Z] $ docker stop --time=1 629ec78aa0d0286aa5760d4a4eaf11225bf4e849052889a6f51ab63b90bb4890 [2024-10-10T13:52:03.271Z] $ docker rm -f --volumes 629ec78aa0d0286aa5760d4a4eaf11225bf4e849052889a6f51ab63b90bb4890 [Pipeline] // withDockerContainer [Pipeline] sh [2024-10-10T13:52:04.828Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-10-10T13:52:04.873Z] Warning: overwriting stash ‘coverage-report’ [2024-10-10T13:52:05.308Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-10-10T13:52:05.969Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-10-10T13:52:06.309Z] + ls -al . [2024-10-10T13:52:06.309Z] total 268 [2024-10-10T13:52:06.309Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 10 13:47 . [2024-10-10T13:52:06.309Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 10 13:44 .. [2024-10-10T13:52:06.309Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 10 13:44 .dockerignore [2024-10-10T13:52:06.309Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 10 13:44 .git [2024-10-10T13:52:06.309Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 10 13:44 .github [2024-10-10T13:52:06.309Z] -rw-rw-r-- 1 jenkins jenkins 266 Oct 10 13:44 .gitignore [2024-10-10T13:52:06.309Z] -rw-rw-r-- 1 jenkins jenkins 199 Oct 10 13:44 .golangci.yml [2024-10-10T13:52:06.309Z] -rw-rw-r-- 1 jenkins jenkins 19818 Oct 10 13:44 Attribution.txt [2024-10-10T13:52:06.309Z] -rw-rw-r-- 1 jenkins jenkins 16388 Oct 10 13:44 CHANGELOG.md [2024-10-10T13:52:06.309Z] -rw-rw-r-- 1 jenkins jenkins 1474 Oct 10 13:44 Dockerfile [2024-10-10T13:52:06.309Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 10 13:44 GOVERNANCE.md [2024-10-10T13:52:06.309Z] -rw-rw-r-- 1 jenkins jenkins 658 Oct 10 13:44 Jenkinsfile [2024-10-10T13:52:06.309Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 10 13:44 LICENSE [2024-10-10T13:52:06.309Z] -rw-rw-r-- 1 jenkins jenkins 1942 Oct 10 13:44 Makefile [2024-10-10T13:52:06.309Z] -rw-rw-r-- 1 jenkins jenkins 622 Oct 10 13:44 OWNERS.md [2024-10-10T13:52:06.309Z] -rw-rw-r-- 1 jenkins jenkins 4463 Oct 10 13:44 README.md [2024-10-10T13:52:06.309Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 10 13:42 VERSION [2024-10-10T13:52:06.309Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 10 13:44 bin [2024-10-10T13:52:06.309Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 10 13:44 cmd [2024-10-10T13:52:06.309Z] -rw-r--r-- 1 jenkins jenkins 25463 Oct 10 13:51 coverage.out [2024-10-10T13:52:06.309Z] -rw-rw-r-- 1 jenkins jenkins 7157 Oct 10 13:44 go.mod [2024-10-10T13:52:06.309Z] -rw-rw-r-- 1 jenkins jenkins 100518 Oct 10 13:44 go.sum [2024-10-10T13:52:06.309Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 10 13:44 internal [2024-10-10T13:52:06.309Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 10 13:44 simulator [2024-10-10T13:52:06.309Z] -rw-rw-r-- 1 jenkins jenkins 229 Oct 10 13:44 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-10T13:52:06.749Z] + 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=0079a6753dc3243845d21c2f9117c3e0b3b23a10 --label arch=arm64 --label version=0.0.0 . [2024-10-10T13:52:07.015Z] Sending build context to Docker daemon 9.167MB [2024-10-10T13:52:07.281Z] Step 1/23 : ARG BASE=golang:1.23-alpine3.20 [2024-10-10T13:52:07.281Z] Step 2/23 : FROM ${BASE} AS builder [2024-10-10T13:52:07.281Z] ---> 7e01cf306ad2 [2024-10-10T13:52:07.281Z] Step 3/23 : ARG ADD_BUILD_TAGS="" [2024-10-10T13:52:07.281Z] ---> Running in 4032abe84fe7 [2024-10-10T13:52:07.547Z] Removing intermediate container 4032abe84fe7 [2024-10-10T13:52:07.547Z] ---> c960835d0205 [2024-10-10T13:52:07.547Z] Step 4/23 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-10-10T13:52:07.547Z] ---> Running in 15a38b5de769 [2024-10-10T13:52:07.820Z] Removing intermediate container 15a38b5de769 [2024-10-10T13:52:07.820Z] ---> 31e0e6891a58 [2024-10-10T13:52:07.820Z] Step 5/23 : RUN apk add --update --no-cache make git openssh [2024-10-10T13:52:08.087Z] ---> Running in 69a369001958 [2024-10-10T13:52:09.061Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-10T13:52:09.328Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-10T13:52:10.742Z] OK: 244 MiB in 62 packages [2024-10-10T13:52:11.329Z] Removing intermediate container 69a369001958 [2024-10-10T13:52:11.329Z] ---> d5bf988bbf52 [2024-10-10T13:52:11.329Z] Step 6/23 : WORKDIR /device-modbus-go [2024-10-10T13:52:11.602Z] ---> Running in 51fdcc894e12 [2024-10-10T13:52:11.869Z] Removing intermediate container 51fdcc894e12 [2024-10-10T13:52:11.869Z] ---> 6378c337f5ce [2024-10-10T13:52:11.869Z] Step 7/23 : COPY go.mod vendor* ./ [2024-10-10T13:52:12.137Z] ---> 1dc5c966d6a6 [2024-10-10T13:52:12.137Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-10-10T13:52:12.406Z] ---> Running in 4ac3f4213387 [2024-10-10T13:52:14.991Z] Removing intermediate container 4ac3f4213387 [2024-10-10T13:52:14.991Z] ---> b9ec55c64bff [2024-10-10T13:52:14.991Z] Step 9/23 : COPY . . [2024-10-10T13:52:15.581Z] ---> f2fc7f098543 [2024-10-10T13:52:15.581Z] Step 10/23 : RUN ${MAKE} [2024-10-10T13:52:15.855Z] ---> Running in 8088df4d8c7a [2024-10-10T13:52:16.818Z] 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.41" -trimpath -mod=readonly -o cmd/device-modbus ./cmd [2024-10-10T13:55:38.699Z] Removing intermediate container 8088df4d8c7a [2024-10-10T13:55:38.699Z] ---> 60d1d4dc433b [2024-10-10T13:55:38.699Z] Step 11/23 : FROM alpine:3.20 [2024-10-10T13:55:38.699Z] 3.20: Pulling from library/alpine [2024-10-10T13:55:38.699Z] cf04c63912e1: Already exists [2024-10-10T13:55:38.699Z] Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d [2024-10-10T13:55:38.699Z] Status: Downloaded newer image for alpine:3.20 [2024-10-10T13:55:38.699Z] ---> c157a85ed455 [2024-10-10T13:55:38.699Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2024: IoTech Ltd' [2024-10-10T13:55:38.699Z] ---> Running in adc4a5df8e30 [2024-10-10T13:55:38.699Z] Removing intermediate container adc4a5df8e30 [2024-10-10T13:55:38.699Z] ---> 81049d201380 [2024-10-10T13:55:38.699Z] Step 13/23 : RUN apk add --update --no-cache dumb-init [2024-10-10T13:55:38.699Z] ---> Running in 37c788ed0cd6 [2024-10-10T13:55:38.699Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-10T13:55:38.699Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-10T13:55:38.699Z] (1/1) Installing dumb-init (1.2.5-r3) [2024-10-10T13:55:38.699Z] Executing busybox-1.36.1-r29.trigger [2024-10-10T13:55:38.699Z] OK: 9 MiB in 15 packages [2024-10-10T13:55:38.699Z] Removing intermediate container 37c788ed0cd6 [2024-10-10T13:55:38.699Z] ---> 8b6b7f2656d2 [2024-10-10T13:55:38.699Z] Step 14/23 : RUN apk --no-cache upgrade [2024-10-10T13:55:38.699Z] ---> Running in 08c600ed562e [2024-10-10T13:55:38.699Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-10T13:55:38.699Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-10T13:55:38.699Z] Upgrading critical system libraries and apk-tools: [2024-10-10T13:55:38.699Z] (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) [2024-10-10T13:55:38.699Z] Executing busybox-1.36.1-r29.trigger [2024-10-10T13:55:38.699Z] Continuing the upgrade transaction with new apk-tools: [2024-10-10T13:55:38.699Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-10T13:55:38.699Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-10T13:55:38.699Z] OK: 9 MiB in 15 packages [2024-10-10T13:55:38.699Z] Removing intermediate container 08c600ed562e [2024-10-10T13:55:38.699Z] ---> 03c1277df9fe [2024-10-10T13:55:38.699Z] Step 15/23 : COPY --from=builder /device-modbus-go/cmd / [2024-10-10T13:55:40.642Z] ---> 86825a88ed04 [2024-10-10T13:55:40.642Z] Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / [2024-10-10T13:55:40.642Z] ---> f618d28cf89f [2024-10-10T13:55:40.642Z] Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / [2024-10-10T13:55:41.228Z] ---> 53a442cb1777 [2024-10-10T13:55:41.228Z] Step 18/23 : EXPOSE 59901 [2024-10-10T13:55:41.228Z] ---> Running in 0a47d66f5516 [2024-10-10T13:55:41.496Z] Removing intermediate container 0a47d66f5516 [2024-10-10T13:55:41.496Z] ---> 7787892b6851 [2024-10-10T13:55:41.496Z] Step 19/23 : ENTRYPOINT ["/device-modbus"] [2024-10-10T13:55:41.762Z] ---> Running in 0f81ff4af82e [2024-10-10T13:55:42.030Z] Removing intermediate container 0f81ff4af82e [2024-10-10T13:55:42.030Z] ---> 1e3d5c1812df [2024-10-10T13:55:42.030Z] Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2024-10-10T13:55:42.030Z] ---> Running in c06d79ee67b0 [2024-10-10T13:55:42.296Z] Removing intermediate container c06d79ee67b0 [2024-10-10T13:55:42.296Z] ---> 95ef2cbbc1fd [2024-10-10T13:55:42.296Z] Step 21/23 : LABEL arch=arm64 [2024-10-10T13:55:42.296Z] ---> Running in 2f88b7c2bb2a [2024-10-10T13:55:42.561Z] Removing intermediate container 2f88b7c2bb2a [2024-10-10T13:55:42.561Z] ---> 99954529a9e7 [2024-10-10T13:55:42.561Z] Step 22/23 : LABEL git_sha=0079a6753dc3243845d21c2f9117c3e0b3b23a10 [2024-10-10T13:55:42.561Z] ---> Running in 0ebc12bb47a6 [2024-10-10T13:55:42.831Z] Removing intermediate container 0ebc12bb47a6 [2024-10-10T13:55:42.831Z] ---> b76012fb0360 [2024-10-10T13:55:42.831Z] Step 23/23 : LABEL version=0.0.0 [2024-10-10T13:55:43.097Z] ---> Running in cefaeea23d15 [2024-10-10T13:55:43.361Z] Removing intermediate container cefaeea23d15 [2024-10-10T13:55:43.361Z] ---> 4498beea3fcf [2024-10-10T13:55:43.361Z] [Warning] One or more build-args [ARCH] were not consumed [2024-10-10T13:55:43.361Z] Successfully built 4498beea3fcf [2024-10-10T13:55:43.361Z] 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-10-10T13:55:44.392Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-10-10T13:55:44.393Z] [2024-10-10T13:55:44.393Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-10T13:55:44.830Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-10-10T13:55:44.830Z] arm64: Pulling from edgex-lftools-log-publisher [2024-10-10T13:55:44.830Z] 8998bd30e6a1: Pulling fs layer [2024-10-10T13:55:44.830Z] 04944245beec: Pulling fs layer [2024-10-10T13:55:44.830Z] 699f458cf7ca: Pulling fs layer [2024-10-10T13:55:44.830Z] 765212b225bb: Pulling fs layer [2024-10-10T13:55:44.830Z] f23df028b6ca: Pulling fs layer [2024-10-10T13:55:44.830Z] d65c8cfc05b1: Pulling fs layer [2024-10-10T13:55:44.830Z] 2437ff75d9bd: Pulling fs layer [2024-10-10T13:55:44.830Z] 765212b225bb: Waiting [2024-10-10T13:55:44.830Z] f23df028b6ca: Waiting [2024-10-10T13:55:44.830Z] 2437ff75d9bd: Waiting [2024-10-10T13:55:44.830Z] d65c8cfc05b1: Waiting [2024-10-10T13:55:45.097Z] 04944245beec: Verifying Checksum [2024-10-10T13:55:45.097Z] 04944245beec: Download complete [2024-10-10T13:55:45.097Z] 765212b225bb: Verifying Checksum [2024-10-10T13:55:45.097Z] 765212b225bb: Download complete [2024-10-10T13:55:45.097Z] f23df028b6ca: Download complete [2024-10-10T13:55:45.097Z] d65c8cfc05b1: Verifying Checksum [2024-10-10T13:55:45.097Z] d65c8cfc05b1: Download complete [2024-10-10T13:55:45.097Z] 699f458cf7ca: Verifying Checksum [2024-10-10T13:55:45.097Z] 699f458cf7ca: Download complete [2024-10-10T13:55:45.678Z] 8998bd30e6a1: Verifying Checksum [2024-10-10T13:55:45.678Z] 8998bd30e6a1: Download complete [2024-10-10T13:55:48.246Z] 2437ff75d9bd: Verifying Checksum [2024-10-10T13:55:48.246Z] 2437ff75d9bd: Download complete [2024-10-10T13:55:50.191Z] 8998bd30e6a1: Pull complete [2024-10-10T13:55:50.456Z] 04944245beec: Pull complete [2024-10-10T13:55:51.856Z] 699f458cf7ca: Pull complete [2024-10-10T13:55:52.121Z] 765212b225bb: Pull complete [2024-10-10T13:55:53.076Z] f23df028b6ca: Pull complete [2024-10-10T13:55:53.076Z] d65c8cfc05b1: Pull complete [2024-10-10T13:56:08.048Z] 2437ff75d9bd: Pull complete [2024-10-10T13:56:08.048Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-10-10T13:56:08.048Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-10-10T13:56:08.048Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-10T13:56:08.454Z] prd-ubuntu20.04-docker-arm64-4c-16g-22422 does not seem to be running inside a container [2024-10-10T13:56:08.528Z] $ 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-10-10T13:56:11.184Z] $ docker top d015326d31a19844b1834949bc8b1f5eca883dc7020d8356c7b1eaf23b1eed0a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-10T13:56:12.074Z] ---> job-cost.sh [2024-10-10T13:56:12.074Z] lf-activate-venv: SKIPPING [2024-10-10T13:56:12.074Z] INFO: No Stack... [2024-10-10T13:56:12.340Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-10-10T13:56:13.298Z] INFO: Archiving Costs [Pipeline] sh [2024-10-10T13:56:13.640Z] + cat /w/workspace/device-modbus-go/1/archives/cost.csv [2024-10-10T13:56:13.640Z] + cut -d, -f6 [Pipeline] lock [2024-10-10T13:56:13.721Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-modbus-go-PR-581-1-stack-cost] [2024-10-10T13:56:13.728Z] Resource [jenkins-edgexfoundry-device-modbus-go-PR-581-1-stack-cost] did not exist. Created. [2024-10-10T13:56:13.735Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-modbus-go-PR-581-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-10-10T13:56:14.167Z] /w/workspace/device-modbus-go/1@tmp/durable-07b6de3a/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-10-10T13:56:14.516Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-10-10T13:56:14.555Z] Warning: overwriting stash ‘stack-cost’ [2024-10-10T13:56:14.604Z] Stashed 1 file(s) [Pipeline] } [2024-10-10T13:56:14.624Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-modbus-go-PR-581-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-10-10T13:56:14.727Z] $ docker stop --time=1 d015326d31a19844b1834949bc8b1f5eca883dc7020d8356c7b1eaf23b1eed0a [2024-10-10T13:56:16.182Z] $ docker rm -f --volumes d015326d31a19844b1834949bc8b1f5eca883dc7020d8356c7b1eaf23b1eed0a [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-10-10T13:56:17.385Z] provisioning config files... [2024-10-10T13:56:17.392Z] copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-581@tmp/config5638897922260937775tmp [Pipeline] { [Pipeline] sh [2024-10-10T13:56:17.757Z] + set +x [2024-10-10T13:56:17.757Z] + curl -s https://codecov.io/bash [2024-10-10T13:56:17.757Z] + bash -s -- [2024-10-10T13:56:18.016Z] [2024-10-10T13:56:18.016Z] _____ _ [2024-10-10T13:56:18.016Z] / ____| | | [2024-10-10T13:56:18.016Z] | | ___ __| | ___ ___ _____ __ [2024-10-10T13:56:18.016Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2024-10-10T13:56:18.016Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2024-10-10T13:56:18.016Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2024-10-10T13:56:18.016Z] Bash-1.0.6 [2024-10-10T13:56:18.016Z] [2024-10-10T13:56:18.016Z] [2024-10-10T13:56:18.016Z] ==> git version 2.25.1 found [2024-10-10T13:56:18.016Z] ==> 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-10-10T13:56:18.016Z] Release-Date: 2020-01-08 [2024-10-10T13:56:18.016Z] 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-10-10T13:56:18.016Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2024-10-10T13:56:18.016Z] ==> Jenkins CI detected. [2024-10-10T13:56:18.016Z] current dir:  /w/workspace/xfoundry_device-modbus-go_PR-581 [2024-10-10T13:56:18.016Z] project root: . [2024-10-10T13:56:18.016Z] --> token set from env [2024-10-10T13:56:18.016Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2024-10-10T13:56:18.016Z] ==> Running gcov in . (disable via -X gcov) [2024-10-10T13:56:18.016Z] ==> Python coveragepy not found [2024-10-10T13:56:18.016Z] ==> Searching for coverage reports in: [2024-10-10T13:56:18.016Z] + . [2024-10-10T13:56:18.016Z] -> Found 1 reports [2024-10-10T13:56:18.016Z] ==> Detecting git/mercurial file structure [2024-10-10T13:56:18.016Z] ==> Reading reports [2024-10-10T13:56:18.016Z] + ./coverage.out bytes=25463 [2024-10-10T13:56:18.016Z] ==> Appending adjustments [2024-10-10T13:56:18.016Z] https://docs.codecov.io/docs/fixing-reports [2024-10-10T13:56:18.016Z] + Found adjustments [2024-10-10T13:56:18.016Z] ==> Gzipping contents [2024-10-10T13:56:18.016Z] 4.0K /tmp/codecov.wfjZzy.gz [2024-10-10T13:56:18.016Z] ==> Uploading reports [2024-10-10T13:56:18.016Z] url: https://codecov.io [2024-10-10T13:56:18.016Z] query: branch=PR-581&commit=0079a6753dc3243845d21c2f9117c3e0b3b23a10&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-581%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=581&job=&cmd_args= [2024-10-10T13:56:18.016Z] -> Pinging Codecov [2024-10-10T13:56:18.016Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-581&commit=0079a6753dc3243845d21c2f9117c3e0b3b23a10&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-581%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=581&job=&cmd_args= [2024-10-10T13:56:18.276Z] -> Uploading to [2024-10-10T13:56:18.276Z] https://storage.googleapis.com/codecov/shelter/v4/github/edgexfoundry/device-modbus-go/0079a6753dc3243845d21c2f9117c3e0b3b23a10/aa268aeb-0858-4d95-84ad-24536b0f043f.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20241010%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20241010T135618Z&X-Amz-Expires=30&X-Amz-SignedHeaders=host&X-Amz-Signature=147d7889ba2b7c2bb722da61056f0ed44d7fa79e77bb8a3ff539ced08cb9c217 [2024-10-10T13:56:18.276Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-10-10T13:56:18.276Z] Dload Upload Total Spent Left Speed [2024-10-10T13:56:18.537Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3928 0 0 100 3928 0 18975 --:--:-- --:--:-- --:--:-- 18884 100 3928 0 0 100 3928 0 17854 --:--:-- --:--:-- --:--:-- 17773 [2024-10-10T13:56:18.537Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/0079a6753dc3243845d21c2f9117c3e0b3b23a10 [Pipeline] } [2024-10-10T13:56:18.574Z] 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-10-10T13:56:20.800Z] + [ -d /w/workspace/xfoundry_device-modbus-go_PR-581/archives ] [2024-10-10T13:56:20.800Z] + ls -al /w/workspace/xfoundry_device-modbus-go_PR-581/archives [2024-10-10T13:56:20.800Z] total 16 [2024-10-10T13:56:20.800Z] drwxr-xr-x 3 root root 4096 Oct 10 13:45 . [2024-10-10T13:56:20.800Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 10 13:45 .. [2024-10-10T13:56:20.800Z] drwxr-xr-x 2 root root 4096 Oct 10 13:45 cost [2024-10-10T13:56:20.800Z] -rw-r--r-- 1 root root 88 Oct 10 13:45 cost.csv [2024-10-10T13:56:20.800Z] + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-581/archives [2024-10-10T13:56:20.800Z] + ls -al /w/workspace/xfoundry_device-modbus-go_PR-581/archives [2024-10-10T13:56:20.800Z] total 16 [2024-10-10T13:56:20.800Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 10 13:45 . [2024-10-10T13:56:20.800Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 10 13:45 .. [2024-10-10T13:56:20.800Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 10 13:45 cost [2024-10-10T13:56:20.800Z] -rw-r--r-- 1 jenkins jenkins 88 Oct 10 13:45 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-10-10T13:56:21.134Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-10T13:56:22.041Z] ---> package-listing.sh [2024-10-10T13:56:22.042Z] ++ facter osfamily [2024-10-10T13:56:22.042Z] ++ tr '[:upper:]' '[:lower:]' [2024-10-10T13:56:22.301Z] + OS_FAMILY=debian [2024-10-10T13:56:22.301Z] + workspace=/w/workspace/xfoundry_device-modbus-go_PR-581 [2024-10-10T13:56:22.301Z] + START_PACKAGES=/tmp/packages_start.txt [2024-10-10T13:56:22.301Z] + END_PACKAGES=/tmp/packages_end.txt [2024-10-10T13:56:22.301Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-10-10T13:56:22.301Z] + PACKAGES=/tmp/packages_start.txt [2024-10-10T13:56:22.301Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-581 ']' [2024-10-10T13:56:22.301Z] + PACKAGES=/tmp/packages_end.txt [2024-10-10T13:56:22.301Z] + case "${OS_FAMILY}" in [2024-10-10T13:56:22.301Z] + dpkg -l [2024-10-10T13:56:22.301Z] + grep '^ii' [2024-10-10T13:56:22.301Z] + '[' -f /tmp/packages_start.txt ']' [2024-10-10T13:56:22.301Z] + '[' -f /tmp/packages_end.txt ']' [2024-10-10T13:56:22.301Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-10-10T13:56:22.301Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-581 ']' [2024-10-10T13:56:22.301Z] + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-581/archives/ [2024-10-10T13:56:22.301Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-581/archives/ [Pipeline] echo [2024-10-10T13:56:22.342Z] 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-581/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-10-10T13:56:22.645Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-10T13:56:23.304Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-10T13:56:23.304Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-10T13:56:23.477Z] prd-ubuntu20.04-docker-8c-8g-22421 does not seem to be running inside a container [2024-10-10T13:56:23.507Z] $ 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-581/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-581 -v /w/workspace/xfoundry_device-modbus-go_PR-581:/w/workspace/xfoundry_device-modbus-go_PR-581:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-581@tmp:/w/workspace/xfoundry_device-modbus-go_PR-581@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-10-10T13:56:23.688Z] $ docker top f5dd624c70f7b5489fcfa609fb024abbfd03a35052dd025290fc08a0d38a3c24 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-10T13:56:24.106Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-10-10T13:56:24.427Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-10-10T13:56:24.737Z] + ls /var/log/sa-host [2024-10-10T13:56:24.738Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-10-10T13:56:25.051Z] provisioning config files... [2024-10-10T13:56:25.061Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-581@tmp/config3230215433230142240tmp [Pipeline] { [Pipeline] echo [2024-10-10T13:56:25.130Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-10T13:56:25.451Z] ---> create-netrc.sh [Pipeline] } [2024-10-10T13:56:25.487Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-10-10T13:56:25.913Z] ---> python-tools-install.sh [Pipeline] echo [2024-10-10T13:56:25.954Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-10T13:56:26.279Z] ---> sudo-logs.sh [2024-10-10T13:56:26.279Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-10-10T13:56:26.377Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-10T13:56:26.698Z] ---> job-cost.sh [2024-10-10T13:56:26.698Z] lf-activate-venv: SKIPPING [2024-10-10T13:56:26.698Z] DEBUG: total: 0.2199999988079071 [2024-10-10T13:56:26.698Z] INFO: Retrieving Stack Cost... [2024-10-10T13:56:27.345Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-10-10T13:56:27.624Z] INFO: Archiving Costs [Pipeline] echo [2024-10-10T13:56:27.669Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-10T13:56:28.032Z] ---> logs-deploy.sh [2024-10-10T13:56:28.032Z] lf-activate-venv: SKIPPING [2024-10-10T13:56:28.032Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-581/1 [2024-10-10T13:56:28.032Z] INFO: archiving workspace using pattern(s): [2024-10-10T13:56:28.990Z] Archives upload complete. [2024-10-10T13:56:28.990Z] INFO: archiving logs to Nexus