Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 31f6d600233d381699de0096b270256653829b30+56822b146883d567dc10738adb0b8ce5338db960 (02a27766ccc1eb5dea9888c9804cabafb08e94f8) 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-ssh9193876830080749135.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-ssh10678301455377192455.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-547/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-547/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8547255661322734905.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-ssh11731954935239648620.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-547/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-547/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh8773007845698444838.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 Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-3558 in /w/workspace/xfoundry_device-modbus-go_PR-547 [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-547 # 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 56822b146883d567dc10738adb0b8ce5338db960 into PR head commit 31f6d600233d381699de0096b270256653829b30 Merge succeeded, producing d1a15f396ea3e5aff070be7933604b8f7768172d Checking out Revision d1a15f396ea3e5aff070be7933604b8f7768172d (PR-547) > 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/547/head:refs/remotes/origin/PR-547 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 31f6d600233d381699de0096b270256653829b30 # 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 56822b146883d567dc10738adb0b8ce5338db960 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d1a15f396ea3e5aff070be7933604b8f7768172d # timeout=10 Commit message: "Merge commit '56822b146883d567dc10738adb0b8ce5338db960' into HEAD" > git rev-list --no-walk 31f6d600233d381699de0096b270256653829b30 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-04-25T00:53:57.299Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-04-25T00:53:57.381Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-04-25T00:53:57.409Z] ========================================================= [2024-04-25T00:53:57.409Z] EdgeX Global Pipelines Version Info [2024-04-25T00:53:57.409Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-04-25T00:53:58.123Z] ------------------- [2024-04-25T00:53:58.123Z] stable info: [2024-04-25T00:53:58.123Z] ------------------- [2024-04-25T00:53:58.123Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2024-04-25T00:53:58.123Z] Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2024-04-25T00:53:58.123Z] Message: update stable to v1.0.258 [2024-04-25T00:53:58.692Z] ------------------- [2024-04-25T00:53:58.692Z] experimental info: [2024-04-25T00:53:58.692Z] ------------------- [2024-04-25T00:53:58.692Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2024-04-25T00:53:58.692Z] Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2024-04-25T00:53:58.692Z] Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-04-25T00:53:58.771Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo [2024-04-25T00:53:58.796Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo [2024-04-25T00:53:58.817Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-04-25T00:53:58.839Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-04-25T00:53:58.875Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-04-25T00:53:58.897Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2024-04-25T00:53:58.917Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-04-25T00:53:58.942Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2024-04-25T00:53:58.967Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-04-25T00:53:58.987Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-04-25T00:53:59.013Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-04-25T00:53:59.034Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo [2024-04-25T00:53:59.056Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-04-25T00:53:59.077Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-04-25T00:53:59.100Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-04-25T00:53:59.116Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2024-04-25T00:53:59.133Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-04-25T00:53:59.149Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-04-25T00:53:59.166Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-04-25T00:53:59.188Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-04-25T00:53:59.218Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2024-04-25T00:53:59.237Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2024-04-25T00:53:59.255Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-04-25T00:53:59.273Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-04-25T00:53:59.292Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-04-25T00:53:59.314Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-04-25T00:53:59.338Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-04-25T00:53:59.361Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-547 [Pipeline] echo [2024-04-25T00:53:59.384Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-547 [Pipeline] echo [2024-04-25T00:53:59.401Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-547 [Pipeline] echo [2024-04-25T00:53:59.424Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d1a15f396ea3e5aff070be7933604b8f7768172d [Pipeline] echo [2024-04-25T00:53:59.447Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d1a15f3 [Pipeline] echo [2024-04-25T00:53:59.464Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-04-25T00:53:59.515Z] provisioning config files... [2024-04-25T00:53:59.529Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-547@tmp/config4810452405362721826tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-04-25T00:53:59.868Z] ---> ****-login.sh [2024-04-25T00:53:59.868Z] nexus3.edgexfoundry.org:10001 [2024-04-25T00:54:00.135Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-04-25T00:54:00.394Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-04-25T00:54:00.394Z] Configure a credential helper to remove this warning. See [2024-04-25T00:54:00.394Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-04-25T00:54:00.394Z] [2024-04-25T00:54:00.394Z] Login Succeeded [2024-04-25T00:54:00.394Z] nexus3.edgexfoundry.org:10002 [2024-04-25T00:54:00.394Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-04-25T00:54:00.395Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-04-25T00:54:00.395Z] Configure a credential helper to remove this warning. See [2024-04-25T00:54:00.395Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-04-25T00:54:00.395Z] [2024-04-25T00:54:00.395Z] Login Succeeded [2024-04-25T00:54:00.395Z] nexus3.edgexfoundry.org:10003 [2024-04-25T00:54:00.395Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-04-25T00:54:00.655Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-04-25T00:54:00.655Z] Configure a credential helper to remove this warning. See [2024-04-25T00:54:00.655Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-04-25T00:54:00.655Z] [2024-04-25T00:54:00.655Z] Login Succeeded [2024-04-25T00:54:00.655Z] nexus3.edgexfoundry.org:10004 [2024-04-25T00:54:00.655Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-04-25T00:54:00.655Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-04-25T00:54:00.655Z] Configure a credential helper to remove this warning. See [2024-04-25T00:54:00.655Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-04-25T00:54:00.655Z] [2024-04-25T00:54:00.655Z] Login Succeeded [2024-04-25T00:54:00.655Z] ****.io [2024-04-25T00:54:00.655Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-04-25T00:54:00.915Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-04-25T00:54:00.915Z] Configure a credential helper to remove this warning. See [2024-04-25T00:54:00.915Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-04-25T00:54:00.915Z] [2024-04-25T00:54:00.915Z] Login Succeeded [2024-04-25T00:54:00.915Z] ---> ****-login.sh ends [Pipeline] } [2024-04-25T00:54:00.922Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-04-25T00:54:01.324Z] + git rev-list -1 --merges d1a15f396ea3e5aff070be7933604b8f7768172d~1..d1a15f396ea3e5aff070be7933604b8f7768172d [Pipeline] echo [2024-04-25T00:54:01.346Z] -----------> git rev-list -1 --merges d1a15f396ea3e5aff070be7933604b8f7768172d~1..d1a15f396ea3e5aff070be7933604b8f7768172d d1a15f396ea3e5aff070be7933604b8f7768172d [2024-04-25T00:54:01.346Z] d1a15f396ea3e5aff070be7933604b8f7768172d [false] [Pipeline] sh [2024-04-25T00:54:01.633Z] + git log --format=format:%s -1 d1a15f396ea3e5aff070be7933604b8f7768172d [Pipeline] echo [2024-04-25T00:54:01.646Z] ========================================================= [2024-04-25T00:54:01.646Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-04-25T00:54:01.646Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-04-25T00:54:01.982Z] + git log --format=format:%s -1 d1a15f396ea3e5aff070be7933604b8f7768172d [Pipeline] echo [2024-04-25T00:54:01.992Z] [semverPrep] GIT_COMMIT: d1a15f396ea3e5aff070be7933604b8f7768172d, Commit Message: Merge commit '56822b146883d567dc10738adb0b8ce5338db960' into HEAD [Pipeline] echo [2024-04-25T00:54:02.009Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-04-25T00:54:02.393Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-04-25T00:54:02.394Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-04-25T00:54:02.394Z] + [ -e /tmp/ssh_known_hosts ] [2024-04-25T00:54:02.394Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-04-25T00:54:02.394Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-04-25T00:54:02.394Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2024-04-25T00:54:02.394Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-04-25T00:54:02.829Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-04-25T00:54:02.829Z] [2024-04-25T00:54:02.829Z] 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-25T00:54:03.131Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-04-25T00:54:03.131Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-04-25T00:54:03.131Z] b85a868b505f: Pulling fs layer [2024-04-25T00:54:03.131Z] e2be974225ed: Pulling fs layer [2024-04-25T00:54:03.131Z] 339a4e72a1f5: Pulling fs layer [2024-04-25T00:54:03.131Z] 988bab9f4d93: Pulling fs layer [2024-04-25T00:54:03.131Z] 1469e6f7b9e6: Pulling fs layer [2024-04-25T00:54:03.131Z] eaf3925da568: Pulling fs layer [2024-04-25T00:54:03.131Z] bab4dde63d76: Pulling fs layer [2024-04-25T00:54:03.131Z] bde34c3a00c8: Pulling fs layer [2024-04-25T00:54:03.131Z] b352a97aabf1: Pulling fs layer [2024-04-25T00:54:03.131Z] 4872d77fe225: Pulling fs layer [2024-04-25T00:54:03.131Z] 5851b861e8e6: Pulling fs layer [2024-04-25T00:54:03.131Z] 1469e6f7b9e6: Waiting [2024-04-25T00:54:03.131Z] eaf3925da568: Waiting [2024-04-25T00:54:03.131Z] bde34c3a00c8: Waiting [2024-04-25T00:54:03.131Z] 4872d77fe225: Waiting [2024-04-25T00:54:03.131Z] b352a97aabf1: Waiting [2024-04-25T00:54:03.131Z] 5851b861e8e6: Waiting [2024-04-25T00:54:03.131Z] e2be974225ed: Verifying Checksum [2024-04-25T00:54:03.131Z] e2be974225ed: Download complete [2024-04-25T00:54:03.131Z] 988bab9f4d93: Verifying Checksum [2024-04-25T00:54:03.131Z] 988bab9f4d93: Download complete [2024-04-25T00:54:03.131Z] 1469e6f7b9e6: Verifying Checksum [2024-04-25T00:54:03.131Z] 1469e6f7b9e6: Download complete [2024-04-25T00:54:03.391Z] 339a4e72a1f5: Verifying Checksum [2024-04-25T00:54:03.391Z] 339a4e72a1f5: Download complete [2024-04-25T00:54:03.391Z] bde34c3a00c8: Verifying Checksum [2024-04-25T00:54:03.391Z] b352a97aabf1: Verifying Checksum [2024-04-25T00:54:03.391Z] b352a97aabf1: Download complete [2024-04-25T00:54:03.391Z] 4872d77fe225: Verifying Checksum [2024-04-25T00:54:03.391Z] 4872d77fe225: Download complete [2024-04-25T00:54:03.391Z] 5851b861e8e6: Download complete [2024-04-25T00:54:03.391Z] b85a868b505f: Verifying Checksum [2024-04-25T00:54:03.391Z] b85a868b505f: Download complete [2024-04-25T00:54:03.653Z] bab4dde63d76: Verifying Checksum [2024-04-25T00:54:03.653Z] bab4dde63d76: Download complete [2024-04-25T00:54:04.590Z] b85a868b505f: Pull complete [2024-04-25T00:54:04.849Z] e2be974225ed: Pull complete [2024-04-25T00:54:05.417Z] 339a4e72a1f5: Pull complete [2024-04-25T00:54:05.417Z] 988bab9f4d93: Pull complete [2024-04-25T00:54:05.677Z] 1469e6f7b9e6: Pull complete [2024-04-25T00:54:05.677Z] eaf3925da568: Pull complete [2024-04-25T00:54:07.591Z] bab4dde63d76: Pull complete [2024-04-25T00:54:07.591Z] bde34c3a00c8: Pull complete [2024-04-25T00:54:07.851Z] b352a97aabf1: Pull complete [2024-04-25T00:54:07.851Z] 4872d77fe225: Pull complete [2024-04-25T00:54:07.851Z] 5851b861e8e6: Pull complete [2024-04-25T00:54:07.851Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-04-25T00:54:07.851Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-04-25T00:54:07.851Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-04-25T00:54:08.015Z] prd-ubuntu20.04-docker-8c-8g-3558 does not seem to be running inside a container [2024-04-25T00:54:08.048Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-547 -v /w/workspace/xfoundry_device-modbus-go_PR-547:/w/workspace/xfoundry_device-modbus-go_PR-547:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-547@tmp:/w/workspace/xfoundry_device-modbus-go_PR-547@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-04-25T00:54:11.203Z] $ docker top bc19f5e91cc27f8f67aa26d1063b194de7de5985bdb1a196d2a70c084f0f0b0f -eo pid,comm [2024-04-25T00:54:11.262Z] 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-25T00:54:11.262Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-04-25T00:54:11.314Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-04-25T00:54:11.314Z] [ssh-agent] Looking for ssh-agent implementation... [2024-04-25T00:54:11.434Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-04-25T00:54:11.436Z] $ docker exec bc19f5e91cc27f8f67aa26d1063b194de7de5985bdb1a196d2a70c084f0f0b0f ssh-agent [2024-04-25T00:54:11.545Z] SSH_AUTH_SOCK=/tmp/ssh-aEeBotMRM0ji/agent.31 [2024-04-25T00:54:11.545Z] SSH_AGENT_PID=37 [2024-04-25T00:54:11.553Z] Running ssh-add (command line suppressed) [2024-04-25T00:54:11.660Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-547@tmp/private_key_11828124409638254090.key (/w/workspace/xfoundry_device-modbus-go_PR-547@tmp/private_key_11828124409638254090.key) [2024-04-25T00:54:11.679Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-04-25T00:54:12.015Z] + git tag --points-at HEAD [Pipeline] } [2024-04-25T00:54:12.026Z] $ docker exec --env ******** --env ******** bc19f5e91cc27f8f67aa26d1063b194de7de5985bdb1a196d2a70c084f0f0b0f ssh-agent -k [2024-04-25T00:54:12.129Z] unset SSH_AUTH_SOCK; [2024-04-25T00:54:12.130Z] unset SSH_AGENT_PID; [2024-04-25T00:54:12.130Z] echo Agent pid 37 killed; [2024-04-25T00:54:12.142Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-04-25T00:54:12.176Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-04-25T00:54:12.176Z] [ssh-agent] Looking for ssh-agent implementation... [2024-04-25T00:54:12.298Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-04-25T00:54:12.300Z] $ docker exec bc19f5e91cc27f8f67aa26d1063b194de7de5985bdb1a196d2a70c084f0f0b0f ssh-agent [2024-04-25T00:54:12.414Z] SSH_AUTH_SOCK=/tmp/ssh-yQicueGSPz0y/agent.70 [2024-04-25T00:54:12.414Z] SSH_AGENT_PID=76 [2024-04-25T00:54:12.418Z] Running ssh-add (command line suppressed) [2024-04-25T00:54:12.534Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-547@tmp/private_key_9316991202410606260.key (/w/workspace/xfoundry_device-modbus-go_PR-547@tmp/private_key_9316991202410606260.key) [2024-04-25T00:54:12.548Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-04-25T00:54:12.841Z] + git semver init [2024-04-25T00:54:13.101Z] 2024-04-25 00:54:13,011 [run_init] DEBUG init version:0.0.0 force:False [2024-04-25T00:54:13.101Z] 2024-04-25 00:54:13,011 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-modbus-go_PR-547/.semver [2024-04-25T00:54:13.101Z] 2024-04-25 00:54:13,012 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/xfoundry_device-modbus-go_PR-547/.semver [2024-04-25T00:54:13.101Z] 2024-04-25 00:54:13,012 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/xfoundry_device-modbus-go_PR-547/.semver'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-547, universal_newlines=False, shell=None, istream=None) [2024-04-25T00:54:14.489Z] 2024-04-25 00:54:14,167 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-modbus-go_PR-547/.git/info/exclude [2024-04-25T00:54:14.489Z] 2024-04-25 00:54:14,168 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-modbus-go_PR-547/.semver/PR-547 with force:False [2024-04-25T00:54:14.489Z] 2024-04-25 00:54:14,168 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-modbus-go_PR-547/.semver/PR-547 [2024-04-25T00:54:14.489Z] 2024-04-25 00:54:14,172 [execute] INFO git cat-file --batch-check [2024-04-25T00:54:14.489Z] 2024-04-25 00:54:14,173 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-547/.semver, universal_newlines=False, shell=None, istream=) [2024-04-25T00:54:14.489Z] 2024-04-25 00:54:14,179 [execute] INFO git cat-file --batch [2024-04-25T00:54:14.489Z] 2024-04-25 00:54:14,180 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-547/.semver, universal_newlines=False, shell=None, istream=) [2024-04-25T00:54:14.489Z] 2024-04-25 00:54:14,185 [read_version] DEBUG read version from /w/workspace/xfoundry_device-modbus-go_PR-547/.semver/PR-547 [2024-04-25T00:54:14.489Z] 0.0.0 [Pipeline] } [2024-04-25T00:54:14.497Z] $ docker exec --env ******** --env ******** bc19f5e91cc27f8f67aa26d1063b194de7de5985bdb1a196d2a70c084f0f0b0f ssh-agent -k [2024-04-25T00:54:14.597Z] unset SSH_AUTH_SOCK; [2024-04-25T00:54:14.599Z] unset SSH_AGENT_PID; [2024-04-25T00:54:14.599Z] echo Agent pid 76 killed; [2024-04-25T00:54:14.609Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-04-25T00:54:14.927Z] + git semver [Pipeline] } [2024-04-25T00:54:15.197Z] $ docker stop --time=1 bc19f5e91cc27f8f67aa26d1063b194de7de5985bdb1a196d2a70c084f0f0b0f [2024-04-25T00:54:16.537Z] $ docker rm -f --volumes bc19f5e91cc27f8f67aa26d1063b194de7de5985bdb1a196d2a70c084f0f0b0f [Pipeline] // withDockerContainer [Pipeline] sh [2024-04-25T00:54:16.878Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-04-25T00:54:17.099Z] Stashed 1 file(s) [Pipeline] echo [2024-04-25T00:54:17.102Z] [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-25T00:54:17.315Z] provisioning config files... [2024-04-25T00:54:17.324Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-547@tmp/config9510240609579223775tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-04-25T00:54:17.628Z] ---> ****-login.sh [2024-04-25T00:54:17.628Z] nexus3.edgexfoundry.org:10001 [2024-04-25T00:54:17.628Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-04-25T00:54:17.628Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-04-25T00:54:17.628Z] Configure a credential helper to remove this warning. See [2024-04-25T00:54:17.629Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-04-25T00:54:17.629Z] [2024-04-25T00:54:17.629Z] Login Succeeded [2024-04-25T00:54:17.629Z] nexus3.edgexfoundry.org:10002 [2024-04-25T00:54:17.629Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-04-25T00:54:17.629Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-04-25T00:54:17.629Z] Configure a credential helper to remove this warning. See [2024-04-25T00:54:17.629Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-04-25T00:54:17.629Z] [2024-04-25T00:54:17.629Z] Login Succeeded [2024-04-25T00:54:17.629Z] nexus3.edgexfoundry.org:10003 [2024-04-25T00:54:17.887Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-04-25T00:54:17.887Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-04-25T00:54:17.887Z] Configure a credential helper to remove this warning. See [2024-04-25T00:54:17.887Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-04-25T00:54:17.887Z] [2024-04-25T00:54:17.887Z] Login Succeeded [2024-04-25T00:54:17.887Z] nexus3.edgexfoundry.org:10004 [2024-04-25T00:54:17.887Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-04-25T00:54:17.887Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-04-25T00:54:17.887Z] Configure a credential helper to remove this warning. See [2024-04-25T00:54:17.887Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-04-25T00:54:17.887Z] [2024-04-25T00:54:17.887Z] Login Succeeded [2024-04-25T00:54:17.887Z] ****.io [2024-04-25T00:54:18.151Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-04-25T00:54:18.151Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-04-25T00:54:18.151Z] Configure a credential helper to remove this warning. See [2024-04-25T00:54:18.151Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-04-25T00:54:18.151Z] [2024-04-25T00:54:18.151Z] Login Succeeded [2024-04-25T00:54:18.151Z] ---> ****-login.sh ends [Pipeline] } [2024-04-25T00:54:18.158Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-04-25T00:54:18.249Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-04-25T00:54:18.270Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-04-25T00:54:18.289Z] ========================================================= [2024-04-25T00:54:18.289Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2024-04-25T00:54:18.289Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-04-25T00:54:18.629Z] + 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-25T00:54:18.629Z] Sending build context to Docker daemon 17.37MB [2024-04-25T00:54:18.629Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2024-04-25T00:54:18.629Z] Step 2/10 : FROM ${BASE} AS builder [2024-04-25T00:54:18.888Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2024-04-25T00:54:18.888Z] 619be1103602: Pulling fs layer [2024-04-25T00:54:18.888Z] 7862e08f4a3e: Pulling fs layer [2024-04-25T00:54:18.888Z] 5df492c9dc93: Pulling fs layer [2024-04-25T00:54:18.888Z] 7629e6793208: Pulling fs layer [2024-04-25T00:54:18.888Z] 4f4fb700ef54: Pulling fs layer [2024-04-25T00:54:18.888Z] fb5054dd5b73: Pulling fs layer [2024-04-25T00:54:18.888Z] eeca6798cff9: Pulling fs layer [2024-04-25T00:54:18.888Z] aa269ceb94a6: Pulling fs layer [2024-04-25T00:54:18.888Z] ada007ff1a6a: Pulling fs layer [2024-04-25T00:54:18.888Z] 7629e6793208: Waiting [2024-04-25T00:54:18.888Z] 4f4fb700ef54: Waiting [2024-04-25T00:54:18.888Z] fb5054dd5b73: Waiting [2024-04-25T00:54:18.888Z] eeca6798cff9: Waiting [2024-04-25T00:54:18.888Z] aa269ceb94a6: Waiting [2024-04-25T00:54:18.888Z] ada007ff1a6a: Waiting [2024-04-25T00:54:18.888Z] 7862e08f4a3e: Download complete [2024-04-25T00:54:18.888Z] 7629e6793208: Verifying Checksum [2024-04-25T00:54:18.888Z] 7629e6793208: Download complete [2024-04-25T00:54:18.888Z] 4f4fb700ef54: Verifying Checksum [2024-04-25T00:54:18.888Z] 4f4fb700ef54: Download complete [2024-04-25T00:54:18.888Z] fb5054dd5b73: Verifying Checksum [2024-04-25T00:54:18.888Z] fb5054dd5b73: Download complete [2024-04-25T00:54:18.888Z] 619be1103602: Verifying Checksum [2024-04-25T00:54:18.888Z] 619be1103602: Download complete [2024-04-25T00:54:18.888Z] eeca6798cff9: Verifying Checksum [2024-04-25T00:54:18.888Z] eeca6798cff9: Download complete [2024-04-25T00:54:19.148Z] 619be1103602: Pull complete [2024-04-25T00:54:19.148Z] ada007ff1a6a: Verifying Checksum [2024-04-25T00:54:19.148Z] ada007ff1a6a: Download complete [2024-04-25T00:54:19.148Z] 7862e08f4a3e: Pull complete [2024-04-25T00:54:19.407Z] 5df492c9dc93: Verifying Checksum [2024-04-25T00:54:19.407Z] 5df492c9dc93: Download complete [2024-04-25T00:54:19.665Z] aa269ceb94a6: Verifying Checksum [2024-04-25T00:54:19.665Z] aa269ceb94a6: Download complete [2024-04-25T00:54:22.948Z] 5df492c9dc93: Pull complete [2024-04-25T00:54:22.948Z] 7629e6793208: Pull complete [2024-04-25T00:54:22.948Z] 4f4fb700ef54: Pull complete [2024-04-25T00:54:22.948Z] fb5054dd5b73: Pull complete [2024-04-25T00:54:22.948Z] eeca6798cff9: Pull complete [2024-04-25T00:54:25.480Z] aa269ceb94a6: Pull complete [2024-04-25T00:54:25.480Z] ada007ff1a6a: Pull complete [2024-04-25T00:54:25.480Z] Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 [2024-04-25T00:54:25.480Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2024-04-25T00:54:25.480Z] ---> f489d0715acc [2024-04-25T00:54:25.480Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2024-04-25T00:54:32.063Z] ---> Running in 60df3d0f3100 [2024-04-25T00:54:32.063Z] Removing intermediate container 60df3d0f3100 [2024-04-25T00:54:32.063Z] ---> e1e4717ddd86 [2024-04-25T00:54:32.063Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-04-25T00:54:32.063Z] ---> Running in aa2bdaae7fa5 [2024-04-25T00:54:32.063Z] Removing intermediate container aa2bdaae7fa5 [2024-04-25T00:54:32.063Z] ---> 90dacd89d798 [2024-04-25T00:54:32.063Z] Step 5/10 : RUN apk add --update --no-cache make git openssh [2024-04-25T00:54:32.063Z] ---> Running in 4ff61442d930 [2024-04-25T00:54:32.256Z] Still waiting to schedule task [2024-04-25T00:54:32.257Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-3556’ [2024-04-25T00:54:32.323Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-04-25T00:54:32.890Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-04-25T00:54:32.890Z] (1/8) Installing openssh-keygen (9.3_p2-r1) [2024-04-25T00:54:32.890Z] (2/8) Installing libedit (20221030.3.1-r1) [2024-04-25T00:54:32.890Z] (3/8) Installing openssh-client-common (9.3_p2-r1) [2024-04-25T00:54:32.890Z] (4/8) Installing openssh-client-default (9.3_p2-r1) [2024-04-25T00:54:33.149Z] (5/8) Installing openssh-sftp-server (9.3_p2-r1) [2024-04-25T00:54:33.149Z] (6/8) Installing openssh-server-common (9.3_p2-r1) [2024-04-25T00:54:33.149Z] (7/8) Installing openssh-server (9.3_p2-r1) [2024-04-25T00:54:33.149Z] (8/8) Installing openssh (9.3_p2-r1) [2024-04-25T00:54:33.149Z] Executing busybox-1.36.1-r5.trigger [2024-04-25T00:54:33.149Z] OK: 270 MiB in 60 packages [2024-04-25T00:54:33.715Z] Removing intermediate container 4ff61442d930 [2024-04-25T00:54:33.715Z] ---> 4acf30571e1d [2024-04-25T00:54:33.715Z] Step 6/10 : WORKDIR /device-modbus-go [2024-04-25T00:54:33.715Z] ---> Running in d4aedbe08173 [2024-04-25T00:54:33.715Z] Removing intermediate container d4aedbe08173 [2024-04-25T00:54:33.715Z] ---> 7702087a5de6 [2024-04-25T00:54:33.715Z] Step 7/10 : COPY go.mod vendor* ./ [2024-04-25T00:54:33.974Z] ---> b1281b2b9194 [2024-04-25T00:54:33.974Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-04-25T00:54:33.974Z] ---> Running in 1c084ca1b63f [2024-04-25T00:55:06.079Z] Removing intermediate container 1c084ca1b63f [2024-04-25T00:55:06.079Z] ---> 38fd95055427 [2024-04-25T00:55:06.079Z] Step 9/10 : COPY . . [2024-04-25T00:55:06.079Z] ---> da5a421fbeb9 [2024-04-25T00:55:06.079Z] Step 10/10 : RUN ${MAKE} [2024-04-25T00:55:06.079Z] ---> Running in 7e9e50ef9e4f [2024-04-25T00:55:06.079Z] noop [2024-04-25T00:55:06.079Z] Removing intermediate container 7e9e50ef9e4f [2024-04-25T00:55:06.079Z] ---> af5eb5af68ed [2024-04-25T00:55:06.079Z] Successfully built af5eb5af68ed [2024-04-25T00:55:06.079Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-04-25T00:55:06.406Z] + docker inspect -f . ci-base-image-x86_64 [2024-04-25T00:55:06.406Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-04-25T00:55:06.480Z] prd-ubuntu20.04-docker-8c-8g-3558 does not seem to be running inside a container [2024-04-25T00:55:06.502Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-547 -v /w/workspace/xfoundry_device-modbus-go_PR-547:/w/workspace/xfoundry_device-modbus-go_PR-547:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-547@tmp:/w/workspace/xfoundry_device-modbus-go_PR-547@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 ******** ci-base-image-x86_64 cat [2024-04-25T00:55:06.836Z] $ docker top 3353f509606609d42b8dbf14b7b08817d774479ef2eefc5d702e494bf384d0f7 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-04-25T00:55:07.177Z] + go version [2024-04-25T00:55:07.177Z] go version go1.21.9 linux/amd64 [Pipeline] } [2024-04-25T00:55:07.186Z] $ docker stop --time=1 3353f509606609d42b8dbf14b7b08817d774479ef2eefc5d702e494bf384d0f7 [2024-04-25T00:55:08.481Z] $ docker rm -f --volumes 3353f509606609d42b8dbf14b7b08817d774479ef2eefc5d702e494bf384d0f7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-04-25T00:55:08.930Z] + docker inspect -f . ci-base-image-x86_64 [2024-04-25T00:55:08.930Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-04-25T00:55:09.008Z] prd-ubuntu20.04-docker-8c-8g-3558 does not seem to be running inside a container [2024-04-25T00:55:09.034Z] $ 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-547 -v /w/workspace/xfoundry_device-modbus-go_PR-547:/w/workspace/xfoundry_device-modbus-go_PR-547:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-547@tmp:/w/workspace/xfoundry_device-modbus-go_PR-547@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 ******** ci-base-image-x86_64 cat [2024-04-25T00:55:09.349Z] $ docker top 96daefb15825c98c60cef70e016c44f5bb95535ee0f0fc25b94dc7c4a3d4d437 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-04-25T00:55:09.692Z] + git config --global --add safe.directory /w/workspace/xfoundry_device-modbus-go_PR-547 [Pipeline] fileExists [Pipeline] sh [2024-04-25T00:55:09.988Z] + make test [2024-04-25T00:55:09.988Z] go test ./... -coverprofile=coverage.out [2024-04-25T00:55:11.362Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2024-04-25T00:55:23.553Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2024-04-25T00:55:23.553Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.018s coverage: 47.9% of statements [2024-04-25T00:55:30.116Z] go vet ./... [2024-04-25T00:55:34.303Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-04-25T00:55:34.303Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-04-25T00:55:34.303Z] ./bin/test-attribution-txt.sh [2024-04-25T00:55:34.303Z] An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [Pipeline] echo [2024-04-25T00:55:34.316Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-04-25T00:55:34.331Z] $ docker stop --time=1 96daefb15825c98c60cef70e016c44f5bb95535ee0f0fc25b94dc7c4a3d4d437 [2024-04-25T00:55:37.680Z] $ docker rm -f --volumes 96daefb15825c98c60cef70e016c44f5bb95535ee0f0fc25b94dc7c4a3d4d437 [Pipeline] // withDockerContainer [Pipeline] sh [2024-04-25T00:55:38.188Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-04-25T00:55:38.252Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2024-04-25T00:55:38.786Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-04-25T00:55:39.074Z] + ls -al . [2024-04-25T00:55:39.074Z] total 196 [2024-04-25T00:55:39.074Z] drwxrwxr-x 9 jenkins jenkins 4096 Apr 25 00:55 . [2024-04-25T00:55:39.074Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 25 00:53 .. [2024-04-25T00:55:39.074Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 25 00:53 .dockerignore [2024-04-25T00:55:39.074Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 25 00:55 .git [2024-04-25T00:55:39.074Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 25 00:53 .github [2024-04-25T00:55:39.074Z] -rw-rw-r-- 1 jenkins jenkins 266 Apr 25 00:53 .gitignore [2024-04-25T00:55:39.074Z] -rw-rw-r-- 1 jenkins jenkins 41 Apr 25 00:53 .golangci.yml [2024-04-25T00:55:39.074Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 25 00:54 .semver [2024-04-25T00:55:39.074Z] -rw-rw-r-- 1 jenkins jenkins 11101 Apr 25 00:53 Attribution.txt [2024-04-25T00:55:39.074Z] -rw-rw-r-- 1 jenkins jenkins 16388 Apr 25 00:53 CHANGELOG.md [2024-04-25T00:55:39.074Z] -rw-rw-r-- 1 jenkins jenkins 1474 Apr 25 00:53 Dockerfile [2024-04-25T00:55:39.074Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 25 00:53 GOVERNANCE.md [2024-04-25T00:55:39.074Z] -rw-rw-r-- 1 jenkins jenkins 658 Apr 25 00:53 Jenkinsfile [2024-04-25T00:55:39.074Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 25 00:53 LICENSE [2024-04-25T00:55:39.074Z] -rw-rw-r-- 1 jenkins jenkins 1942 Apr 25 00:53 Makefile [2024-04-25T00:55:39.074Z] -rw-rw-r-- 1 jenkins jenkins 622 Apr 25 00:53 OWNERS.md [2024-04-25T00:55:39.074Z] -rw-rw-r-- 1 jenkins jenkins 4463 Apr 25 00:53 README.md [2024-04-25T00:55:39.074Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 25 00:54 VERSION [2024-04-25T00:55:39.074Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 25 00:53 bin [2024-04-25T00:55:39.074Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 25 00:53 cmd [2024-04-25T00:55:39.074Z] -rw-r--r-- 1 jenkins jenkins 24601 Apr 25 00:55 coverage.out [2024-04-25T00:55:39.074Z] -rw-rw-r-- 1 jenkins jenkins 3987 Apr 25 00:53 go.mod [2024-04-25T00:55:39.074Z] -rw-rw-r-- 1 jenkins jenkins 36721 Apr 25 00:53 go.sum [2024-04-25T00:55:39.074Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 25 00:53 internal [2024-04-25T00:55:39.074Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 25 00:53 simulator [2024-04-25T00:55:39.074Z] -rw-rw-r-- 1 jenkins jenkins 229 Apr 25 00:53 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-04-25T00:55:39.387Z] + 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=d1a15f396ea3e5aff070be7933604b8f7768172d --label arch=amd64 --label version=0.0.0 . [2024-04-25T00:55:39.387Z] Sending build context to Docker daemon 17.39MB [2024-04-25T00:55:39.387Z] Step 1/23 : ARG BASE=golang:1.21-alpine3.18 [2024-04-25T00:55:39.387Z] Step 2/23 : FROM ${BASE} AS builder [2024-04-25T00:55:39.387Z] ---> af5eb5af68ed [2024-04-25T00:55:39.387Z] Step 3/23 : ARG ADD_BUILD_TAGS="" [2024-04-25T00:55:39.648Z] ---> Running in dbdd07bc37c2 [2024-04-25T00:55:39.907Z] Removing intermediate container dbdd07bc37c2 [2024-04-25T00:55:39.907Z] ---> 5517353c94d6 [2024-04-25T00:55:39.907Z] Step 4/23 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-04-25T00:55:39.907Z] ---> Running in d465b7fde612 [2024-04-25T00:55:39.907Z] Removing intermediate container d465b7fde612 [2024-04-25T00:55:39.907Z] ---> 307d3a8f6776 [2024-04-25T00:55:39.907Z] Step 5/23 : RUN apk add --update --no-cache make git openssh [2024-04-25T00:55:39.907Z] ---> Running in 1cd5f17ccd2d [2024-04-25T00:55:40.167Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-04-25T00:55:40.736Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-04-25T00:55:40.736Z] OK: 270 MiB in 60 packages [2024-04-25T00:55:41.305Z] Removing intermediate container 1cd5f17ccd2d [2024-04-25T00:55:41.305Z] ---> a8179198042c [2024-04-25T00:55:41.305Z] Step 6/23 : WORKDIR /device-modbus-go [2024-04-25T00:55:41.305Z] ---> Running in e5fc1f7fac23 [2024-04-25T00:55:41.305Z] Removing intermediate container e5fc1f7fac23 [2024-04-25T00:55:41.305Z] ---> 6b7a63346b15 [2024-04-25T00:55:41.305Z] Step 7/23 : COPY go.mod vendor* ./ [2024-04-25T00:55:41.563Z] ---> 537a4f53e54a [2024-04-25T00:55:41.563Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-04-25T00:55:41.563Z] ---> Running in 32c232f6fcf3 [2024-04-25T00:55:42.131Z] Removing intermediate container 32c232f6fcf3 [2024-04-25T00:55:42.131Z] ---> 1a0e4eedd431 [2024-04-25T00:55:42.131Z] Step 9/23 : COPY . . [2024-04-25T00:55:43.086Z] ---> 999350f5c509 [2024-04-25T00:55:43.086Z] Step 10/23 : RUN ${MAKE} [2024-04-25T00:55:43.086Z] ---> Running in 43569b7a29a9 [2024-04-25T00:55:43.086Z] 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-25T00:56:05.478Z] Removing intermediate container 43569b7a29a9 [2024-04-25T00:56:05.478Z] ---> 762ecf446eee [2024-04-25T00:56:05.478Z] Step 11/23 : FROM alpine:3.18 [2024-04-25T00:56:05.478Z] 3.18: Pulling from library/alpine [2024-04-25T00:56:05.479Z] 619be1103602: Already exists [2024-04-25T00:56:05.479Z] Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 [2024-04-25T00:56:05.479Z] Status: Downloaded newer image for alpine:3.18 [2024-04-25T00:56:05.479Z] ---> d3782b16ccc9 [2024-04-25T00:56:05.479Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2024-04-25T00:56:05.479Z] ---> Running in 85f085cabf2c [2024-04-25T00:56:05.479Z] Removing intermediate container 85f085cabf2c [2024-04-25T00:56:05.479Z] ---> 514c56c67dd9 [2024-04-25T00:56:05.479Z] Step 13/23 : RUN apk add --update --no-cache dumb-init [2024-04-25T00:56:05.479Z] ---> Running in 686e7f4bd089 [2024-04-25T00:56:05.738Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-04-25T00:56:05.997Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-04-25T00:56:06.255Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-04-25T00:56:06.255Z] Executing busybox-1.36.1-r5.trigger [2024-04-25T00:56:06.255Z] OK: 7 MiB in 16 packages [2024-04-25T00:56:06.516Z] Removing intermediate container 686e7f4bd089 [2024-04-25T00:56:06.516Z] ---> 8d668cb69316 [2024-04-25T00:56:06.517Z] Step 14/23 : RUN apk --no-cache upgrade [2024-04-25T00:56:06.776Z] ---> Running in 59bc8bd7bab2 [2024-04-25T00:56:07.036Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-04-25T00:56:07.036Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-04-25T00:56:07.295Z] Upgrading critical system libraries and apk-tools: [2024-04-25T00:56:07.295Z] (1/1) Upgrading apk-tools (2.14.0-r2 -> 2.14.4-r0) [2024-04-25T00:56:07.295Z] Executing busybox-1.36.1-r5.trigger [2024-04-25T00:56:07.295Z] Continuing the upgrade transaction with new apk-tools: [2024-04-25T00:56:07.295Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-04-25T00:56:07.295Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-04-25T00:56:07.555Z] (1/3) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) [2024-04-25T00:56:07.555Z] (2/3) Upgrading libcrypto3 (3.1.4-r5 -> 3.1.4-r6) [2024-04-25T00:56:07.555Z] (3/3) Upgrading libssl3 (3.1.4-r5 -> 3.1.4-r6) [2024-04-25T00:56:07.555Z] OK: 7 MiB in 16 packages [2024-04-25T00:56:08.123Z] Removing intermediate container 59bc8bd7bab2 [2024-04-25T00:56:08.123Z] ---> f55b0feb94a9 [2024-04-25T00:56:08.123Z] Step 15/23 : COPY --from=builder /device-modbus-go/cmd / [2024-04-25T00:56:09.057Z] ---> 5bebe5760db2 [2024-04-25T00:56:09.057Z] Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / [2024-04-25T00:56:09.057Z] ---> e74c6c5d153d [2024-04-25T00:56:09.057Z] Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / [2024-04-25T00:56:09.057Z] ---> 8bbb873854fa [2024-04-25T00:56:09.057Z] Step 18/23 : EXPOSE 59901 [2024-04-25T00:56:09.316Z] ---> Running in ef74a1ac691c [2024-04-25T00:56:09.316Z] Removing intermediate container ef74a1ac691c [2024-04-25T00:56:09.316Z] ---> 998183d2dbdf [2024-04-25T00:56:09.316Z] Step 19/23 : ENTRYPOINT ["/device-modbus"] [2024-04-25T00:56:09.316Z] ---> Running in 4a096aab35bd [2024-04-25T00:56:09.316Z] Removing intermediate container 4a096aab35bd [2024-04-25T00:56:09.316Z] ---> 1e7060d0c250 [2024-04-25T00:56:09.316Z] Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2024-04-25T00:56:09.316Z] ---> Running in 18ca39ed5b17 [2024-04-25T00:56:09.575Z] Removing intermediate container 18ca39ed5b17 [2024-04-25T00:56:09.575Z] ---> 6b111b4a30cc [2024-04-25T00:56:09.575Z] Step 21/23 : LABEL arch=amd64 [2024-04-25T00:56:09.575Z] ---> Running in a9fe6d2b8f9e [2024-04-25T00:56:09.575Z] Removing intermediate container a9fe6d2b8f9e [2024-04-25T00:56:09.575Z] ---> 750f3b077852 [2024-04-25T00:56:09.575Z] Step 22/23 : LABEL git_sha=d1a15f396ea3e5aff070be7933604b8f7768172d [2024-04-25T00:56:09.575Z] ---> Running in b48b14c0c6f4 [2024-04-25T00:56:09.575Z] Removing intermediate container b48b14c0c6f4 [2024-04-25T00:56:09.575Z] ---> b8fdbbf7ad19 [2024-04-25T00:56:09.575Z] Step 23/23 : LABEL version=0.0.0 [2024-04-25T00:56:09.575Z] ---> Running in e6489b1127ec [2024-04-25T00:56:09.832Z] Removing intermediate container e6489b1127ec [2024-04-25T00:56:09.832Z] ---> 375afce5c308 [2024-04-25T00:56:09.832Z] [Warning] One or more build-args [ARCH] were not consumed [2024-04-25T00:56:09.832Z] Successfully built 375afce5c308 [2024-04-25T00:56:09.832Z] 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-25T00:56:10.286Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-04-25T00:56:10.286Z] [2024-04-25T00:56:10.286Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-04-25T00:56:10.590Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-04-25T00:56:10.590Z] latest: Pulling from edgex-lftools-log-publisher [2024-04-25T00:56:10.590Z] 5eb5b503b376: Pulling fs layer [2024-04-25T00:56:10.590Z] 5c69ac0246d0: Pulling fs layer [2024-04-25T00:56:10.590Z] ec43610c2a17: Pulling fs layer [2024-04-25T00:56:10.590Z] 3a2ae6a8a46f: Pulling fs layer [2024-04-25T00:56:10.590Z] 33b1e0a273af: Pulling fs layer [2024-04-25T00:56:10.590Z] 5d3b04190fa2: Pulling fs layer [2024-04-25T00:56:10.590Z] 2f39f015ded8: Pulling fs layer [2024-04-25T00:56:10.590Z] 3a2ae6a8a46f: Waiting [2024-04-25T00:56:10.590Z] 33b1e0a273af: Waiting [2024-04-25T00:56:10.590Z] 5d3b04190fa2: Waiting [2024-04-25T00:56:10.590Z] 5c69ac0246d0: Verifying Checksum [2024-04-25T00:56:10.590Z] 5c69ac0246d0: Download complete [2024-04-25T00:56:10.590Z] 3a2ae6a8a46f: Verifying Checksum [2024-04-25T00:56:10.590Z] 3a2ae6a8a46f: Download complete [2024-04-25T00:56:10.590Z] 33b1e0a273af: Verifying Checksum [2024-04-25T00:56:10.590Z] 33b1e0a273af: Download complete [2024-04-25T00:56:10.590Z] 5d3b04190fa2: Verifying Checksum [2024-04-25T00:56:10.590Z] 5d3b04190fa2: Download complete [2024-04-25T00:56:10.590Z] ec43610c2a17: Verifying Checksum [2024-04-25T00:56:10.590Z] ec43610c2a17: Download complete [2024-04-25T00:56:10.848Z] 5eb5b503b376: Verifying Checksum [2024-04-25T00:56:10.848Z] 5eb5b503b376: Download complete [2024-04-25T00:56:11.415Z] 2f39f015ded8: Download complete [2024-04-25T00:56:11.985Z] 5eb5b503b376: Pull complete [2024-04-25T00:56:11.985Z] 5c69ac0246d0: Pull complete [2024-04-25T00:56:12.552Z] ec43610c2a17: Pull complete [2024-04-25T00:56:12.552Z] 3a2ae6a8a46f: Pull complete [2024-04-25T00:56:12.811Z] 33b1e0a273af: Pull complete [2024-04-25T00:56:12.811Z] 5d3b04190fa2: Pull complete [2024-04-25T00:56:18.077Z] 2f39f015ded8: Pull complete [2024-04-25T00:56:18.077Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-04-25T00:56:18.077Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-04-25T00:56:18.077Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-04-25T00:56:18.175Z] prd-ubuntu20.04-docker-8c-8g-3558 does not seem to be running inside a container [2024-04-25T00:56:18.202Z] $ 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-547 -v /w/workspace/xfoundry_device-modbus-go_PR-547:/w/workspace/xfoundry_device-modbus-go_PR-547:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-547@tmp:/w/workspace/xfoundry_device-modbus-go_PR-547@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-04-25T00:56:29.806Z] $ docker top b4d173ac7df9c2e2c7ba827191f74b73a180838fc07c96567be9c498b2300974 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-04-25T00:56:30.208Z] ---> job-cost.sh [2024-04-25T00:56:30.209Z] lf-activate-venv: SKIPPING [2024-04-25T00:56:30.209Z] INFO: No Stack... [2024-04-25T00:56:30.466Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-04-25T00:56:30.724Z] INFO: Archiving Costs [Pipeline] sh [2024-04-25T00:56:31.016Z] + cat /w/workspace/xfoundry_device-modbus-go_PR-547/archives/cost.csv [2024-04-25T00:56:31.016Z] + cut -d, -f6 [Pipeline] lock [2024-04-25T00:56:31.028Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-547-2-stack-cost] [2024-04-25T00:56:31.033Z] Resource [jenkins-edgexfoundry-device-modbus-go-PR-547-2-stack-cost] did not exist. Created. [2024-04-25T00:56:31.037Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-547-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-04-25T00:56:31.342Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-04-25T00:56:31.376Z] Stashed 1 file(s) [Pipeline] } [2024-04-25T00:56:31.383Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-547-2-stack-cost] [Pipeline] // lock [Pipeline] } [2024-04-25T00:56:31.410Z] $ docker stop --time=1 b4d173ac7df9c2e2c7ba827191f74b73a180838fc07c96567be9c498b2300974 [2024-04-25T00:56:32.602Z] $ docker rm -f --volumes b4d173ac7df9c2e2c7ba827191f74b73a180838fc07c96567be9c498b2300974 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-04-25T00:57:11.406Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-3560 in /w/workspace/xfoundry_device-modbus-go_PR-547 [Pipeline] { [Pipeline] ws [2024-04-25T00:57:11.423Z] Running in /w/workspace/device-modbus-go/2 [Pipeline] { [Pipeline] checkout [2024-04-25T00:57:11.468Z] Selected Git installation does not exist. Using Default [2024-04-25T00:57:11.468Z] The recommended git tool is: NONE [2024-04-25T00:57:16.873Z] using credential edgex-jenkins-ssh [2024-04-25T00:57:16.893Z] Cloning the remote Git repository [2024-04-25T00:57:16.942Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2024-04-25T00:57:17.044Z] > git init /w/workspace/device-modbus-go/2 # timeout=10 [2024-04-25T00:57:17.191Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2024-04-25T00:57:17.193Z] > git --version # timeout=10 [2024-04-25T00:57:17.215Z] > git --version # 'git version 2.25.1' [2024-04-25T00:57:17.218Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-04-25T00:57:17.372Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-04-25T00:57:19.317Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2024-04-25T00:57:19.345Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-04-25T00:57:20.245Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2024-04-25T00:57:20.803Z] Merging remotes/origin/main commit 56822b146883d567dc10738adb0b8ce5338db960 into PR head commit 31f6d600233d381699de0096b270256653829b30 [2024-04-25T00:57:21.113Z] Merge succeeded, producing 7851523cf568175b2d55a3ecd4c7827effdfd2a5 [2024-04-25T00:57:21.114Z] Checking out Revision 7851523cf568175b2d55a3ecd4c7827effdfd2a5 (PR-547) [2024-04-25T00:57:20.280Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2024-04-25T00:57:20.281Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-04-25T00:57:20.301Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/547/head:refs/remotes/origin/PR-547 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2024-04-25T00:57:20.822Z] > git config core.sparsecheckout # timeout=10 [2024-04-25T00:57:20.901Z] > git checkout -f 31f6d600233d381699de0096b270256653829b30 # timeout=10 [2024-04-25T00:57:20.979Z] > git remote # timeout=10 [2024-04-25T00:57:21.001Z] > git config --get remote.origin.url # timeout=10 [2024-04-25T00:57:21.026Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-04-25T00:57:21.043Z] > git merge 56822b146883d567dc10738adb0b8ce5338db960 # timeout=10 [2024-04-25T00:57:21.090Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-04-25T00:57:21.122Z] > git config core.sparsecheckout # timeout=10 [2024-04-25T00:57:21.136Z] > git checkout -f 7851523cf568175b2d55a3ecd4c7827effdfd2a5 # timeout=10 [2024-04-25T00:57:24.646Z] Commit message: "Merge commit '56822b146883d567dc10738adb0b8ce5338db960' into HEAD" [2024-04-25T00:57:24.655Z] > git rev-list --no-walk 31f6d600233d381699de0096b270256653829b30 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-04-25T00:57:26.607Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-04-25T00:57:26.607Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-04-25T00:57:26.607Z] Dload Upload Total Spent Left Speed [2024-04-25T00:57:26.607Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 107k 0 --:--:-- --:--:-- --:--:-- 107k [Pipeline] sh [2024-04-25T00:57:26.950Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-04-25T00:57:27.279Z] + sudo tee /etc/docker/daemon.new [2024-04-25T00:57:27.279Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2024-04-25T00:57:27.279Z] { [2024-04-25T00:57:27.279Z] "registry-mirrors": [ [2024-04-25T00:57:27.279Z] "https://nexus3.edgexfoundry.org:10001" [2024-04-25T00:57:27.279Z] ], [2024-04-25T00:57:27.279Z] "bip": "10.250.0.254/24", [2024-04-25T00:57:27.279Z] "hosts": [ [2024-04-25T00:57:27.279Z] "tcp://0.0.0.0:5555", [2024-04-25T00:57:27.279Z] "unix:///var/run/docker.sock" [2024-04-25T00:57:27.279Z] ], [2024-04-25T00:57:27.279Z] "mtu": 1458, [2024-04-25T00:57:27.279Z] "selinux-enabled": true, [2024-04-25T00:57:27.279Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-04-25T00:57:27.279Z] } [Pipeline] sh [2024-04-25T00:57:27.610Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-04-25T00:57:27.942Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-04-25T00:57:46.202Z] provisioning config files... [2024-04-25T00:57:46.227Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/2@tmp/config182247060354499494tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-04-25T00:57:46.651Z] ---> ****-login.sh [2024-04-25T00:57:46.651Z] nexus3.edgexfoundry.org:10001 [2024-04-25T00:57:47.239Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-04-25T00:57:47.240Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-04-25T00:57:47.240Z] Configure a credential helper to remove this warning. See [2024-04-25T00:57:47.240Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-04-25T00:57:47.240Z] [2024-04-25T00:57:47.240Z] Login Succeeded [2024-04-25T00:57:47.240Z] nexus3.edgexfoundry.org:10002 [2024-04-25T00:57:47.508Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-04-25T00:57:47.775Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-04-25T00:57:47.775Z] Configure a credential helper to remove this warning. See [2024-04-25T00:57:47.775Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-04-25T00:57:47.775Z] [2024-04-25T00:57:47.775Z] Login Succeeded [2024-04-25T00:57:47.775Z] nexus3.edgexfoundry.org:10003 [2024-04-25T00:57:47.775Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-04-25T00:57:48.044Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-04-25T00:57:48.044Z] Configure a credential helper to remove this warning. See [2024-04-25T00:57:48.044Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-04-25T00:57:48.044Z] [2024-04-25T00:57:48.044Z] Login Succeeded [2024-04-25T00:57:48.044Z] nexus3.edgexfoundry.org:10004 [2024-04-25T00:57:48.315Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-04-25T00:57:48.315Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-04-25T00:57:48.315Z] Configure a credential helper to remove this warning. See [2024-04-25T00:57:48.315Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-04-25T00:57:48.315Z] [2024-04-25T00:57:48.315Z] Login Succeeded [2024-04-25T00:57:48.315Z] ****.io [2024-04-25T00:57:48.582Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-04-25T00:57:48.849Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-04-25T00:57:48.850Z] Configure a credential helper to remove this warning. See [2024-04-25T00:57:48.850Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-04-25T00:57:48.850Z] [2024-04-25T00:57:48.850Z] Login Succeeded [2024-04-25T00:57:48.850Z] ---> ****-login.sh ends [Pipeline] } [2024-04-25T00:57:48.864Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-04-25T00:57:49.160Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-04-25T00:57:49.179Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-04-25T00:57:49.200Z] ========================================================= [2024-04-25T00:57:49.200Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2024-04-25T00:57:49.200Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-04-25T00:57:49.569Z] + 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-25T00:57:49.839Z] Sending build context to Docker daemon 8.817MB [2024-04-25T00:57:50.108Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2024-04-25T00:57:50.108Z] Step 2/10 : FROM ${BASE} AS builder [2024-04-25T00:57:50.108Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-04-25T00:57:50.108Z] c6b39de5b339: Pulling fs layer [2024-04-25T00:57:50.108Z] a69c41024577: Pulling fs layer [2024-04-25T00:57:50.108Z] d6de4b400683: Pulling fs layer [2024-04-25T00:57:50.108Z] 35cb2a7552d0: Pulling fs layer [2024-04-25T00:57:50.108Z] 4f4fb700ef54: Pulling fs layer [2024-04-25T00:57:50.108Z] 464afbd9ba4c: Pulling fs layer [2024-04-25T00:57:50.108Z] 00f215d4a9da: Pulling fs layer [2024-04-25T00:57:50.108Z] d496ad576159: Pulling fs layer [2024-04-25T00:57:50.108Z] 4f4fb700ef54: Waiting [2024-04-25T00:57:50.108Z] 464afbd9ba4c: Waiting [2024-04-25T00:57:50.108Z] 00f215d4a9da: Waiting [2024-04-25T00:57:50.108Z] d496ad576159: Waiting [2024-04-25T00:57:50.108Z] 35cb2a7552d0: Waiting [2024-04-25T00:57:50.108Z] a69c41024577: Verifying Checksum [2024-04-25T00:57:50.108Z] a69c41024577: Download complete [2024-04-25T00:57:50.108Z] 35cb2a7552d0: Verifying Checksum [2024-04-25T00:57:50.108Z] 35cb2a7552d0: Download complete [2024-04-25T00:57:50.378Z] 4f4fb700ef54: Verifying Checksum [2024-04-25T00:57:50.378Z] 4f4fb700ef54: Download complete [2024-04-25T00:57:50.378Z] 464afbd9ba4c: Verifying Checksum [2024-04-25T00:57:50.378Z] 464afbd9ba4c: Download complete [2024-04-25T00:57:50.378Z] c6b39de5b339: Verifying Checksum [2024-04-25T00:57:50.378Z] c6b39de5b339: Download complete [2024-04-25T00:57:50.650Z] d496ad576159: Verifying Checksum [2024-04-25T00:57:50.650Z] d496ad576159: Download complete [2024-04-25T00:57:51.235Z] c6b39de5b339: Pull complete [2024-04-25T00:57:51.502Z] a69c41024577: Pull complete [2024-04-25T00:57:52.084Z] d6de4b400683: Verifying Checksum [2024-04-25T00:57:52.084Z] d6de4b400683: Download complete [2024-04-25T00:57:53.044Z] 00f215d4a9da: Verifying Checksum [2024-04-25T00:57:53.044Z] 00f215d4a9da: Download complete [2024-04-25T00:58:05.344Z] d6de4b400683: Pull complete [2024-04-25T00:58:05.344Z] 35cb2a7552d0: Pull complete [2024-04-25T00:58:05.344Z] 4f4fb700ef54: Pull complete [2024-04-25T00:58:05.344Z] 464afbd9ba4c: Pull complete [2024-04-25T00:58:11.992Z] 00f215d4a9da: Pull complete [2024-04-25T00:58:13.413Z] d496ad576159: Pull complete [2024-04-25T00:58:13.413Z] Digest: sha256:94db8a0955b4c8a8fb4ef40f1d66dd6a37c55842a5f6085bb7a69a85e2cfc316 [2024-04-25T00:58:13.413Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2024-04-25T00:58:13.413Z] ---> f246e2811388 [2024-04-25T00:58:13.413Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2024-04-25T00:58:15.351Z] ---> Running in cd1cbec12a3e [2024-04-25T00:58:15.617Z] Removing intermediate container cd1cbec12a3e [2024-04-25T00:58:15.617Z] ---> d98276e82a65 [2024-04-25T00:58:15.617Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-04-25T00:58:15.617Z] ---> Running in d63e42eed1b7 [2024-04-25T00:58:15.885Z] Removing intermediate container d63e42eed1b7 [2024-04-25T00:58:15.885Z] ---> 24f1953b01a3 [2024-04-25T00:58:15.885Z] Step 5/10 : RUN apk add --update --no-cache make git openssh [2024-04-25T00:58:16.151Z] ---> Running in 0b650b7a9e94 [2024-04-25T00:58:17.120Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-04-25T00:58:17.712Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-04-25T00:58:18.292Z] (1/8) Installing openssh-keygen (9.3_p2-r1) [2024-04-25T00:58:18.557Z] (2/8) Installing libedit (20221030.3.1-r1) [2024-04-25T00:58:18.557Z] (3/8) Installing openssh-client-common (9.3_p2-r1) [2024-04-25T00:58:18.557Z] (4/8) Installing openssh-client-default (9.3_p2-r1) [2024-04-25T00:58:18.557Z] (5/8) Installing openssh-sftp-server (9.3_p2-r1) [2024-04-25T00:58:18.557Z] (6/8) Installing openssh-server-common (9.3_p2-r1) [2024-04-25T00:58:18.557Z] (7/8) Installing openssh-server (9.3_p2-r1) [2024-04-25T00:58:18.827Z] (8/8) Installing openssh (9.3_p2-r1) [2024-04-25T00:58:18.827Z] Executing busybox-1.36.1-r5.trigger [2024-04-25T00:58:18.827Z] OK: 272 MiB in 60 packages [2024-04-25T00:58:19.801Z] Removing intermediate container 0b650b7a9e94 [2024-04-25T00:58:19.801Z] ---> bcea0009730b [2024-04-25T00:58:19.801Z] Step 6/10 : WORKDIR /device-modbus-go [2024-04-25T00:58:19.801Z] ---> Running in f65d1d5cae8f [2024-04-25T00:58:20.068Z] Removing intermediate container f65d1d5cae8f [2024-04-25T00:58:20.068Z] ---> bf65c9f4d768 [2024-04-25T00:58:20.068Z] Step 7/10 : COPY go.mod vendor* ./ [2024-04-25T00:58:20.650Z] ---> 3a06c080440c [2024-04-25T00:58:20.650Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-04-25T00:58:20.650Z] ---> Running in e17083e19d85 [2024-04-25T00:59:28.519Z] Removing intermediate container e17083e19d85 [2024-04-25T00:59:28.519Z] ---> d55a9a4ad26b [2024-04-25T00:59:28.519Z] Step 9/10 : COPY . . [2024-04-25T00:59:28.519Z] ---> 43ebe80c6ffb [2024-04-25T00:59:28.519Z] Step 10/10 : RUN ${MAKE} [2024-04-25T00:59:28.519Z] ---> Running in 02d6e972e139 [2024-04-25T00:59:28.519Z] noop [2024-04-25T00:59:28.519Z] Removing intermediate container 02d6e972e139 [2024-04-25T00:59:28.519Z] ---> f9653a7c90d4 [2024-04-25T00:59:28.519Z] Successfully built f9653a7c90d4 [2024-04-25T00:59:28.519Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-04-25T00:59:28.882Z] + docker inspect -f . ci-base-image-arm64 [2024-04-25T00:59:28.882Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-04-25T00:59:29.084Z] prd-ubuntu20.04-docker-arm64-4c-16g-3560 does not seem to be running inside a container [2024-04-25T00:59:29.155Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/2 -v /w/workspace/device-modbus-go/2:/w/workspace/device-modbus-go/2:rw,z -v /w/workspace/device-modbus-go/2@tmp:/w/workspace/device-modbus-go/2@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 ******** ci-base-image-arm64 cat [2024-04-25T00:59:30.287Z] $ docker top 69400e3611c528a1c927e19650cabb64f4e49314b1dd152e6bc50035508c8412 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-04-25T00:59:31.104Z] + go version [2024-04-25T00:59:31.104Z] go version go1.21.9 linux/arm64 [Pipeline] } [2024-04-25T00:59:31.124Z] $ docker stop --time=1 69400e3611c528a1c927e19650cabb64f4e49314b1dd152e6bc50035508c8412 [2024-04-25T00:59:32.697Z] $ docker rm -f --volumes 69400e3611c528a1c927e19650cabb64f4e49314b1dd152e6bc50035508c8412 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-04-25T00:59:33.264Z] + docker inspect -f . ci-base-image-arm64 [2024-04-25T00:59:33.264Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-04-25T00:59:33.446Z] prd-ubuntu20.04-docker-arm64-4c-16g-3560 does not seem to be running inside a container [2024-04-25T00:59:33.511Z] $ 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/2 -v /w/workspace/device-modbus-go/2:/w/workspace/device-modbus-go/2:rw,z -v /w/workspace/device-modbus-go/2@tmp:/w/workspace/device-modbus-go/2@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 ******** ci-base-image-arm64 cat [2024-04-25T00:59:34.654Z] $ docker top def1a4b1f7c0de3cb2843d9766a7bdab7574221ae8dd8ce3cdd4254943ae390e -eo pid,comm [Pipeline] { [Pipeline] sh [2024-04-25T00:59:35.152Z] + git config --global --add safe.directory /w/workspace/device-modbus-go/2 [Pipeline] fileExists [Pipeline] sh [2024-04-25T00:59:35.489Z] + make test [2024-04-25T00:59:35.489Z] go test ./... -coverprofile=coverage.out [2024-04-25T00:59:39.748Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2024-04-25T01:01:46.588Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2024-04-25T01:01:46.588Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.083s coverage: 47.9% of statements [2024-04-25T01:01:46.588Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2024-04-25T01:01:46.588Z] go vet ./... [2024-04-25T01:02:18.832Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-04-25T01:02:18.832Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-04-25T01:02:18.832Z] ./bin/test-attribution-txt.sh [2024-04-25T01:02:18.832Z] An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [Pipeline] echo [2024-04-25T01:02:18.852Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-04-25T01:02:18.871Z] $ docker stop --time=1 def1a4b1f7c0de3cb2843d9766a7bdab7574221ae8dd8ce3cdd4254943ae390e [2024-04-25T01:02:20.731Z] $ docker rm -f --volumes def1a4b1f7c0de3cb2843d9766a7bdab7574221ae8dd8ce3cdd4254943ae390e [Pipeline] // withDockerContainer [Pipeline] sh [2024-04-25T01:02:22.032Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-04-25T01:02:22.057Z] Warning: overwriting stash ‘coverage-report’ [2024-04-25T01:02:22.548Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-04-25T01:02:22.973Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-04-25T01:02:23.298Z] + ls -al . [2024-04-25T01:02:23.298Z] total 192 [2024-04-25T01:02:23.298Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 25 00:59 . [2024-04-25T01:02:23.298Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 25 00:57 .. [2024-04-25T01:02:23.298Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 25 00:57 .dockerignore [2024-04-25T01:02:23.298Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 25 00:57 .git [2024-04-25T01:02:23.298Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 25 00:57 .github [2024-04-25T01:02:23.298Z] -rw-rw-r-- 1 jenkins jenkins 266 Apr 25 00:57 .gitignore [2024-04-25T01:02:23.298Z] -rw-rw-r-- 1 jenkins jenkins 41 Apr 25 00:57 .golangci.yml [2024-04-25T01:02:23.298Z] -rw-rw-r-- 1 jenkins jenkins 11101 Apr 25 00:57 Attribution.txt [2024-04-25T01:02:23.298Z] -rw-rw-r-- 1 jenkins jenkins 16388 Apr 25 00:57 CHANGELOG.md [2024-04-25T01:02:23.298Z] -rw-rw-r-- 1 jenkins jenkins 1474 Apr 25 00:57 Dockerfile [2024-04-25T01:02:23.298Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 25 00:57 GOVERNANCE.md [2024-04-25T01:02:23.298Z] -rw-rw-r-- 1 jenkins jenkins 658 Apr 25 00:57 Jenkinsfile [2024-04-25T01:02:23.298Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 25 00:57 LICENSE [2024-04-25T01:02:23.298Z] -rw-rw-r-- 1 jenkins jenkins 1942 Apr 25 00:57 Makefile [2024-04-25T01:02:23.298Z] -rw-rw-r-- 1 jenkins jenkins 622 Apr 25 00:57 OWNERS.md [2024-04-25T01:02:23.298Z] -rw-rw-r-- 1 jenkins jenkins 4463 Apr 25 00:57 README.md [2024-04-25T01:02:23.298Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 25 00:54 VERSION [2024-04-25T01:02:23.298Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 25 00:57 bin [2024-04-25T01:02:23.298Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 25 00:57 cmd [2024-04-25T01:02:23.298Z] -rw-r--r-- 1 jenkins jenkins 24601 Apr 25 01:01 coverage.out [2024-04-25T01:02:23.298Z] -rw-rw-r-- 1 jenkins jenkins 3987 Apr 25 00:57 go.mod [2024-04-25T01:02:23.298Z] -rw-rw-r-- 1 jenkins jenkins 36721 Apr 25 00:57 go.sum [2024-04-25T01:02:23.298Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 25 00:57 internal [2024-04-25T01:02:23.298Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 25 00:57 simulator [2024-04-25T01:02:23.298Z] -rw-rw-r-- 1 jenkins jenkins 229 Apr 25 00:57 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-04-25T01:02:23.649Z] + 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=7851523cf568175b2d55a3ecd4c7827effdfd2a5 --label arch=arm64 --label version=0.0.0 . [2024-04-25T01:02:23.920Z] Sending build context to Docker daemon 8.842MB [2024-04-25T01:02:24.189Z] Step 1/23 : ARG BASE=golang:1.21-alpine3.18 [2024-04-25T01:02:24.189Z] Step 2/23 : FROM ${BASE} AS builder [2024-04-25T01:02:24.189Z] ---> f9653a7c90d4 [2024-04-25T01:02:24.189Z] Step 3/23 : ARG ADD_BUILD_TAGS="" [2024-04-25T01:02:24.189Z] ---> Running in eba6421bb0d2 [2024-04-25T01:02:24.777Z] Removing intermediate container eba6421bb0d2 [2024-04-25T01:02:24.777Z] ---> beaf37d693d9 [2024-04-25T01:02:24.777Z] Step 4/23 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-04-25T01:02:24.777Z] ---> Running in b40abf79cdc6 [2024-04-25T01:02:25.045Z] Removing intermediate container b40abf79cdc6 [2024-04-25T01:02:25.045Z] ---> 46bd19005434 [2024-04-25T01:02:25.045Z] Step 5/23 : RUN apk add --update --no-cache make git openssh [2024-04-25T01:02:25.045Z] ---> Running in 0d8bedb1402f [2024-04-25T01:02:26.459Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-04-25T01:02:26.725Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-04-25T01:02:27.681Z] OK: 272 MiB in 60 packages [2024-04-25T01:02:28.640Z] Removing intermediate container 0d8bedb1402f [2024-04-25T01:02:28.640Z] ---> 4a199b1c70be [2024-04-25T01:02:28.640Z] Step 6/23 : WORKDIR /device-modbus-go [2024-04-25T01:02:28.640Z] ---> Running in e354bd9f64ba [2024-04-25T01:02:29.221Z] Removing intermediate container e354bd9f64ba [2024-04-25T01:02:29.221Z] ---> 5c34cd9a427c [2024-04-25T01:02:29.221Z] Step 7/23 : COPY go.mod vendor* ./ [2024-04-25T01:02:29.489Z] ---> aa72ed411122 [2024-04-25T01:02:29.489Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-04-25T01:02:29.755Z] ---> Running in ffedc83be417 [2024-04-25T01:02:31.701Z] Removing intermediate container ffedc83be417 [2024-04-25T01:02:31.701Z] ---> 4b38be31700d [2024-04-25T01:02:31.701Z] Step 9/23 : COPY . . [2024-04-25T01:02:33.103Z] ---> b0659eda7821 [2024-04-25T01:02:33.103Z] Step 10/23 : RUN ${MAKE} [2024-04-25T01:02:33.103Z] ---> Running in 508285c8638c [2024-04-25T01:02:34.061Z] 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-25T01:04:55.785Z] Removing intermediate container 508285c8638c [2024-04-25T01:04:55.785Z] ---> d1d9944cd06b [2024-04-25T01:04:55.785Z] Step 11/23 : FROM alpine:3.18 [2024-04-25T01:04:55.785Z] 3.18: Pulling from library/alpine [2024-04-25T01:04:55.785Z] c6b39de5b339: Already exists [2024-04-25T01:04:55.785Z] Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 [2024-04-25T01:04:55.785Z] Status: Downloaded newer image for alpine:3.18 [2024-04-25T01:04:55.785Z] ---> 33abbf032149 [2024-04-25T01:04:55.785Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2024-04-25T01:04:55.785Z] ---> Running in 4beb7fdc76eb [2024-04-25T01:04:56.055Z] Removing intermediate container 4beb7fdc76eb [2024-04-25T01:04:56.055Z] ---> caa0f39c714d [2024-04-25T01:04:56.055Z] Step 13/23 : RUN apk add --update --no-cache dumb-init [2024-04-25T01:04:56.055Z] ---> Running in 97339be45463 [2024-04-25T01:04:57.474Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-04-25T01:04:57.751Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-04-25T01:04:58.712Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-04-25T01:04:58.712Z] Executing busybox-1.36.1-r5.trigger [2024-04-25T01:04:58.712Z] OK: 8 MiB in 16 packages [2024-04-25T01:04:59.674Z] Removing intermediate container 97339be45463 [2024-04-25T01:04:59.674Z] ---> 517978c7f838 [2024-04-25T01:04:59.674Z] Step 14/23 : RUN apk --no-cache upgrade [2024-04-25T01:04:59.942Z] ---> Running in d0ccc1e1ab6f [2024-04-25T01:05:00.909Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-04-25T01:05:01.173Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-04-25T01:05:02.131Z] Upgrading critical system libraries and apk-tools: [2024-04-25T01:05:02.131Z] (1/1) Upgrading apk-tools (2.14.0-r2 -> 2.14.4-r0) [2024-04-25T01:05:02.131Z] Executing busybox-1.36.1-r5.trigger [2024-04-25T01:05:02.397Z] Continuing the upgrade transaction with new apk-tools: [2024-04-25T01:05:02.397Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-04-25T01:05:02.977Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-04-25T01:05:03.933Z] (1/3) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) [2024-04-25T01:05:03.933Z] (2/3) Upgrading libcrypto3 (3.1.4-r5 -> 3.1.4-r6) [2024-04-25T01:05:03.933Z] (3/3) Upgrading libssl3 (3.1.4-r5 -> 3.1.4-r6) [2024-04-25T01:05:03.933Z] OK: 8 MiB in 16 packages [2024-04-25T01:05:04.890Z] Removing intermediate container d0ccc1e1ab6f [2024-04-25T01:05:04.890Z] ---> b4b962b5e5c2 [2024-04-25T01:05:04.890Z] Step 15/23 : COPY --from=builder /device-modbus-go/cmd / [2024-04-25T01:05:06.298Z] ---> bd6cfb7d0556 [2024-04-25T01:05:06.298Z] Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / [2024-04-25T01:05:06.564Z] ---> 9e0168a76828 [2024-04-25T01:05:06.564Z] Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / [2024-04-25T01:05:07.145Z] ---> 852b068ee42d [2024-04-25T01:05:07.145Z] Step 18/23 : EXPOSE 59901 [2024-04-25T01:05:07.145Z] ---> Running in 11f9c7aaa7b2 [2024-04-25T01:05:07.412Z] Removing intermediate container 11f9c7aaa7b2 [2024-04-25T01:05:07.412Z] ---> 82cc49a22924 [2024-04-25T01:05:07.412Z] Step 19/23 : ENTRYPOINT ["/device-modbus"] [2024-04-25T01:05:07.412Z] ---> Running in a8dea663bdb0 [2024-04-25T01:05:07.676Z] Removing intermediate container a8dea663bdb0 [2024-04-25T01:05:07.676Z] ---> e8c2ecbae4ca [2024-04-25T01:05:07.676Z] Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2024-04-25T01:05:07.676Z] ---> Running in 448ab1c2442a [2024-04-25T01:05:07.942Z] Removing intermediate container 448ab1c2442a [2024-04-25T01:05:07.942Z] ---> 6baf891d6d6b [2024-04-25T01:05:07.942Z] Step 21/23 : LABEL arch=arm64 [2024-04-25T01:05:08.208Z] ---> Running in 7279439b0538 [2024-04-25T01:05:08.473Z] Removing intermediate container 7279439b0538 [2024-04-25T01:05:08.473Z] ---> 05e0ee161fa6 [2024-04-25T01:05:08.473Z] Step 22/23 : LABEL git_sha=7851523cf568175b2d55a3ecd4c7827effdfd2a5 [2024-04-25T01:05:08.473Z] ---> Running in 7acf1b9bfdeb [2024-04-25T01:05:08.739Z] Removing intermediate container 7acf1b9bfdeb [2024-04-25T01:05:08.739Z] ---> 0efd3bd10ce6 [2024-04-25T01:05:08.739Z] Step 23/23 : LABEL version=0.0.0 [2024-04-25T01:05:08.739Z] ---> Running in bb68a29e614c [2024-04-25T01:05:09.005Z] Removing intermediate container bb68a29e614c [2024-04-25T01:05:09.005Z] ---> 28f4725fef0c [2024-04-25T01:05:09.005Z] [Warning] One or more build-args [ARCH] were not consumed [2024-04-25T01:05:09.271Z] Successfully built 28f4725fef0c [2024-04-25T01:05:09.271Z] 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-25T01:05:09.748Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-04-25T01:05:09.748Z] [2024-04-25T01:05:09.748Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-04-25T01:05:10.087Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-04-25T01:05:10.087Z] arm64: Pulling from edgex-lftools-log-publisher [2024-04-25T01:05:10.087Z] 8998bd30e6a1: Pulling fs layer [2024-04-25T01:05:10.087Z] 04944245beec: Pulling fs layer [2024-04-25T01:05:10.087Z] 699f458cf7ca: Pulling fs layer [2024-04-25T01:05:10.087Z] 765212b225bb: Pulling fs layer [2024-04-25T01:05:10.087Z] f23df028b6ca: Pulling fs layer [2024-04-25T01:05:10.087Z] d65c8cfc05b1: Pulling fs layer [2024-04-25T01:05:10.087Z] 2437ff75d9bd: Pulling fs layer [2024-04-25T01:05:10.087Z] 765212b225bb: Waiting [2024-04-25T01:05:10.087Z] f23df028b6ca: Waiting [2024-04-25T01:05:10.087Z] d65c8cfc05b1: Waiting [2024-04-25T01:05:10.087Z] 2437ff75d9bd: Waiting [2024-04-25T01:05:10.353Z] 04944245beec: Verifying Checksum [2024-04-25T01:05:10.353Z] 04944245beec: Download complete [2024-04-25T01:05:10.353Z] 765212b225bb: Verifying Checksum [2024-04-25T01:05:10.353Z] 765212b225bb: Download complete [2024-04-25T01:05:10.353Z] f23df028b6ca: Verifying Checksum [2024-04-25T01:05:10.353Z] f23df028b6ca: Download complete [2024-04-25T01:05:10.353Z] d65c8cfc05b1: Verifying Checksum [2024-04-25T01:05:10.353Z] d65c8cfc05b1: Download complete [2024-04-25T01:05:10.620Z] 699f458cf7ca: Verifying Checksum [2024-04-25T01:05:10.620Z] 699f458cf7ca: Download complete [2024-04-25T01:05:10.887Z] 8998bd30e6a1: Verifying Checksum [2024-04-25T01:05:10.887Z] 8998bd30e6a1: Download complete [2024-04-25T01:05:13.457Z] 2437ff75d9bd: Verifying Checksum [2024-04-25T01:05:13.457Z] 2437ff75d9bd: Download complete [2024-04-25T01:05:15.414Z] 8998bd30e6a1: Pull complete [2024-04-25T01:05:15.680Z] 04944245beec: Pull complete [2024-04-25T01:05:17.083Z] 699f458cf7ca: Pull complete [2024-04-25T01:05:17.349Z] 765212b225bb: Pull complete [2024-04-25T01:05:18.311Z] f23df028b6ca: Pull complete [2024-04-25T01:05:18.311Z] d65c8cfc05b1: Pull complete [2024-04-25T01:05:33.284Z] 2437ff75d9bd: Pull complete [2024-04-25T01:05:33.284Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-04-25T01:05:33.284Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-04-25T01:05:33.284Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-04-25T01:05:33.496Z] prd-ubuntu20.04-docker-arm64-4c-16g-3560 does not seem to be running inside a container [2024-04-25T01:05:33.558Z] $ 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/2 -v /w/workspace/device-modbus-go/2:/w/workspace/device-modbus-go/2:rw,z -v /w/workspace/device-modbus-go/2@tmp:/w/workspace/device-modbus-go/2@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-lftools-log-publisher:arm64 cat [2024-04-25T01:05:36.388Z] $ docker top 56b56316aea5d7e304dd0661aa1cfdc9db9ddc0c764889b55047f418016f78b4 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-04-25T01:05:37.221Z] ---> job-cost.sh [2024-04-25T01:05:37.221Z] lf-activate-venv: SKIPPING [2024-04-25T01:05:37.221Z] INFO: No Stack... [2024-04-25T01:05:37.486Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-04-25T01:05:38.441Z] INFO: Archiving Costs [Pipeline] sh [2024-04-25T01:05:39.077Z] + cat /w/workspace/device-modbus-go/2/archives/cost.csv [2024-04-25T01:05:39.077Z] + cut -d, -f6 [Pipeline] lock [2024-04-25T01:05:39.143Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-547-2-stack-cost] [2024-04-25T01:05:39.149Z] Resource [jenkins-edgexfoundry-device-modbus-go-PR-547-2-stack-cost] did not exist. Created. [2024-04-25T01:05:39.153Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-547-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-04-25T01:05:39.506Z] /w/workspace/device-modbus-go/2@tmp/durable-98c3496a/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-04-25T01:05:40.437Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-04-25T01:05:40.465Z] Warning: overwriting stash ‘stack-cost’ [2024-04-25T01:05:40.523Z] Stashed 1 file(s) [Pipeline] } [2024-04-25T01:05:40.529Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-547-2-stack-cost] [Pipeline] // lock [Pipeline] } [2024-04-25T01:05:40.554Z] $ docker stop --time=1 56b56316aea5d7e304dd0661aa1cfdc9db9ddc0c764889b55047f418016f78b4 [2024-04-25T01:05:42.119Z] $ docker rm -f --volumes 56b56316aea5d7e304dd0661aa1cfdc9db9ddc0c764889b55047f418016f78b4 [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-25T01:05:42.622Z] provisioning config files... [2024-04-25T01:05:42.630Z] copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-547@tmp/config6224785906471184409tmp [Pipeline] { [Pipeline] sh [2024-04-25T01:05:42.932Z] + set +x [2024-04-25T01:05:42.932Z] + curl -s https://codecov.io/bash [2024-04-25T01:05:42.932Z] + bash -s -- [2024-04-25T01:05:43.191Z] [2024-04-25T01:05:43.191Z] _____ _ [2024-04-25T01:05:43.191Z] / ____| | | [2024-04-25T01:05:43.191Z] | | ___ __| | ___ ___ _____ __ [2024-04-25T01:05:43.191Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2024-04-25T01:05:43.191Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2024-04-25T01:05:43.191Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2024-04-25T01:05:43.191Z] Bash-1.0.6 [2024-04-25T01:05:43.191Z] [2024-04-25T01:05:43.191Z] [2024-04-25T01:05:43.191Z] ==> git version 2.25.1 found [2024-04-25T01:05:43.191Z] ==> 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-25T01:05:43.191Z] Release-Date: 2020-01-08 [2024-04-25T01:05:43.191Z] 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-25T01:05:43.191Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2024-04-25T01:05:43.191Z] ==> Jenkins CI detected. [2024-04-25T01:05:43.191Z] current dir:  /w/workspace/xfoundry_device-modbus-go_PR-547 [2024-04-25T01:05:43.191Z] project root: . [2024-04-25T01:05:43.191Z] --> token set from env [2024-04-25T01:05:43.191Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2024-04-25T01:05:43.191Z] ==> Running gcov in . (disable via -X gcov) [2024-04-25T01:05:43.191Z] ==> Python coveragepy not found [2024-04-25T01:05:43.191Z] ==> Searching for coverage reports in: [2024-04-25T01:05:43.191Z] + . [2024-04-25T01:05:43.191Z] -> Found 1 reports [2024-04-25T01:05:43.191Z] ==> Detecting git/mercurial file structure [2024-04-25T01:05:43.191Z] ==> Reading reports [2024-04-25T01:05:43.191Z] + ./coverage.out bytes=24601 [2024-04-25T01:05:43.191Z] ==> Appending adjustments [2024-04-25T01:05:43.191Z] https://docs.codecov.io/docs/fixing-reports [2024-04-25T01:05:43.451Z] + Found adjustments [2024-04-25T01:05:43.451Z] ==> Gzipping contents [2024-04-25T01:05:43.451Z] 4.0K /tmp/codecov.rZuXQG.gz [2024-04-25T01:05:43.451Z] ==> Uploading reports [2024-04-25T01:05:43.451Z] url: https://codecov.io [2024-04-25T01:05:43.451Z] query: branch=PR-547&commit=d1a15f396ea3e5aff070be7933604b8f7768172d&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-547%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=547&job=&cmd_args= [2024-04-25T01:05:43.451Z] -> Pinging Codecov [2024-04-25T01:05:43.451Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-547&commit=d1a15f396ea3e5aff070be7933604b8f7768172d&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-547%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=547&job=&cmd_args= [2024-04-25T01:05:44.829Z] -> Uploading to [2024-04-25T01:05:44.829Z] https://storage.googleapis.com/codecov/v4/raw/2024-04-25/55DBCA73C666E3227836607328DD7E49/d1a15f396ea3e5aff070be7933604b8f7768172d/586148a6-cbac-41bf-9d39-564ce67c3a7e.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240425%2Fus-west2%2Fs3%2Faws4_request&X-Amz-Date=20240425T010544Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=4d9a776b9e973e988fd272977cd8af53686fdf4d30e9b9134802d7ee9d1d8408 [2024-04-25T01:05:44.829Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-04-25T01:05:44.829Z] Dload Upload Total Spent Left Speed [2024-04-25T01:05:44.829Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3843 0 0 100 3843 0 14393 --:--:-- --:--:-- --:--:-- 14339 [2024-04-25T01:05:44.829Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/d1a15f396ea3e5aff070be7933604b8f7768172d [Pipeline] } [2024-04-25T01:05:44.837Z] 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-25T01:05:45.654Z] + [ -d /w/workspace/xfoundry_device-modbus-go_PR-547/archives ] [2024-04-25T01:05:45.655Z] + ls -al /w/workspace/xfoundry_device-modbus-go_PR-547/archives [2024-04-25T01:05:45.655Z] total 16 [2024-04-25T01:05:45.655Z] drwxr-xr-x 3 root root 4096 Apr 25 00:56 . [2024-04-25T01:05:45.655Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 25 00:56 .. [2024-04-25T01:05:45.655Z] drwxr-xr-x 2 root root 4096 Apr 25 00:56 cost [2024-04-25T01:05:45.655Z] -rw-r--r-- 1 root root 88 Apr 25 00:56 cost.csv [2024-04-25T01:05:45.655Z] + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-547/archives [2024-04-25T01:05:45.655Z] + ls -al /w/workspace/xfoundry_device-modbus-go_PR-547/archives [2024-04-25T01:05:45.655Z] total 16 [2024-04-25T01:05:45.655Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 25 00:56 . [2024-04-25T01:05:45.655Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 25 00:56 .. [2024-04-25T01:05:45.655Z] drwxr-xr-x 2 jenkins jenkins 4096 Apr 25 00:56 cost [2024-04-25T01:05:45.655Z] -rw-r--r-- 1 jenkins jenkins 88 Apr 25 00:56 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-04-25T01:05:46.013Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-04-25T01:05:46.872Z] ---> package-listing.sh [2024-04-25T01:05:46.872Z] ++ facter osfamily [2024-04-25T01:05:46.872Z] ++ tr '[:upper:]' '[:lower:]' [2024-04-25T01:05:46.872Z] + OS_FAMILY=debian [2024-04-25T01:05:46.872Z] + workspace=/w/workspace/xfoundry_device-modbus-go_PR-547 [2024-04-25T01:05:46.872Z] + START_PACKAGES=/tmp/packages_start.txt [2024-04-25T01:05:46.872Z] + END_PACKAGES=/tmp/packages_end.txt [2024-04-25T01:05:46.872Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-04-25T01:05:46.872Z] + PACKAGES=/tmp/packages_start.txt [2024-04-25T01:05:46.872Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-547 ']' [2024-04-25T01:05:46.872Z] + PACKAGES=/tmp/packages_end.txt [2024-04-25T01:05:46.872Z] + case "${OS_FAMILY}" in [2024-04-25T01:05:46.872Z] + dpkg -l [2024-04-25T01:05:46.872Z] + grep '^ii' [2024-04-25T01:05:47.132Z] + '[' -f /tmp/packages_start.txt ']' [2024-04-25T01:05:47.132Z] + '[' -f /tmp/packages_end.txt ']' [2024-04-25T01:05:47.132Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-04-25T01:05:47.132Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-547 ']' [2024-04-25T01:05:47.132Z] + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-547/archives/ [2024-04-25T01:05:47.132Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-547/archives/ [Pipeline] echo [2024-04-25T01:05:47.143Z] 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-547/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-04-25T01:05:47.421Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-04-25T01:05:47.984Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-04-25T01:05:47.984Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-04-25T01:05:48.067Z] prd-ubuntu20.04-docker-8c-8g-3558 does not seem to be running inside a container [2024-04-25T01:05:48.093Z] $ 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-547/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-547 -v /w/workspace/xfoundry_device-modbus-go_PR-547:/w/workspace/xfoundry_device-modbus-go_PR-547:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-547@tmp:/w/workspace/xfoundry_device-modbus-go_PR-547@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-lftools-log-publisher:latest cat [2024-04-25T01:05:48.280Z] $ docker top fcc966a1916fb1493657fef19674d1fb63b31767d43ee4fb62ccda09f6c59aab -eo pid,comm [Pipeline] { [Pipeline] sh [2024-04-25T01:05:48.636Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-04-25T01:05:48.927Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-04-25T01:05:49.213Z] + ls /var/log/sa-host [2024-04-25T01:05:49.213Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-04-25T01:05:49.374Z] provisioning config files... [2024-04-25T01:05:49.382Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-547@tmp/config16389515930096068813tmp [Pipeline] { [Pipeline] echo [2024-04-25T01:05:49.401Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-04-25T01:05:49.686Z] ---> create-netrc.sh [Pipeline] } [2024-04-25T01:05:49.693Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-04-25T01:05:50.025Z] ---> python-tools-install.sh [Pipeline] echo [2024-04-25T01:05:50.035Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-04-25T01:05:50.316Z] ---> sudo-logs.sh [2024-04-25T01:05:50.316Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-04-25T01:05:50.341Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-04-25T01:05:50.717Z] ---> job-cost.sh [2024-04-25T01:05:50.717Z] lf-activate-venv: SKIPPING [2024-04-25T01:05:50.717Z] DEBUG: total: 0.2199999988079071 [2024-04-25T01:05:50.717Z] INFO: Retrieving Stack Cost... [2024-04-25T01:05:51.011Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-04-25T01:05:51.288Z] INFO: Archiving Costs [Pipeline] echo [2024-04-25T01:05:51.318Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-04-25T01:05:51.616Z] ---> logs-deploy.sh [2024-04-25T01:05:51.616Z] lf-activate-venv: SKIPPING [2024-04-25T01:05:51.616Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-547/2 [2024-04-25T01:05:51.616Z] INFO: archiving workspace using pattern(s): [2024-04-25T01:05:52.553Z] Archives upload complete. [2024-04-25T01:05:52.553Z] INFO: archiving logs to Nexus