Pull request #549 updated 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 rcrtss for edgexfoundry/device-modbus-go Loading trusted files from base branch main at 78c106f1b1d485d6b9e2c5cc4debe4f465169507 rather than cae1fa6aa983ff166270eacbc29a6f56a32ff675 Obtained Jenkinsfile from 78c106f1b1d485d6b9e2c5cc4debe4f465169507 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-ssh1030149157794838099.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh2708271584434906225.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-549/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > 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 > 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-549/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh13031564082666581624.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 33739fb647ab338ef2ce3bfc8312bfbcef468f88 # timeout=10 Commit message: "Merge pull request #447 from ernestojeda/fix-release-changelog" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 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-ssh7523977293916725446.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-549/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags 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-549/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh8092227850294083609.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 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 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-modbus-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-modbus-go-settings PROJECT: device-modbus-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-modbus DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-3502 in /w/workspace/xfoundry_device-modbus-go_PR-549 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-modbus-go.git > git init /w/workspace/xfoundry_device-modbus-go_PR-549 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 78c106f1b1d485d6b9e2c5cc4debe4f465169507 into PR head commit cae1fa6aa983ff166270eacbc29a6f56a32ff675 Merge succeeded, producing cae1fa6aa983ff166270eacbc29a6f56a32ff675 Checking out Revision cae1fa6aa983ff166270eacbc29a6f56a32ff675 (PR-549) > 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/549/head:refs/remotes/origin/PR-549 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f cae1fa6aa983ff166270eacbc29a6f56a32ff675 # 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 78c106f1b1d485d6b9e2c5cc4debe4f465169507 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f cae1fa6aa983ff166270eacbc29a6f56a32ff675 # timeout=10 Commit message: "fix: handle error if primaryTable is unsupported" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-04-24T10:25:46.108Z] Timeout set to expire in 6 hr 0 min [Pipeline] { > git rev-list --no-walk e715f9585823a2f61c57f68e6edd4d3151291ed5 # timeout=10 [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-04-24T10:25:46.192Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-04-24T10:25:46.218Z] ========================================================= [2024-04-24T10:25:46.218Z] EdgeX Global Pipelines Version Info [2024-04-24T10:25:46.218Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-04-24T10:25:46.961Z] ------------------- [2024-04-24T10:25:46.961Z] stable info: [2024-04-24T10:25:46.961Z] ------------------- [2024-04-24T10:25:46.961Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2024-04-24T10:25:46.961Z] Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2024-04-24T10:25:46.961Z] Message: update stable to v1.0.258 [2024-04-24T10:25:47.532Z] ------------------- [2024-04-24T10:25:47.532Z] experimental info: [2024-04-24T10:25:47.532Z] ------------------- [2024-04-24T10:25:47.532Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2024-04-24T10:25:47.532Z] Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2024-04-24T10:25:47.532Z] Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-04-24T10:25:47.612Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo [2024-04-24T10:25:47.634Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo [2024-04-24T10:25:47.667Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-04-24T10:25:47.695Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-04-24T10:25:47.722Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-04-24T10:25:47.748Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2024-04-24T10:25:47.768Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-04-24T10:25:47.788Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2024-04-24T10:25:47.815Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-04-24T10:25:47.836Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-04-24T10:25:47.859Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-04-24T10:25:47.880Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo [2024-04-24T10:25:47.900Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-04-24T10:25:47.920Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-04-24T10:25:47.945Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-04-24T10:25:47.966Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2024-04-24T10:25:47.987Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-04-24T10:25:48.011Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-04-24T10:25:48.027Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-04-24T10:25:48.047Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-04-24T10:25:48.072Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2024-04-24T10:25:48.097Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2024-04-24T10:25:48.115Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-04-24T10:25:48.135Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-04-24T10:25:48.224Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-04-24T10:25:48.240Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-04-24T10:25:48.264Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-04-24T10:25:48.286Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-549 [Pipeline] echo [2024-04-24T10:25:48.305Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-549 [Pipeline] echo [2024-04-24T10:25:48.328Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-549 [Pipeline] echo [2024-04-24T10:25:48.354Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = cae1fa6aa983ff166270eacbc29a6f56a32ff675 [Pipeline] echo [2024-04-24T10:25:48.376Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = cae1fa6 [Pipeline] echo [2024-04-24T10:25:48.405Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-04-24T10:25:48.465Z] provisioning config files... [2024-04-24T10:25:48.478Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-549@tmp/config12532071322546162019tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-04-24T10:25:48.814Z] ---> ****-login.sh [2024-04-24T10:25:48.814Z] nexus3.edgexfoundry.org:10001 [2024-04-24T10:25:49.075Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-04-24T10:25:49.075Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-04-24T10:25:49.076Z] Configure a credential helper to remove this warning. See [2024-04-24T10:25:49.076Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-04-24T10:25:49.076Z] [2024-04-24T10:25:49.076Z] Login Succeeded [2024-04-24T10:25:49.076Z] nexus3.edgexfoundry.org:10002 [2024-04-24T10:25:49.076Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-04-24T10:25:49.336Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-04-24T10:25:49.336Z] Configure a credential helper to remove this warning. See [2024-04-24T10:25:49.336Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-04-24T10:25:49.336Z] [2024-04-24T10:25:49.336Z] Login Succeeded [2024-04-24T10:25:49.336Z] nexus3.edgexfoundry.org:10003 [2024-04-24T10:25:49.336Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-04-24T10:25:49.336Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-04-24T10:25:49.336Z] Configure a credential helper to remove this warning. See [2024-04-24T10:25:49.337Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-04-24T10:25:49.337Z] [2024-04-24T10:25:49.337Z] Login Succeeded [2024-04-24T10:25:49.337Z] nexus3.edgexfoundry.org:10004 [2024-04-24T10:25:49.337Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-04-24T10:25:49.596Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-04-24T10:25:49.596Z] Configure a credential helper to remove this warning. See [2024-04-24T10:25:49.596Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-04-24T10:25:49.596Z] [2024-04-24T10:25:49.596Z] Login Succeeded [2024-04-24T10:25:49.596Z] ****.io [2024-04-24T10:25:49.596Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-04-24T10:25:49.855Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-04-24T10:25:49.855Z] Configure a credential helper to remove this warning. See [2024-04-24T10:25:49.855Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-04-24T10:25:49.855Z] [2024-04-24T10:25:49.855Z] Login Succeeded [2024-04-24T10:25:49.855Z] ---> ****-login.sh ends [Pipeline] } [2024-04-24T10:25:49.864Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-04-24T10:25:50.284Z] + git rev-list -1 --merges cae1fa6aa983ff166270eacbc29a6f56a32ff675~1..cae1fa6aa983ff166270eacbc29a6f56a32ff675 [Pipeline] echo [2024-04-24T10:25:50.318Z] -----------> git rev-list -1 --merges cae1fa6aa983ff166270eacbc29a6f56a32ff675~1..cae1fa6aa983ff166270eacbc29a6f56a32ff675 cae1fa6aa983ff166270eacbc29a6f56a32ff675 [false] [Pipeline] sh [2024-04-24T10:25:50.613Z] + git log --format=format:%s -1 cae1fa6aa983ff166270eacbc29a6f56a32ff675 [Pipeline] echo [2024-04-24T10:25:50.629Z] ========================================================= [2024-04-24T10:25:50.629Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-04-24T10:25:50.629Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-04-24T10:25:50.978Z] + git log --format=format:%s -1 cae1fa6aa983ff166270eacbc29a6f56a32ff675 [Pipeline] echo [2024-04-24T10:25:50.992Z] [semverPrep] GIT_COMMIT: cae1fa6aa983ff166270eacbc29a6f56a32ff675, Commit Message: fix: handle error if primaryTable is unsupported [Pipeline] echo [2024-04-24T10:25:51.009Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-04-24T10:25:51.382Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-04-24T10:25:51.382Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-04-24T10:25:51.382Z] + [ -e /tmp/ssh_known_hosts ] [2024-04-24T10:25:51.382Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-04-24T10:25:51.382Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-04-24T10:25:51.382Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2024-04-24T10:25:51.382Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-04-24T10:25:51.798Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-04-24T10:25:51.799Z] [2024-04-24T10:25:51.799Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-04-24T10:25:52.103Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-04-24T10:25:52.103Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-04-24T10:25:52.103Z] b85a868b505f: Pulling fs layer [2024-04-24T10:25:52.103Z] e2be974225ed: Pulling fs layer [2024-04-24T10:25:52.103Z] 339a4e72a1f5: Pulling fs layer [2024-04-24T10:25:52.103Z] 988bab9f4d93: Pulling fs layer [2024-04-24T10:25:52.103Z] 1469e6f7b9e6: Pulling fs layer [2024-04-24T10:25:52.103Z] eaf3925da568: Pulling fs layer [2024-04-24T10:25:52.103Z] 988bab9f4d93: Waiting [2024-04-24T10:25:52.103Z] 1469e6f7b9e6: Waiting [2024-04-24T10:25:52.103Z] bab4dde63d76: Pulling fs layer [2024-04-24T10:25:52.103Z] bde34c3a00c8: Pulling fs layer [2024-04-24T10:25:52.103Z] eaf3925da568: Waiting [2024-04-24T10:25:52.103Z] b352a97aabf1: Pulling fs layer [2024-04-24T10:25:52.103Z] bab4dde63d76: Waiting [2024-04-24T10:25:52.103Z] bde34c3a00c8: Waiting [2024-04-24T10:25:52.103Z] 4872d77fe225: Pulling fs layer [2024-04-24T10:25:52.103Z] 5851b861e8e6: Pulling fs layer [2024-04-24T10:25:52.103Z] b352a97aabf1: Waiting [2024-04-24T10:25:52.103Z] 4872d77fe225: Waiting [2024-04-24T10:25:52.103Z] 5851b861e8e6: Waiting [2024-04-24T10:25:52.103Z] e2be974225ed: Verifying Checksum [2024-04-24T10:25:52.103Z] e2be974225ed: Download complete [2024-04-24T10:25:52.103Z] 988bab9f4d93: Verifying Checksum [2024-04-24T10:25:52.103Z] 988bab9f4d93: Download complete [2024-04-24T10:25:52.103Z] 1469e6f7b9e6: Verifying Checksum [2024-04-24T10:25:52.103Z] 1469e6f7b9e6: Download complete [2024-04-24T10:25:52.363Z] eaf3925da568: Download complete [2024-04-24T10:25:52.363Z] 339a4e72a1f5: Verifying Checksum [2024-04-24T10:25:52.363Z] 339a4e72a1f5: Download complete [2024-04-24T10:25:52.363Z] bde34c3a00c8: Verifying Checksum [2024-04-24T10:25:52.363Z] b352a97aabf1: Verifying Checksum [2024-04-24T10:25:52.363Z] b352a97aabf1: Download complete [2024-04-24T10:25:52.363Z] 4872d77fe225: Download complete [2024-04-24T10:25:52.363Z] 5851b861e8e6: Download complete [2024-04-24T10:25:52.363Z] b85a868b505f: Verifying Checksum [2024-04-24T10:25:52.363Z] b85a868b505f: Download complete [2024-04-24T10:25:52.623Z] bab4dde63d76: Verifying Checksum [2024-04-24T10:25:52.623Z] bab4dde63d76: Download complete [2024-04-24T10:25:53.562Z] b85a868b505f: Pull complete [2024-04-24T10:25:53.831Z] e2be974225ed: Pull complete [2024-04-24T10:25:54.406Z] 339a4e72a1f5: Pull complete [2024-04-24T10:25:54.406Z] 988bab9f4d93: Pull complete [2024-04-24T10:25:54.666Z] 1469e6f7b9e6: Pull complete [2024-04-24T10:25:54.666Z] eaf3925da568: Pull complete [2024-04-24T10:25:56.579Z] bab4dde63d76: Pull complete [2024-04-24T10:25:56.579Z] bde34c3a00c8: Pull complete [2024-04-24T10:25:56.579Z] b352a97aabf1: Pull complete [2024-04-24T10:25:56.841Z] 4872d77fe225: Pull complete [2024-04-24T10:25:56.841Z] 5851b861e8e6: Pull complete [2024-04-24T10:25:56.841Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-04-24T10:25:56.841Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-04-24T10:25:56.841Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-04-24T10:25:56.993Z] prd-ubuntu20.04-docker-8c-8g-3502 does not seem to be running inside a container [2024-04-24T10:25:57.034Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-549 -v /w/workspace/xfoundry_device-modbus-go_PR-549:/w/workspace/xfoundry_device-modbus-go_PR-549:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-549@tmp:/w/workspace/xfoundry_device-modbus-go_PR-549@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-04-24T10:26:00.635Z] $ docker top 93edd816fde374144a7a01301ecbb60b8b3ea3b155dac39b526e94a71ffc17c3 -eo pid,comm [2024-04-24T10:26:00.681Z] 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-04-24T10:26:00.681Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-04-24T10:26:00.731Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-04-24T10:26:00.731Z] [ssh-agent] Looking for ssh-agent implementation... [2024-04-24T10:26:00.841Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-04-24T10:26:00.848Z] $ docker exec 93edd816fde374144a7a01301ecbb60b8b3ea3b155dac39b526e94a71ffc17c3 ssh-agent [2024-04-24T10:26:00.960Z] SSH_AUTH_SOCK=/tmp/ssh-d0Nc2LxrUzi1/agent.32 [2024-04-24T10:26:00.960Z] SSH_AGENT_PID=38 [2024-04-24T10:26:00.967Z] Running ssh-add (command line suppressed) [2024-04-24T10:26:01.074Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-549@tmp/private_key_12583944115683288387.key (/w/workspace/xfoundry_device-modbus-go_PR-549@tmp/private_key_12583944115683288387.key) [2024-04-24T10:26:01.083Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-04-24T10:26:01.378Z] + git tag --points-at HEAD [Pipeline] } [2024-04-24T10:26:01.393Z] $ docker exec --env ******** --env ******** 93edd816fde374144a7a01301ecbb60b8b3ea3b155dac39b526e94a71ffc17c3 ssh-agent -k [2024-04-24T10:26:01.493Z] unset SSH_AUTH_SOCK; [2024-04-24T10:26:01.494Z] unset SSH_AGENT_PID; [2024-04-24T10:26:01.494Z] echo Agent pid 38 killed; [2024-04-24T10:26:01.500Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-04-24T10:26:01.535Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-04-24T10:26:01.536Z] [ssh-agent] Looking for ssh-agent implementation... [2024-04-24T10:26:01.647Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-04-24T10:26:01.654Z] $ docker exec 93edd816fde374144a7a01301ecbb60b8b3ea3b155dac39b526e94a71ffc17c3 ssh-agent [2024-04-24T10:26:01.752Z] SSH_AUTH_SOCK=/tmp/ssh-52oYs5pob9h8/agent.71 [2024-04-24T10:26:01.752Z] SSH_AGENT_PID=77 [2024-04-24T10:26:01.757Z] Running ssh-add (command line suppressed) [2024-04-24T10:26:01.865Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-549@tmp/private_key_8099009791907380280.key (/w/workspace/xfoundry_device-modbus-go_PR-549@tmp/private_key_8099009791907380280.key) [2024-04-24T10:26:01.875Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-04-24T10:26:02.170Z] + git semver init [2024-04-24T10:26:02.431Z] 2024-04-24 10:26:02,366 [run_init] DEBUG init version:0.0.0 force:False [2024-04-24T10:26:02.431Z] 2024-04-24 10:26:02,367 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-modbus-go_PR-549/.semver [2024-04-24T10:26:02.431Z] 2024-04-24 10:26:02,368 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/xfoundry_device-modbus-go_PR-549/.semver [2024-04-24T10:26:02.431Z] 2024-04-24 10:26:02,368 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/xfoundry_device-modbus-go_PR-549/.semver'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-549, universal_newlines=False, shell=None, istream=None) [2024-04-24T10:26:03.830Z] 2024-04-24 10:26:03,500 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-modbus-go_PR-549/.git/info/exclude [2024-04-24T10:26:03.830Z] 2024-04-24 10:26:03,500 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-modbus-go_PR-549/.semver/PR-549 with force:False [2024-04-24T10:26:03.830Z] 2024-04-24 10:26:03,500 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-modbus-go_PR-549/.semver/PR-549 [2024-04-24T10:26:03.830Z] 2024-04-24 10:26:03,503 [execute] INFO git cat-file --batch-check [2024-04-24T10:26:03.830Z] 2024-04-24 10:26:03,504 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-549/.semver, universal_newlines=False, shell=None, istream=) [2024-04-24T10:26:03.830Z] 2024-04-24 10:26:03,509 [execute] INFO git cat-file --batch [2024-04-24T10:26:03.830Z] 2024-04-24 10:26:03,509 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-549/.semver, universal_newlines=False, shell=None, istream=) [2024-04-24T10:26:03.830Z] 2024-04-24 10:26:03,512 [read_version] DEBUG read version from /w/workspace/xfoundry_device-modbus-go_PR-549/.semver/PR-549 [2024-04-24T10:26:03.830Z] 0.0.0 [Pipeline] } [2024-04-24T10:26:03.844Z] $ docker exec --env ******** --env ******** 93edd816fde374144a7a01301ecbb60b8b3ea3b155dac39b526e94a71ffc17c3 ssh-agent -k [2024-04-24T10:26:03.946Z] unset SSH_AUTH_SOCK; [2024-04-24T10:26:03.946Z] unset SSH_AGENT_PID; [2024-04-24T10:26:03.946Z] echo Agent pid 77 killed; [2024-04-24T10:26:03.956Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-04-24T10:26:04.280Z] + git semver [Pipeline] } [2024-04-24T10:26:04.556Z] $ docker stop --time=1 93edd816fde374144a7a01301ecbb60b8b3ea3b155dac39b526e94a71ffc17c3 [2024-04-24T10:26:05.850Z] $ docker rm -f --volumes 93edd816fde374144a7a01301ecbb60b8b3ea3b155dac39b526e94a71ffc17c3 [Pipeline] // withDockerContainer [Pipeline] sh [2024-04-24T10:26:06.194Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-04-24T10:26:06.442Z] Stashed 1 file(s) [Pipeline] echo [2024-04-24T10:26:06.444Z] [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-04-24T10:26:06.651Z] provisioning config files... [2024-04-24T10:26:06.662Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-549@tmp/config14283291444786429322tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-04-24T10:26:06.974Z] ---> ****-login.sh [2024-04-24T10:26:06.974Z] nexus3.edgexfoundry.org:10001 [2024-04-24T10:26:06.974Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-04-24T10:26:06.974Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-04-24T10:26:06.974Z] Configure a credential helper to remove this warning. See [2024-04-24T10:26:06.974Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-04-24T10:26:06.974Z] [2024-04-24T10:26:06.975Z] Login Succeeded [2024-04-24T10:26:06.975Z] nexus3.edgexfoundry.org:10002 [2024-04-24T10:26:06.975Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-04-24T10:26:06.975Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-04-24T10:26:06.975Z] Configure a credential helper to remove this warning. See [2024-04-24T10:26:06.975Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-04-24T10:26:06.975Z] [2024-04-24T10:26:06.975Z] Login Succeeded [2024-04-24T10:26:06.975Z] nexus3.edgexfoundry.org:10003 [2024-04-24T10:26:07.236Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-04-24T10:26:07.236Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-04-24T10:26:07.236Z] Configure a credential helper to remove this warning. See [2024-04-24T10:26:07.236Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-04-24T10:26:07.236Z] [2024-04-24T10:26:07.236Z] Login Succeeded [2024-04-24T10:26:07.236Z] nexus3.edgexfoundry.org:10004 [2024-04-24T10:26:07.236Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-04-24T10:26:07.236Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-04-24T10:26:07.236Z] Configure a credential helper to remove this warning. See [2024-04-24T10:26:07.236Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-04-24T10:26:07.236Z] [2024-04-24T10:26:07.236Z] Login Succeeded [2024-04-24T10:26:07.236Z] ****.io [2024-04-24T10:26:07.236Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-04-24T10:26:07.503Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-04-24T10:26:07.504Z] Configure a credential helper to remove this warning. See [2024-04-24T10:26:07.504Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-04-24T10:26:07.504Z] [2024-04-24T10:26:07.504Z] Login Succeeded [2024-04-24T10:26:07.504Z] ---> ****-login.sh ends [Pipeline] } [2024-04-24T10:26:07.514Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-04-24T10:26:07.607Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-04-24T10:26:07.631Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-04-24T10:26:07.648Z] ========================================================= [2024-04-24T10:26:07.648Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2024-04-24T10:26:07.648Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-04-24T10:26:07.996Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2024-04-24T10:26:07.996Z] Sending build context to Docker daemon 17.37MB [2024-04-24T10:26:07.996Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2024-04-24T10:26:07.996Z] Step 2/10 : FROM ${BASE} AS builder [2024-04-24T10:26:07.996Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2024-04-24T10:26:07.996Z] 619be1103602: Pulling fs layer [2024-04-24T10:26:07.996Z] 7862e08f4a3e: Pulling fs layer [2024-04-24T10:26:07.996Z] 5df492c9dc93: Pulling fs layer [2024-04-24T10:26:07.996Z] 7629e6793208: Pulling fs layer [2024-04-24T10:26:07.996Z] 4f4fb700ef54: Pulling fs layer [2024-04-24T10:26:07.996Z] 7629e6793208: Waiting [2024-04-24T10:26:07.996Z] fb5054dd5b73: Pulling fs layer [2024-04-24T10:26:07.996Z] eeca6798cff9: Pulling fs layer [2024-04-24T10:26:07.996Z] aa269ceb94a6: Pulling fs layer [2024-04-24T10:26:07.996Z] fb5054dd5b73: Waiting [2024-04-24T10:26:07.996Z] eeca6798cff9: Waiting [2024-04-24T10:26:07.996Z] 4f4fb700ef54: Waiting [2024-04-24T10:26:07.996Z] ada007ff1a6a: Pulling fs layer [2024-04-24T10:26:07.996Z] aa269ceb94a6: Waiting [2024-04-24T10:26:07.997Z] ada007ff1a6a: Waiting [2024-04-24T10:26:08.256Z] 7862e08f4a3e: Verifying Checksum [2024-04-24T10:26:08.256Z] 7862e08f4a3e: Download complete [2024-04-24T10:26:08.256Z] 7629e6793208: Verifying Checksum [2024-04-24T10:26:08.256Z] 7629e6793208: Download complete [2024-04-24T10:26:08.256Z] 4f4fb700ef54: Verifying Checksum [2024-04-24T10:26:08.256Z] 4f4fb700ef54: Download complete [2024-04-24T10:26:08.256Z] fb5054dd5b73: Verifying Checksum [2024-04-24T10:26:08.256Z] fb5054dd5b73: Download complete [2024-04-24T10:26:08.256Z] 619be1103602: Verifying Checksum [2024-04-24T10:26:08.256Z] 619be1103602: Download complete [2024-04-24T10:26:08.256Z] eeca6798cff9: Verifying Checksum [2024-04-24T10:26:08.256Z] eeca6798cff9: Download complete [2024-04-24T10:26:08.256Z] 619be1103602: Pull complete [2024-04-24T10:26:08.519Z] ada007ff1a6a: Verifying Checksum [2024-04-24T10:26:08.519Z] ada007ff1a6a: Download complete [2024-04-24T10:26:08.519Z] 7862e08f4a3e: Pull complete [2024-04-24T10:26:08.519Z] 5df492c9dc93: Verifying Checksum [2024-04-24T10:26:08.519Z] 5df492c9dc93: Download complete [2024-04-24T10:26:09.085Z] aa269ceb94a6: Verifying Checksum [2024-04-24T10:26:09.085Z] aa269ceb94a6: Download complete [2024-04-24T10:26:11.616Z] 5df492c9dc93: Pull complete [2024-04-24T10:26:11.875Z] 7629e6793208: Pull complete [2024-04-24T10:26:11.875Z] 4f4fb700ef54: Pull complete [2024-04-24T10:26:11.875Z] fb5054dd5b73: Pull complete [2024-04-24T10:26:12.134Z] eeca6798cff9: Pull complete [2024-04-24T10:26:14.669Z] aa269ceb94a6: Pull complete [2024-04-24T10:26:14.949Z] ada007ff1a6a: Pull complete [2024-04-24T10:26:14.949Z] Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 [2024-04-24T10:26:14.949Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2024-04-24T10:26:14.949Z] ---> f489d0715acc [2024-04-24T10:26:14.949Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2024-04-24T10:26:20.225Z] ---> Running in 4b93b9209fb1 [2024-04-24T10:26:20.486Z] Removing intermediate container 4b93b9209fb1 [2024-04-24T10:26:20.486Z] ---> 13b022553e87 [2024-04-24T10:26:20.486Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-04-24T10:26:20.486Z] ---> Running in 6953f56ddcda [2024-04-24T10:26:20.486Z] Removing intermediate container 6953f56ddcda [2024-04-24T10:26:20.486Z] ---> 16af8292c3e3 [2024-04-24T10:26:20.486Z] Step 5/10 : RUN apk add --update --no-cache make git openssh [2024-04-24T10:26:20.486Z] ---> Running in 8ee71f12f82e [2024-04-24T10:26:20.746Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-04-24T10:26:20.746Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-04-24T10:26:21.006Z] (1/8) Installing openssh-keygen (9.3_p2-r1) [2024-04-24T10:26:21.006Z] (2/8) Installing libedit (20221030.3.1-r1) [2024-04-24T10:26:21.006Z] (3/8) Installing openssh-client-common (9.3_p2-r1) [2024-04-24T10:26:21.006Z] (4/8) Installing openssh-client-default (9.3_p2-r1) [2024-04-24T10:26:21.006Z] (5/8) Installing openssh-sftp-server (9.3_p2-r1) [2024-04-24T10:26:21.006Z] (6/8) Installing openssh-server-common (9.3_p2-r1) [2024-04-24T10:26:21.006Z] (7/8) Installing openssh-server (9.3_p2-r1) [2024-04-24T10:26:21.280Z] (8/8) Installing openssh (9.3_p2-r1) [2024-04-24T10:26:21.280Z] Executing busybox-1.36.1-r5.trigger [2024-04-24T10:26:21.280Z] OK: 270 MiB in 60 packages [2024-04-24T10:26:21.589Z] Still waiting to schedule task [2024-04-24T10:26:21.589Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2024-04-24T10:26:21.850Z] Removing intermediate container 8ee71f12f82e [2024-04-24T10:26:21.850Z] ---> cb6d070c70b1 [2024-04-24T10:26:21.850Z] Step 6/10 : WORKDIR /device-modbus-go [2024-04-24T10:26:21.850Z] ---> Running in 3cacd5ccad01 [2024-04-24T10:26:21.850Z] Removing intermediate container 3cacd5ccad01 [2024-04-24T10:26:21.850Z] ---> f940c652d72e [2024-04-24T10:26:21.850Z] Step 7/10 : COPY go.mod vendor* ./ [2024-04-24T10:26:22.110Z] ---> 56b38fc26aa0 [2024-04-24T10:26:22.110Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-04-24T10:26:22.110Z] ---> Running in ad4f2b250b88 [2024-04-24T10:26:54.216Z] Removing intermediate container ad4f2b250b88 [2024-04-24T10:26:54.216Z] ---> 73f1c7d0106b [2024-04-24T10:26:54.216Z] Step 9/10 : COPY . . [2024-04-24T10:26:54.216Z] ---> e79197773dbd [2024-04-24T10:26:54.216Z] Step 10/10 : RUN ${MAKE} [2024-04-24T10:26:54.216Z] ---> Running in 2a5401ad2974 [2024-04-24T10:26:54.216Z] noop [2024-04-24T10:26:54.216Z] Removing intermediate container 2a5401ad2974 [2024-04-24T10:26:54.216Z] ---> be14946d0332 [2024-04-24T10:26:54.216Z] Successfully built be14946d0332 [2024-04-24T10:26:54.216Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-04-24T10:26:54.549Z] + docker inspect -f . ci-base-image-x86_64 [2024-04-24T10:26:54.549Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-04-24T10:26:54.631Z] prd-ubuntu20.04-docker-8c-8g-3502 does not seem to be running inside a container [2024-04-24T10:26:54.668Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-549 -v /w/workspace/xfoundry_device-modbus-go_PR-549:/w/workspace/xfoundry_device-modbus-go_PR-549:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-549@tmp:/w/workspace/xfoundry_device-modbus-go_PR-549@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-04-24T10:26:55.101Z] $ docker top 1da57a1066d813c17cc322e6f7da18cf73b24c34c91180de5ce1e6ec1b7b7d34 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-04-24T10:26:55.460Z] + go version [2024-04-24T10:26:55.460Z] go version go1.21.9 linux/amd64 [Pipeline] } [2024-04-24T10:26:55.475Z] $ docker stop --time=1 1da57a1066d813c17cc322e6f7da18cf73b24c34c91180de5ce1e6ec1b7b7d34 [2024-04-24T10:26:56.743Z] $ docker rm -f --volumes 1da57a1066d813c17cc322e6f7da18cf73b24c34c91180de5ce1e6ec1b7b7d34 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-04-24T10:26:57.195Z] + docker inspect -f . ci-base-image-x86_64 [2024-04-24T10:26:57.195Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-04-24T10:26:57.280Z] prd-ubuntu20.04-docker-8c-8g-3502 does not seem to be running inside a container [2024-04-24T10:26:57.315Z] $ 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-549 -v /w/workspace/xfoundry_device-modbus-go_PR-549:/w/workspace/xfoundry_device-modbus-go_PR-549:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-549@tmp:/w/workspace/xfoundry_device-modbus-go_PR-549@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-04-24T10:26:57.657Z] $ docker top d20610d5420e80b552e706ff79f368edcd014bf2cd7186d30f0790e85831fde3 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-04-24T10:26:58.011Z] + git config --global --add safe.directory /w/workspace/xfoundry_device-modbus-go_PR-549 [Pipeline] fileExists [Pipeline] sh [2024-04-24T10:26:58.322Z] + make test [2024-04-24T10:26:58.322Z] go test ./... -coverprofile=coverage.out [2024-04-24T10:26:59.741Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2024-04-24T10:27:12.402Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2024-04-24T10:27:12.402Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.019s coverage: 47.9% of statements [2024-04-24T10:27:18.967Z] go vet ./... [2024-04-24T10:27:23.156Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-04-24T10:27:23.156Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-04-24T10:27:23.156Z] ./bin/test-attribution-txt.sh [2024-04-24T10:27:23.156Z] An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [Pipeline] echo [2024-04-24T10:27:23.170Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-04-24T10:27:23.188Z] $ docker stop --time=1 d20610d5420e80b552e706ff79f368edcd014bf2cd7186d30f0790e85831fde3 [2024-04-24T10:27:26.831Z] $ docker rm -f --volumes d20610d5420e80b552e706ff79f368edcd014bf2cd7186d30f0790e85831fde3 [Pipeline] // withDockerContainer [Pipeline] sh [2024-04-24T10:27:27.330Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-04-24T10:27:27.385Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2024-04-24T10:27:27.925Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-04-24T10:27:28.212Z] + ls -al . [2024-04-24T10:27:28.212Z] total 196 [2024-04-24T10:27:28.212Z] drwxrwxr-x 9 jenkins jenkins 4096 Apr 24 10:26 . [2024-04-24T10:27:28.212Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 24 10:25 .. [2024-04-24T10:27:28.212Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 24 10:25 .dockerignore [2024-04-24T10:27:28.212Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 24 10:27 .git [2024-04-24T10:27:28.212Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 24 10:25 .github [2024-04-24T10:27:28.212Z] -rw-rw-r-- 1 jenkins jenkins 266 Apr 24 10:25 .gitignore [2024-04-24T10:27:28.212Z] -rw-rw-r-- 1 jenkins jenkins 41 Apr 24 10:25 .golangci.yml [2024-04-24T10:27:28.212Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 24 10:26 .semver [2024-04-24T10:27:28.212Z] -rw-rw-r-- 1 jenkins jenkins 11101 Apr 24 10:25 Attribution.txt [2024-04-24T10:27:28.212Z] -rw-rw-r-- 1 jenkins jenkins 16388 Apr 24 10:25 CHANGELOG.md [2024-04-24T10:27:28.212Z] -rw-rw-r-- 1 jenkins jenkins 1474 Apr 24 10:25 Dockerfile [2024-04-24T10:27:28.212Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 24 10:25 GOVERNANCE.md [2024-04-24T10:27:28.212Z] -rw-rw-r-- 1 jenkins jenkins 658 Apr 24 10:25 Jenkinsfile [2024-04-24T10:27:28.212Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 24 10:25 LICENSE [2024-04-24T10:27:28.212Z] -rw-rw-r-- 1 jenkins jenkins 1942 Apr 24 10:25 Makefile [2024-04-24T10:27:28.212Z] -rw-rw-r-- 1 jenkins jenkins 622 Apr 24 10:25 OWNERS.md [2024-04-24T10:27:28.212Z] -rw-rw-r-- 1 jenkins jenkins 4463 Apr 24 10:25 README.md [2024-04-24T10:27:28.212Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 24 10:26 VERSION [2024-04-24T10:27:28.212Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 24 10:25 bin [2024-04-24T10:27:28.212Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 24 10:25 cmd [2024-04-24T10:27:28.212Z] -rw-r--r-- 1 jenkins jenkins 24601 Apr 24 10:27 coverage.out [2024-04-24T10:27:28.212Z] -rw-rw-r-- 1 jenkins jenkins 3987 Apr 24 10:25 go.mod [2024-04-24T10:27:28.212Z] -rw-rw-r-- 1 jenkins jenkins 36558 Apr 24 10:25 go.sum [2024-04-24T10:27:28.212Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 24 10:25 internal [2024-04-24T10:27:28.212Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 24 10:25 simulator [2024-04-24T10:27:28.212Z] -rw-rw-r-- 1 jenkins jenkins 229 Apr 24 10:25 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-04-24T10:27:28.538Z] + 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=cae1fa6aa983ff166270eacbc29a6f56a32ff675 --label arch=amd64 --label version=0.0.0 . [2024-04-24T10:27:28.538Z] Sending build context to Docker daemon 17.4MB [2024-04-24T10:27:28.538Z] Step 1/23 : ARG BASE=golang:1.21-alpine3.18 [2024-04-24T10:27:28.538Z] Step 2/23 : FROM ${BASE} AS builder [2024-04-24T10:27:28.538Z] ---> be14946d0332 [2024-04-24T10:27:28.538Z] Step 3/23 : ARG ADD_BUILD_TAGS="" [2024-04-24T10:27:28.799Z] ---> Running in 32201bc3a1f7 [2024-04-24T10:27:29.057Z] Removing intermediate container 32201bc3a1f7 [2024-04-24T10:27:29.057Z] ---> cfc705e14041 [2024-04-24T10:27:29.057Z] Step 4/23 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-04-24T10:27:29.057Z] ---> Running in 929ae1d4cdee [2024-04-24T10:27:29.057Z] Removing intermediate container 929ae1d4cdee [2024-04-24T10:27:29.057Z] ---> 1bd3e0f3a4ac [2024-04-24T10:27:29.057Z] Step 5/23 : RUN apk add --update --no-cache make git openssh [2024-04-24T10:27:29.057Z] ---> Running in caad92791b78 [2024-04-24T10:27:29.317Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-04-24T10:27:29.576Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-04-24T10:27:29.834Z] OK: 270 MiB in 60 packages [2024-04-24T10:27:30.092Z] Removing intermediate container caad92791b78 [2024-04-24T10:27:30.092Z] ---> 050a5a3a26b4 [2024-04-24T10:27:30.092Z] Step 6/23 : WORKDIR /device-modbus-go [2024-04-24T10:27:30.092Z] ---> Running in 482dd7de9e8b [2024-04-24T10:27:30.092Z] Removing intermediate container 482dd7de9e8b [2024-04-24T10:27:30.092Z] ---> 39d8eca95bf0 [2024-04-24T10:27:30.092Z] Step 7/23 : COPY go.mod vendor* ./ [2024-04-24T10:27:30.351Z] ---> 9b983c1ea77f [2024-04-24T10:27:30.351Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-04-24T10:27:30.351Z] ---> Running in ba010f576565 [2024-04-24T10:27:30.918Z] Removing intermediate container ba010f576565 [2024-04-24T10:27:30.918Z] ---> 7d09c18f9758 [2024-04-24T10:27:30.918Z] Step 9/23 : COPY . . [2024-04-24T10:27:31.485Z] ---> 753399e465e2 [2024-04-24T10:27:31.485Z] Step 10/23 : RUN ${MAKE} [2024-04-24T10:27:31.485Z] ---> Running in 8f2c4756fa4a [2024-04-24T10:27:31.744Z] 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.11" -trimpath -mod=readonly -o cmd/device-modbus ./cmd [2024-04-24T10:27:53.675Z] Removing intermediate container 8f2c4756fa4a [2024-04-24T10:27:53.675Z] ---> 8a605ae8c1d2 [2024-04-24T10:27:53.675Z] Step 11/23 : FROM alpine:3.18 [2024-04-24T10:27:53.937Z] 3.18: Pulling from library/alpine [2024-04-24T10:27:54.197Z] 619be1103602: Already exists [2024-04-24T10:27:54.464Z] Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 [2024-04-24T10:27:54.464Z] Status: Downloaded newer image for alpine:3.18 [2024-04-24T10:27:54.464Z] ---> d3782b16ccc9 [2024-04-24T10:27:54.464Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2024-04-24T10:27:54.725Z] ---> Running in 5eb558552203 [2024-04-24T10:27:54.725Z] Removing intermediate container 5eb558552203 [2024-04-24T10:27:54.725Z] ---> 01355fa2b4df [2024-04-24T10:27:54.725Z] Step 13/23 : RUN apk add --update --no-cache dumb-init [2024-04-24T10:27:54.725Z] ---> Running in 99b2c4d8cf74 [2024-04-24T10:27:54.983Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-04-24T10:27:54.983Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-04-24T10:27:55.548Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-04-24T10:27:55.548Z] Executing busybox-1.36.1-r5.trigger [2024-04-24T10:27:55.548Z] OK: 7 MiB in 16 packages [2024-04-24T10:27:55.806Z] Removing intermediate container 99b2c4d8cf74 [2024-04-24T10:27:55.806Z] ---> a972e7acfce2 [2024-04-24T10:27:55.806Z] Step 14/23 : RUN apk --no-cache upgrade [2024-04-24T10:27:55.806Z] ---> Running in 27756193cb24 [2024-04-24T10:27:55.964Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-3503 in /w/workspace/xfoundry_device-modbus-go_PR-549 [Pipeline] { [Pipeline] ws [2024-04-24T10:27:55.980Z] Running in /w/workspace/device-modbus-go/3 [Pipeline] { [Pipeline] checkout [2024-04-24T10:27:56.065Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-04-24T10:27:56.065Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-04-24T10:27:56.323Z] Upgrading critical system libraries and apk-tools: [2024-04-24T10:27:56.323Z] (1/1) Upgrading apk-tools (2.14.0-r2 -> 2.14.4-r0) [2024-04-24T10:27:56.323Z] Executing busybox-1.36.1-r5.trigger [2024-04-24T10:27:56.323Z] Continuing the upgrade transaction with new apk-tools: [2024-04-24T10:27:56.323Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-04-24T10:27:56.323Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-04-24T10:27:56.582Z] (1/3) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) [2024-04-24T10:27:56.582Z] (2/3) Upgrading libcrypto3 (3.1.4-r5 -> 3.1.4-r6) [2024-04-24T10:27:56.582Z] (3/3) Upgrading libssl3 (3.1.4-r5 -> 3.1.4-r6) [2024-04-24T10:27:56.582Z] OK: 7 MiB in 16 packages [2024-04-24T10:27:57.150Z] Removing intermediate container 27756193cb24 [2024-04-24T10:27:57.150Z] ---> d6c0bc827304 [2024-04-24T10:27:57.150Z] Step 15/23 : COPY --from=builder /device-modbus-go/cmd / [2024-04-24T10:27:58.564Z] ---> 35e02c52d8a3 [2024-04-24T10:27:58.564Z] Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / [2024-04-24T10:27:58.564Z] ---> b876c6dc6856 [2024-04-24T10:27:58.564Z] Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / [2024-04-24T10:27:58.564Z] ---> 7d9405388b32 [2024-04-24T10:27:58.564Z] Step 18/23 : EXPOSE 59901 [2024-04-24T10:27:58.564Z] ---> Running in c094796762ac [2024-04-24T10:27:58.564Z] Removing intermediate container c094796762ac [2024-04-24T10:27:58.564Z] ---> 586377b2b954 [2024-04-24T10:27:58.564Z] Step 19/23 : ENTRYPOINT ["/device-modbus"] [2024-04-24T10:27:58.564Z] ---> Running in db68252ea36a [2024-04-24T10:27:58.564Z] Removing intermediate container db68252ea36a [2024-04-24T10:27:58.564Z] ---> 498b482673db [2024-04-24T10:27:58.564Z] Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2024-04-24T10:27:58.564Z] ---> Running in eee8ac73bc3a [2024-04-24T10:27:58.822Z] Removing intermediate container eee8ac73bc3a [2024-04-24T10:27:58.822Z] ---> c57940c960ab [2024-04-24T10:27:58.822Z] Step 21/23 : LABEL arch=amd64 [2024-04-24T10:27:58.822Z] ---> Running in 7683178e0faa [2024-04-24T10:27:58.822Z] Removing intermediate container 7683178e0faa [2024-04-24T10:27:58.822Z] ---> 148e163849fe [2024-04-24T10:27:58.822Z] Step 22/23 : LABEL git_sha=cae1fa6aa983ff166270eacbc29a6f56a32ff675 [2024-04-24T10:27:58.822Z] ---> Running in 6ce8a73b5755 [2024-04-24T10:27:58.822Z] Removing intermediate container 6ce8a73b5755 [2024-04-24T10:27:58.822Z] ---> f565791c8591 [2024-04-24T10:27:58.822Z] Step 23/23 : LABEL version=0.0.0 [2024-04-24T10:27:58.822Z] ---> Running in f90e9d2599aa [2024-04-24T10:27:59.042Z] Selected Git installation does not exist. Using Default [2024-04-24T10:27:59.042Z] The recommended git tool is: NONE [2024-04-24T10:27:59.080Z] Removing intermediate container f90e9d2599aa [2024-04-24T10:27:59.080Z] ---> f0e026b795dc [2024-04-24T10:27:59.080Z] [Warning] One or more build-args [ARCH] were not consumed [2024-04-24T10:27:59.080Z] Successfully built f0e026b795dc [2024-04-24T10:27:59.080Z] Successfully tagged device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-04-24T10:27:59.593Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-04-24T10:27:59.593Z] [2024-04-24T10:27:59.593Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-04-24T10:27:59.900Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-04-24T10:27:59.901Z] latest: Pulling from edgex-lftools-log-publisher [2024-04-24T10:27:59.901Z] 5eb5b503b376: Pulling fs layer [2024-04-24T10:27:59.901Z] 5c69ac0246d0: Pulling fs layer [2024-04-24T10:27:59.901Z] ec43610c2a17: Pulling fs layer [2024-04-24T10:27:59.901Z] 3a2ae6a8a46f: Pulling fs layer [2024-04-24T10:27:59.901Z] 33b1e0a273af: Pulling fs layer [2024-04-24T10:27:59.901Z] 5d3b04190fa2: Pulling fs layer [2024-04-24T10:27:59.901Z] 2f39f015ded8: Pulling fs layer [2024-04-24T10:27:59.901Z] 33b1e0a273af: Waiting [2024-04-24T10:27:59.901Z] 5d3b04190fa2: Waiting [2024-04-24T10:27:59.901Z] 2f39f015ded8: Waiting [2024-04-24T10:27:59.901Z] 3a2ae6a8a46f: Waiting [2024-04-24T10:27:59.901Z] 5c69ac0246d0: Download complete [2024-04-24T10:27:59.901Z] 3a2ae6a8a46f: Verifying Checksum [2024-04-24T10:27:59.901Z] 3a2ae6a8a46f: Download complete [2024-04-24T10:27:59.901Z] 33b1e0a273af: Verifying Checksum [2024-04-24T10:27:59.901Z] 33b1e0a273af: Download complete [2024-04-24T10:27:59.901Z] 5d3b04190fa2: Verifying Checksum [2024-04-24T10:27:59.901Z] 5d3b04190fa2: Download complete [2024-04-24T10:27:59.901Z] ec43610c2a17: Verifying Checksum [2024-04-24T10:27:59.901Z] ec43610c2a17: Download complete [2024-04-24T10:28:00.159Z] 5eb5b503b376: Verifying Checksum [2024-04-24T10:28:00.159Z] 5eb5b503b376: Download complete [2024-04-24T10:28:00.725Z] 2f39f015ded8: Download complete [2024-04-24T10:28:01.290Z] 5eb5b503b376: Pull complete [2024-04-24T10:28:01.291Z] 5c69ac0246d0: Pull complete [2024-04-24T10:28:01.856Z] ec43610c2a17: Pull complete [2024-04-24T10:28:01.856Z] 3a2ae6a8a46f: Pull complete [2024-04-24T10:28:02.114Z] 33b1e0a273af: Pull complete [2024-04-24T10:28:02.114Z] 5d3b04190fa2: Pull complete [2024-04-24T10:28:03.871Z] using credential edgex-jenkins-ssh [2024-04-24T10:28:03.893Z] Cloning the remote Git repository [2024-04-24T10:28:03.936Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2024-04-24T10:28:04.023Z] > git init /w/workspace/device-modbus-go/3 # timeout=10 [2024-04-24T10:28:04.158Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2024-04-24T10:28:04.159Z] > git --version # timeout=10 [2024-04-24T10:28:04.179Z] > git --version # 'git version 2.25.1' [2024-04-24T10:28:04.181Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-04-24T10:28:04.327Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-04-24T10:28:06.301Z] 2f39f015ded8: Pull complete [2024-04-24T10:28:06.302Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-04-24T10:28:06.302Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-04-24T10:28:06.302Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-04-24T10:28:06.403Z] prd-ubuntu20.04-docker-8c-8g-3502 does not seem to be running inside a container [2024-04-24T10:28:06.441Z] $ 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-549 -v /w/workspace/xfoundry_device-modbus-go_PR-549:/w/workspace/xfoundry_device-modbus-go_PR-549:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-549@tmp:/w/workspace/xfoundry_device-modbus-go_PR-549@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-04-24T10:28:06.233Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2024-04-24T10:28:06.259Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-04-24T10:28:07.760Z] Merging remotes/origin/main commit 78c106f1b1d485d6b9e2c5cc4debe4f465169507 into PR head commit cae1fa6aa983ff166270eacbc29a6f56a32ff675 [2024-04-24T10:28:07.101Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2024-04-24T10:28:07.136Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2024-04-24T10:28:07.136Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-04-24T10:28:07.158Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/549/head:refs/remotes/origin/PR-549 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2024-04-24T10:28:07.776Z] > git config core.sparsecheckout # timeout=10 [2024-04-24T10:28:07.828Z] > git checkout -f cae1fa6aa983ff166270eacbc29a6f56a32ff675 # timeout=10 [2024-04-24T10:28:07.998Z] Merge succeeded, producing cae1fa6aa983ff166270eacbc29a6f56a32ff675 [2024-04-24T10:28:07.999Z] Checking out Revision cae1fa6aa983ff166270eacbc29a6f56a32ff675 (PR-549) [2024-04-24T10:28:07.907Z] > git remote # timeout=10 [2024-04-24T10:28:07.925Z] > git config --get remote.origin.url # timeout=10 [2024-04-24T10:28:07.944Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-04-24T10:28:07.965Z] > git merge 78c106f1b1d485d6b9e2c5cc4debe4f465169507 # timeout=10 [2024-04-24T10:28:07.988Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-04-24T10:28:08.006Z] > git config core.sparsecheckout # timeout=10 [2024-04-24T10:28:08.018Z] > git checkout -f cae1fa6aa983ff166270eacbc29a6f56a32ff675 # timeout=10 [2024-04-24T10:28:11.543Z] Commit message: "fix: handle error if primaryTable is unsupported" [2024-04-24T10:28:12.583Z] [2024-04-24T10:28:12.583Z] GitHub has been notified of this commit’s build result [2024-04-24T10:28:12.583Z] [2024-04-24T10:28:12.826Z] $ docker top 359705aac879b7f1279ecd7c525effe55247aa79f8939d72c2b95ebb99fe8f85 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-04-24T10:28:13.231Z] ---> job-cost.sh [2024-04-24T10:28:13.231Z] lf-activate-venv: SKIPPING [2024-04-24T10:28:13.231Z] INFO: No Stack... [2024-04-24T10:28:13.494Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-04-24T10:28:13.548Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-04-24T10:28:13.548Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-04-24T10:28:13.548Z] Dload Upload Total Spent Left Speed [2024-04-24T10:28:13.548Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 105k 0 --:--:-- --:--:-- --:--:-- 105k [Pipeline] sh [2024-04-24T10:28:13.752Z] INFO: Archiving Costs [Pipeline] sh [2024-04-24T10:28:13.886Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-04-24T10:28:14.044Z] + cat /w/workspace/xfoundry_device-modbus-go_PR-549/archives/cost.csv [2024-04-24T10:28:14.044Z] + cut -d, -f6 [Pipeline] lock [2024-04-24T10:28:14.057Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-549-3-stack-cost] [2024-04-24T10:28:14.067Z] Resource [jenkins-edgexfoundry-device-modbus-go-PR-549-3-stack-cost] did not exist. Created. [2024-04-24T10:28:14.073Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-549-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-04-24T10:28:14.222Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2024-04-24T10:28:14.222Z] + sudo tee /etc/docker/daemon.new [2024-04-24T10:28:14.222Z] { [2024-04-24T10:28:14.222Z] "registry-mirrors": [ [2024-04-24T10:28:14.222Z] "https://nexus3.edgexfoundry.org:10001" [2024-04-24T10:28:14.222Z] ], [2024-04-24T10:28:14.222Z] "bip": "10.250.0.254/24", [2024-04-24T10:28:14.222Z] "hosts": [ [2024-04-24T10:28:14.222Z] "tcp://0.0.0.0:5555", [2024-04-24T10:28:14.222Z] "unix:///var/run/docker.sock" [2024-04-24T10:28:14.222Z] ], [2024-04-24T10:28:14.222Z] "mtu": 1458, [2024-04-24T10:28:14.222Z] "selinux-enabled": true, [2024-04-24T10:28:14.222Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-04-24T10:28:14.222Z] } [Pipeline] sh [2024-04-24T10:28:14.387Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-04-24T10:28:14.428Z] Stashed 1 file(s) [Pipeline] } [2024-04-24T10:28:14.438Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-549-3-stack-cost] [Pipeline] // lock [Pipeline] } [2024-04-24T10:28:14.466Z] $ docker stop --time=1 359705aac879b7f1279ecd7c525effe55247aa79f8939d72c2b95ebb99fe8f85 [2024-04-24T10:28:14.549Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [2024-04-24T10:28:15.626Z] $ docker rm -f --volumes 359705aac879b7f1279ecd7c525effe55247aa79f8939d72c2b95ebb99fe8f85 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] sh [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-04-24T10:28:15.997Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-04-24T10:28:34.261Z] provisioning config files... [2024-04-24T10:28:34.288Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/3@tmp/config5197542710006362272tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-04-24T10:28:34.730Z] ---> ****-login.sh [2024-04-24T10:28:34.731Z] nexus3.edgexfoundry.org:10001 [2024-04-24T10:28:35.000Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-04-24T10:28:35.275Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-04-24T10:28:35.275Z] Configure a credential helper to remove this warning. See [2024-04-24T10:28:35.275Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-04-24T10:28:35.275Z] [2024-04-24T10:28:35.275Z] Login Succeeded [2024-04-24T10:28:35.275Z] nexus3.edgexfoundry.org:10002 [2024-04-24T10:28:35.550Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-04-24T10:28:35.550Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-04-24T10:28:35.550Z] Configure a credential helper to remove this warning. See [2024-04-24T10:28:35.550Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-04-24T10:28:35.550Z] [2024-04-24T10:28:35.550Z] Login Succeeded [2024-04-24T10:28:35.550Z] nexus3.edgexfoundry.org:10003 [2024-04-24T10:28:35.818Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-04-24T10:28:35.818Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-04-24T10:28:35.818Z] Configure a credential helper to remove this warning. See [2024-04-24T10:28:35.818Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-04-24T10:28:35.818Z] [2024-04-24T10:28:35.818Z] Login Succeeded [2024-04-24T10:28:35.818Z] nexus3.edgexfoundry.org:10004 [2024-04-24T10:28:36.085Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-04-24T10:28:36.354Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-04-24T10:28:36.354Z] Configure a credential helper to remove this warning. See [2024-04-24T10:28:36.354Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-04-24T10:28:36.354Z] [2024-04-24T10:28:36.354Z] Login Succeeded [2024-04-24T10:28:36.354Z] ****.io [2024-04-24T10:28:36.625Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-04-24T10:28:36.891Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-04-24T10:28:36.891Z] Configure a credential helper to remove this warning. See [2024-04-24T10:28:36.891Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-04-24T10:28:36.891Z] [2024-04-24T10:28:36.891Z] Login Succeeded [2024-04-24T10:28:36.891Z] ---> ****-login.sh ends [Pipeline] } [2024-04-24T10:28:36.904Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-04-24T10:28:37.196Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-04-24T10:28:37.218Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-04-24T10:28:37.237Z] ========================================================= [2024-04-24T10:28:37.237Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2024-04-24T10:28:37.237Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-04-24T10:28:37.607Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2024-04-24T10:28:37.874Z] Sending build context to Docker daemon 8.82MB [2024-04-24T10:28:38.147Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2024-04-24T10:28:38.147Z] Step 2/10 : FROM ${BASE} AS builder [2024-04-24T10:28:38.147Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-04-24T10:28:38.147Z] c6b39de5b339: Pulling fs layer [2024-04-24T10:28:38.147Z] a69c41024577: Pulling fs layer [2024-04-24T10:28:38.148Z] d6de4b400683: Pulling fs layer [2024-04-24T10:28:38.148Z] 35cb2a7552d0: Pulling fs layer [2024-04-24T10:28:38.148Z] 4f4fb700ef54: Pulling fs layer [2024-04-24T10:28:38.148Z] 464afbd9ba4c: Pulling fs layer [2024-04-24T10:28:38.148Z] 00f215d4a9da: Pulling fs layer [2024-04-24T10:28:38.148Z] d496ad576159: Pulling fs layer [2024-04-24T10:28:38.148Z] 4f4fb700ef54: Waiting [2024-04-24T10:28:38.148Z] 464afbd9ba4c: Waiting [2024-04-24T10:28:38.148Z] 00f215d4a9da: Waiting [2024-04-24T10:28:38.148Z] d496ad576159: Waiting [2024-04-24T10:28:38.148Z] 35cb2a7552d0: Waiting [2024-04-24T10:28:38.148Z] a69c41024577: Verifying Checksum [2024-04-24T10:28:38.148Z] a69c41024577: Download complete [2024-04-24T10:28:38.148Z] 35cb2a7552d0: Verifying Checksum [2024-04-24T10:28:38.148Z] 35cb2a7552d0: Download complete [2024-04-24T10:28:38.148Z] 4f4fb700ef54: Verifying Checksum [2024-04-24T10:28:38.148Z] 4f4fb700ef54: Download complete [2024-04-24T10:28:38.417Z] 464afbd9ba4c: Verifying Checksum [2024-04-24T10:28:38.417Z] 464afbd9ba4c: Download complete [2024-04-24T10:28:38.417Z] c6b39de5b339: Download complete [2024-04-24T10:28:38.690Z] d496ad576159: Verifying Checksum [2024-04-24T10:28:38.690Z] d496ad576159: Download complete [2024-04-24T10:28:39.279Z] c6b39de5b339: Pull complete [2024-04-24T10:28:39.547Z] a69c41024577: Pull complete [2024-04-24T10:28:40.133Z] d6de4b400683: Verifying Checksum [2024-04-24T10:28:40.133Z] d6de4b400683: Download complete [2024-04-24T10:28:41.097Z] 00f215d4a9da: Verifying Checksum [2024-04-24T10:28:41.097Z] 00f215d4a9da: Download complete [2024-04-24T10:28:53.438Z] d6de4b400683: Pull complete [2024-04-24T10:28:53.438Z] 35cb2a7552d0: Pull complete [2024-04-24T10:28:53.438Z] 4f4fb700ef54: Pull complete [2024-04-24T10:28:53.438Z] 464afbd9ba4c: Pull complete [2024-04-24T10:29:01.665Z] 00f215d4a9da: Pull complete [2024-04-24T10:29:03.078Z] d496ad576159: Pull complete [2024-04-24T10:29:03.078Z] Digest: sha256:94db8a0955b4c8a8fb4ef40f1d66dd6a37c55842a5f6085bb7a69a85e2cfc316 [2024-04-24T10:29:03.078Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2024-04-24T10:29:03.078Z] ---> f246e2811388 [2024-04-24T10:29:03.078Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2024-04-24T10:29:05.026Z] ---> Running in 2b8eb58d3152 [2024-04-24T10:29:05.026Z] Removing intermediate container 2b8eb58d3152 [2024-04-24T10:29:05.026Z] ---> 3c78400649bd [2024-04-24T10:29:05.026Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-04-24T10:29:05.293Z] ---> Running in b81082b20865 [2024-04-24T10:29:05.564Z] Removing intermediate container b81082b20865 [2024-04-24T10:29:05.564Z] ---> b5fff7a407db [2024-04-24T10:29:05.564Z] Step 5/10 : RUN apk add --update --no-cache make git openssh [2024-04-24T10:29:05.564Z] ---> Running in 1e2e645d229f [2024-04-24T10:29:06.529Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-04-24T10:29:07.113Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-04-24T10:29:08.077Z] (1/8) Installing openssh-keygen (9.3_p2-r1) [2024-04-24T10:29:08.077Z] (2/8) Installing libedit (20221030.3.1-r1) [2024-04-24T10:29:08.077Z] (3/8) Installing openssh-client-common (9.3_p2-r1) [2024-04-24T10:29:08.077Z] (4/8) Installing openssh-client-default (9.3_p2-r1) [2024-04-24T10:29:08.077Z] (5/8) Installing openssh-sftp-server (9.3_p2-r1) [2024-04-24T10:29:08.077Z] (6/8) Installing openssh-server-common (9.3_p2-r1) [2024-04-24T10:29:08.077Z] (7/8) Installing openssh-server (9.3_p2-r1) [2024-04-24T10:29:08.077Z] (8/8) Installing openssh (9.3_p2-r1) [2024-04-24T10:29:08.077Z] Executing busybox-1.36.1-r5.trigger [2024-04-24T10:29:08.077Z] OK: 272 MiB in 60 packages [2024-04-24T10:29:09.046Z] Removing intermediate container 1e2e645d229f [2024-04-24T10:29:09.046Z] ---> 016e601d5297 [2024-04-24T10:29:09.046Z] Step 6/10 : WORKDIR /device-modbus-go [2024-04-24T10:29:09.046Z] ---> Running in 8d5452cb924c [2024-04-24T10:29:09.625Z] Removing intermediate container 8d5452cb924c [2024-04-24T10:29:09.625Z] ---> c0786c712112 [2024-04-24T10:29:09.625Z] Step 7/10 : COPY go.mod vendor* ./ [2024-04-24T10:29:09.892Z] ---> d73c7bcdd6a0 [2024-04-24T10:29:09.892Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-04-24T10:29:09.892Z] ---> Running in bebc7e8bbfd5 [2024-04-24T10:30:17.765Z] Removing intermediate container bebc7e8bbfd5 [2024-04-24T10:30:17.765Z] ---> 1db98c19202a [2024-04-24T10:30:17.765Z] Step 9/10 : COPY . . [2024-04-24T10:30:17.765Z] ---> 26478a329cea [2024-04-24T10:30:17.765Z] Step 10/10 : RUN ${MAKE} [2024-04-24T10:30:17.765Z] ---> Running in 28abc7bf3f93 [2024-04-24T10:30:17.765Z] noop [2024-04-24T10:30:17.765Z] Removing intermediate container 28abc7bf3f93 [2024-04-24T10:30:17.765Z] ---> ad03af9e3e16 [2024-04-24T10:30:17.765Z] Successfully built ad03af9e3e16 [2024-04-24T10:30:17.765Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-04-24T10:30:18.127Z] + docker inspect -f . ci-base-image-arm64 [2024-04-24T10:30:18.127Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-04-24T10:30:18.330Z] prd-ubuntu20.04-docker-arm64-4c-16g-3503 does not seem to be running inside a container [2024-04-24T10:30:18.397Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/3 -v /w/workspace/device-modbus-go/3:/w/workspace/device-modbus-go/3:rw,z -v /w/workspace/device-modbus-go/3@tmp:/w/workspace/device-modbus-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-04-24T10:30:19.625Z] $ docker top d36825ba9b6a2e9c44c61f9762ac0d0218b1fe52aa02d78f5b3b2538dd381418 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-04-24T10:30:20.465Z] + go version [2024-04-24T10:30:20.465Z] go version go1.21.9 linux/arm64 [Pipeline] } [2024-04-24T10:30:20.483Z] $ docker stop --time=1 d36825ba9b6a2e9c44c61f9762ac0d0218b1fe52aa02d78f5b3b2538dd381418 [2024-04-24T10:30:22.092Z] $ docker rm -f --volumes d36825ba9b6a2e9c44c61f9762ac0d0218b1fe52aa02d78f5b3b2538dd381418 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-04-24T10:30:22.689Z] + docker inspect -f . ci-base-image-arm64 [2024-04-24T10:30:22.690Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-04-24T10:30:22.880Z] prd-ubuntu20.04-docker-arm64-4c-16g-3503 does not seem to be running inside a container [2024-04-24T10:30:22.945Z] $ 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/3 -v /w/workspace/device-modbus-go/3:/w/workspace/device-modbus-go/3:rw,z -v /w/workspace/device-modbus-go/3@tmp:/w/workspace/device-modbus-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-04-24T10:30:24.136Z] $ docker top 59c4ce04ee94dad3cbe98f91cfe9859f8b0daf1f8d35c28e7c1079f10f442c43 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-04-24T10:30:24.974Z] + git config --global --add safe.directory /w/workspace/device-modbus-go/3 [Pipeline] fileExists [Pipeline] sh [2024-04-24T10:30:25.312Z] + make test [2024-04-24T10:30:25.581Z] go test ./... -coverprofile=coverage.out [2024-04-24T10:30:28.931Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2024-04-24T10:32:21.406Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2024-04-24T10:32:21.674Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.075s coverage: 47.9% of statements [2024-04-24T10:32:22.258Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2024-04-24T10:32:22.259Z] go vet ./... [2024-04-24T10:32:54.498Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-04-24T10:32:54.498Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-04-24T10:32:54.498Z] ./bin/test-attribution-txt.sh [2024-04-24T10:32:54.498Z] An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [Pipeline] echo [2024-04-24T10:32:54.520Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-04-24T10:32:54.545Z] $ docker stop --time=1 59c4ce04ee94dad3cbe98f91cfe9859f8b0daf1f8d35c28e7c1079f10f442c43 [2024-04-24T10:32:56.375Z] $ docker rm -f --volumes 59c4ce04ee94dad3cbe98f91cfe9859f8b0daf1f8d35c28e7c1079f10f442c43 [Pipeline] // withDockerContainer [Pipeline] sh [2024-04-24T10:32:57.517Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-04-24T10:32:57.546Z] Warning: overwriting stash ‘coverage-report’ [2024-04-24T10:32:57.970Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-04-24T10:32:58.378Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-04-24T10:32:58.690Z] + ls -al . [2024-04-24T10:32:58.690Z] total 192 [2024-04-24T10:32:58.690Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 24 10:30 . [2024-04-24T10:32:58.690Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 24 10:28 .. [2024-04-24T10:32:58.690Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 24 10:28 .dockerignore [2024-04-24T10:32:58.690Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 24 10:28 .git [2024-04-24T10:32:58.690Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 24 10:28 .github [2024-04-24T10:32:58.690Z] -rw-rw-r-- 1 jenkins jenkins 266 Apr 24 10:28 .gitignore [2024-04-24T10:32:58.690Z] -rw-rw-r-- 1 jenkins jenkins 41 Apr 24 10:28 .golangci.yml [2024-04-24T10:32:58.690Z] -rw-rw-r-- 1 jenkins jenkins 11101 Apr 24 10:28 Attribution.txt [2024-04-24T10:32:58.690Z] -rw-rw-r-- 1 jenkins jenkins 16388 Apr 24 10:28 CHANGELOG.md [2024-04-24T10:32:58.690Z] -rw-rw-r-- 1 jenkins jenkins 1474 Apr 24 10:28 Dockerfile [2024-04-24T10:32:58.690Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 24 10:28 GOVERNANCE.md [2024-04-24T10:32:58.690Z] -rw-rw-r-- 1 jenkins jenkins 658 Apr 24 10:28 Jenkinsfile [2024-04-24T10:32:58.690Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 24 10:28 LICENSE [2024-04-24T10:32:58.690Z] -rw-rw-r-- 1 jenkins jenkins 1942 Apr 24 10:28 Makefile [2024-04-24T10:32:58.690Z] -rw-rw-r-- 1 jenkins jenkins 622 Apr 24 10:28 OWNERS.md [2024-04-24T10:32:58.690Z] -rw-rw-r-- 1 jenkins jenkins 4463 Apr 24 10:28 README.md [2024-04-24T10:32:58.690Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 24 10:26 VERSION [2024-04-24T10:32:58.690Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 24 10:28 bin [2024-04-24T10:32:58.690Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 24 10:28 cmd [2024-04-24T10:32:58.690Z] -rw-r--r-- 1 jenkins jenkins 24601 Apr 24 10:32 coverage.out [2024-04-24T10:32:58.690Z] -rw-rw-r-- 1 jenkins jenkins 3987 Apr 24 10:28 go.mod [2024-04-24T10:32:58.690Z] -rw-rw-r-- 1 jenkins jenkins 36558 Apr 24 10:28 go.sum [2024-04-24T10:32:58.690Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 24 10:28 internal [2024-04-24T10:32:58.690Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 24 10:28 simulator [2024-04-24T10:32:58.690Z] -rw-rw-r-- 1 jenkins jenkins 229 Apr 24 10:28 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-04-24T10:32:59.035Z] + 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=cae1fa6aa983ff166270eacbc29a6f56a32ff675 --label arch=arm64 --label version=0.0.0 . [2024-04-24T10:32:59.626Z] Sending build context to Docker daemon 8.845MB [2024-04-24T10:32:59.626Z] Step 1/23 : ARG BASE=golang:1.21-alpine3.18 [2024-04-24T10:32:59.626Z] Step 2/23 : FROM ${BASE} AS builder [2024-04-24T10:32:59.626Z] ---> ad03af9e3e16 [2024-04-24T10:32:59.626Z] Step 3/23 : ARG ADD_BUILD_TAGS="" [2024-04-24T10:32:59.626Z] ---> Running in 35884e0768a0 [2024-04-24T10:32:59.894Z] Removing intermediate container 35884e0768a0 [2024-04-24T10:32:59.894Z] ---> fbcabe0b8660 [2024-04-24T10:32:59.894Z] Step 4/23 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-04-24T10:32:59.894Z] ---> Running in 87f023b0318d [2024-04-24T10:33:00.161Z] Removing intermediate container 87f023b0318d [2024-04-24T10:33:00.161Z] ---> 307b2911faed [2024-04-24T10:33:00.161Z] Step 5/23 : RUN apk add --update --no-cache make git openssh [2024-04-24T10:33:00.428Z] ---> Running in dcdfeb71ec2d [2024-04-24T10:33:01.390Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-04-24T10:33:01.741Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-04-24T10:33:02.713Z] OK: 272 MiB in 60 packages [2024-04-24T10:33:03.694Z] Removing intermediate container dcdfeb71ec2d [2024-04-24T10:33:03.694Z] ---> 4e03b03ba81b [2024-04-24T10:33:03.694Z] Step 6/23 : WORKDIR /device-modbus-go [2024-04-24T10:33:03.694Z] ---> Running in ff896534221d [2024-04-24T10:33:03.974Z] Removing intermediate container ff896534221d [2024-04-24T10:33:03.974Z] ---> 0775e5f68e7a [2024-04-24T10:33:03.974Z] Step 7/23 : COPY go.mod vendor* ./ [2024-04-24T10:33:04.580Z] ---> 95f3c863c233 [2024-04-24T10:33:04.580Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-04-24T10:33:04.580Z] ---> Running in dd5e2f83ed35 [2024-04-24T10:33:06.542Z] Removing intermediate container dd5e2f83ed35 [2024-04-24T10:33:06.542Z] ---> 78219440e1c9 [2024-04-24T10:33:06.542Z] Step 9/23 : COPY . . [2024-04-24T10:33:07.949Z] ---> dcd9db9cc2c9 [2024-04-24T10:33:07.949Z] Step 10/23 : RUN ${MAKE} [2024-04-24T10:33:07.949Z] ---> Running in d5287db7b23b [2024-04-24T10:33:08.911Z] 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.11" -trimpath -mod=readonly -o cmd/device-modbus ./cmd [2024-04-24T10:35:15.626Z] Removing intermediate container d5287db7b23b [2024-04-24T10:35:15.626Z] ---> 4e36ed985eb2 [2024-04-24T10:35:15.626Z] Step 11/23 : FROM alpine:3.18 [2024-04-24T10:35:15.626Z] 3.18: Pulling from library/alpine [2024-04-24T10:35:15.626Z] c6b39de5b339: Already exists [2024-04-24T10:35:15.626Z] Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 [2024-04-24T10:35:15.626Z] Status: Downloaded newer image for alpine:3.18 [2024-04-24T10:35:15.626Z] ---> 33abbf032149 [2024-04-24T10:35:15.626Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2024-04-24T10:35:15.626Z] ---> Running in 48aa5a5c24a3 [2024-04-24T10:35:15.894Z] Removing intermediate container 48aa5a5c24a3 [2024-04-24T10:35:15.894Z] ---> fb658a0538fa [2024-04-24T10:35:15.894Z] Step 13/23 : RUN apk add --update --no-cache dumb-init [2024-04-24T10:35:15.894Z] ---> Running in e1bd85fc7653 [2024-04-24T10:35:16.860Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-04-24T10:35:17.126Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-04-24T10:35:18.093Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-04-24T10:35:18.093Z] Executing busybox-1.36.1-r5.trigger [2024-04-24T10:35:18.360Z] OK: 8 MiB in 16 packages [2024-04-24T10:35:19.330Z] Removing intermediate container e1bd85fc7653 [2024-04-24T10:35:19.330Z] ---> 8c981b52500c [2024-04-24T10:35:19.330Z] Step 14/23 : RUN apk --no-cache upgrade [2024-04-24T10:35:19.330Z] ---> Running in 32e27f488c97 [2024-04-24T10:35:20.292Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-04-24T10:35:20.292Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-04-24T10:35:21.250Z] Upgrading critical system libraries and apk-tools: [2024-04-24T10:35:21.250Z] (1/1) Upgrading apk-tools (2.14.0-r2 -> 2.14.4-r0) [2024-04-24T10:35:21.520Z] Executing busybox-1.36.1-r5.trigger [2024-04-24T10:35:21.520Z] Continuing the upgrade transaction with new apk-tools: [2024-04-24T10:35:21.788Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-04-24T10:35:22.055Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-04-24T10:35:22.638Z] (1/3) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) [2024-04-24T10:35:22.907Z] (2/3) Upgrading libcrypto3 (3.1.4-r5 -> 3.1.4-r6) [2024-04-24T10:35:22.907Z] (3/3) Upgrading libssl3 (3.1.4-r5 -> 3.1.4-r6) [2024-04-24T10:35:22.907Z] OK: 8 MiB in 16 packages [2024-04-24T10:35:23.868Z] Removing intermediate container 32e27f488c97 [2024-04-24T10:35:23.868Z] ---> 9b6be223742f [2024-04-24T10:35:23.868Z] Step 15/23 : COPY --from=builder /device-modbus-go/cmd / [2024-04-24T10:35:25.273Z] ---> 480faf87926c [2024-04-24T10:35:25.273Z] Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / [2024-04-24T10:35:25.541Z] ---> ee9210304b2a [2024-04-24T10:35:25.541Z] Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / [2024-04-24T10:35:25.815Z] ---> 67fe0cad8bd8 [2024-04-24T10:35:25.815Z] Step 18/23 : EXPOSE 59901 [2024-04-24T10:35:26.080Z] ---> Running in db3ec5b0f407 [2024-04-24T10:35:26.346Z] Removing intermediate container db3ec5b0f407 [2024-04-24T10:35:26.346Z] ---> c1aabe2c9ba4 [2024-04-24T10:35:26.346Z] Step 19/23 : ENTRYPOINT ["/device-modbus"] [2024-04-24T10:35:26.346Z] ---> Running in 6063b070b25a [2024-04-24T10:35:26.612Z] Removing intermediate container 6063b070b25a [2024-04-24T10:35:26.612Z] ---> 840097d1dd63 [2024-04-24T10:35:26.612Z] Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2024-04-24T10:35:26.612Z] ---> Running in be1288f03c75 [2024-04-24T10:35:26.882Z] Removing intermediate container be1288f03c75 [2024-04-24T10:35:26.882Z] ---> d144241270bd [2024-04-24T10:35:26.882Z] Step 21/23 : LABEL arch=arm64 [2024-04-24T10:35:27.145Z] ---> Running in c50d63468701 [2024-04-24T10:35:27.409Z] Removing intermediate container c50d63468701 [2024-04-24T10:35:27.409Z] ---> d13cff53cfaa [2024-04-24T10:35:27.409Z] Step 22/23 : LABEL git_sha=cae1fa6aa983ff166270eacbc29a6f56a32ff675 [2024-04-24T10:35:27.409Z] ---> Running in 819db4dd8f17 [2024-04-24T10:35:27.674Z] Removing intermediate container 819db4dd8f17 [2024-04-24T10:35:27.674Z] ---> dea03110babb [2024-04-24T10:35:27.674Z] Step 23/23 : LABEL version=0.0.0 [2024-04-24T10:35:27.674Z] ---> Running in 8e535a42b3a6 [2024-04-24T10:35:27.938Z] Removing intermediate container 8e535a42b3a6 [2024-04-24T10:35:27.938Z] ---> ea16e1c4b37e [2024-04-24T10:35:27.938Z] [Warning] One or more build-args [ARCH] were not consumed [2024-04-24T10:35:28.201Z] Successfully built ea16e1c4b37e [2024-04-24T10:35:28.201Z] 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] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-04-24T10:35:28.683Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-04-24T10:35:28.683Z] [2024-04-24T10:35:28.683Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-04-24T10:35:29.012Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-04-24T10:35:29.012Z] arm64: Pulling from edgex-lftools-log-publisher [2024-04-24T10:35:29.012Z] 8998bd30e6a1: Pulling fs layer [2024-04-24T10:35:29.012Z] 04944245beec: Pulling fs layer [2024-04-24T10:35:29.012Z] 699f458cf7ca: Pulling fs layer [2024-04-24T10:35:29.012Z] 765212b225bb: Pulling fs layer [2024-04-24T10:35:29.012Z] f23df028b6ca: Pulling fs layer [2024-04-24T10:35:29.012Z] 765212b225bb: Waiting [2024-04-24T10:35:29.012Z] d65c8cfc05b1: Pulling fs layer [2024-04-24T10:35:29.012Z] f23df028b6ca: Waiting [2024-04-24T10:35:29.012Z] 2437ff75d9bd: Pulling fs layer [2024-04-24T10:35:29.012Z] d65c8cfc05b1: Waiting [2024-04-24T10:35:29.012Z] 2437ff75d9bd: Waiting [2024-04-24T10:35:29.278Z] 04944245beec: Verifying Checksum [2024-04-24T10:35:29.278Z] 04944245beec: Download complete [2024-04-24T10:35:29.278Z] 765212b225bb: Download complete [2024-04-24T10:35:29.278Z] f23df028b6ca: Verifying Checksum [2024-04-24T10:35:29.278Z] f23df028b6ca: Download complete [2024-04-24T10:35:29.278Z] d65c8cfc05b1: Verifying Checksum [2024-04-24T10:35:29.278Z] d65c8cfc05b1: Download complete [2024-04-24T10:35:29.544Z] 699f458cf7ca: Verifying Checksum [2024-04-24T10:35:29.544Z] 699f458cf7ca: Download complete [2024-04-24T10:35:29.808Z] 8998bd30e6a1: Verifying Checksum [2024-04-24T10:35:29.809Z] 8998bd30e6a1: Download complete [2024-04-24T10:35:32.376Z] 2437ff75d9bd: Verifying Checksum [2024-04-24T10:35:32.376Z] 2437ff75d9bd: Download complete [2024-04-24T10:35:34.312Z] 8998bd30e6a1: Pull complete [2024-04-24T10:35:34.890Z] 04944245beec: Pull complete [2024-04-24T10:35:36.827Z] 699f458cf7ca: Pull complete [2024-04-24T10:35:36.827Z] 765212b225bb: Pull complete [2024-04-24T10:35:37.780Z] f23df028b6ca: Pull complete [2024-04-24T10:35:37.780Z] d65c8cfc05b1: Pull complete [2024-04-24T10:35:55.972Z] 2437ff75d9bd: Pull complete [2024-04-24T10:35:55.972Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-04-24T10:35:55.972Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-04-24T10:35:55.972Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-04-24T10:35:56.191Z] prd-ubuntu20.04-docker-arm64-4c-16g-3503 does not seem to be running inside a container [2024-04-24T10:35:56.251Z] $ 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/3 -v /w/workspace/device-modbus-go/3:/w/workspace/device-modbus-go/3:rw,z -v /w/workspace/device-modbus-go/3@tmp:/w/workspace/device-modbus-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2024-04-24T10:35:58.886Z] $ docker top 27375279c9ce86a937867c97c568ee5ca778a657e845f4823198a1d9364fdd17 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-04-24T10:35:59.725Z] ---> job-cost.sh [2024-04-24T10:35:59.725Z] lf-activate-venv: SKIPPING [2024-04-24T10:35:59.725Z] INFO: No Stack... [2024-04-24T10:36:00.303Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-04-24T10:36:01.033Z] INFO: Archiving Costs [Pipeline] sh [2024-04-24T10:36:01.662Z] + cat /w/workspace/device-modbus-go/3/archives/cost.csv [2024-04-24T10:36:01.662Z] + cut -d, -f6 [Pipeline] lock [2024-04-24T10:36:01.714Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-549-3-stack-cost] [2024-04-24T10:36:01.720Z] Resource [jenkins-edgexfoundry-device-modbus-go-PR-549-3-stack-cost] did not exist. Created. [2024-04-24T10:36:01.725Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-549-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-04-24T10:36:02.384Z] /w/workspace/device-modbus-go/3@tmp/durable-0f331359/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-04-24T10:36:03.029Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-04-24T10:36:03.054Z] Warning: overwriting stash ‘stack-cost’ [2024-04-24T10:36:03.109Z] Stashed 1 file(s) [Pipeline] } [2024-04-24T10:36:03.117Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-549-3-stack-cost] [Pipeline] // lock [Pipeline] } [2024-04-24T10:36:03.141Z] $ docker stop --time=1 27375279c9ce86a937867c97c568ee5ca778a657e845f4823198a1d9364fdd17 [2024-04-24T10:36:04.644Z] $ docker rm -f --volumes 27375279c9ce86a937867c97c568ee5ca778a657e845f4823198a1d9364fdd17 [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-04-24T10:36:05.118Z] provisioning config files... [2024-04-24T10:36:05.127Z] copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-549@tmp/config9269979945120875402tmp [Pipeline] { [Pipeline] sh [2024-04-24T10:36:05.428Z] + set +x [2024-04-24T10:36:05.428Z] + curl -s https://codecov.io/bash [2024-04-24T10:36:05.428Z] + bash -s -- [2024-04-24T10:36:05.428Z] [2024-04-24T10:36:05.428Z] _____ _ [2024-04-24T10:36:05.428Z] / ____| | | [2024-04-24T10:36:05.428Z] | | ___ __| | ___ ___ _____ __ [2024-04-24T10:36:05.428Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2024-04-24T10:36:05.428Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2024-04-24T10:36:05.428Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2024-04-24T10:36:05.428Z] Bash-1.0.6 [2024-04-24T10:36:05.428Z] [2024-04-24T10:36:05.428Z] [2024-04-24T10:36:05.428Z] ==> git version 2.25.1 found [2024-04-24T10:36:05.428Z] ==> 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-04-24T10:36:05.428Z] Release-Date: 2020-01-08 [2024-04-24T10:36:05.428Z] 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-04-24T10:36:05.428Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2024-04-24T10:36:05.428Z] ==> Jenkins CI detected. [2024-04-24T10:36:05.428Z] current dir:  /w/workspace/xfoundry_device-modbus-go_PR-549 [2024-04-24T10:36:05.428Z] project root: . [2024-04-24T10:36:05.428Z] --> token set from env [2024-04-24T10:36:05.428Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2024-04-24T10:36:05.428Z] ==> Running gcov in . (disable via -X gcov) [2024-04-24T10:36:05.688Z] ==> Python coveragepy not found [2024-04-24T10:36:05.688Z] ==> Searching for coverage reports in: [2024-04-24T10:36:05.688Z] + . [2024-04-24T10:36:05.688Z] -> Found 1 reports [2024-04-24T10:36:05.688Z] ==> Detecting git/mercurial file structure [2024-04-24T10:36:05.688Z] ==> Reading reports [2024-04-24T10:36:05.688Z] + ./coverage.out bytes=24601 [2024-04-24T10:36:05.688Z] ==> Appending adjustments [2024-04-24T10:36:05.688Z] https://docs.codecov.io/docs/fixing-reports [2024-04-24T10:36:05.688Z] + Found adjustments [2024-04-24T10:36:05.688Z] ==> Gzipping contents [2024-04-24T10:36:05.688Z] 4.0K /tmp/codecov.NsigIO.gz [2024-04-24T10:36:05.688Z] ==> Uploading reports [2024-04-24T10:36:05.688Z] url: https://codecov.io [2024-04-24T10:36:05.689Z] query: branch=PR-549&commit=cae1fa6aa983ff166270eacbc29a6f56a32ff675&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-549%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=549&job=&cmd_args= [2024-04-24T10:36:05.689Z] -> Pinging Codecov [2024-04-24T10:36:05.689Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-549&commit=cae1fa6aa983ff166270eacbc29a6f56a32ff675&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-549%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=549&job=&cmd_args= [2024-04-24T10:36:05.948Z] -> Uploading to [2024-04-24T10:36:05.948Z] https://storage.googleapis.com/codecov/v4/raw/2024-04-24/55DBCA73C666E3227836607328DD7E49/cae1fa6aa983ff166270eacbc29a6f56a32ff675/d1389644-785d-4bb8-b417-c6870d397860.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240424%2Fus-west2%2Fs3%2Faws4_request&X-Amz-Date=20240424T103605Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=93293da0b6f407fe5a4173b2d1ceeec634f996353da71ad39cb912d375d439d7 [2024-04-24T10:36:05.948Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-04-24T10:36:05.948Z] Dload Upload Total Spent Left Speed [2024-04-24T10:36:06.208Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3843 0 0 100 3843 0 14447 --:--:-- --:--:-- --:--:-- 14447 [2024-04-24T10:36:06.208Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/cae1fa6aa983ff166270eacbc29a6f56a32ff675 [Pipeline] } [2024-04-24T10:36:06.216Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2024-04-24T10:36:07.073Z] + [ -d /w/workspace/xfoundry_device-modbus-go_PR-549/archives ] [2024-04-24T10:36:07.073Z] + ls -al /w/workspace/xfoundry_device-modbus-go_PR-549/archives [2024-04-24T10:36:07.073Z] total 16 [2024-04-24T10:36:07.073Z] drwxr-xr-x 3 root root 4096 Apr 24 10:28 . [2024-04-24T10:36:07.073Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 24 10:28 .. [2024-04-24T10:36:07.073Z] drwxr-xr-x 2 root root 4096 Apr 24 10:28 cost [2024-04-24T10:36:07.073Z] -rw-r--r-- 1 root root 88 Apr 24 10:28 cost.csv [2024-04-24T10:36:07.073Z] + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-549/archives [2024-04-24T10:36:07.073Z] + ls -al /w/workspace/xfoundry_device-modbus-go_PR-549/archives [2024-04-24T10:36:07.073Z] total 16 [2024-04-24T10:36:07.073Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 24 10:28 . [2024-04-24T10:36:07.073Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 24 10:28 .. [2024-04-24T10:36:07.073Z] drwxr-xr-x 2 jenkins jenkins 4096 Apr 24 10:28 cost [2024-04-24T10:36:07.073Z] -rw-r--r-- 1 jenkins jenkins 88 Apr 24 10:28 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-04-24T10:36:07.367Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-04-24T10:36:08.263Z] ---> package-listing.sh [2024-04-24T10:36:08.263Z] ++ facter osfamily [2024-04-24T10:36:08.263Z] ++ tr '[:upper:]' '[:lower:]' [2024-04-24T10:36:08.263Z] + OS_FAMILY=debian [2024-04-24T10:36:08.263Z] + workspace=/w/workspace/xfoundry_device-modbus-go_PR-549 [2024-04-24T10:36:08.263Z] + START_PACKAGES=/tmp/packages_start.txt [2024-04-24T10:36:08.263Z] + END_PACKAGES=/tmp/packages_end.txt [2024-04-24T10:36:08.263Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-04-24T10:36:08.263Z] + PACKAGES=/tmp/packages_start.txt [2024-04-24T10:36:08.263Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-549 ']' [2024-04-24T10:36:08.263Z] + PACKAGES=/tmp/packages_end.txt [2024-04-24T10:36:08.263Z] + case "${OS_FAMILY}" in [2024-04-24T10:36:08.263Z] + dpkg -l [2024-04-24T10:36:08.263Z] + grep '^ii' [2024-04-24T10:36:08.552Z] + '[' -f /tmp/packages_start.txt ']' [2024-04-24T10:36:08.552Z] + '[' -f /tmp/packages_end.txt ']' [2024-04-24T10:36:08.552Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-04-24T10:36:08.552Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-549 ']' [2024-04-24T10:36:08.552Z] + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-549/archives/ [2024-04-24T10:36:08.552Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-549/archives/ [Pipeline] echo [2024-04-24T10:36:08.565Z] 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-549/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-04-24T10:36:08.868Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-04-24T10:36:09.197Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-04-24T10:36:09.197Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-04-24T10:36:09.276Z] prd-ubuntu20.04-docker-8c-8g-3502 does not seem to be running inside a container [2024-04-24T10:36:09.320Z] $ 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-549/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-549 -v /w/workspace/xfoundry_device-modbus-go_PR-549:/w/workspace/xfoundry_device-modbus-go_PR-549:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-549@tmp:/w/workspace/xfoundry_device-modbus-go_PR-549@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-04-24T10:36:09.506Z] $ docker top 57cddfa0ffa10c639749e82d1a1ad197c7e664f19edb2a1ce2cc55f8b4c4bfe5 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-04-24T10:36:09.864Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-04-24T10:36:10.151Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-04-24T10:36:10.442Z] + ls /var/log/sa-host [2024-04-24T10:36:10.442Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-04-24T10:36:10.593Z] provisioning config files... [2024-04-24T10:36:10.601Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-549@tmp/config4964119822496361422tmp [Pipeline] { [Pipeline] echo [2024-04-24T10:36:10.620Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-04-24T10:36:10.904Z] ---> create-netrc.sh [Pipeline] } [2024-04-24T10:36:10.914Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-04-24T10:36:11.255Z] ---> python-tools-install.sh [Pipeline] echo [2024-04-24T10:36:11.264Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-04-24T10:36:11.547Z] ---> sudo-logs.sh [2024-04-24T10:36:11.548Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-04-24T10:36:11.579Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-04-24T10:36:11.861Z] ---> job-cost.sh [2024-04-24T10:36:11.861Z] lf-activate-venv: SKIPPING [2024-04-24T10:36:11.861Z] DEBUG: total: 0.2199999988079071 [2024-04-24T10:36:11.861Z] INFO: Retrieving Stack Cost... [2024-04-24T10:36:12.120Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-04-24T10:36:12.690Z] INFO: Archiving Costs [Pipeline] echo [2024-04-24T10:36:12.700Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-04-24T10:36:12.986Z] ---> logs-deploy.sh [2024-04-24T10:36:12.986Z] lf-activate-venv: SKIPPING [2024-04-24T10:36:12.986Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-549/3 [2024-04-24T10:36:12.986Z] INFO: archiving workspace using pattern(s): [2024-04-24T10:36:13.924Z] Archives upload complete. [2024-04-24T10:36:13.924Z] INFO: archiving logs to Nexus