Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 3f7c613b0aa0c8785abd02e1ee31bb9de316262e+56822b146883d567dc10738adb0b8ce5338db960 (efc68a712143c49e542e558eb69ef9b594c9ec41) 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-ssh8153018825537821273.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-ssh8659444444823882362.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-546/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-546/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3069789244076640820.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-ssh14632134719995101289.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-546/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-546/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh9438304521631613790.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-3559 in /w/workspace/xfoundry_device-modbus-go_PR-546 [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-546 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 56822b146883d567dc10738adb0b8ce5338db960 into PR head commit 3f7c613b0aa0c8785abd02e1ee31bb9de316262e > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/546/head:refs/remotes/origin/PR-546 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 3f7c613b0aa0c8785abd02e1ee31bb9de316262e # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 Merge succeeded, producing a3205aff84a2ac79645a4a62bb80175eb4859498 Checking out Revision a3205aff84a2ac79645a4a62bb80175eb4859498 (PR-546) 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 a3205aff84a2ac79645a4a62bb80175eb4859498 # timeout=10 Commit message: "Merge commit '56822b146883d567dc10738adb0b8ce5338db960' into HEAD" > git rev-list --no-walk 3f7c613b0aa0c8785abd02e1ee31bb9de316262e # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-04-25T00:54:24.567Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-04-25T00:54:24.641Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-04-25T00:54:24.668Z] ========================================================= [2024-04-25T00:54:24.668Z] EdgeX Global Pipelines Version Info [2024-04-25T00:54:24.668Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-04-25T00:54:25.381Z] ------------------- [2024-04-25T00:54:25.381Z] stable info: [2024-04-25T00:54:25.381Z] ------------------- [2024-04-25T00:54:25.381Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2024-04-25T00:54:25.381Z] Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2024-04-25T00:54:25.381Z] Message: update stable to v1.0.258 [2024-04-25T00:54:26.772Z] ------------------- [2024-04-25T00:54:26.772Z] experimental info: [2024-04-25T00:54:26.772Z] ------------------- [2024-04-25T00:54:26.772Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2024-04-25T00:54:26.772Z] Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2024-04-25T00:54:26.772Z] Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-04-25T00:54:26.857Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo [2024-04-25T00:54:26.875Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo [2024-04-25T00:54:26.894Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-04-25T00:54:26.915Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-04-25T00:54:26.936Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-04-25T00:54:26.960Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2024-04-25T00:54:26.983Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-04-25T00:54:27.012Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2024-04-25T00:54:27.037Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-04-25T00:54:27.064Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-04-25T00:54:27.090Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-04-25T00:54:27.118Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo [2024-04-25T00:54:27.141Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-04-25T00:54:27.165Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-04-25T00:54:27.191Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-04-25T00:54:27.218Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2024-04-25T00:54:27.241Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-04-25T00:54:27.268Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-04-25T00:54:27.289Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-04-25T00:54:27.308Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-04-25T00:54:27.331Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2024-04-25T00:54:27.354Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2024-04-25T00:54:27.376Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-04-25T00:54:27.400Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-04-25T00:54:27.426Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-04-25T00:54:27.449Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-04-25T00:54:27.476Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-04-25T00:54:27.497Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-546 [Pipeline] echo [2024-04-25T00:54:27.515Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-546 [Pipeline] echo [2024-04-25T00:54:27.538Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-546 [Pipeline] echo [2024-04-25T00:54:27.562Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = a3205aff84a2ac79645a4a62bb80175eb4859498 [Pipeline] echo [2024-04-25T00:54:27.583Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = a3205af [Pipeline] echo [2024-04-25T00:54:27.608Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-04-25T00:54:27.669Z] provisioning config files... [2024-04-25T00:54:27.682Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-546@tmp/config3370705394556700331tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-04-25T00:54:28.014Z] ---> ****-login.sh [2024-04-25T00:54:28.014Z] nexus3.edgexfoundry.org:10001 [2024-04-25T00:54:28.277Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-04-25T00:54:28.277Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-04-25T00:54:28.277Z] Configure a credential helper to remove this warning. See [2024-04-25T00:54:28.277Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-04-25T00:54:28.277Z] [2024-04-25T00:54:28.277Z] Login Succeeded [2024-04-25T00:54:28.277Z] nexus3.edgexfoundry.org:10002 [2024-04-25T00:54:28.277Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-04-25T00:54:28.277Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-04-25T00:54:28.277Z] Configure a credential helper to remove this warning. See [2024-04-25T00:54:28.277Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-04-25T00:54:28.277Z] [2024-04-25T00:54:28.277Z] Login Succeeded [2024-04-25T00:54:28.277Z] nexus3.edgexfoundry.org:10003 [2024-04-25T00:54:28.537Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-04-25T00:54:28.537Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-04-25T00:54:28.537Z] Configure a credential helper to remove this warning. See [2024-04-25T00:54:28.537Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-04-25T00:54:28.537Z] [2024-04-25T00:54:28.537Z] Login Succeeded [2024-04-25T00:54:28.537Z] nexus3.edgexfoundry.org:10004 [2024-04-25T00:54:28.537Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-04-25T00:54:28.537Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-04-25T00:54:28.537Z] Configure a credential helper to remove this warning. See [2024-04-25T00:54:28.537Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-04-25T00:54:28.537Z] [2024-04-25T00:54:28.537Z] Login Succeeded [2024-04-25T00:54:28.537Z] ****.io [2024-04-25T00:54:28.798Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-04-25T00:54:28.798Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-04-25T00:54:28.798Z] Configure a credential helper to remove this warning. See [2024-04-25T00:54:28.798Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-04-25T00:54:28.798Z] [2024-04-25T00:54:28.798Z] Login Succeeded [2024-04-25T00:54:28.798Z] ---> ****-login.sh ends [Pipeline] } [2024-04-25T00:54:28.806Z] 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:29.211Z] + git rev-list -1 --merges a3205aff84a2ac79645a4a62bb80175eb4859498~1..a3205aff84a2ac79645a4a62bb80175eb4859498 [Pipeline] echo [2024-04-25T00:54:29.239Z] -----------> git rev-list -1 --merges a3205aff84a2ac79645a4a62bb80175eb4859498~1..a3205aff84a2ac79645a4a62bb80175eb4859498 a3205aff84a2ac79645a4a62bb80175eb4859498 [2024-04-25T00:54:29.239Z] a3205aff84a2ac79645a4a62bb80175eb4859498 [false] [Pipeline] sh [2024-04-25T00:54:29.527Z] + git log --format=format:%s -1 a3205aff84a2ac79645a4a62bb80175eb4859498 [Pipeline] echo [2024-04-25T00:54:29.541Z] ========================================================= [2024-04-25T00:54:29.541Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-04-25T00:54:29.541Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-04-25T00:54:29.882Z] + git log --format=format:%s -1 a3205aff84a2ac79645a4a62bb80175eb4859498 [Pipeline] echo [2024-04-25T00:54:29.896Z] [semverPrep] GIT_COMMIT: a3205aff84a2ac79645a4a62bb80175eb4859498, Commit Message: Merge commit '56822b146883d567dc10738adb0b8ce5338db960' into HEAD [Pipeline] echo [2024-04-25T00:54:29.912Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-04-25T00:54:30.268Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-04-25T00:54:30.268Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-04-25T00:54:30.268Z] + [ -e /tmp/ssh_known_hosts ] [2024-04-25T00:54:30.268Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-04-25T00:54:30.268Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-04-25T00:54:30.268Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2024-04-25T00:54:30.268Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-04-25T00:54:30.619Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-04-25T00:54:30.619Z] [2024-04-25T00:54:30.619Z] 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:30.926Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-04-25T00:54:30.926Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-04-25T00:54:30.926Z] b85a868b505f: Pulling fs layer [2024-04-25T00:54:30.926Z] e2be974225ed: Pulling fs layer [2024-04-25T00:54:30.926Z] 339a4e72a1f5: Pulling fs layer [2024-04-25T00:54:30.926Z] 988bab9f4d93: Pulling fs layer [2024-04-25T00:54:30.926Z] 1469e6f7b9e6: Pulling fs layer [2024-04-25T00:54:30.926Z] eaf3925da568: Pulling fs layer [2024-04-25T00:54:30.926Z] bab4dde63d76: Pulling fs layer [2024-04-25T00:54:30.926Z] bde34c3a00c8: Pulling fs layer [2024-04-25T00:54:30.926Z] b352a97aabf1: Pulling fs layer [2024-04-25T00:54:30.926Z] 4872d77fe225: Pulling fs layer [2024-04-25T00:54:30.926Z] 5851b861e8e6: Pulling fs layer [2024-04-25T00:54:30.926Z] b352a97aabf1: Waiting [2024-04-25T00:54:30.926Z] bab4dde63d76: Waiting [2024-04-25T00:54:30.926Z] 4872d77fe225: Waiting [2024-04-25T00:54:30.926Z] 5851b861e8e6: Waiting [2024-04-25T00:54:30.926Z] eaf3925da568: Waiting [2024-04-25T00:54:30.926Z] 1469e6f7b9e6: Waiting [2024-04-25T00:54:30.926Z] 988bab9f4d93: Waiting [2024-04-25T00:54:30.926Z] e2be974225ed: Verifying Checksum [2024-04-25T00:54:30.926Z] e2be974225ed: Download complete [2024-04-25T00:54:30.926Z] 988bab9f4d93: Verifying Checksum [2024-04-25T00:54:30.926Z] 988bab9f4d93: Download complete [2024-04-25T00:54:31.186Z] 1469e6f7b9e6: Verifying Checksum [2024-04-25T00:54:31.187Z] 1469e6f7b9e6: Download complete [2024-04-25T00:54:31.187Z] eaf3925da568: Verifying Checksum [2024-04-25T00:54:31.187Z] eaf3925da568: Download complete [2024-04-25T00:54:31.187Z] 339a4e72a1f5: Verifying Checksum [2024-04-25T00:54:31.187Z] 339a4e72a1f5: Download complete [2024-04-25T00:54:31.187Z] bde34c3a00c8: Verifying Checksum [2024-04-25T00:54:31.187Z] bde34c3a00c8: Download complete [2024-04-25T00:54:31.187Z] b352a97aabf1: Verifying Checksum [2024-04-25T00:54:31.187Z] b352a97aabf1: Download complete [2024-04-25T00:54:31.187Z] 4872d77fe225: Download complete [2024-04-25T00:54:31.187Z] 5851b861e8e6: Verifying Checksum [2024-04-25T00:54:31.187Z] 5851b861e8e6: Download complete [2024-04-25T00:54:31.445Z] b85a868b505f: Verifying Checksum [2024-04-25T00:54:31.445Z] b85a868b505f: Download complete [2024-04-25T00:54:31.445Z] bab4dde63d76: Verifying Checksum [2024-04-25T00:54:31.445Z] bab4dde63d76: Download complete [2024-04-25T00:54:32.822Z] b85a868b505f: Pull complete [2024-04-25T00:54:33.080Z] e2be974225ed: Pull complete [2024-04-25T00:54:33.339Z] 339a4e72a1f5: Pull complete [2024-04-25T00:54:33.598Z] 988bab9f4d93: Pull complete [2024-04-25T00:54:33.856Z] 1469e6f7b9e6: Pull complete [2024-04-25T00:54:33.856Z] eaf3925da568: Pull complete [2024-04-25T00:54:35.757Z] bab4dde63d76: Pull complete [2024-04-25T00:54:35.757Z] bde34c3a00c8: Pull complete [2024-04-25T00:54:35.757Z] b352a97aabf1: Pull complete [2024-04-25T00:54:35.757Z] 4872d77fe225: Pull complete [2024-04-25T00:54:36.016Z] 5851b861e8e6: Pull complete [2024-04-25T00:54:36.016Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-04-25T00:54:36.016Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-04-25T00:54:36.016Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-04-25T00:54:36.165Z] prd-ubuntu20.04-docker-8c-8g-3559 does not seem to be running inside a container [2024-04-25T00:54:36.193Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-546 -v /w/workspace/xfoundry_device-modbus-go_PR-546:/w/workspace/xfoundry_device-modbus-go_PR-546:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-546@tmp:/w/workspace/xfoundry_device-modbus-go_PR-546@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:39.685Z] $ docker top da2e97d17ffe8e9c6a72c7c8a44b60aea39da04d63cc416b366753af18630f9d -eo pid,comm [2024-04-25T00:54:39.751Z] 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:39.751Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-04-25T00:54:39.802Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-04-25T00:54:39.802Z] [ssh-agent] Looking for ssh-agent implementation... [2024-04-25T00:54:39.921Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-04-25T00:54:39.919Z] $ docker exec da2e97d17ffe8e9c6a72c7c8a44b60aea39da04d63cc416b366753af18630f9d ssh-agent [2024-04-25T00:54:40.033Z] SSH_AUTH_SOCK=/tmp/ssh-Zc1NXZeiCYfh/agent.31 [2024-04-25T00:54:40.033Z] SSH_AGENT_PID=37 [2024-04-25T00:54:40.040Z] Running ssh-add (command line suppressed) [2024-04-25T00:54:40.146Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-546@tmp/private_key_6997595243927268422.key (/w/workspace/xfoundry_device-modbus-go_PR-546@tmp/private_key_6997595243927268422.key) [2024-04-25T00:54:40.166Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-04-25T00:54:40.460Z] + git tag --points-at HEAD [Pipeline] } [2024-04-25T00:54:40.468Z] $ docker exec --env ******** --env ******** da2e97d17ffe8e9c6a72c7c8a44b60aea39da04d63cc416b366753af18630f9d ssh-agent -k [2024-04-25T00:54:40.574Z] unset SSH_AUTH_SOCK; [2024-04-25T00:54:40.574Z] unset SSH_AGENT_PID; [2024-04-25T00:54:40.574Z] echo Agent pid 37 killed; [2024-04-25T00:54:40.591Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-04-25T00:54:40.633Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-04-25T00:54:40.633Z] [ssh-agent] Looking for ssh-agent implementation... [2024-04-25T00:54:40.756Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-04-25T00:54:40.755Z] $ docker exec da2e97d17ffe8e9c6a72c7c8a44b60aea39da04d63cc416b366753af18630f9d ssh-agent [2024-04-25T00:54:40.861Z] SSH_AUTH_SOCK=/tmp/ssh-QmEDjrDTNc2d/agent.70 [2024-04-25T00:54:40.861Z] SSH_AGENT_PID=76 [2024-04-25T00:54:40.865Z] Running ssh-add (command line suppressed) [2024-04-25T00:54:40.963Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-546@tmp/private_key_12287354660404891605.key (/w/workspace/xfoundry_device-modbus-go_PR-546@tmp/private_key_12287354660404891605.key) [2024-04-25T00:54:40.983Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-04-25T00:54:41.280Z] + git semver init [2024-04-25T00:54:41.539Z] 2024-04-25 00:54:41,442 [run_init] DEBUG init version:0.0.0 force:False [2024-04-25T00:54:41.539Z] 2024-04-25 00:54:41,444 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-modbus-go_PR-546/.semver [2024-04-25T00:54:41.539Z] 2024-04-25 00:54:41,444 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/xfoundry_device-modbus-go_PR-546/.semver [2024-04-25T00:54:41.539Z] 2024-04-25 00:54:41,444 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/xfoundry_device-modbus-go_PR-546/.semver'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-546, universal_newlines=False, shell=None, istream=None) [2024-04-25T00:54:42.922Z] 2024-04-25 00:54:42,581 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-modbus-go_PR-546/.git/info/exclude [2024-04-25T00:54:42.922Z] 2024-04-25 00:54:42,582 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-modbus-go_PR-546/.semver/PR-546 with force:False [2024-04-25T00:54:42.922Z] 2024-04-25 00:54:42,582 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-modbus-go_PR-546/.semver/PR-546 [2024-04-25T00:54:42.922Z] 2024-04-25 00:54:42,586 [execute] INFO git cat-file --batch-check [2024-04-25T00:54:42.922Z] 2024-04-25 00:54:42,587 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-546/.semver, universal_newlines=False, shell=None, istream=) [2024-04-25T00:54:42.922Z] 2024-04-25 00:54:42,593 [execute] INFO git cat-file --batch [2024-04-25T00:54:42.922Z] 2024-04-25 00:54:42,593 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-546/.semver, universal_newlines=False, shell=None, istream=) [2024-04-25T00:54:42.922Z] 2024-04-25 00:54:42,598 [read_version] DEBUG read version from /w/workspace/xfoundry_device-modbus-go_PR-546/.semver/PR-546 [2024-04-25T00:54:42.922Z] 0.0.0 [Pipeline] } [2024-04-25T00:54:42.929Z] $ docker exec --env ******** --env ******** da2e97d17ffe8e9c6a72c7c8a44b60aea39da04d63cc416b366753af18630f9d ssh-agent -k [2024-04-25T00:54:43.020Z] unset SSH_AUTH_SOCK; [2024-04-25T00:54:43.021Z] unset SSH_AGENT_PID; [2024-04-25T00:54:43.021Z] echo Agent pid 76 killed; [2024-04-25T00:54:43.034Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-04-25T00:54:43.355Z] + git semver [Pipeline] } [2024-04-25T00:54:43.627Z] $ docker stop --time=1 da2e97d17ffe8e9c6a72c7c8a44b60aea39da04d63cc416b366753af18630f9d [2024-04-25T00:54:44.899Z] $ docker rm -f --volumes da2e97d17ffe8e9c6a72c7c8a44b60aea39da04d63cc416b366753af18630f9d [Pipeline] // withDockerContainer [Pipeline] sh [2024-04-25T00:54:45.252Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-04-25T00:54:45.478Z] Stashed 1 file(s) [Pipeline] echo [2024-04-25T00:54:45.481Z] [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:45.685Z] provisioning config files... [2024-04-25T00:54:45.693Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-546@tmp/config11243091587453659561tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-04-25T00:54:46.002Z] ---> ****-login.sh [2024-04-25T00:54:46.002Z] nexus3.edgexfoundry.org:10001 [2024-04-25T00:54:46.002Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-04-25T00:54:46.002Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-04-25T00:54:46.002Z] Configure a credential helper to remove this warning. See [2024-04-25T00:54:46.002Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-04-25T00:54:46.002Z] [2024-04-25T00:54:46.002Z] Login Succeeded [2024-04-25T00:54:46.002Z] nexus3.edgexfoundry.org:10002 [2024-04-25T00:54:46.002Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-04-25T00:54:46.002Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-04-25T00:54:46.002Z] Configure a credential helper to remove this warning. See [2024-04-25T00:54:46.002Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-04-25T00:54:46.002Z] [2024-04-25T00:54:46.002Z] Login Succeeded [2024-04-25T00:54:46.002Z] nexus3.edgexfoundry.org:10003 [2024-04-25T00:54:46.265Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-04-25T00:54:46.266Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-04-25T00:54:46.266Z] Configure a credential helper to remove this warning. See [2024-04-25T00:54:46.266Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-04-25T00:54:46.266Z] [2024-04-25T00:54:46.266Z] Login Succeeded [2024-04-25T00:54:46.266Z] nexus3.edgexfoundry.org:10004 [2024-04-25T00:54:46.266Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-04-25T00:54:46.266Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-04-25T00:54:46.266Z] Configure a credential helper to remove this warning. See [2024-04-25T00:54:46.266Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-04-25T00:54:46.266Z] [2024-04-25T00:54:46.266Z] Login Succeeded [2024-04-25T00:54:46.266Z] ****.io [2024-04-25T00:54:46.266Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-04-25T00:54:46.525Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-04-25T00:54:46.525Z] Configure a credential helper to remove this warning. See [2024-04-25T00:54:46.525Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-04-25T00:54:46.525Z] [2024-04-25T00:54:46.525Z] Login Succeeded [2024-04-25T00:54:46.525Z] ---> ****-login.sh ends [Pipeline] } [2024-04-25T00:54:46.532Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-04-25T00:54:46.614Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-04-25T00:54:46.631Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-04-25T00:54:46.646Z] ========================================================= [2024-04-25T00:54:46.646Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2024-04-25T00:54:46.646Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-04-25T00:54:46.978Z] + 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:46.978Z] Sending build context to Docker daemon 17.37MB [2024-04-25T00:54:46.978Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2024-04-25T00:54:46.978Z] Step 2/10 : FROM ${BASE} AS builder [2024-04-25T00:54:46.978Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2024-04-25T00:54:46.978Z] 619be1103602: Pulling fs layer [2024-04-25T00:54:46.978Z] 7862e08f4a3e: Pulling fs layer [2024-04-25T00:54:46.978Z] 5df492c9dc93: Pulling fs layer [2024-04-25T00:54:46.978Z] 7629e6793208: Pulling fs layer [2024-04-25T00:54:46.978Z] 4f4fb700ef54: Pulling fs layer [2024-04-25T00:54:46.978Z] fb5054dd5b73: Pulling fs layer [2024-04-25T00:54:46.978Z] eeca6798cff9: Pulling fs layer [2024-04-25T00:54:46.978Z] aa269ceb94a6: Pulling fs layer [2024-04-25T00:54:46.978Z] 4f4fb700ef54: Waiting [2024-04-25T00:54:46.978Z] eeca6798cff9: Waiting [2024-04-25T00:54:46.978Z] fb5054dd5b73: Waiting [2024-04-25T00:54:46.978Z] aa269ceb94a6: Waiting [2024-04-25T00:54:46.978Z] ada007ff1a6a: Pulling fs layer [2024-04-25T00:54:46.978Z] 7629e6793208: Waiting [2024-04-25T00:54:47.238Z] 7862e08f4a3e: Verifying Checksum [2024-04-25T00:54:47.238Z] 7862e08f4a3e: Download complete [2024-04-25T00:54:47.238Z] 7629e6793208: Verifying Checksum [2024-04-25T00:54:47.238Z] 7629e6793208: Download complete [2024-04-25T00:54:47.238Z] 4f4fb700ef54: Verifying Checksum [2024-04-25T00:54:47.238Z] 4f4fb700ef54: Download complete [2024-04-25T00:54:47.238Z] fb5054dd5b73: Verifying Checksum [2024-04-25T00:54:47.238Z] fb5054dd5b73: Download complete [2024-04-25T00:54:47.238Z] 619be1103602: Verifying Checksum [2024-04-25T00:54:47.238Z] 619be1103602: Download complete [2024-04-25T00:54:47.238Z] eeca6798cff9: Verifying Checksum [2024-04-25T00:54:47.238Z] eeca6798cff9: Download complete [2024-04-25T00:54:47.238Z] 619be1103602: Pull complete [2024-04-25T00:54:47.497Z] ada007ff1a6a: Verifying Checksum [2024-04-25T00:54:47.497Z] ada007ff1a6a: Download complete [2024-04-25T00:54:47.497Z] 7862e08f4a3e: Pull complete [2024-04-25T00:54:47.756Z] 5df492c9dc93: Verifying Checksum [2024-04-25T00:54:47.756Z] 5df492c9dc93: Download complete [2024-04-25T00:54:48.015Z] aa269ceb94a6: Verifying Checksum [2024-04-25T00:54:48.015Z] aa269ceb94a6: Download complete [2024-04-25T00:54:51.299Z] 5df492c9dc93: Pull complete [2024-04-25T00:54:51.299Z] 7629e6793208: Pull complete [2024-04-25T00:54:51.299Z] 4f4fb700ef54: Pull complete [2024-04-25T00:54:51.299Z] fb5054dd5b73: Pull complete [2024-04-25T00:54:51.299Z] eeca6798cff9: Pull complete [2024-04-25T00:54:53.832Z] aa269ceb94a6: Pull complete [2024-04-25T00:54:53.832Z] ada007ff1a6a: Pull complete [2024-04-25T00:54:53.832Z] Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 [2024-04-25T00:54:53.832Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2024-04-25T00:54:53.832Z] ---> f489d0715acc [2024-04-25T00:54:53.832Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2024-04-25T00:54:58.037Z] ---> Running in af695d9beb00 [2024-04-25T00:54:58.037Z] Removing intermediate container af695d9beb00 [2024-04-25T00:54:58.037Z] ---> 65244ecde602 [2024-04-25T00:54:58.037Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-04-25T00:54:58.037Z] ---> Running in 5168ddcbbebf [2024-04-25T00:54:58.037Z] Removing intermediate container 5168ddcbbebf [2024-04-25T00:54:58.037Z] ---> c8dc46939e91 [2024-04-25T00:54:58.037Z] Step 5/10 : RUN apk add --update --no-cache make git openssh [2024-04-25T00:54:58.037Z] ---> Running in 7a531f576712 [2024-04-25T00:54:58.037Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-04-25T00:54:58.297Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-04-25T00:54:58.556Z] (1/8) Installing openssh-keygen (9.3_p2-r1) [2024-04-25T00:54:58.556Z] (2/8) Installing libedit (20221030.3.1-r1) [2024-04-25T00:54:58.556Z] (3/8) Installing openssh-client-common (9.3_p2-r1) [2024-04-25T00:54:58.556Z] (4/8) Installing openssh-client-default (9.3_p2-r1) [2024-04-25T00:54:58.556Z] (5/8) Installing openssh-sftp-server (9.3_p2-r1) [2024-04-25T00:54:58.556Z] (6/8) Installing openssh-server-common (9.3_p2-r1) [2024-04-25T00:54:58.556Z] (7/8) Installing openssh-server (9.3_p2-r1) [2024-04-25T00:54:58.556Z] (8/8) Installing openssh (9.3_p2-r1) [2024-04-25T00:54:58.556Z] Executing busybox-1.36.1-r5.trigger [2024-04-25T00:54:58.556Z] OK: 270 MiB in 60 packages [2024-04-25T00:54:59.125Z] Removing intermediate container 7a531f576712 [2024-04-25T00:54:59.125Z] ---> a32db2b01968 [2024-04-25T00:54:59.125Z] Step 6/10 : WORKDIR /device-modbus-go [2024-04-25T00:54:59.125Z] ---> Running in 44e31cd205c6 [2024-04-25T00:54:59.384Z] Removing intermediate container 44e31cd205c6 [2024-04-25T00:54:59.384Z] ---> 920127e5bc9a [2024-04-25T00:54:59.384Z] Step 7/10 : COPY go.mod vendor* ./ [2024-04-25T00:54:59.384Z] ---> 047e45d91844 [2024-04-25T00:54:59.384Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-04-25T00:54:59.384Z] ---> Running in a250a227d6eb [2024-04-25T00:55:00.630Z] Still waiting to schedule task [2024-04-25T00:55:00.630Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-3556’ [2024-04-25T00:55:55.650Z] Removing intermediate container a250a227d6eb [2024-04-25T00:55:55.650Z] ---> b3d5dacdc41b [2024-04-25T00:55:55.650Z] Step 9/10 : COPY . . [2024-04-25T00:55:55.650Z] ---> 39fdec2ca369 [2024-04-25T00:55:55.650Z] Step 10/10 : RUN ${MAKE} [2024-04-25T00:55:55.650Z] ---> Running in 2b759d5e70e6 [2024-04-25T00:55:55.650Z] noop [2024-04-25T00:55:55.910Z] Removing intermediate container 2b759d5e70e6 [2024-04-25T00:55:55.910Z] ---> f30d768c9720 [2024-04-25T00:55:55.910Z] Successfully built f30d768c9720 [2024-04-25T00:55:55.910Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-04-25T00:55:56.241Z] + docker inspect -f . ci-base-image-x86_64 [2024-04-25T00:55:56.241Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-04-25T00:55:56.319Z] prd-ubuntu20.04-docker-8c-8g-3559 does not seem to be running inside a container [2024-04-25T00:55:56.358Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-546 -v /w/workspace/xfoundry_device-modbus-go_PR-546:/w/workspace/xfoundry_device-modbus-go_PR-546:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-546@tmp:/w/workspace/xfoundry_device-modbus-go_PR-546@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:56.719Z] $ docker top ce56eb7d13b2e2d6f1782b61f5b41835347ebd5277da2ac08c2b325c68277901 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-04-25T00:55:57.053Z] + go version [2024-04-25T00:55:57.053Z] go version go1.21.9 linux/amd64 [Pipeline] } [2024-04-25T00:55:57.072Z] $ docker stop --time=1 ce56eb7d13b2e2d6f1782b61f5b41835347ebd5277da2ac08c2b325c68277901 [2024-04-25T00:55:58.327Z] $ docker rm -f --volumes ce56eb7d13b2e2d6f1782b61f5b41835347ebd5277da2ac08c2b325c68277901 [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:58.756Z] + docker inspect -f . ci-base-image-x86_64 [2024-04-25T00:55:58.757Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-04-25T00:55:58.831Z] prd-ubuntu20.04-docker-8c-8g-3559 does not seem to be running inside a container [2024-04-25T00:55:58.873Z] $ 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-546 -v /w/workspace/xfoundry_device-modbus-go_PR-546:/w/workspace/xfoundry_device-modbus-go_PR-546:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-546@tmp:/w/workspace/xfoundry_device-modbus-go_PR-546@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:59.213Z] $ docker top 6248564878a28e79489e0119c227556118df19a521908f35e2c1d9038737d02f -eo pid,comm [Pipeline] { [Pipeline] sh [2024-04-25T00:55:59.550Z] + git config --global --add safe.directory /w/workspace/xfoundry_device-modbus-go_PR-546 [Pipeline] fileExists [Pipeline] sh [2024-04-25T00:55:59.853Z] + make test [2024-04-25T00:55:59.853Z] go test ./... -coverprofile=coverage.out [2024-04-25T00:56:01.755Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2024-04-25T00:56:19.848Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2024-04-25T00:56:19.848Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.014s coverage: 47.9% of statements [2024-04-25T00:56:29.815Z] go vet ./... [2024-04-25T00:56:33.994Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-04-25T00:56:33.994Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-04-25T00:56:33.994Z] ./bin/test-attribution-txt.sh [2024-04-25T00:56:34.253Z] An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add [2024-04-25T00:56:34.253Z] An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add [2024-04-25T00:56:34.253Z] An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add [2024-04-25T00:56:34.253Z] An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add [2024-04-25T00:56:34.253Z] An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add [2024-04-25T00:56:34.253Z] An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add [2024-04-25T00:56:34.253Z] An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add [2024-04-25T00:56:34.253Z] An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add [2024-04-25T00:56:34.253Z] An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add [2024-04-25T00:56:34.253Z] An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add [2024-04-25T00:56:34.253Z] An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add [2024-04-25T00:56:34.253Z] An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add [2024-04-25T00:56:34.253Z] An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add [2024-04-25T00:56:34.253Z] An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add [2024-04-25T00:56:34.253Z] An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add [2024-04-25T00:56:34.253Z] An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add [2024-04-25T00:56:34.253Z] An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add [2024-04-25T00:56:34.253Z] An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add [2024-04-25T00:56:34.253Z] An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add [2024-04-25T00:56:34.253Z] An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add [2024-04-25T00:56:34.253Z] An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add [2024-04-25T00:56:34.253Z] An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add [2024-04-25T00:56:34.253Z] An attribution for github.com/josharian/intern is missing from Attribution.txt, please add [2024-04-25T00:56:34.253Z] An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add [2024-04-25T00:56:34.253Z] An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add [2024-04-25T00:56:34.253Z] An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add [2024-04-25T00:56:34.253Z] An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add [2024-04-25T00:56:34.253Z] An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add [2024-04-25T00:56:34.253Z] An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add [2024-04-25T00:56:34.253Z] An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add [2024-04-25T00:56:34.253Z] An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add [2024-04-25T00:56:34.253Z] An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add [2024-04-25T00:56:34.253Z] An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add [2024-04-25T00:56:34.253Z] An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add [2024-04-25T00:56:34.253Z] An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add [2024-04-25T00:56:34.253Z] An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add [2024-04-25T00:56:34.253Z] An attribution for github.com/openziti/identity is missing from Attribution.txt, please add [2024-04-25T00:56:34.253Z] An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add [2024-04-25T00:56:34.253Z] An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add [2024-04-25T00:56:34.253Z] An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add [2024-04-25T00:56:34.253Z] An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add [2024-04-25T00:56:34.253Z] An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add [2024-04-25T00:56:34.253Z] An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add [2024-04-25T00:56:34.253Z] An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add [2024-04-25T00:56:34.253Z] An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add [2024-04-25T00:56:34.253Z] An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add [2024-04-25T00:56:34.253Z] An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add [2024-04-25T00:56:34.253Z] An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add [2024-04-25T00:56:34.253Z] An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add [2024-04-25T00:56:34.253Z] An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add [2024-04-25T00:56:34.253Z] An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add [2024-04-25T00:56:34.253Z] An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add [2024-04-25T00:56:34.253Z] An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add [2024-04-25T00:56:34.253Z] An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add [2024-04-25T00:56:34.253Z] An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add [2024-04-25T00:56:34.253Z] An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add [2024-04-25T00:56:34.253Z] An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add [2024-04-25T00:56:34.253Z] An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add [2024-04-25T00:56:34.253Z] An attribution for golang.org/x/term is missing from Attribution.txt, please add [2024-04-25T00:56:34.253Z] An attribution for google.golang.org/appengine is missing from Attribution.txt, please add [2024-04-25T00:56:34.253Z] An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [2024-04-25T00:56:34.253Z] An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo [2024-04-25T00:56:34.269Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-04-25T00:56:34.293Z] $ docker stop --time=1 6248564878a28e79489e0119c227556118df19a521908f35e2c1d9038737d02f [2024-04-25T00:56:38.988Z] $ docker rm -f --volumes 6248564878a28e79489e0119c227556118df19a521908f35e2c1d9038737d02f [Pipeline] // withDockerContainer [Pipeline] sh [2024-04-25T00:56:39.525Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-04-25T00:56:39.584Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2024-04-25T00:56:40.026Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-04-25T00:56:40.318Z] + ls -al . [2024-04-25T00:56:40.319Z] total 264 [2024-04-25T00:56:40.319Z] drwxrwxr-x 9 jenkins jenkins 4096 Apr 25 00:56 . [2024-04-25T00:56:40.319Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 25 00:54 .. [2024-04-25T00:56:40.319Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 25 00:54 .dockerignore [2024-04-25T00:56:40.319Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 25 00:56 .git [2024-04-25T00:56:40.319Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 25 00:54 .github [2024-04-25T00:56:40.319Z] -rw-rw-r-- 1 jenkins jenkins 266 Apr 25 00:54 .gitignore [2024-04-25T00:56:40.319Z] -rw-rw-r-- 1 jenkins jenkins 41 Apr 25 00:54 .golangci.yml [2024-04-25T00:56:40.319Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 25 00:54 .semver [2024-04-25T00:56:40.319Z] -rw-rw-r-- 1 jenkins jenkins 11101 Apr 25 00:54 Attribution.txt [2024-04-25T00:56:40.319Z] -rw-rw-r-- 1 jenkins jenkins 16388 Apr 25 00:54 CHANGELOG.md [2024-04-25T00:56:40.319Z] -rw-rw-r-- 1 jenkins jenkins 1474 Apr 25 00:54 Dockerfile [2024-04-25T00:56:40.319Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 25 00:54 GOVERNANCE.md [2024-04-25T00:56:40.319Z] -rw-rw-r-- 1 jenkins jenkins 658 Apr 25 00:54 Jenkinsfile [2024-04-25T00:56:40.319Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 25 00:54 LICENSE [2024-04-25T00:56:40.319Z] -rw-rw-r-- 1 jenkins jenkins 1942 Apr 25 00:54 Makefile [2024-04-25T00:56:40.319Z] -rw-rw-r-- 1 jenkins jenkins 622 Apr 25 00:54 OWNERS.md [2024-04-25T00:56:40.319Z] -rw-rw-r-- 1 jenkins jenkins 4463 Apr 25 00:54 README.md [2024-04-25T00:56:40.319Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 25 00:54 VERSION [2024-04-25T00:56:40.319Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 25 00:54 bin [2024-04-25T00:56:40.319Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 25 00:54 cmd [2024-04-25T00:56:40.319Z] -rw-r--r-- 1 jenkins jenkins 24601 Apr 25 00:56 coverage.out [2024-04-25T00:56:40.319Z] -rw-rw-r-- 1 jenkins jenkins 7289 Apr 25 00:54 go.mod [2024-04-25T00:56:40.319Z] -rw-rw-r-- 1 jenkins jenkins 101859 Apr 25 00:54 go.sum [2024-04-25T00:56:40.319Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 25 00:54 internal [2024-04-25T00:56:40.319Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 25 00:54 simulator [2024-04-25T00:56:40.319Z] -rw-rw-r-- 1 jenkins jenkins 229 Apr 25 00:54 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-04-25T00:56:40.637Z] + 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=a3205aff84a2ac79645a4a62bb80175eb4859498 --label arch=amd64 --label version=0.0.0 . [2024-04-25T00:56:40.637Z] Sending build context to Docker daemon 17.4MB [2024-04-25T00:56:40.637Z] Step 1/23 : ARG BASE=golang:1.21-alpine3.18 [2024-04-25T00:56:40.637Z] Step 2/23 : FROM ${BASE} AS builder [2024-04-25T00:56:40.637Z] ---> f30d768c9720 [2024-04-25T00:56:40.637Z] Step 3/23 : ARG ADD_BUILD_TAGS="" [2024-04-25T00:56:40.900Z] ---> Running in 632295a96894 [2024-04-25T00:56:41.160Z] Removing intermediate container 632295a96894 [2024-04-25T00:56:41.160Z] ---> 4c579e0ffb34 [2024-04-25T00:56:41.160Z] Step 4/23 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-04-25T00:56:41.160Z] ---> Running in edfd39ea60a7 [2024-04-25T00:56:41.160Z] Removing intermediate container edfd39ea60a7 [2024-04-25T00:56:41.160Z] ---> 3f6c5f92a55e [2024-04-25T00:56:41.160Z] Step 5/23 : RUN apk add --update --no-cache make git openssh [2024-04-25T00:56:41.160Z] ---> Running in daea20c63c7f [2024-04-25T00:56:41.419Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-04-25T00:56:41.681Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-04-25T00:56:41.941Z] OK: 270 MiB in 60 packages [2024-04-25T00:56:42.199Z] Removing intermediate container daea20c63c7f [2024-04-25T00:56:42.199Z] ---> bc0f7e40561d [2024-04-25T00:56:42.199Z] Step 6/23 : WORKDIR /device-modbus-go [2024-04-25T00:56:42.199Z] ---> Running in 2d75d87b9250 [2024-04-25T00:56:42.199Z] Removing intermediate container 2d75d87b9250 [2024-04-25T00:56:42.199Z] ---> 19bca60432a0 [2024-04-25T00:56:42.199Z] Step 7/23 : COPY go.mod vendor* ./ [2024-04-25T00:56:42.456Z] ---> c93a48741696 [2024-04-25T00:56:42.456Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-04-25T00:56:42.456Z] ---> Running in 5f5f0ea29153 [2024-04-25T00:56:43.023Z] Removing intermediate container 5f5f0ea29153 [2024-04-25T00:56:43.023Z] ---> f7b79f274534 [2024-04-25T00:56:43.023Z] Step 9/23 : COPY . . [2024-04-25T00:56:43.982Z] ---> 144af6b7b4e7 [2024-04-25T00:56:43.982Z] Step 10/23 : RUN ${MAKE} [2024-04-25T00:56:43.982Z] ---> Running in 1ee61b97ed62 [2024-04-25T00:56:43.982Z] 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.12" -trimpath -mod=readonly -o cmd/device-modbus ./cmd [2024-04-25T00:57:16.046Z] Removing intermediate container 1ee61b97ed62 [2024-04-25T00:57:16.046Z] ---> 2c78db4bc6bc [2024-04-25T00:57:16.046Z] Step 11/23 : FROM alpine:3.18 [2024-04-25T00:57:16.046Z] 3.18: Pulling from library/alpine [2024-04-25T00:57:16.046Z] 619be1103602: Already exists [2024-04-25T00:57:16.046Z] Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 [2024-04-25T00:57:16.046Z] Status: Downloaded newer image for alpine:3.18 [2024-04-25T00:57:16.046Z] ---> d3782b16ccc9 [2024-04-25T00:57:16.046Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2024-04-25T00:57:16.046Z] ---> Running in 02839ad03918 [2024-04-25T00:57:16.046Z] Removing intermediate container 02839ad03918 [2024-04-25T00:57:16.046Z] ---> 69e29dd3a58d [2024-04-25T00:57:16.046Z] Step 13/23 : RUN apk add --update --no-cache dumb-init [2024-04-25T00:57:16.046Z] ---> Running in 63c0d8ae8cb1 [2024-04-25T00:57:16.046Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-04-25T00:57:16.046Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-04-25T00:57:16.046Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-04-25T00:57:16.046Z] Executing busybox-1.36.1-r5.trigger [2024-04-25T00:57:16.046Z] OK: 7 MiB in 16 packages [2024-04-25T00:57:16.046Z] Removing intermediate container 63c0d8ae8cb1 [2024-04-25T00:57:16.046Z] ---> 1e7d59602f8e [2024-04-25T00:57:16.046Z] Step 14/23 : RUN apk --no-cache upgrade [2024-04-25T00:57:16.046Z] ---> Running in a864c2e6347e [2024-04-25T00:57:16.046Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-04-25T00:57:16.046Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-04-25T00:57:16.046Z] Upgrading critical system libraries and apk-tools: [2024-04-25T00:57:16.046Z] (1/1) Upgrading apk-tools (2.14.0-r2 -> 2.14.4-r0) [2024-04-25T00:57:16.046Z] Executing busybox-1.36.1-r5.trigger [2024-04-25T00:57:16.046Z] Continuing the upgrade transaction with new apk-tools: [2024-04-25T00:57:16.046Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-04-25T00:57:16.046Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-04-25T00:57:16.304Z] (1/3) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) [2024-04-25T00:57:16.304Z] (2/3) Upgrading libcrypto3 (3.1.4-r5 -> 3.1.4-r6) [2024-04-25T00:57:16.304Z] (3/3) Upgrading libssl3 (3.1.4-r5 -> 3.1.4-r6) [2024-04-25T00:57:16.304Z] OK: 7 MiB in 16 packages [2024-04-25T00:57:16.870Z] Removing intermediate container a864c2e6347e [2024-04-25T00:57:16.870Z] ---> cb32cf347097 [2024-04-25T00:57:16.870Z] Step 15/23 : COPY --from=builder /device-modbus-go/cmd / [2024-04-25T00:57:18.244Z] ---> 5dd73e7e96db [2024-04-25T00:57:18.244Z] Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / [2024-04-25T00:57:18.244Z] ---> eab37de80645 [2024-04-25T00:57:18.244Z] Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / [2024-04-25T00:57:18.244Z] ---> d7b58b4a15fc [2024-04-25T00:57:18.244Z] Step 18/23 : EXPOSE 59901 [2024-04-25T00:57:18.244Z] ---> Running in 4ca49540d183 [2024-04-25T00:57:18.503Z] Removing intermediate container 4ca49540d183 [2024-04-25T00:57:18.503Z] ---> 3e6180f883a6 [2024-04-25T00:57:18.503Z] Step 19/23 : ENTRYPOINT ["/device-modbus"] [2024-04-25T00:57:18.503Z] ---> Running in 6cbc519a23bc [2024-04-25T00:57:18.503Z] Removing intermediate container 6cbc519a23bc [2024-04-25T00:57:18.503Z] ---> e7a5febf4d91 [2024-04-25T00:57:18.503Z] Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2024-04-25T00:57:18.503Z] ---> Running in fbea2952310f [2024-04-25T00:57:18.503Z] Removing intermediate container fbea2952310f [2024-04-25T00:57:18.503Z] ---> df24c09c28b1 [2024-04-25T00:57:18.503Z] Step 21/23 : LABEL arch=amd64 [2024-04-25T00:57:18.503Z] ---> Running in c70a8c9025f0 [2024-04-25T00:57:18.772Z] Removing intermediate container c70a8c9025f0 [2024-04-25T00:57:18.772Z] ---> e78c5076826f [2024-04-25T00:57:18.772Z] Step 22/23 : LABEL git_sha=a3205aff84a2ac79645a4a62bb80175eb4859498 [2024-04-25T00:57:18.772Z] ---> Running in ce19362db1d5 [2024-04-25T00:57:18.772Z] Removing intermediate container ce19362db1d5 [2024-04-25T00:57:18.772Z] ---> 153bc2f2907d [2024-04-25T00:57:18.772Z] Step 23/23 : LABEL version=0.0.0 [2024-04-25T00:57:18.772Z] ---> Running in abe2620bc69c [2024-04-25T00:57:18.772Z] Removing intermediate container abe2620bc69c [2024-04-25T00:57:18.772Z] ---> bc1c2aac44f4 [2024-04-25T00:57:18.772Z] [Warning] One or more build-args [ARCH] were not consumed [2024-04-25T00:57:18.772Z] Successfully built bc1c2aac44f4 [2024-04-25T00:57:19.032Z] 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:57:19.504Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-04-25T00:57:19.504Z] [2024-04-25T00:57:19.504Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-04-25T00:57:19.810Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-04-25T00:57:19.810Z] latest: Pulling from edgex-lftools-log-publisher [2024-04-25T00:57:19.810Z] 5eb5b503b376: Pulling fs layer [2024-04-25T00:57:19.810Z] 5c69ac0246d0: Pulling fs layer [2024-04-25T00:57:19.810Z] ec43610c2a17: Pulling fs layer [2024-04-25T00:57:19.810Z] 3a2ae6a8a46f: Pulling fs layer [2024-04-25T00:57:19.810Z] 33b1e0a273af: Pulling fs layer [2024-04-25T00:57:19.810Z] 5d3b04190fa2: Pulling fs layer [2024-04-25T00:57:19.810Z] 3a2ae6a8a46f: Waiting [2024-04-25T00:57:19.810Z] 33b1e0a273af: Waiting [2024-04-25T00:57:19.810Z] 2f39f015ded8: Pulling fs layer [2024-04-25T00:57:19.810Z] 2f39f015ded8: Waiting [2024-04-25T00:57:19.810Z] 5c69ac0246d0: Download complete [2024-04-25T00:57:19.810Z] 3a2ae6a8a46f: Verifying Checksum [2024-04-25T00:57:19.810Z] 3a2ae6a8a46f: Download complete [2024-04-25T00:57:19.810Z] 33b1e0a273af: Verifying Checksum [2024-04-25T00:57:19.810Z] 33b1e0a273af: Download complete [2024-04-25T00:57:19.810Z] 5d3b04190fa2: Verifying Checksum [2024-04-25T00:57:19.810Z] 5d3b04190fa2: Download complete [2024-04-25T00:57:19.810Z] ec43610c2a17: Verifying Checksum [2024-04-25T00:57:19.810Z] ec43610c2a17: Download complete [2024-04-25T00:57:20.069Z] 5eb5b503b376: Verifying Checksum [2024-04-25T00:57:20.069Z] 5eb5b503b376: Download complete [2024-04-25T00:57:20.633Z] 2f39f015ded8: Download complete [2024-04-25T00:57:21.197Z] 5eb5b503b376: Pull complete [2024-04-25T00:57:21.455Z] 5c69ac0246d0: Pull complete [2024-04-25T00:57:21.712Z] ec43610c2a17: Pull complete [2024-04-25T00:57:21.712Z] 3a2ae6a8a46f: Pull complete [2024-04-25T00:57:21.970Z] 33b1e0a273af: Pull complete [2024-04-25T00:57:22.229Z] 5d3b04190fa2: Pull complete [2024-04-25T00:57:26.411Z] 2f39f015ded8: Pull complete [2024-04-25T00:57:26.411Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-04-25T00:57:26.411Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-04-25T00:57:26.411Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-04-25T00:57:26.507Z] prd-ubuntu20.04-docker-8c-8g-3559 does not seem to be running inside a container [2024-04-25T00:57:26.546Z] $ 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-546 -v /w/workspace/xfoundry_device-modbus-go_PR-546:/w/workspace/xfoundry_device-modbus-go_PR-546:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-546@tmp:/w/workspace/xfoundry_device-modbus-go_PR-546@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:57:32.071Z] $ docker top a2984e701c1022204e14e049f0b8044f63e3f28ddd7984ba5c8f2fcae889e41f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-04-25T00:57:32.433Z] ---> job-cost.sh [2024-04-25T00:57:32.433Z] lf-activate-venv: SKIPPING [2024-04-25T00:57:32.433Z] INFO: No Stack... [2024-04-25T00:57:32.692Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-04-25T00:57:32.951Z] INFO: Archiving Costs [Pipeline] sh [2024-04-25T00:57:33.238Z] + cat /w/workspace/xfoundry_device-modbus-go_PR-546/archives/cost.csv [2024-04-25T00:57:33.238Z] + cut -d, -f6 [Pipeline] lock [2024-04-25T00:57:33.251Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-546-2-stack-cost] [2024-04-25T00:57:33.257Z] Resource [jenkins-edgexfoundry-device-modbus-go-PR-546-2-stack-cost] did not exist. Created. [2024-04-25T00:57:33.262Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-546-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-04-25T00:57:33.567Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-04-25T00:57:33.603Z] Stashed 1 file(s) [Pipeline] } [2024-04-25T00:57:33.610Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-546-2-stack-cost] [Pipeline] // lock [Pipeline] } [2024-04-25T00:57:33.643Z] $ docker stop --time=1 a2984e701c1022204e14e049f0b8044f63e3f28ddd7984ba5c8f2fcae889e41f [2024-04-25T00:57:34.809Z] $ docker rm -f --volumes a2984e701c1022204e14e049f0b8044f63e3f28ddd7984ba5c8f2fcae889e41f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-04-25T00:58:41.408Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-3562 in /w/workspace/xfoundry_device-modbus-go_PR-546 [Pipeline] { [Pipeline] ws [2024-04-25T00:58:41.429Z] Running in /w/workspace/device-modbus-go/2 [Pipeline] { [Pipeline] checkout [2024-04-25T00:58:44.493Z] Selected Git installation does not exist. Using Default [2024-04-25T00:58:44.493Z] The recommended git tool is: NONE [2024-04-25T00:58:50.063Z] using credential edgex-jenkins-ssh [2024-04-25T00:58:50.084Z] Cloning the remote Git repository [2024-04-25T00:58:50.136Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2024-04-25T00:58:50.256Z] > git init /w/workspace/device-modbus-go/2 # timeout=10 [2024-04-25T00:58:50.428Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2024-04-25T00:58:50.430Z] > git --version # timeout=10 [2024-04-25T00:58:50.455Z] > git --version # 'git version 2.25.1' [2024-04-25T00:58:50.458Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-04-25T00:58:50.643Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-04-25T00:58:52.693Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2024-04-25T00:58:52.716Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-04-25T00:58:54.322Z] Merging remotes/origin/main commit 56822b146883d567dc10738adb0b8ce5338db960 into PR head commit 3f7c613b0aa0c8785abd02e1ee31bb9de316262e [2024-04-25T00:58:54.684Z] Merge succeeded, producing ad34d46e241fbf1d10388b703a49f2e5148274c6 [2024-04-25T00:58:54.685Z] Checking out Revision ad34d46e241fbf1d10388b703a49f2e5148274c6 (PR-546) [2024-04-25T00:58:53.694Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2024-04-25T00:58:53.741Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2024-04-25T00:58:53.742Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-04-25T00:58:53.774Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/546/head:refs/remotes/origin/PR-546 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2024-04-25T00:58:54.346Z] > git config core.sparsecheckout # timeout=10 [2024-04-25T00:58:54.423Z] > git checkout -f 3f7c613b0aa0c8785abd02e1ee31bb9de316262e # timeout=10 [2024-04-25T00:58:54.530Z] > git remote # timeout=10 [2024-04-25T00:58:54.553Z] > git config --get remote.origin.url # timeout=10 [2024-04-25T00:58:54.570Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-04-25T00:58:54.592Z] > git merge 56822b146883d567dc10738adb0b8ce5338db960 # timeout=10 [2024-04-25T00:58:54.658Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-04-25T00:58:54.695Z] > git config core.sparsecheckout # timeout=10 [2024-04-25T00:58:54.709Z] > git checkout -f ad34d46e241fbf1d10388b703a49f2e5148274c6 # timeout=10 [2024-04-25T00:58:58.424Z] Commit message: "Merge commit '56822b146883d567dc10738adb0b8ce5338db960' into HEAD" [2024-04-25T00:58:58.437Z] > git rev-list --no-walk 3f7c613b0aa0c8785abd02e1ee31bb9de316262e # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-04-25T00:59:00.241Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-04-25T00:59:00.241Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-04-25T00:59:00.241Z] Dload Upload Total Spent Left Speed [2024-04-25T00:59:00.241Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 227k 0 --:--:-- --:--:-- --:--:-- 227k [Pipeline] sh [2024-04-25T00:59:00.569Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-04-25T00:59:00.905Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2024-04-25T00:59:00.905Z] + sudo tee /etc/docker/daemon.new [2024-04-25T00:59:00.905Z] { [2024-04-25T00:59:00.905Z] "registry-mirrors": [ [2024-04-25T00:59:00.905Z] "https://nexus3.edgexfoundry.org:10001" [2024-04-25T00:59:00.905Z] ], [2024-04-25T00:59:00.905Z] "bip": "10.250.0.254/24", [2024-04-25T00:59:00.905Z] "hosts": [ [2024-04-25T00:59:00.905Z] "tcp://0.0.0.0:5555", [2024-04-25T00:59:00.905Z] "unix:///var/run/docker.sock" [2024-04-25T00:59:00.905Z] ], [2024-04-25T00:59:00.905Z] "mtu": 1458, [2024-04-25T00:59:00.905Z] "selinux-enabled": true, [2024-04-25T00:59:00.905Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-04-25T00:59:00.905Z] } [Pipeline] sh [2024-04-25T00:59:01.248Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-04-25T00:59:01.592Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-04-25T00:59:19.911Z] provisioning config files... [2024-04-25T00:59:19.942Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/2@tmp/config8410744703335897629tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-04-25T00:59:20.412Z] ---> ****-login.sh [2024-04-25T00:59:20.412Z] nexus3.edgexfoundry.org:10001 [2024-04-25T00:59:21.009Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-04-25T00:59:21.280Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-04-25T00:59:21.280Z] Configure a credential helper to remove this warning. See [2024-04-25T00:59:21.280Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-04-25T00:59:21.280Z] [2024-04-25T00:59:21.280Z] Login Succeeded [2024-04-25T00:59:21.280Z] nexus3.edgexfoundry.org:10002 [2024-04-25T00:59:21.552Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-04-25T00:59:21.553Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-04-25T00:59:21.553Z] Configure a credential helper to remove this warning. See [2024-04-25T00:59:21.553Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-04-25T00:59:21.553Z] [2024-04-25T00:59:21.553Z] Login Succeeded [2024-04-25T00:59:21.553Z] nexus3.edgexfoundry.org:10003 [2024-04-25T00:59:21.827Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-04-25T00:59:22.102Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-04-25T00:59:22.102Z] Configure a credential helper to remove this warning. See [2024-04-25T00:59:22.102Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-04-25T00:59:22.102Z] [2024-04-25T00:59:22.102Z] Login Succeeded [2024-04-25T00:59:22.103Z] nexus3.edgexfoundry.org:10004 [2024-04-25T00:59:22.373Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-04-25T00:59:22.373Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-04-25T00:59:22.373Z] Configure a credential helper to remove this warning. See [2024-04-25T00:59:22.373Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-04-25T00:59:22.373Z] [2024-04-25T00:59:22.373Z] Login Succeeded [2024-04-25T00:59:22.373Z] ****.io [2024-04-25T00:59:22.642Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-04-25T00:59:22.911Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-04-25T00:59:22.911Z] Configure a credential helper to remove this warning. See [2024-04-25T00:59:22.911Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-04-25T00:59:22.911Z] [2024-04-25T00:59:22.911Z] Login Succeeded [2024-04-25T00:59:22.911Z] ---> ****-login.sh ends [Pipeline] } [2024-04-25T00:59:22.924Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-04-25T00:59:23.200Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-04-25T00:59:23.215Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-04-25T00:59:23.229Z] ========================================================= [2024-04-25T00:59:23.229Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2024-04-25T00:59:23.229Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-04-25T00:59:23.592Z] + 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:59:23.861Z] Sending build context to Docker daemon 8.82MB [2024-04-25T00:59:23.861Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2024-04-25T00:59:23.861Z] Step 2/10 : FROM ${BASE} AS builder [2024-04-25T00:59:24.135Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-04-25T00:59:24.135Z] c6b39de5b339: Pulling fs layer [2024-04-25T00:59:24.135Z] a69c41024577: Pulling fs layer [2024-04-25T00:59:24.135Z] d6de4b400683: Pulling fs layer [2024-04-25T00:59:24.135Z] 35cb2a7552d0: Pulling fs layer [2024-04-25T00:59:24.135Z] 4f4fb700ef54: Pulling fs layer [2024-04-25T00:59:24.135Z] 35cb2a7552d0: Waiting [2024-04-25T00:59:24.135Z] 4f4fb700ef54: Waiting [2024-04-25T00:59:24.135Z] 464afbd9ba4c: Pulling fs layer [2024-04-25T00:59:24.135Z] 00f215d4a9da: Pulling fs layer [2024-04-25T00:59:24.135Z] d496ad576159: Pulling fs layer [2024-04-25T00:59:24.135Z] 464afbd9ba4c: Waiting [2024-04-25T00:59:24.135Z] d496ad576159: Waiting [2024-04-25T00:59:24.135Z] 00f215d4a9da: Waiting [2024-04-25T00:59:24.135Z] a69c41024577: Verifying Checksum [2024-04-25T00:59:24.135Z] a69c41024577: Download complete [2024-04-25T00:59:24.135Z] 35cb2a7552d0: Verifying Checksum [2024-04-25T00:59:24.135Z] 35cb2a7552d0: Download complete [2024-04-25T00:59:24.135Z] 4f4fb700ef54: Verifying Checksum [2024-04-25T00:59:24.135Z] 4f4fb700ef54: Download complete [2024-04-25T00:59:24.408Z] 464afbd9ba4c: Download complete [2024-04-25T00:59:24.408Z] c6b39de5b339: Verifying Checksum [2024-04-25T00:59:24.408Z] c6b39de5b339: Download complete [2024-04-25T00:59:24.680Z] d496ad576159: Verifying Checksum [2024-04-25T00:59:24.680Z] d496ad576159: Download complete [2024-04-25T00:59:25.267Z] c6b39de5b339: Pull complete [2024-04-25T00:59:25.856Z] a69c41024577: Pull complete [2024-04-25T00:59:26.126Z] d6de4b400683: Verifying Checksum [2024-04-25T00:59:27.547Z] 00f215d4a9da: Verifying Checksum [2024-04-25T00:59:27.547Z] 00f215d4a9da: Download complete [2024-04-25T00:59:39.866Z] d6de4b400683: Pull complete [2024-04-25T00:59:39.866Z] 35cb2a7552d0: Pull complete [2024-04-25T00:59:39.866Z] 4f4fb700ef54: Pull complete [2024-04-25T00:59:39.866Z] 464afbd9ba4c: Pull complete [2024-04-25T00:59:48.106Z] 00f215d4a9da: Pull complete [2024-04-25T00:59:49.520Z] d496ad576159: Pull complete [2024-04-25T00:59:49.520Z] Digest: sha256:94db8a0955b4c8a8fb4ef40f1d66dd6a37c55842a5f6085bb7a69a85e2cfc316 [2024-04-25T00:59:49.520Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2024-04-25T00:59:49.520Z] ---> f246e2811388 [2024-04-25T00:59:49.520Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2024-04-25T00:59:50.944Z] ---> Running in 6a9eb26973e9 [2024-04-25T00:59:51.212Z] Removing intermediate container 6a9eb26973e9 [2024-04-25T00:59:51.212Z] ---> 9bd3a803ee60 [2024-04-25T00:59:51.212Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-04-25T00:59:51.212Z] ---> Running in d8f0366a3479 [2024-04-25T00:59:51.480Z] Removing intermediate container d8f0366a3479 [2024-04-25T00:59:51.480Z] ---> d5bd05e0d8ec [2024-04-25T00:59:51.480Z] Step 5/10 : RUN apk add --update --no-cache make git openssh [2024-04-25T00:59:51.749Z] ---> Running in fba736527bce [2024-04-25T00:59:53.210Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-04-25T00:59:53.478Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-04-25T00:59:54.442Z] (1/8) Installing openssh-keygen (9.3_p2-r1) [2024-04-25T00:59:54.442Z] (2/8) Installing libedit (20221030.3.1-r1) [2024-04-25T00:59:54.442Z] (3/8) Installing openssh-client-common (9.3_p2-r1) [2024-04-25T00:59:54.710Z] (4/8) Installing openssh-client-default (9.3_p2-r1) [2024-04-25T00:59:54.710Z] (5/8) Installing openssh-sftp-server (9.3_p2-r1) [2024-04-25T00:59:54.710Z] (6/8) Installing openssh-server-common (9.3_p2-r1) [2024-04-25T00:59:54.710Z] (7/8) Installing openssh-server (9.3_p2-r1) [2024-04-25T00:59:54.710Z] (8/8) Installing openssh (9.3_p2-r1) [2024-04-25T00:59:54.710Z] Executing busybox-1.36.1-r5.trigger [2024-04-25T00:59:54.710Z] OK: 272 MiB in 60 packages [2024-04-25T00:59:56.130Z] Removing intermediate container fba736527bce [2024-04-25T00:59:56.130Z] ---> 8b64ebb8b47c [2024-04-25T00:59:56.130Z] Step 6/10 : WORKDIR /device-modbus-go [2024-04-25T00:59:56.130Z] ---> Running in b204a98e8ff4 [2024-04-25T00:59:56.398Z] Removing intermediate container b204a98e8ff4 [2024-04-25T00:59:56.398Z] ---> bab8879f093b [2024-04-25T00:59:56.398Z] Step 7/10 : COPY go.mod vendor* ./ [2024-04-25T00:59:56.984Z] ---> 1b222186ff4a [2024-04-25T00:59:56.984Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-04-25T00:59:56.984Z] ---> Running in 2bc225ff941b [2024-04-25T01:02:03.678Z] Removing intermediate container 2bc225ff941b [2024-04-25T01:02:03.678Z] ---> 9d03e0d01e91 [2024-04-25T01:02:03.678Z] Step 9/10 : COPY . . [2024-04-25T01:02:03.678Z] ---> e42e97bcc1e1 [2024-04-25T01:02:03.678Z] Step 10/10 : RUN ${MAKE} [2024-04-25T01:02:03.678Z] ---> Running in 4495e82b1044 [2024-04-25T01:02:03.678Z] noop [2024-04-25T01:02:03.678Z] Removing intermediate container 4495e82b1044 [2024-04-25T01:02:03.678Z] ---> ec96e6312e68 [2024-04-25T01:02:03.678Z] Successfully built ec96e6312e68 [2024-04-25T01:02:03.678Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-04-25T01:02:04.050Z] + docker inspect -f . ci-base-image-arm64 [2024-04-25T01:02:04.050Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-04-25T01:02:04.286Z] prd-ubuntu20.04-docker-arm64-4c-16g-3562 does not seem to be running inside a container [2024-04-25T01:02:04.363Z] $ 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 ******** -e ******** ci-base-image-arm64 cat [2024-04-25T01:02:05.762Z] $ docker top 8e5d077a27759322e71eebbb58cd7d5f3330730027fe84486fd845eb88e8b870 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-04-25T01:02:06.649Z] + go version [2024-04-25T01:02:06.649Z] go version go1.21.9 linux/arm64 [Pipeline] } [2024-04-25T01:02:06.672Z] $ docker stop --time=1 8e5d077a27759322e71eebbb58cd7d5f3330730027fe84486fd845eb88e8b870 [2024-04-25T01:02:08.341Z] $ docker rm -f --volumes 8e5d077a27759322e71eebbb58cd7d5f3330730027fe84486fd845eb88e8b870 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-04-25T01:02:08.973Z] + docker inspect -f . ci-base-image-arm64 [2024-04-25T01:02:08.973Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-04-25T01:02:09.186Z] prd-ubuntu20.04-docker-arm64-4c-16g-3562 does not seem to be running inside a container [2024-04-25T01:02:09.264Z] $ 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 ******** -e ******** ci-base-image-arm64 cat [2024-04-25T01:02:10.580Z] $ docker top b11ac7e2408f0d7c63a1803e8be1bf29fde378ef57e114ad2a80ab9bc202420b -eo pid,comm [Pipeline] { [Pipeline] sh [2024-04-25T01:02:11.439Z] + git config --global --add safe.directory /w/workspace/device-modbus-go/2 [Pipeline] fileExists [Pipeline] sh [2024-04-25T01:02:12.838Z] + make test [2024-04-25T01:02:12.838Z] go test ./... -coverprofile=coverage.out [2024-04-25T01:02:18.178Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2024-04-25T01:05:55.899Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2024-04-25T01:05:55.899Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.079s coverage: 47.9% of statements [2024-04-25T01:05:55.899Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2024-04-25T01:05:55.899Z] go vet ./... [2024-04-25T01:06:42.835Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-04-25T01:06:42.835Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-04-25T01:06:42.836Z] ./bin/test-attribution-txt.sh [2024-04-25T01:06:42.836Z] An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add [2024-04-25T01:06:42.836Z] An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add [2024-04-25T01:06:42.836Z] An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add [2024-04-25T01:06:42.836Z] An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add [2024-04-25T01:06:42.836Z] An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add [2024-04-25T01:06:42.836Z] An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add [2024-04-25T01:06:42.836Z] An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add [2024-04-25T01:06:42.836Z] An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add [2024-04-25T01:06:42.836Z] An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add [2024-04-25T01:06:42.836Z] An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add [2024-04-25T01:06:42.836Z] An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add [2024-04-25T01:06:42.836Z] An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add [2024-04-25T01:06:42.836Z] An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add [2024-04-25T01:06:42.836Z] An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add [2024-04-25T01:06:42.836Z] An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add [2024-04-25T01:06:42.836Z] An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add [2024-04-25T01:06:42.836Z] An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add [2024-04-25T01:06:42.836Z] An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add [2024-04-25T01:06:42.836Z] An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add [2024-04-25T01:06:42.836Z] An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add [2024-04-25T01:06:42.836Z] An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add [2024-04-25T01:06:42.836Z] An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add [2024-04-25T01:06:42.836Z] An attribution for github.com/josharian/intern is missing from Attribution.txt, please add [2024-04-25T01:06:42.836Z] An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add [2024-04-25T01:06:42.836Z] An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add [2024-04-25T01:06:42.836Z] An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add [2024-04-25T01:06:42.836Z] An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add [2024-04-25T01:06:42.836Z] An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add [2024-04-25T01:06:42.836Z] An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add [2024-04-25T01:06:42.836Z] An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add [2024-04-25T01:06:42.836Z] An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add [2024-04-25T01:06:42.836Z] An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add [2024-04-25T01:06:42.836Z] An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add [2024-04-25T01:06:42.836Z] An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add [2024-04-25T01:06:42.836Z] An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add [2024-04-25T01:06:42.836Z] An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add [2024-04-25T01:06:42.836Z] An attribution for github.com/openziti/identity is missing from Attribution.txt, please add [2024-04-25T01:06:42.836Z] An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add [2024-04-25T01:06:42.836Z] An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add [2024-04-25T01:06:42.836Z] An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add [2024-04-25T01:06:42.836Z] An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add [2024-04-25T01:06:42.836Z] An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add [2024-04-25T01:06:42.836Z] An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add [2024-04-25T01:06:42.836Z] An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add [2024-04-25T01:06:42.836Z] An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add [2024-04-25T01:06:42.836Z] An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add [2024-04-25T01:06:42.836Z] An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add [2024-04-25T01:06:42.836Z] An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add [2024-04-25T01:06:42.836Z] An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add [2024-04-25T01:06:42.836Z] An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add [2024-04-25T01:06:42.836Z] An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add [2024-04-25T01:06:42.836Z] An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add [2024-04-25T01:06:42.836Z] An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add [2024-04-25T01:06:42.836Z] An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add [2024-04-25T01:06:42.836Z] An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add [2024-04-25T01:06:42.836Z] An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add [2024-04-25T01:06:42.836Z] An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add [2024-04-25T01:06:42.836Z] An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add [2024-04-25T01:06:42.836Z] An attribution for golang.org/x/term is missing from Attribution.txt, please add [2024-04-25T01:06:42.836Z] An attribution for google.golang.org/appengine is missing from Attribution.txt, please add [2024-04-25T01:06:42.836Z] An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [2024-04-25T01:06:42.836Z] An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo [2024-04-25T01:06:42.856Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-04-25T01:06:42.878Z] $ docker stop --time=1 b11ac7e2408f0d7c63a1803e8be1bf29fde378ef57e114ad2a80ab9bc202420b [2024-04-25T01:06:44.842Z] $ docker rm -f --volumes b11ac7e2408f0d7c63a1803e8be1bf29fde378ef57e114ad2a80ab9bc202420b [Pipeline] // withDockerContainer [Pipeline] sh [2024-04-25T01:06:46.421Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-04-25T01:06:46.445Z] Warning: overwriting stash ‘coverage-report’ [2024-04-25T01:06:46.906Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-04-25T01:06:47.316Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-04-25T01:06:47.633Z] + ls -al . [2024-04-25T01:06:47.633Z] total 260 [2024-04-25T01:06:47.633Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 25 01:02 . [2024-04-25T01:06:47.633Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 25 00:58 .. [2024-04-25T01:06:47.633Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 25 00:58 .dockerignore [2024-04-25T01:06:47.633Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 25 00:58 .git [2024-04-25T01:06:47.633Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 25 00:58 .github [2024-04-25T01:06:47.633Z] -rw-rw-r-- 1 jenkins jenkins 266 Apr 25 00:58 .gitignore [2024-04-25T01:06:47.633Z] -rw-rw-r-- 1 jenkins jenkins 41 Apr 25 00:58 .golangci.yml [2024-04-25T01:06:47.633Z] -rw-rw-r-- 1 jenkins jenkins 11101 Apr 25 00:58 Attribution.txt [2024-04-25T01:06:47.633Z] -rw-rw-r-- 1 jenkins jenkins 16388 Apr 25 00:58 CHANGELOG.md [2024-04-25T01:06:47.633Z] -rw-rw-r-- 1 jenkins jenkins 1474 Apr 25 00:58 Dockerfile [2024-04-25T01:06:47.633Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 25 00:58 GOVERNANCE.md [2024-04-25T01:06:47.633Z] -rw-rw-r-- 1 jenkins jenkins 658 Apr 25 00:58 Jenkinsfile [2024-04-25T01:06:47.633Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 25 00:58 LICENSE [2024-04-25T01:06:47.633Z] -rw-rw-r-- 1 jenkins jenkins 1942 Apr 25 00:58 Makefile [2024-04-25T01:06:47.633Z] -rw-rw-r-- 1 jenkins jenkins 622 Apr 25 00:58 OWNERS.md [2024-04-25T01:06:47.633Z] -rw-rw-r-- 1 jenkins jenkins 4463 Apr 25 00:58 README.md [2024-04-25T01:06:47.633Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 25 00:54 VERSION [2024-04-25T01:06:47.633Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 25 00:58 bin [2024-04-25T01:06:47.633Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 25 00:58 cmd [2024-04-25T01:06:47.633Z] -rw-r--r-- 1 jenkins jenkins 24601 Apr 25 01:05 coverage.out [2024-04-25T01:06:47.633Z] -rw-rw-r-- 1 jenkins jenkins 7289 Apr 25 00:58 go.mod [2024-04-25T01:06:47.633Z] -rw-rw-r-- 1 jenkins jenkins 101859 Apr 25 00:58 go.sum [2024-04-25T01:06:47.633Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 25 00:58 internal [2024-04-25T01:06:47.633Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 25 00:58 simulator [2024-04-25T01:06:47.633Z] -rw-rw-r-- 1 jenkins jenkins 229 Apr 25 00:58 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-04-25T01:06:47.971Z] + 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=ad34d46e241fbf1d10388b703a49f2e5148274c6 --label arch=arm64 --label version=0.0.0 . [2024-04-25T01:06:48.239Z] Sending build context to Docker daemon 8.846MB [2024-04-25T01:06:48.505Z] Step 1/23 : ARG BASE=golang:1.21-alpine3.18 [2024-04-25T01:06:48.505Z] Step 2/23 : FROM ${BASE} AS builder [2024-04-25T01:06:48.505Z] ---> ec96e6312e68 [2024-04-25T01:06:48.505Z] Step 3/23 : ARG ADD_BUILD_TAGS="" [2024-04-25T01:06:48.505Z] ---> Running in 669ee889f5e0 [2024-04-25T01:06:48.772Z] Removing intermediate container 669ee889f5e0 [2024-04-25T01:06:48.772Z] ---> ef902fa280eb [2024-04-25T01:06:48.772Z] Step 4/23 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-04-25T01:06:49.042Z] ---> Running in 86ba33c8f7f5 [2024-04-25T01:06:49.309Z] Removing intermediate container 86ba33c8f7f5 [2024-04-25T01:06:49.309Z] ---> 3e6e724122b7 [2024-04-25T01:06:49.309Z] Step 5/23 : RUN apk add --update --no-cache make git openssh [2024-04-25T01:06:49.309Z] ---> Running in f2b49cc3360f [2024-04-25T01:06:50.269Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-04-25T01:06:50.857Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-04-25T01:06:51.812Z] OK: 272 MiB in 60 packages [2024-04-25T01:06:52.770Z] Removing intermediate container f2b49cc3360f [2024-04-25T01:06:52.770Z] ---> 9a6f7df95411 [2024-04-25T01:06:52.770Z] Step 6/23 : WORKDIR /device-modbus-go [2024-04-25T01:06:52.770Z] ---> Running in c76947bac389 [2024-04-25T01:06:53.034Z] Removing intermediate container c76947bac389 [2024-04-25T01:06:53.034Z] ---> 24d418d93739 [2024-04-25T01:06:53.034Z] Step 7/23 : COPY go.mod vendor* ./ [2024-04-25T01:06:53.614Z] ---> 03e16198d765 [2024-04-25T01:06:53.614Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-04-25T01:06:53.614Z] ---> Running in 48c6a4cf794a [2024-04-25T01:06:56.187Z] Removing intermediate container 48c6a4cf794a [2024-04-25T01:06:56.187Z] ---> 91702ed0fb8b [2024-04-25T01:06:56.187Z] Step 9/23 : COPY . . [2024-04-25T01:06:57.181Z] ---> 7d8e795bb1f1 [2024-04-25T01:06:57.181Z] Step 10/23 : RUN ${MAKE} [2024-04-25T01:06:57.181Z] ---> Running in 296ac991299c [2024-04-25T01:06:58.140Z] 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.12" -trimpath -mod=readonly -o cmd/device-modbus ./cmd [2024-04-25T01:10:34.907Z] Removing intermediate container 296ac991299c [2024-04-25T01:10:34.907Z] ---> 6793dcf4a031 [2024-04-25T01:10:34.907Z] Step 11/23 : FROM alpine:3.18 [2024-04-25T01:10:34.907Z] 3.18: Pulling from library/alpine [2024-04-25T01:10:34.907Z] c6b39de5b339: Already exists [2024-04-25T01:10:34.907Z] Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 [2024-04-25T01:10:34.907Z] Status: Downloaded newer image for alpine:3.18 [2024-04-25T01:10:34.907Z] ---> 33abbf032149 [2024-04-25T01:10:34.907Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2024-04-25T01:10:34.907Z] ---> Running in 2028bfd4f997 [2024-04-25T01:10:34.907Z] Removing intermediate container 2028bfd4f997 [2024-04-25T01:10:34.907Z] ---> 43ab9bf3debc [2024-04-25T01:10:34.907Z] Step 13/23 : RUN apk add --update --no-cache dumb-init [2024-04-25T01:10:34.907Z] ---> Running in 89dc8a15f440 [2024-04-25T01:10:34.907Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-04-25T01:10:34.907Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-04-25T01:10:34.907Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-04-25T01:10:34.907Z] Executing busybox-1.36.1-r5.trigger [2024-04-25T01:10:34.907Z] OK: 8 MiB in 16 packages [2024-04-25T01:10:34.907Z] Removing intermediate container 89dc8a15f440 [2024-04-25T01:10:34.907Z] ---> ed4f6a2d5881 [2024-04-25T01:10:34.907Z] Step 14/23 : RUN apk --no-cache upgrade [2024-04-25T01:10:34.907Z] ---> Running in 845c8205980f [2024-04-25T01:10:34.907Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-04-25T01:10:34.907Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-04-25T01:10:34.907Z] Upgrading critical system libraries and apk-tools: [2024-04-25T01:10:34.907Z] (1/1) Upgrading apk-tools (2.14.0-r2 -> 2.14.4-r0) [2024-04-25T01:10:34.907Z] Executing busybox-1.36.1-r5.trigger [2024-04-25T01:10:34.907Z] Continuing the upgrade transaction with new apk-tools: [2024-04-25T01:10:34.907Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-04-25T01:10:34.907Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-04-25T01:10:34.907Z] (1/3) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) [2024-04-25T01:10:34.907Z] (2/3) Upgrading libcrypto3 (3.1.4-r5 -> 3.1.4-r6) [2024-04-25T01:10:34.907Z] (3/3) Upgrading libssl3 (3.1.4-r5 -> 3.1.4-r6) [2024-04-25T01:10:34.907Z] OK: 8 MiB in 16 packages [2024-04-25T01:10:34.907Z] Removing intermediate container 845c8205980f [2024-04-25T01:10:34.907Z] ---> 0e3f1714bf86 [2024-04-25T01:10:34.907Z] Step 15/23 : COPY --from=builder /device-modbus-go/cmd / [2024-04-25T01:10:34.907Z] ---> 5ef2dc03d5c1 [2024-04-25T01:10:34.907Z] Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / [2024-04-25T01:10:34.907Z] ---> 8acb6ca76740 [2024-04-25T01:10:34.907Z] Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / [2024-04-25T01:10:34.907Z] ---> 68c04f4375cf [2024-04-25T01:10:34.907Z] Step 18/23 : EXPOSE 59901 [2024-04-25T01:10:34.907Z] ---> Running in f325daa4a63f [2024-04-25T01:10:34.907Z] Removing intermediate container f325daa4a63f [2024-04-25T01:10:34.907Z] ---> 34789cc13464 [2024-04-25T01:10:34.907Z] Step 19/23 : ENTRYPOINT ["/device-modbus"] [2024-04-25T01:10:34.907Z] ---> Running in 6f480b452980 [2024-04-25T01:10:34.907Z] Removing intermediate container 6f480b452980 [2024-04-25T01:10:34.907Z] ---> 256f8117eaae [2024-04-25T01:10:34.907Z] Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2024-04-25T01:10:34.907Z] ---> Running in a7536ec7e0ac [2024-04-25T01:10:34.907Z] Removing intermediate container a7536ec7e0ac [2024-04-25T01:10:34.907Z] ---> f877bd987394 [2024-04-25T01:10:34.907Z] Step 21/23 : LABEL arch=arm64 [2024-04-25T01:10:34.907Z] ---> Running in 5173ea00bcfa [2024-04-25T01:10:34.907Z] Removing intermediate container 5173ea00bcfa [2024-04-25T01:10:34.907Z] ---> 1d4e122dbbf1 [2024-04-25T01:10:34.907Z] Step 22/23 : LABEL git_sha=ad34d46e241fbf1d10388b703a49f2e5148274c6 [2024-04-25T01:10:34.907Z] ---> Running in cdd384d6e20c [2024-04-25T01:10:34.907Z] Removing intermediate container cdd384d6e20c [2024-04-25T01:10:34.907Z] ---> eec46342979a [2024-04-25T01:10:34.907Z] Step 23/23 : LABEL version=0.0.0 [2024-04-25T01:10:34.907Z] ---> Running in 66e44c3da338 [2024-04-25T01:10:34.907Z] Removing intermediate container 66e44c3da338 [2024-04-25T01:10:34.907Z] ---> 3d99771bb430 [2024-04-25T01:10:34.907Z] [Warning] One or more build-args [ARCH] were not consumed [2024-04-25T01:10:35.181Z] Successfully built 3d99771bb430 [2024-04-25T01:10:35.181Z] 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:10:35.666Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-04-25T01:10:35.666Z] [2024-04-25T01:10:35.666Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-04-25T01:10:36.001Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-04-25T01:10:36.001Z] arm64: Pulling from edgex-lftools-log-publisher [2024-04-25T01:10:36.001Z] 8998bd30e6a1: Pulling fs layer [2024-04-25T01:10:36.001Z] 04944245beec: Pulling fs layer [2024-04-25T01:10:36.001Z] 699f458cf7ca: Pulling fs layer [2024-04-25T01:10:36.001Z] 765212b225bb: Pulling fs layer [2024-04-25T01:10:36.001Z] f23df028b6ca: Pulling fs layer [2024-04-25T01:10:36.001Z] d65c8cfc05b1: Pulling fs layer [2024-04-25T01:10:36.001Z] 2437ff75d9bd: Pulling fs layer [2024-04-25T01:10:36.001Z] 765212b225bb: Waiting [2024-04-25T01:10:36.001Z] f23df028b6ca: Waiting [2024-04-25T01:10:36.001Z] d65c8cfc05b1: Waiting [2024-04-25T01:10:36.001Z] 2437ff75d9bd: Waiting [2024-04-25T01:10:36.270Z] 04944245beec: Download complete [2024-04-25T01:10:36.270Z] 765212b225bb: Verifying Checksum [2024-04-25T01:10:36.270Z] 765212b225bb: Download complete [2024-04-25T01:10:36.270Z] f23df028b6ca: Verifying Checksum [2024-04-25T01:10:36.270Z] f23df028b6ca: Download complete [2024-04-25T01:10:36.270Z] d65c8cfc05b1: Verifying Checksum [2024-04-25T01:10:36.270Z] d65c8cfc05b1: Download complete [2024-04-25T01:10:36.270Z] 699f458cf7ca: Verifying Checksum [2024-04-25T01:10:36.270Z] 699f458cf7ca: Download complete [2024-04-25T01:10:36.853Z] 8998bd30e6a1: Verifying Checksum [2024-04-25T01:10:36.853Z] 8998bd30e6a1: Download complete [2024-04-25T01:10:39.428Z] 2437ff75d9bd: Verifying Checksum [2024-04-25T01:10:39.428Z] 2437ff75d9bd: Download complete [2024-04-25T01:10:41.373Z] 8998bd30e6a1: Pull complete [2024-04-25T01:10:41.953Z] 04944245beec: Pull complete [2024-04-25T01:10:43.361Z] 699f458cf7ca: Pull complete [2024-04-25T01:10:43.628Z] 765212b225bb: Pull complete [2024-04-25T01:10:44.589Z] f23df028b6ca: Pull complete [2024-04-25T01:10:44.589Z] d65c8cfc05b1: Pull complete [2024-04-25T01:11:02.778Z] 2437ff75d9bd: Pull complete [2024-04-25T01:11:02.778Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-04-25T01:11:02.778Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-04-25T01:11:02.778Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-04-25T01:11:02.986Z] prd-ubuntu20.04-docker-arm64-4c-16g-3562 does not seem to be running inside a container [2024-04-25T01:11:03.046Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2024-04-25T01:11:05.861Z] $ docker top eb1d38daa71ab966cb0b45d3b9f45cdfdb34f2109c63eb0ca5e5932c476581fd -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-04-25T01:11:06.682Z] ---> job-cost.sh [2024-04-25T01:11:06.682Z] lf-activate-venv: SKIPPING [2024-04-25T01:11:06.682Z] INFO: No Stack... [2024-04-25T01:11:07.259Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-04-25T01:11:07.836Z] INFO: Archiving Costs [Pipeline] sh [2024-04-25T01:11:08.459Z] + cat /w/workspace/device-modbus-go/2/archives/cost.csv [2024-04-25T01:11:08.459Z] + cut -d, -f6 [Pipeline] lock [2024-04-25T01:11:08.513Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-546-2-stack-cost] [2024-04-25T01:11:08.522Z] Resource [jenkins-edgexfoundry-device-modbus-go-PR-546-2-stack-cost] did not exist. Created. [2024-04-25T01:11:08.527Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-546-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-04-25T01:11:09.180Z] /w/workspace/device-modbus-go/2@tmp/durable-3953c399/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-04-25T01:11:09.812Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-04-25T01:11:09.837Z] Warning: overwriting stash ‘stack-cost’ [2024-04-25T01:11:09.885Z] Stashed 1 file(s) [Pipeline] } [2024-04-25T01:11:09.892Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-546-2-stack-cost] [Pipeline] // lock [Pipeline] } [2024-04-25T01:11:09.922Z] $ docker stop --time=1 eb1d38daa71ab966cb0b45d3b9f45cdfdb34f2109c63eb0ca5e5932c476581fd [2024-04-25T01:11:11.448Z] $ docker rm -f --volumes eb1d38daa71ab966cb0b45d3b9f45cdfdb34f2109c63eb0ca5e5932c476581fd [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:11:11.902Z] provisioning config files... [2024-04-25T01:11:11.908Z] copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-546@tmp/config1697202772428461825tmp [Pipeline] { [Pipeline] sh [2024-04-25T01:11:12.206Z] + set +x [2024-04-25T01:11:12.206Z] + curl -s https://codecov.io/bash [2024-04-25T01:11:12.206Z] + bash -s -- [2024-04-25T01:11:12.206Z] [2024-04-25T01:11:12.206Z] _____ _ [2024-04-25T01:11:12.206Z] / ____| | | [2024-04-25T01:11:12.206Z] | | ___ __| | ___ ___ _____ __ [2024-04-25T01:11:12.206Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2024-04-25T01:11:12.206Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2024-04-25T01:11:12.206Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2024-04-25T01:11:12.206Z] Bash-1.0.6 [2024-04-25T01:11:12.206Z] [2024-04-25T01:11:12.206Z] [2024-04-25T01:11:12.206Z] ==> git version 2.25.1 found [2024-04-25T01:11:12.206Z] ==> 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:11:12.206Z] Release-Date: 2020-01-08 [2024-04-25T01:11:12.206Z] 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:11:12.206Z] 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:11:12.206Z] ==> Jenkins CI detected. [2024-04-25T01:11:12.206Z] current dir:  /w/workspace/xfoundry_device-modbus-go_PR-546 [2024-04-25T01:11:12.206Z] project root: . [2024-04-25T01:11:12.206Z] --> token set from env [2024-04-25T01:11:12.206Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2024-04-25T01:11:12.206Z] ==> Running gcov in . (disable via -X gcov) [2024-04-25T01:11:12.206Z] ==> Python coveragepy not found [2024-04-25T01:11:12.206Z] ==> Searching for coverage reports in: [2024-04-25T01:11:12.206Z] + . [2024-04-25T01:11:12.465Z] -> Found 1 reports [2024-04-25T01:11:12.465Z] ==> Detecting git/mercurial file structure [2024-04-25T01:11:12.465Z] ==> Reading reports [2024-04-25T01:11:12.465Z] + ./coverage.out bytes=24601 [2024-04-25T01:11:12.465Z] ==> Appending adjustments [2024-04-25T01:11:12.465Z] https://docs.codecov.io/docs/fixing-reports [2024-04-25T01:11:12.465Z] + Found adjustments [2024-04-25T01:11:12.465Z] ==> Gzipping contents [2024-04-25T01:11:12.465Z] 4.0K /tmp/codecov.LJ35Zb.gz [2024-04-25T01:11:12.465Z] ==> Uploading reports [2024-04-25T01:11:12.465Z] url: https://codecov.io [2024-04-25T01:11:12.465Z] query: branch=PR-546&commit=a3205aff84a2ac79645a4a62bb80175eb4859498&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-546%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=546&job=&cmd_args= [2024-04-25T01:11:12.465Z] -> Pinging Codecov [2024-04-25T01:11:12.465Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-546&commit=a3205aff84a2ac79645a4a62bb80175eb4859498&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-546%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=546&job=&cmd_args= [2024-04-25T01:11:12.724Z] -> Uploading to [2024-04-25T01:11:12.725Z] https://storage.googleapis.com/codecov/v4/raw/2024-04-25/55DBCA73C666E3227836607328DD7E49/a3205aff84a2ac79645a4a62bb80175eb4859498/55680b17-7cca-4963-90e6-af34c475b8da.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240425%2Fus-west2%2Fs3%2Faws4_request&X-Amz-Date=20240425T011112Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=2dccbe03f6cdb721f52b51849f403041bb704643dcc0435d739c35042427386c [2024-04-25T01:11:12.725Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-04-25T01:11:12.725Z] Dload Upload Total Spent Left Speed [2024-04-25T01:11:12.985Z] 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 14233 --:--:-- --:--:-- --:--:-- 14180 [2024-04-25T01:11:12.985Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/a3205aff84a2ac79645a4a62bb80175eb4859498 [Pipeline] } [2024-04-25T01:11:12.992Z] 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:11:13.824Z] + [ -d /w/workspace/xfoundry_device-modbus-go_PR-546/archives ] [2024-04-25T01:11:13.824Z] + ls -al /w/workspace/xfoundry_device-modbus-go_PR-546/archives [2024-04-25T01:11:13.824Z] total 16 [2024-04-25T01:11:13.824Z] drwxr-xr-x 3 root root 4096 Apr 25 00:57 . [2024-04-25T01:11:13.824Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 25 00:57 .. [2024-04-25T01:11:13.824Z] drwxr-xr-x 2 root root 4096 Apr 25 00:57 cost [2024-04-25T01:11:13.824Z] -rw-r--r-- 1 root root 88 Apr 25 00:57 cost.csv [2024-04-25T01:11:13.824Z] + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-546/archives [2024-04-25T01:11:13.824Z] + ls -al /w/workspace/xfoundry_device-modbus-go_PR-546/archives [2024-04-25T01:11:13.824Z] total 16 [2024-04-25T01:11:13.824Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 25 00:57 . [2024-04-25T01:11:13.824Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 25 00:57 .. [2024-04-25T01:11:13.824Z] drwxr-xr-x 2 jenkins jenkins 4096 Apr 25 00:57 cost [2024-04-25T01:11:13.824Z] -rw-r--r-- 1 jenkins jenkins 88 Apr 25 00:57 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-04-25T01:11:14.115Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-04-25T01:11:14.971Z] ---> package-listing.sh [2024-04-25T01:11:14.971Z] ++ facter osfamily [2024-04-25T01:11:14.971Z] ++ tr '[:upper:]' '[:lower:]' [2024-04-25T01:11:15.231Z] + OS_FAMILY=debian [2024-04-25T01:11:15.231Z] + workspace=/w/workspace/xfoundry_device-modbus-go_PR-546 [2024-04-25T01:11:15.231Z] + START_PACKAGES=/tmp/packages_start.txt [2024-04-25T01:11:15.231Z] + END_PACKAGES=/tmp/packages_end.txt [2024-04-25T01:11:15.231Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-04-25T01:11:15.231Z] + PACKAGES=/tmp/packages_start.txt [2024-04-25T01:11:15.231Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-546 ']' [2024-04-25T01:11:15.231Z] + PACKAGES=/tmp/packages_end.txt [2024-04-25T01:11:15.231Z] + case "${OS_FAMILY}" in [2024-04-25T01:11:15.231Z] + dpkg -l [2024-04-25T01:11:15.231Z] + grep '^ii' [2024-04-25T01:11:15.231Z] + '[' -f /tmp/packages_start.txt ']' [2024-04-25T01:11:15.231Z] + '[' -f /tmp/packages_end.txt ']' [2024-04-25T01:11:15.231Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-04-25T01:11:15.231Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-546 ']' [2024-04-25T01:11:15.231Z] + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-546/archives/ [2024-04-25T01:11:15.231Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-546/archives/ [Pipeline] echo [2024-04-25T01:11:15.242Z] 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-546/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:11:15.523Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-04-25T01:11:16.091Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-04-25T01:11:16.091Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-04-25T01:11:16.166Z] prd-ubuntu20.04-docker-8c-8g-3559 does not seem to be running inside a container [2024-04-25T01:11:16.215Z] $ 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-546/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-546 -v /w/workspace/xfoundry_device-modbus-go_PR-546:/w/workspace/xfoundry_device-modbus-go_PR-546:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-546@tmp:/w/workspace/xfoundry_device-modbus-go_PR-546@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:11:16.434Z] $ docker top 262322acecdea03f7208eb4ffe1ea57922b200e822610dc9521bcd00d12c719d -eo pid,comm [Pipeline] { [Pipeline] sh [2024-04-25T01:11:16.766Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-04-25T01:11:17.050Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-04-25T01:11:17.336Z] + ls /var/log/sa-host [2024-04-25T01:11:17.336Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-04-25T01:11:17.407Z] provisioning config files... [2024-04-25T01:11:17.416Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-546@tmp/config9471968985216715400tmp [Pipeline] { [Pipeline] echo [2024-04-25T01:11:17.435Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-04-25T01:11:17.719Z] ---> create-netrc.sh [Pipeline] } [2024-04-25T01:11:17.726Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-04-25T01:11:18.195Z] ---> python-tools-install.sh [Pipeline] echo [2024-04-25T01:11:18.218Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-04-25T01:11:18.560Z] ---> sudo-logs.sh [2024-04-25T01:11:18.560Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-04-25T01:11:18.617Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-04-25T01:11:18.900Z] ---> job-cost.sh [2024-04-25T01:11:18.900Z] lf-activate-venv: SKIPPING [2024-04-25T01:11:18.900Z] DEBUG: total: 0.2199999988079071 [2024-04-25T01:11:18.900Z] INFO: Retrieving Stack Cost... [2024-04-25T01:11:19.159Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-04-25T01:11:19.729Z] INFO: Archiving Costs [Pipeline] echo [2024-04-25T01:11:19.741Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-04-25T01:11:20.024Z] ---> logs-deploy.sh [2024-04-25T01:11:20.024Z] lf-activate-venv: SKIPPING [2024-04-25T01:11:20.024Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-546/2 [2024-04-25T01:11:20.024Z] INFO: archiving workspace using pattern(s): [2024-04-25T01:11:20.962Z] Archives upload complete. [2024-04-25T01:11:20.962Z] INFO: archiving logs to Nexus