Pull request #551 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of cloudxxx8 for edgexfoundry/device-modbus-go Obtained Jenkinsfile from 5d2608996af2c122a081b3be030c03366c090752+71400dc9842281494e52a1844bb24bcb2d08fff5 (98fcbf33122baa0021014f5e44a96bf1c07ea708) 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-ssh15017293892677150643.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-ssh1087944233861558630.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 Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-551/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-551/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8818166974685106439.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-551/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh15223477663406304130.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 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh17142191745008072808.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-551/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-551/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh2466670148834109176.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-modbus-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-modbus-go-settings PROJECT: device-modbus-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-modbus DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor Running on prd-ubuntu20.04-docker-8c-8g-728 in /w/workspace/xfoundry_device-modbus-go_PR-551 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-modbus-go.git > git init /w/workspace/xfoundry_device-modbus-go_PR-551 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/551/head:refs/remotes/origin/PR-551 +refs/heads/napa:refs/remotes/origin/napa # timeout=10 Merging remotes/origin/napa commit 71400dc9842281494e52a1844bb24bcb2d08fff5 into PR head commit 5d2608996af2c122a081b3be030c03366c090752 Merge succeeded, producing 5d2608996af2c122a081b3be030c03366c090752 Checking out Revision 5d2608996af2c122a081b3be030c03366c090752 (PR-551) Commit message: "fix: Bump SDK and dependencies version" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 > git config core.sparsecheckout # timeout=10 > git checkout -f 5d2608996af2c122a081b3be030c03366c090752 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 71400dc9842281494e52a1844bb24bcb2d08fff5 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 5d2608996af2c122a081b3be030c03366c090752 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-05-13T12:54:23.366Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-05-13T12:54:23.723Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-05-13T12:54:23.996Z] ========================================================= [2024-05-13T12:54:23.997Z] EdgeX Global Pipelines Version Info [2024-05-13T12:54:23.997Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-05-13T12:54:25.596Z] ------------------- [2024-05-13T12:54:25.596Z] stable info: [2024-05-13T12:54:25.596Z] ------------------- [2024-05-13T12:54:25.596Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2024-05-13T12:54:25.596Z] Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2024-05-13T12:54:25.596Z] Message: update stable to v1.0.258 [2024-05-13T12:54:25.857Z] ------------------- [2024-05-13T12:54:25.857Z] experimental info: [2024-05-13T12:54:25.857Z] ------------------- [2024-05-13T12:54:25.857Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2024-05-13T12:54:25.857Z] Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2024-05-13T12:54:25.857Z] Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-05-13T12:54:26.077Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo [2024-05-13T12:54:26.145Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo [2024-05-13T12:54:26.207Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-05-13T12:54:26.273Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-05-13T12:54:26.392Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-05-13T12:54:26.576Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2024-05-13T12:54:26.640Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-05-13T12:54:26.697Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2024-05-13T12:54:26.757Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-05-13T12:54:26.852Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-05-13T12:54:26.913Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-05-13T12:54:26.977Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo [2024-05-13T12:54:27.033Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-05-13T12:54:27.096Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-05-13T12:54:27.162Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-05-13T12:54:27.264Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2024-05-13T12:54:27.327Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-05-13T12:54:27.397Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-05-13T12:54:27.471Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-05-13T12:54:27.529Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-05-13T12:54:27.600Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2024-05-13T12:54:27.662Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2024-05-13T12:54:27.725Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-05-13T12:54:27.788Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-05-13T12:54:27.852Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-05-13T12:54:27.917Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-05-13T12:54:27.979Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-05-13T12:54:28.049Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-551 [Pipeline] echo [2024-05-13T12:54:28.113Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-551 [Pipeline] echo [2024-05-13T12:54:28.254Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-551 [Pipeline] echo [2024-05-13T12:54:28.318Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 5d2608996af2c122a081b3be030c03366c090752 [Pipeline] echo [2024-05-13T12:54:28.379Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 5d26089 [Pipeline] echo [2024-05-13T12:54:28.439Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-05-13T12:54:28.616Z] provisioning config files... [2024-05-13T12:54:28.842Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-551@tmp/config15826765105843439755tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-05-13T12:54:29.247Z] ---> ****-login.sh [2024-05-13T12:54:29.247Z] nexus3.edgexfoundry.org:10001 [2024-05-13T12:54:29.508Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-13T12:54:29.508Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-13T12:54:29.508Z] Configure a credential helper to remove this warning. See [2024-05-13T12:54:29.508Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-13T12:54:29.508Z] [2024-05-13T12:54:29.508Z] Login Succeeded [2024-05-13T12:54:29.508Z] nexus3.edgexfoundry.org:10002 [2024-05-13T12:54:29.508Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-13T12:54:29.508Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-13T12:54:29.508Z] Configure a credential helper to remove this warning. See [2024-05-13T12:54:29.508Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-13T12:54:29.508Z] [2024-05-13T12:54:29.508Z] Login Succeeded [2024-05-13T12:54:29.508Z] nexus3.edgexfoundry.org:10003 [2024-05-13T12:54:29.797Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-13T12:54:29.797Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-13T12:54:29.797Z] Configure a credential helper to remove this warning. See [2024-05-13T12:54:29.797Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-13T12:54:29.797Z] [2024-05-13T12:54:29.797Z] Login Succeeded [2024-05-13T12:54:29.797Z] nexus3.edgexfoundry.org:10004 [2024-05-13T12:54:29.797Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-13T12:54:29.798Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-13T12:54:29.798Z] Configure a credential helper to remove this warning. See [2024-05-13T12:54:29.798Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-13T12:54:29.798Z] [2024-05-13T12:54:29.798Z] Login Succeeded [2024-05-13T12:54:29.798Z] ****.io [2024-05-13T12:54:29.798Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-13T12:54:30.059Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-13T12:54:30.059Z] Configure a credential helper to remove this warning. See [2024-05-13T12:54:30.059Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-13T12:54:30.059Z] [2024-05-13T12:54:30.059Z] Login Succeeded [2024-05-13T12:54:30.059Z] ---> ****-login.sh ends [Pipeline] } [2024-05-13T12:54:30.090Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-05-13T12:54:30.820Z] + git rev-list -1 --merges 5d2608996af2c122a081b3be030c03366c090752~1..5d2608996af2c122a081b3be030c03366c090752 [Pipeline] echo [2024-05-13T12:54:31.025Z] -----------> git rev-list -1 --merges 5d2608996af2c122a081b3be030c03366c090752~1..5d2608996af2c122a081b3be030c03366c090752 5d2608996af2c122a081b3be030c03366c090752 [false] [Pipeline] sh [2024-05-13T12:54:31.350Z] + git log --format=format:%s -1 5d2608996af2c122a081b3be030c03366c090752 [Pipeline] echo [2024-05-13T12:54:31.393Z] ========================================================= [2024-05-13T12:54:31.393Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-05-13T12:54:31.393Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-05-13T12:54:31.876Z] + git log --format=format:%s -1 5d2608996af2c122a081b3be030c03366c090752 [Pipeline] echo [2024-05-13T12:54:31.923Z] [semverPrep] GIT_COMMIT: 5d2608996af2c122a081b3be030c03366c090752, Commit Message: fix: Bump SDK and dependencies version [Pipeline] echo [2024-05-13T12:54:31.970Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-05-13T12:54:32.469Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-05-13T12:54:32.469Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-05-13T12:54:32.469Z] + [ -e /tmp/ssh_known_hosts ] [2024-05-13T12:54:32.469Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-05-13T12:54:32.469Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-05-13T12:54:32.469Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2024-05-13T12:54:32.469Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-13T12:54:32.926Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-05-13T12:54:32.926Z] [2024-05-13T12:54:32.926Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-13T12:54:33.451Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-05-13T12:54:33.451Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-05-13T12:54:33.451Z] b85a868b505f: Pulling fs layer [2024-05-13T12:54:33.451Z] e2be974225ed: Pulling fs layer [2024-05-13T12:54:33.451Z] 339a4e72a1f5: Pulling fs layer [2024-05-13T12:54:33.451Z] 988bab9f4d93: Pulling fs layer [2024-05-13T12:54:33.451Z] 1469e6f7b9e6: Pulling fs layer [2024-05-13T12:54:33.451Z] eaf3925da568: Pulling fs layer [2024-05-13T12:54:33.451Z] bab4dde63d76: Pulling fs layer [2024-05-13T12:54:33.451Z] bde34c3a00c8: Pulling fs layer [2024-05-13T12:54:33.451Z] b352a97aabf1: Pulling fs layer [2024-05-13T12:54:33.451Z] 4872d77fe225: Pulling fs layer [2024-05-13T12:54:33.451Z] 5851b861e8e6: Pulling fs layer [2024-05-13T12:54:33.451Z] bab4dde63d76: Waiting [2024-05-13T12:54:33.451Z] bde34c3a00c8: Waiting [2024-05-13T12:54:33.451Z] b352a97aabf1: Waiting [2024-05-13T12:54:33.451Z] 988bab9f4d93: Waiting [2024-05-13T12:54:33.451Z] 4872d77fe225: Waiting [2024-05-13T12:54:33.451Z] 5851b861e8e6: Waiting [2024-05-13T12:54:33.451Z] 1469e6f7b9e6: Waiting [2024-05-13T12:54:33.451Z] eaf3925da568: Waiting [2024-05-13T12:54:33.451Z] e2be974225ed: Download complete [2024-05-13T12:54:33.451Z] 988bab9f4d93: Verifying Checksum [2024-05-13T12:54:33.451Z] 988bab9f4d93: Download complete [2024-05-13T12:54:33.451Z] 1469e6f7b9e6: Verifying Checksum [2024-05-13T12:54:33.451Z] 1469e6f7b9e6: Download complete [2024-05-13T12:54:33.451Z] 339a4e72a1f5: Verifying Checksum [2024-05-13T12:54:33.451Z] 339a4e72a1f5: Download complete [2024-05-13T12:54:33.713Z] eaf3925da568: Verifying Checksum [2024-05-13T12:54:33.713Z] eaf3925da568: Download complete [2024-05-13T12:54:33.713Z] bde34c3a00c8: Download complete [2024-05-13T12:54:33.713Z] b352a97aabf1: Download complete [2024-05-13T12:54:33.713Z] 4872d77fe225: Download complete [2024-05-13T12:54:33.713Z] 5851b861e8e6: Verifying Checksum [2024-05-13T12:54:33.713Z] 5851b861e8e6: Download complete [2024-05-13T12:54:33.713Z] b85a868b505f: Verifying Checksum [2024-05-13T12:54:33.713Z] b85a868b505f: Download complete [2024-05-13T12:54:33.972Z] bab4dde63d76: Verifying Checksum [2024-05-13T12:54:33.972Z] bab4dde63d76: Download complete [2024-05-13T12:54:34.908Z] b85a868b505f: Pull complete [2024-05-13T12:54:35.167Z] e2be974225ed: Pull complete [2024-05-13T12:54:35.427Z] 339a4e72a1f5: Pull complete [2024-05-13T12:54:35.687Z] 988bab9f4d93: Pull complete [2024-05-13T12:54:35.945Z] 1469e6f7b9e6: Pull complete [2024-05-13T12:54:35.945Z] eaf3925da568: Pull complete [2024-05-13T12:54:37.847Z] bab4dde63d76: Pull complete [2024-05-13T12:54:37.847Z] bde34c3a00c8: Pull complete [2024-05-13T12:54:37.847Z] b352a97aabf1: Pull complete [2024-05-13T12:54:37.847Z] 4872d77fe225: Pull complete [2024-05-13T12:54:37.847Z] 5851b861e8e6: Pull complete [2024-05-13T12:54:37.847Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-05-13T12:54:37.847Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-05-13T12:54:37.847Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-13T12:54:38.209Z] prd-ubuntu20.04-docker-8c-8g-728 does not seem to be running inside a container [2024-05-13T12:54:38.248Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-551 -v /w/workspace/xfoundry_device-modbus-go_PR-551:/w/workspace/xfoundry_device-modbus-go_PR-551:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-551@tmp:/w/workspace/xfoundry_device-modbus-go_PR-551@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-05-13T12:54:44.426Z] $ docker top 5221c5449f4546288905c30e8fefbad70dca19115ad599abc58f5efa149caee5 -eo pid,comm [2024-05-13T12:54:44.481Z] 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-05-13T12:54:44.481Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-05-13T12:54:44.651Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-05-13T12:54:44.651Z] [ssh-agent] Looking for ssh-agent implementation... [2024-05-13T12:54:44.772Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-05-13T12:54:44.778Z] $ docker exec 5221c5449f4546288905c30e8fefbad70dca19115ad599abc58f5efa149caee5 ssh-agent [2024-05-13T12:54:44.899Z] SSH_AUTH_SOCK=/tmp/ssh-kJXOBUoUeJAT/agent.32 [2024-05-13T12:54:44.899Z] SSH_AGENT_PID=38 [2024-05-13T12:54:44.905Z] Running ssh-add (command line suppressed) [2024-05-13T12:54:44.999Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-551@tmp/private_key_5308994323386267473.key (/w/workspace/xfoundry_device-modbus-go_PR-551@tmp/private_key_5308994323386267473.key) [2024-05-13T12:54:45.010Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-05-13T12:54:45.357Z] + git tag --points-at HEAD [Pipeline] } [2024-05-13T12:54:45.387Z] $ docker exec --env ******** --env ******** 5221c5449f4546288905c30e8fefbad70dca19115ad599abc58f5efa149caee5 ssh-agent -k [2024-05-13T12:54:45.489Z] unset SSH_AUTH_SOCK; [2024-05-13T12:54:45.489Z] unset SSH_AGENT_PID; [2024-05-13T12:54:45.489Z] echo Agent pid 38 killed; [2024-05-13T12:54:45.496Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-05-13T12:54:45.771Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-05-13T12:54:45.771Z] [ssh-agent] Looking for ssh-agent implementation... [2024-05-13T12:54:45.888Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-05-13T12:54:45.894Z] $ docker exec 5221c5449f4546288905c30e8fefbad70dca19115ad599abc58f5efa149caee5 ssh-agent [2024-05-13T12:54:45.991Z] SSH_AUTH_SOCK=/tmp/ssh-DvUqJ11WwsQE/agent.71 [2024-05-13T12:54:45.991Z] SSH_AGENT_PID=77 [2024-05-13T12:54:45.998Z] Running ssh-add (command line suppressed) [2024-05-13T12:54:46.110Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-551@tmp/private_key_762733747540429258.key (/w/workspace/xfoundry_device-modbus-go_PR-551@tmp/private_key_762733747540429258.key) [2024-05-13T12:54:46.121Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-05-13T12:54:46.482Z] + git semver init [2024-05-13T12:54:46.742Z] 2024-05-13 12:54:46,662 [run_init] DEBUG init version:0.0.0 force:False [2024-05-13T12:54:46.742Z] 2024-05-13 12:54:46,662 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-modbus-go_PR-551/.semver [2024-05-13T12:54:46.742Z] 2024-05-13 12:54:46,663 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/xfoundry_device-modbus-go_PR-551/.semver [2024-05-13T12:54:46.742Z] 2024-05-13 12:54:46,663 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/xfoundry_device-modbus-go_PR-551/.semver'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-551, universal_newlines=False, shell=None, istream=None) [2024-05-13T12:54:48.123Z] 2024-05-13 12:54:47,717 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-modbus-go_PR-551/.git/info/exclude [2024-05-13T12:54:48.123Z] 2024-05-13 12:54:47,717 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-modbus-go_PR-551/.semver/PR-551 with force:False [2024-05-13T12:54:48.123Z] 2024-05-13 12:54:47,717 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-modbus-go_PR-551/.semver/PR-551 [2024-05-13T12:54:48.123Z] 2024-05-13 12:54:47,721 [execute] INFO git cat-file --batch-check [2024-05-13T12:54:48.123Z] 2024-05-13 12:54:47,721 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-551/.semver, universal_newlines=False, shell=None, istream=) [2024-05-13T12:54:48.123Z] 2024-05-13 12:54:47,725 [execute] INFO git cat-file --batch [2024-05-13T12:54:48.123Z] 2024-05-13 12:54:47,726 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-551/.semver, universal_newlines=False, shell=None, istream=) [2024-05-13T12:54:48.123Z] 2024-05-13 12:54:47,730 [read_version] DEBUG read version from /w/workspace/xfoundry_device-modbus-go_PR-551/.semver/PR-551 [2024-05-13T12:54:48.123Z] 0.0.0 [Pipeline] } [2024-05-13T12:54:48.228Z] $ docker exec --env ******** --env ******** 5221c5449f4546288905c30e8fefbad70dca19115ad599abc58f5efa149caee5 ssh-agent -k [2024-05-13T12:54:48.310Z] unset SSH_AUTH_SOCK; [2024-05-13T12:54:48.310Z] unset SSH_AGENT_PID; [2024-05-13T12:54:48.310Z] echo Agent pid 77 killed; [2024-05-13T12:54:48.317Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-05-13T12:54:48.873Z] + git semver [Pipeline] } [2024-05-13T12:54:49.164Z] $ docker stop --time=1 5221c5449f4546288905c30e8fefbad70dca19115ad599abc58f5efa149caee5 [2024-05-13T12:54:50.449Z] $ docker rm -f --volumes 5221c5449f4546288905c30e8fefbad70dca19115ad599abc58f5efa149caee5 [Pipeline] // withDockerContainer [Pipeline] sh [2024-05-13T12:54:50.968Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-05-13T12:54:51.331Z] Stashed 1 file(s) [Pipeline] echo [2024-05-13T12:54:51.356Z] [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-05-13T12:54:52.257Z] provisioning config files... [2024-05-13T12:54:52.267Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-551@tmp/config4728778788879485479tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-05-13T12:54:52.632Z] ---> ****-login.sh [2024-05-13T12:54:52.632Z] nexus3.edgexfoundry.org:10001 [2024-05-13T12:54:52.632Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-13T12:54:52.632Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-13T12:54:52.632Z] Configure a credential helper to remove this warning. See [2024-05-13T12:54:52.632Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-13T12:54:52.632Z] [2024-05-13T12:54:52.632Z] Login Succeeded [2024-05-13T12:54:52.632Z] nexus3.edgexfoundry.org:10002 [2024-05-13T12:54:52.632Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-13T12:54:52.632Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-13T12:54:52.632Z] Configure a credential helper to remove this warning. See [2024-05-13T12:54:52.632Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-13T12:54:52.632Z] [2024-05-13T12:54:52.632Z] Login Succeeded [2024-05-13T12:54:52.632Z] nexus3.edgexfoundry.org:10003 [2024-05-13T12:54:52.891Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-13T12:54:52.891Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-13T12:54:52.892Z] Configure a credential helper to remove this warning. See [2024-05-13T12:54:52.892Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-13T12:54:52.892Z] [2024-05-13T12:54:52.892Z] Login Succeeded [2024-05-13T12:54:52.892Z] nexus3.edgexfoundry.org:10004 [2024-05-13T12:54:52.892Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-13T12:54:52.892Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-13T12:54:52.892Z] Configure a credential helper to remove this warning. See [2024-05-13T12:54:52.892Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-13T12:54:52.892Z] [2024-05-13T12:54:52.892Z] Login Succeeded [2024-05-13T12:54:52.892Z] ****.io [2024-05-13T12:54:52.892Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-13T12:54:53.152Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-13T12:54:53.152Z] Configure a credential helper to remove this warning. See [2024-05-13T12:54:53.152Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-13T12:54:53.152Z] [2024-05-13T12:54:53.152Z] Login Succeeded [2024-05-13T12:54:53.153Z] ---> ****-login.sh ends [Pipeline] } [2024-05-13T12:54:53.206Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-05-13T12:54:53.507Z] [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] sh [2024-05-13T12:54:53.841Z] + + grep ^go [0-9].[0-9]* go.mod [2024-05-13T12:54:53.841Z] cut -d -f 2 [Pipeline] echo [2024-05-13T12:54:53.967Z] [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-05-13T12:54:54.015Z] ========================================================= [2024-05-13T12:54:54.015Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.21-alpine-lts] [2024-05-13T12:54:54.015Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-13T12:54:54.599Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.21-alpine-lts --build-arg MAKE=echo noop --target=builder . [2024-05-13T12:54:54.870Z] Sending build context to Docker daemon 48.81MB [2024-05-13T12:54:54.870Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2024-05-13T12:54:54.870Z] Step 2/10 : FROM ${BASE} AS builder [2024-05-13T12:54:55.130Z] 1.21-alpine-lts: Pulling from edgex-devops/edgex-golang-base [2024-05-13T12:54:55.130Z] 619be1103602: Pulling fs layer [2024-05-13T12:54:55.130Z] 7862e08f4a3e: Pulling fs layer [2024-05-13T12:54:55.130Z] 5df492c9dc93: Pulling fs layer [2024-05-13T12:54:55.130Z] 7629e6793208: Pulling fs layer [2024-05-13T12:54:55.130Z] 4f4fb700ef54: Pulling fs layer [2024-05-13T12:54:55.130Z] 8de7f028bff5: Pulling fs layer [2024-05-13T12:54:55.130Z] 44042ff1420b: Pulling fs layer [2024-05-13T12:54:55.130Z] 7629e6793208: Waiting [2024-05-13T12:54:55.130Z] 5cdaf54b7214: Pulling fs layer [2024-05-13T12:54:55.130Z] 4f4fb700ef54: Waiting [2024-05-13T12:54:55.130Z] 44042ff1420b: Waiting [2024-05-13T12:54:55.130Z] 8de7f028bff5: Waiting [2024-05-13T12:54:55.130Z] 38f3e5a9071a: Pulling fs layer [2024-05-13T12:54:55.130Z] 5cdaf54b7214: Waiting [2024-05-13T12:54:55.130Z] 7862e08f4a3e: Download complete [2024-05-13T12:54:55.130Z] 7629e6793208: Verifying Checksum [2024-05-13T12:54:55.130Z] 7629e6793208: Download complete [2024-05-13T12:54:55.130Z] 4f4fb700ef54: Verifying Checksum [2024-05-13T12:54:55.130Z] 4f4fb700ef54: Download complete [2024-05-13T12:54:55.130Z] 619be1103602: Verifying Checksum [2024-05-13T12:54:55.130Z] 619be1103602: Download complete [2024-05-13T12:54:55.130Z] 8de7f028bff5: Verifying Checksum [2024-05-13T12:54:55.130Z] 8de7f028bff5: Download complete [2024-05-13T12:54:55.130Z] 44042ff1420b: Verifying Checksum [2024-05-13T12:54:55.130Z] 44042ff1420b: Download complete [2024-05-13T12:54:55.389Z] 619be1103602: Pull complete [2024-05-13T12:54:55.389Z] 38f3e5a9071a: Verifying Checksum [2024-05-13T12:54:55.389Z] 38f3e5a9071a: Download complete [2024-05-13T12:54:55.390Z] 7862e08f4a3e: Pull complete [2024-05-13T12:54:55.652Z] 5df492c9dc93: Verifying Checksum [2024-05-13T12:54:55.653Z] 5df492c9dc93: Download complete [2024-05-13T12:54:56.220Z] 5cdaf54b7214: Verifying Checksum [2024-05-13T12:54:56.220Z] 5cdaf54b7214: Download complete [2024-05-13T12:54:59.508Z] 5df492c9dc93: Pull complete [2024-05-13T12:54:59.508Z] 7629e6793208: Pull complete [2024-05-13T12:54:59.508Z] 4f4fb700ef54: Pull complete [2024-05-13T12:54:59.508Z] 8de7f028bff5: Pull complete [2024-05-13T12:54:59.508Z] 44042ff1420b: Pull complete [2024-05-13T12:55:02.050Z] 5cdaf54b7214: Pull complete [2024-05-13T12:55:02.050Z] 38f3e5a9071a: Pull complete [2024-05-13T12:55:02.313Z] Digest: sha256:d452b7c9dc822626b28f2158ccf3bbf04957b0b2ad14062d8ea2b98b8d6f5c64 [2024-05-13T12:55:02.313Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.21-alpine-lts [2024-05-13T12:55:02.313Z] ---> 60b93f829570 [2024-05-13T12:55:02.313Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2024-05-13T12:55:06.915Z] Still waiting to schedule task [2024-05-13T12:55:06.916Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2024-05-13T12:55:17.212Z] ---> Running in a4b7d7c9a19c [2024-05-13T12:55:17.212Z] Removing intermediate container a4b7d7c9a19c [2024-05-13T12:55:17.212Z] ---> 28f681e3bc35 [2024-05-13T12:55:17.212Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-05-13T12:55:17.212Z] ---> Running in 6841cd895121 [2024-05-13T12:55:17.212Z] Removing intermediate container 6841cd895121 [2024-05-13T12:55:17.212Z] ---> 5e72eca8dff3 [2024-05-13T12:55:17.212Z] Step 5/10 : RUN apk add --update --no-cache make git openssh [2024-05-13T12:55:17.212Z] ---> Running in 3dd3a17bbc3b [2024-05-13T12:55:17.212Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-05-13T12:55:17.212Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-05-13T12:55:17.212Z] (1/8) Installing openssh-keygen (9.3_p2-r1) [2024-05-13T12:55:17.212Z] (2/8) Installing libedit (20221030.3.1-r1) [2024-05-13T12:55:17.212Z] (3/8) Installing openssh-client-common (9.3_p2-r1) [2024-05-13T12:55:17.212Z] (4/8) Installing openssh-client-default (9.3_p2-r1) [2024-05-13T12:55:17.212Z] (5/8) Installing openssh-sftp-server (9.3_p2-r1) [2024-05-13T12:55:17.212Z] (6/8) Installing openssh-server-common (9.3_p2-r1) [2024-05-13T12:55:17.212Z] (7/8) Installing openssh-server (9.3_p2-r1) [2024-05-13T12:55:17.212Z] (8/8) Installing openssh (9.3_p2-r1) [2024-05-13T12:55:17.212Z] Executing busybox-1.36.1-r5.trigger [2024-05-13T12:55:17.212Z] OK: 270 MiB in 60 packages [2024-05-13T12:55:19.124Z] Removing intermediate container 3dd3a17bbc3b [2024-05-13T12:55:19.124Z] ---> de65022be08f [2024-05-13T12:55:19.124Z] Step 6/10 : WORKDIR /device-modbus-go [2024-05-13T12:55:19.124Z] ---> Running in bce05b1995a5 [2024-05-13T12:55:20.063Z] Removing intermediate container bce05b1995a5 [2024-05-13T12:55:20.063Z] ---> 230f1dfcfc20 [2024-05-13T12:55:20.063Z] Step 7/10 : COPY go.mod vendor* ./ [2024-05-13T12:55:24.256Z] ---> 99d69cafba39 [2024-05-13T12:55:24.256Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-05-13T12:55:24.256Z] ---> Running in 9cbf97a085bf [2024-05-13T12:56:03.015Z] Removing intermediate container 9cbf97a085bf [2024-05-13T12:56:03.015Z] ---> b9d430cfb9d4 [2024-05-13T12:56:03.015Z] Step 9/10 : COPY . . [2024-05-13T12:56:03.015Z] ---> 1634bbb571d2 [2024-05-13T12:56:03.015Z] Step 10/10 : RUN ${MAKE} [2024-05-13T12:56:03.015Z] ---> Running in 14bd98b0c596 [2024-05-13T12:56:03.015Z] noop [2024-05-13T12:56:03.015Z] Removing intermediate container 14bd98b0c596 [2024-05-13T12:56:03.015Z] ---> fa06226092d4 [2024-05-13T12:56:03.015Z] Successfully built fa06226092d4 [2024-05-13T12:56:03.276Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-13T12:56:03.865Z] + docker inspect -f . ci-base-image-x86_64 [2024-05-13T12:56:03.865Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-13T12:56:04.087Z] prd-ubuntu20.04-docker-8c-8g-728 does not seem to be running inside a container [2024-05-13T12:56:04.118Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-551 -v /w/workspace/xfoundry_device-modbus-go_PR-551:/w/workspace/xfoundry_device-modbus-go_PR-551:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-551@tmp:/w/workspace/xfoundry_device-modbus-go_PR-551@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-05-13T12:56:04.516Z] $ docker top 37c3cc9de34ed41f4470c3e18f5474b6ea20d65548dd7954df7bc5013d7f30f2 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-05-13T12:56:04.968Z] + go version [2024-05-13T12:56:04.968Z] go version go1.21.9 linux/amd64 [Pipeline] } [2024-05-13T12:56:05.005Z] $ docker stop --time=1 37c3cc9de34ed41f4470c3e18f5474b6ea20d65548dd7954df7bc5013d7f30f2 [2024-05-13T12:56:06.479Z] $ docker rm -f --volumes 37c3cc9de34ed41f4470c3e18f5474b6ea20d65548dd7954df7bc5013d7f30f2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-13T12:56:07.347Z] + docker inspect -f . ci-base-image-x86_64 [2024-05-13T12:56:07.347Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-13T12:56:07.523Z] prd-ubuntu20.04-docker-8c-8g-728 does not seem to be running inside a container [2024-05-13T12:56:07.559Z] $ 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-551 -v /w/workspace/xfoundry_device-modbus-go_PR-551:/w/workspace/xfoundry_device-modbus-go_PR-551:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-551@tmp:/w/workspace/xfoundry_device-modbus-go_PR-551@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-05-13T12:56:07.959Z] $ docker top f263288c68599b7047754b839c42b658f293f3846c62fd50250d431cd46b7a4f -eo pid,comm [Pipeline] { [Pipeline] sh [2024-05-13T12:56:08.392Z] + git config --global --add safe.directory /w/workspace/xfoundry_device-modbus-go_PR-551 [Pipeline] fileExists [Pipeline] sh [2024-05-13T12:56:08.782Z] + make test [2024-05-13T12:56:08.782Z] go test ./... -coverprofile=coverage.out [2024-05-13T12:56:10.164Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2024-05-13T12:56:20.142Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2024-05-13T12:56:20.142Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.011s coverage: 47.9% of statements [2024-05-13T12:56:26.703Z] go vet ./... [2024-05-13T12:56:29.240Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-05-13T12:56:29.240Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-05-13T12:56:29.240Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2024-05-13T12:56:29.300Z] [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] fileExists [Pipeline] sh [2024-05-13T12:56:29.683Z] + go mod tidy [Pipeline] } [2024-05-13T12:56:29.966Z] $ docker stop --time=1 f263288c68599b7047754b839c42b658f293f3846c62fd50250d431cd46b7a4f [2024-05-13T12:56:33.949Z] $ docker rm -f --volumes f263288c68599b7047754b839c42b658f293f3846c62fd50250d431cd46b7a4f [Pipeline] // withDockerContainer [Pipeline] sh [2024-05-13T12:56:34.502Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-05-13T12:56:34.615Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2024-05-13T12:56:35.473Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-05-13T12:56:35.789Z] + ls -al . [2024-05-13T12:56:35.789Z] total 196 [2024-05-13T12:56:35.790Z] drwxrwxr-x 10 jenkins jenkins 4096 May 13 12:56 . [2024-05-13T12:56:35.790Z] drwxrwxr-x 4 jenkins jenkins 4096 May 13 12:54 .. [2024-05-13T12:56:35.790Z] -rw-rw-r-- 1 jenkins jenkins 140 May 13 12:54 .dockerignore [2024-05-13T12:56:35.790Z] drwxrwxr-x 8 jenkins jenkins 4096 May 13 12:56 .git [2024-05-13T12:56:35.790Z] drwxrwxr-x 3 jenkins jenkins 4096 May 13 12:54 .github [2024-05-13T12:56:35.790Z] -rw-rw-r-- 1 jenkins jenkins 258 May 13 12:54 .gitignore [2024-05-13T12:56:35.790Z] -rw-rw-r-- 1 jenkins jenkins 41 May 13 12:54 .golangci.yml [2024-05-13T12:56:35.790Z] drwxr-xr-x 3 jenkins jenkins 4096 May 13 12:54 .semver [2024-05-13T12:56:35.790Z] -rw-rw-r-- 1 jenkins jenkins 11120 May 13 12:54 Attribution.txt [2024-05-13T12:56:35.790Z] -rw-rw-r-- 1 jenkins jenkins 16388 May 13 12:54 CHANGELOG.md [2024-05-13T12:56:35.790Z] -rw-rw-r-- 1 jenkins jenkins 1474 May 13 12:54 Dockerfile [2024-05-13T12:56:35.790Z] -rw-rw-r-- 1 jenkins jenkins 677 May 13 12:54 GOVERNANCE.md [2024-05-13T12:56:35.790Z] -rw-rw-r-- 1 jenkins jenkins 658 May 13 12:54 Jenkinsfile [2024-05-13T12:56:35.790Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 13 12:54 LICENSE [2024-05-13T12:56:35.790Z] -rw-rw-r-- 1 jenkins jenkins 1936 May 13 12:54 Makefile [2024-05-13T12:56:35.790Z] -rw-rw-r-- 1 jenkins jenkins 622 May 13 12:54 OWNERS.md [2024-05-13T12:56:35.790Z] -rw-rw-r-- 1 jenkins jenkins 4463 May 13 12:54 README.md [2024-05-13T12:56:35.790Z] -rw-rw-r-- 1 jenkins jenkins 5 May 13 12:54 VERSION [2024-05-13T12:56:35.790Z] drwxrwxr-x 2 jenkins jenkins 4096 May 13 12:54 bin [2024-05-13T12:56:35.790Z] drwxrwxr-x 3 jenkins jenkins 4096 May 13 12:54 cmd [2024-05-13T12:56:35.790Z] -rw-r--r-- 1 jenkins jenkins 24334 May 13 12:56 coverage.out [2024-05-13T12:56:35.790Z] -rw-rw-r-- 1 jenkins jenkins 3865 May 13 12:54 go.mod [2024-05-13T12:56:35.790Z] -rw-rw-r-- 1 jenkins jenkins 34537 May 13 12:54 go.sum [2024-05-13T12:56:35.790Z] drwxrwxr-x 3 jenkins jenkins 4096 May 13 12:54 internal [2024-05-13T12:56:35.790Z] drwxrwxr-x 2 jenkins jenkins 4096 May 13 12:54 simulator [2024-05-13T12:56:35.790Z] drwxrwxr-x 6 jenkins jenkins 4096 May 13 12:54 vendor [2024-05-13T12:56:35.790Z] -rw-rw-r-- 1 jenkins jenkins 229 May 13 12:54 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-13T12:56:36.300Z] + 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=5d2608996af2c122a081b3be030c03366c090752 --label arch=amd64 --label version=0.0.0 . [2024-05-13T12:56:36.566Z] Sending build context to Docker daemon 48.84MB [2024-05-13T12:56:36.566Z] Step 1/23 : ARG BASE=golang:1.21-alpine3.18 [2024-05-13T12:56:36.566Z] Step 2/23 : FROM ${BASE} AS builder [2024-05-13T12:56:36.566Z] ---> fa06226092d4 [2024-05-13T12:56:36.566Z] Step 3/23 : ARG ADD_BUILD_TAGS="" [2024-05-13T12:56:37.503Z] ---> Running in 01c65c78c770 [2024-05-13T12:56:37.503Z] Removing intermediate container 01c65c78c770 [2024-05-13T12:56:37.503Z] ---> 1f85368008f1 [2024-05-13T12:56:37.503Z] Step 4/23 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-05-13T12:56:37.503Z] ---> Running in 7c1bed121778 [2024-05-13T12:56:37.503Z] Removing intermediate container 7c1bed121778 [2024-05-13T12:56:37.503Z] ---> 4a90ca882768 [2024-05-13T12:56:37.503Z] Step 5/23 : RUN apk add --update --no-cache make git openssh [2024-05-13T12:56:37.503Z] ---> Running in 1fd2f64e4753 [2024-05-13T12:56:37.761Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-05-13T12:56:38.330Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-05-13T12:56:38.591Z] OK: 270 MiB in 60 packages [2024-05-13T12:56:38.851Z] Removing intermediate container 1fd2f64e4753 [2024-05-13T12:56:38.851Z] ---> ea75e918d681 [2024-05-13T12:56:38.851Z] Step 6/23 : WORKDIR /device-modbus-go [2024-05-13T12:56:38.851Z] ---> Running in 9489f8436d58 [2024-05-13T12:56:38.851Z] Removing intermediate container 9489f8436d58 [2024-05-13T12:56:38.851Z] ---> 8f93a62f023e [2024-05-13T12:56:38.851Z] Step 7/23 : COPY go.mod vendor* ./ [2024-05-13T12:56:40.837Z] ---> d5ba15958d17 [2024-05-13T12:56:40.837Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-05-13T12:56:40.837Z] ---> Running in ad28cc5d737d [2024-05-13T12:56:41.100Z] skipping... [2024-05-13T12:56:41.361Z] Removing intermediate container ad28cc5d737d [2024-05-13T12:56:41.361Z] ---> d7de7eae5ca1 [2024-05-13T12:56:41.361Z] Step 9/23 : COPY . . [2024-05-13T12:56:44.821Z] ---> e6e024433aec [2024-05-13T12:56:44.821Z] Step 10/23 : RUN ${MAKE} [2024-05-13T12:56:44.821Z] ---> Running in 52dfd6feacf9 [2024-05-13T12:56:44.821Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.1" -trimpath -mod=readonly -o cmd/device-modbus ./cmd [2024-05-13T12:56:49.126Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-730 in /w/workspace/xfoundry_device-modbus-go_PR-551 [Pipeline] { [Pipeline] ws [2024-05-13T12:56:49.207Z] Running in /w/workspace/device-modbus-go/1 [Pipeline] { [Pipeline] checkout [2024-05-13T12:56:52.429Z] The recommended git tool is: git [2024-05-13T12:56:56.830Z] using credential edgex-jenkins-ssh [2024-05-13T12:56:56.852Z] Cloning the remote Git repository [2024-05-13T12:56:56.893Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2024-05-13T12:56:56.982Z] > git init /w/workspace/device-modbus-go/1 # timeout=10 [2024-05-13T12:56:57.126Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2024-05-13T12:56:57.127Z] > git --version # timeout=10 [2024-05-13T12:56:57.147Z] > git --version # 'git version 2.25.1' [2024-05-13T12:56:57.149Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-05-13T12:56:57.279Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-05-13T12:56:59.059Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2024-05-13T12:56:59.085Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-05-13T12:56:59.905Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2024-05-13T12:56:59.951Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2024-05-13T12:56:59.952Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-05-13T12:56:59.975Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/551/head:refs/remotes/origin/PR-551 +refs/heads/napa:refs/remotes/origin/napa # timeout=10 [2024-05-13T12:57:01.421Z] Merging remotes/origin/napa commit 71400dc9842281494e52a1844bb24bcb2d08fff5 into PR head commit 5d2608996af2c122a081b3be030c03366c090752 [2024-05-13T12:57:01.439Z] > git config core.sparsecheckout # timeout=10 [2024-05-13T12:57:01.515Z] > git checkout -f 5d2608996af2c122a081b3be030c03366c090752 # timeout=10 [2024-05-13T12:57:02.406Z] > git remote # timeout=10 [2024-05-13T12:57:02.425Z] > git config --get remote.origin.url # timeout=10 [2024-05-13T12:57:02.443Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-05-13T12:57:02.471Z] > git merge 71400dc9842281494e52a1844bb24bcb2d08fff5 # timeout=10 [2024-05-13T12:57:02.500Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-05-13T12:57:02.527Z] Merge succeeded, producing 5d2608996af2c122a081b3be030c03366c090752 [2024-05-13T12:57:02.528Z] Checking out Revision 5d2608996af2c122a081b3be030c03366c090752 (PR-551) [2024-05-13T12:57:03.548Z] Commit message: "fix: Bump SDK and dependencies version" [2024-05-13T12:57:03.593Z] > git --version # timeout=10 [2024-05-13T12:57:03.604Z] > git --version # 'git version 2.25.1' [2024-05-13T12:57:03.624Z] fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2024-05-13T12:57:02.532Z] > git config core.sparsecheckout # timeout=10 [2024-05-13T12:57:02.551Z] > git checkout -f 5d2608996af2c122a081b3be030c03366c090752 # timeout=10 [2024-05-13T12:57:06.743Z] Removing intermediate container 52dfd6feacf9 [2024-05-13T12:57:06.743Z] ---> f301d5b05196 [2024-05-13T12:57:06.743Z] Step 11/23 : FROM alpine:3.18 [2024-05-13T12:57:06.743Z] 3.18: Pulling from library/alpine [2024-05-13T12:57:06.743Z] 619be1103602: Already exists [2024-05-13T12:57:06.743Z] Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 [2024-05-13T12:57:06.743Z] Status: Downloaded newer image for alpine:3.18 [2024-05-13T12:57:06.743Z] ---> d3782b16ccc9 [2024-05-13T12:57:06.743Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2024-05-13T12:57:06.743Z] ---> Running in 0b6d2f3a8d59 [2024-05-13T12:57:06.743Z] Removing intermediate container 0b6d2f3a8d59 [2024-05-13T12:57:06.743Z] ---> ce09fd9c1fc3 [2024-05-13T12:57:06.743Z] Step 13/23 : RUN apk add --update --no-cache dumb-init [2024-05-13T12:57:06.743Z] ---> Running in 0285eae067e5 [2024-05-13T12:57:06.743Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-05-13T12:57:06.743Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-05-13T12:57:06.743Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-05-13T12:57:06.743Z] Executing busybox-1.36.1-r5.trigger [2024-05-13T12:57:06.743Z] OK: 7 MiB in 16 packages [2024-05-13T12:57:07.005Z] Removing intermediate container 0285eae067e5 [2024-05-13T12:57:07.005Z] ---> 323cfd02f3ee [2024-05-13T12:57:07.005Z] Step 14/23 : RUN apk --no-cache upgrade [2024-05-13T12:57:07.005Z] ---> Running in 9c1ed752a752 [2024-05-13T12:57:07.264Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-05-13T12:57:07.264Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-05-13T12:57:07.524Z] Upgrading critical system libraries and apk-tools: [2024-05-13T12:57:07.524Z] (1/1) Upgrading apk-tools (2.14.0-r2 -> 2.14.4-r0) [2024-05-13T12:57:07.524Z] Executing busybox-1.36.1-r5.trigger [2024-05-13T12:57:07.524Z] Continuing the upgrade transaction with new apk-tools: [2024-05-13T12:57:07.524Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-05-13T12:57:07.524Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [2024-05-13T12:57:07.788Z] (1/3) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) [2024-05-13T12:57:07.788Z] (2/3) Upgrading libcrypto3 (3.1.4-r5 -> 3.1.4-r6) [2024-05-13T12:57:07.788Z] (3/3) Upgrading libssl3 (3.1.4-r5 -> 3.1.4-r6) [2024-05-13T12:57:07.788Z] OK: 7 MiB in 16 packages [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-05-13T12:57:08.357Z] Removing intermediate container 9c1ed752a752 [2024-05-13T12:57:08.357Z] ---> ed8891427066 [2024-05-13T12:57:08.357Z] Step 15/23 : COPY --from=builder /device-modbus-go/cmd / [2024-05-13T12:57:08.480Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-05-13T12:57:08.480Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-05-13T12:57:08.480Z] Dload Upload Total Spent Left Speed [2024-05-13T12:57:08.480Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 99441 0 --:--:-- --:--:-- --:--:-- 99441 [Pipeline] sh [2024-05-13T12:57:08.822Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-05-13T12:57:09.170Z] + + sudo teesudo /etc/docker/daemon.new jq [2024-05-13T12:57:09.170Z] . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2024-05-13T12:57:09.170Z] { [2024-05-13T12:57:09.170Z] "registry-mirrors": [ [2024-05-13T12:57:09.170Z] "https://nexus3.edgexfoundry.org:10001" [2024-05-13T12:57:09.170Z] ], [2024-05-13T12:57:09.170Z] "bip": "10.250.0.254/24", [2024-05-13T12:57:09.170Z] "hosts": [ [2024-05-13T12:57:09.170Z] "tcp://0.0.0.0:5555", [2024-05-13T12:57:09.170Z] "unix:///var/run/docker.sock" [2024-05-13T12:57:09.170Z] ], [2024-05-13T12:57:09.170Z] "mtu": 1458, [2024-05-13T12:57:09.170Z] "selinux-enabled": true, [2024-05-13T12:57:09.170Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-05-13T12:57:09.170Z] } [Pipeline] sh [2024-05-13T12:57:09.543Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-05-13T12:57:09.828Z] ---> dcc320af1e62 [2024-05-13T12:57:09.828Z] Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / [2024-05-13T12:57:09.828Z] ---> 77eb264a2eb9 [2024-05-13T12:57:09.828Z] Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / [2024-05-13T12:57:09.828Z] ---> 961d0b08a192 [2024-05-13T12:57:09.828Z] Step 18/23 : EXPOSE 59901 [2024-05-13T12:57:09.828Z] ---> Running in 2a845123aa74 [2024-05-13T12:57:09.828Z] Removing intermediate container 2a845123aa74 [2024-05-13T12:57:09.828Z] ---> ed6a31fc0b18 [2024-05-13T12:57:09.828Z] Step 19/23 : ENTRYPOINT ["/device-modbus"] [2024-05-13T12:57:09.828Z] ---> Running in 82610a99d9a6 [2024-05-13T12:57:09.905Z] + sudo service docker restart [2024-05-13T12:57:10.089Z] Removing intermediate container 82610a99d9a6 [2024-05-13T12:57:10.089Z] ---> bf66d303acfa [2024-05-13T12:57:10.089Z] Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2024-05-13T12:57:10.089Z] ---> Running in ac3b4b8bef2d [2024-05-13T12:57:10.089Z] Removing intermediate container ac3b4b8bef2d [2024-05-13T12:57:10.089Z] ---> 4f5d33667ad6 [2024-05-13T12:57:10.089Z] Step 21/23 : LABEL arch=amd64 [2024-05-13T12:57:10.089Z] ---> Running in ac0525672923 [2024-05-13T12:57:10.089Z] Removing intermediate container ac0525672923 [2024-05-13T12:57:10.089Z] ---> 2fe30678047e [2024-05-13T12:57:10.089Z] Step 22/23 : LABEL git_sha=5d2608996af2c122a081b3be030c03366c090752 [2024-05-13T12:57:10.089Z] ---> Running in 52addcf3d3e8 [2024-05-13T12:57:10.089Z] Removing intermediate container 52addcf3d3e8 [2024-05-13T12:57:10.089Z] ---> 282af07e3b7c [2024-05-13T12:57:10.089Z] Step 23/23 : LABEL version=0.0.0 [2024-05-13T12:57:10.348Z] ---> Running in b444c3844634 [2024-05-13T12:57:10.348Z] Removing intermediate container b444c3844634 [2024-05-13T12:57:10.348Z] ---> 5c07dff7fd70 [2024-05-13T12:57:10.348Z] [Warning] One or more build-args [ARCH] were not consumed [2024-05-13T12:57:10.348Z] Successfully built 5c07dff7fd70 [2024-05-13T12:57:10.348Z] Successfully tagged device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-13T12:57:11.490Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-05-13T12:57:11.490Z] [2024-05-13T12:57:11.490Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-13T12:57:11.917Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-05-13T12:57:11.917Z] latest: Pulling from edgex-lftools-log-publisher [2024-05-13T12:57:11.917Z] 5eb5b503b376: Pulling fs layer [2024-05-13T12:57:11.917Z] 5c69ac0246d0: Pulling fs layer [2024-05-13T12:57:11.917Z] ec43610c2a17: Pulling fs layer [2024-05-13T12:57:11.917Z] 3a2ae6a8a46f: Pulling fs layer [2024-05-13T12:57:11.917Z] 33b1e0a273af: Pulling fs layer [2024-05-13T12:57:11.917Z] 5d3b04190fa2: Pulling fs layer [2024-05-13T12:57:11.917Z] 2f39f015ded8: Pulling fs layer [2024-05-13T12:57:11.917Z] 3a2ae6a8a46f: Waiting [2024-05-13T12:57:11.917Z] 33b1e0a273af: Waiting [2024-05-13T12:57:11.917Z] 5d3b04190fa2: Waiting [2024-05-13T12:57:11.917Z] 2f39f015ded8: Waiting [2024-05-13T12:57:11.917Z] 5c69ac0246d0: Verifying Checksum [2024-05-13T12:57:11.917Z] 5c69ac0246d0: Download complete [2024-05-13T12:57:11.917Z] 3a2ae6a8a46f: Download complete [2024-05-13T12:57:11.917Z] 33b1e0a273af: Download complete [2024-05-13T12:57:11.917Z] 5d3b04190fa2: Verifying Checksum [2024-05-13T12:57:11.917Z] 5d3b04190fa2: Download complete [2024-05-13T12:57:11.917Z] ec43610c2a17: Verifying Checksum [2024-05-13T12:57:11.917Z] ec43610c2a17: Download complete [2024-05-13T12:57:12.175Z] 5eb5b503b376: Verifying Checksum [2024-05-13T12:57:12.741Z] 2f39f015ded8: Download complete [2024-05-13T12:57:13.307Z] 5eb5b503b376: Pull complete [2024-05-13T12:57:13.307Z] 5c69ac0246d0: Pull complete [2024-05-13T12:57:13.877Z] ec43610c2a17: Pull complete [2024-05-13T12:57:13.877Z] 3a2ae6a8a46f: Pull complete [2024-05-13T12:57:14.137Z] 33b1e0a273af: Pull complete [2024-05-13T12:57:14.137Z] 5d3b04190fa2: Pull complete [2024-05-13T12:57:18.328Z] 2f39f015ded8: Pull complete [2024-05-13T12:57:18.328Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-05-13T12:57:18.328Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-05-13T12:57:18.328Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-13T12:57:18.618Z] prd-ubuntu20.04-docker-8c-8g-728 does not seem to be running inside a container [2024-05-13T12:57:18.646Z] $ 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-551 -v /w/workspace/xfoundry_device-modbus-go_PR-551:/w/workspace/xfoundry_device-modbus-go_PR-551:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-551@tmp:/w/workspace/xfoundry_device-modbus-go_PR-551@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-05-13T12:57:26.862Z] $ docker top 2b8db4750bb35ca68277e6093125e799a1fe538f5c9faaecf84bce48031ee316 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-05-13T12:57:27.361Z] ---> job-cost.sh [2024-05-13T12:57:27.361Z] lf-activate-venv: SKIPPING [2024-05-13T12:57:27.361Z] INFO: No Stack... [2024-05-13T12:57:27.621Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-05-13T12:57:27.881Z] INFO: Archiving Costs [Pipeline] sh [Pipeline] withEnv [2024-05-13T12:57:28.201Z] + cat /w/workspace/xfoundry_device-modbus-go_PR-551/archives/cost.csv [2024-05-13T12:57:28.201Z] + cut -d, -f6 [Pipeline] { [Pipeline] lock [2024-05-13T12:57:28.337Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-modbus-go-PR-551-1-stack-cost] [2024-05-13T12:57:28.343Z] Resource [jenkins-edgexfoundry-device-modbus-go-PR-551-1-stack-cost] did not exist. Created. [2024-05-13T12:57:28.348Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-modbus-go-PR-551-1-stack-cost] [Pipeline] { [Pipeline] configFileProvider [2024-05-13T12:57:28.383Z] provisioning config files... [2024-05-13T12:57:28.415Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/1@tmp/config2939108842626411307tmp [Pipeline] unstash [Pipeline] { [Pipeline] sh [Pipeline] libraryResource [Pipeline] sh [2024-05-13T12:57:28.879Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-05-13T12:57:28.960Z] Stashed 1 file(s) [Pipeline] } [2024-05-13T12:57:29.016Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-modbus-go-PR-551-1-stack-cost] [2024-05-13T12:57:29.053Z] ---> ****-login.sh [2024-05-13T12:57:29.053Z] nexus3.edgexfoundry.org:10001 [Pipeline] // lock [Pipeline] } [2024-05-13T12:57:29.147Z] $ docker stop --time=1 2b8db4750bb35ca68277e6093125e799a1fe538f5c9faaecf84bce48031ee316 [2024-05-13T12:57:29.325Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-13T12:57:29.595Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-13T12:57:29.595Z] Configure a credential helper to remove this warning. See [2024-05-13T12:57:29.595Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-13T12:57:29.595Z] [2024-05-13T12:57:29.595Z] Login Succeeded [2024-05-13T12:57:29.595Z] nexus3.edgexfoundry.org:10002 [2024-05-13T12:57:29.862Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-13T12:57:30.132Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-13T12:57:30.132Z] Configure a credential helper to remove this warning. See [2024-05-13T12:57:30.132Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-13T12:57:30.132Z] [2024-05-13T12:57:30.132Z] Login Succeeded [2024-05-13T12:57:30.132Z] nexus3.edgexfoundry.org:10003 [2024-05-13T12:57:30.132Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-13T12:57:30.296Z] $ docker rm -f --volumes 2b8db4750bb35ca68277e6093125e799a1fe538f5c9faaecf84bce48031ee316 [2024-05-13T12:57:30.401Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-13T12:57:30.401Z] Configure a credential helper to remove this warning. See [2024-05-13T12:57:30.402Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-13T12:57:30.402Z] [2024-05-13T12:57:30.402Z] Login Succeeded [2024-05-13T12:57:30.402Z] nexus3.edgexfoundry.org:10004 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [2024-05-13T12:57:30.667Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-13T12:57:30.667Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-13T12:57:30.667Z] Configure a credential helper to remove this warning. See [2024-05-13T12:57:30.667Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-13T12:57:30.667Z] [2024-05-13T12:57:30.667Z] Login Succeeded [2024-05-13T12:57:30.667Z] ****.io [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-05-13T12:57:30.935Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-13T12:57:31.203Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-13T12:57:31.203Z] Configure a credential helper to remove this warning. See [2024-05-13T12:57:31.203Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-13T12:57:31.203Z] [2024-05-13T12:57:31.203Z] Login Succeeded [2024-05-13T12:57:31.203Z] ---> ****-login.sh ends [Pipeline] } [2024-05-13T12:57:31.238Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-05-13T12:57:31.696Z] [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] sh [2024-05-13T12:57:32.045Z] + grep ^go [0-9].[0-9]* go.mod [2024-05-13T12:57:32.045Z] + cut -d -f 2 [Pipeline] echo [2024-05-13T12:57:32.125Z] [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-05-13T12:57:32.182Z] ========================================================= [2024-05-13T12:57:32.182Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.21-alpine-lts] [2024-05-13T12:57:32.182Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-13T12:57:32.727Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.21-alpine-lts --build-arg MAKE=echo noop --target=builder . [2024-05-13T12:57:35.319Z] Sending build context to Docker daemon 40.26MB [2024-05-13T12:57:35.319Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2024-05-13T12:57:35.319Z] Step 2/10 : FROM ${BASE} AS builder [2024-05-13T12:57:35.319Z] 1.21-alpine-lts: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-05-13T12:57:35.319Z] c6b39de5b339: Pulling fs layer [2024-05-13T12:57:35.319Z] a69c41024577: Pulling fs layer [2024-05-13T12:57:35.319Z] d6de4b400683: Pulling fs layer [2024-05-13T12:57:35.319Z] 35cb2a7552d0: Pulling fs layer [2024-05-13T12:57:35.319Z] 4f4fb700ef54: Pulling fs layer [2024-05-13T12:57:35.319Z] 9e011611b7f5: Pulling fs layer [2024-05-13T12:57:35.319Z] 3bd174042beb: Pulling fs layer [2024-05-13T12:57:35.319Z] 4476f39b5e91: Pulling fs layer [2024-05-13T12:57:35.319Z] 35cb2a7552d0: Waiting [2024-05-13T12:57:35.319Z] 4f4fb700ef54: Waiting [2024-05-13T12:57:35.319Z] 9e011611b7f5: Waiting [2024-05-13T12:57:35.319Z] 3bd174042beb: Waiting [2024-05-13T12:57:35.319Z] 4476f39b5e91: Waiting [2024-05-13T12:57:35.319Z] a69c41024577: Verifying Checksum [2024-05-13T12:57:35.319Z] a69c41024577: Download complete [2024-05-13T12:57:35.319Z] 35cb2a7552d0: Verifying Checksum [2024-05-13T12:57:35.319Z] 35cb2a7552d0: Download complete [2024-05-13T12:57:35.319Z] 4f4fb700ef54: Verifying Checksum [2024-05-13T12:57:35.319Z] 4f4fb700ef54: Download complete [2024-05-13T12:57:35.319Z] 9e011611b7f5: Verifying Checksum [2024-05-13T12:57:35.319Z] 9e011611b7f5: Download complete [2024-05-13T12:57:35.319Z] c6b39de5b339: Verifying Checksum [2024-05-13T12:57:35.319Z] c6b39de5b339: Download complete [2024-05-13T12:57:35.587Z] 4476f39b5e91: Verifying Checksum [2024-05-13T12:57:35.587Z] 4476f39b5e91: Download complete [2024-05-13T12:57:36.170Z] c6b39de5b339: Pull complete [2024-05-13T12:57:36.753Z] a69c41024577: Pull complete [2024-05-13T12:57:37.019Z] d6de4b400683: Verifying Checksum [2024-05-13T12:57:37.019Z] d6de4b400683: Download complete [2024-05-13T12:57:38.427Z] 3bd174042beb: Verifying Checksum [2024-05-13T12:57:38.427Z] 3bd174042beb: Download complete [2024-05-13T12:57:50.732Z] d6de4b400683: Pull complete [2024-05-13T12:57:50.732Z] 35cb2a7552d0: Pull complete [2024-05-13T12:57:50.732Z] 4f4fb700ef54: Pull complete [2024-05-13T12:57:50.732Z] 9e011611b7f5: Pull complete [2024-05-13T12:57:58.950Z] 3bd174042beb: Pull complete [2024-05-13T12:58:00.899Z] 4476f39b5e91: Pull complete [2024-05-13T12:58:00.899Z] Digest: sha256:3ff92c4bac7a686c9bee1a691493ca45b01f27f0008dd3b8e347e1ca93528f02 [2024-05-13T12:58:00.899Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.21-alpine-lts [2024-05-13T12:58:00.899Z] ---> 981a0608b64a [2024-05-13T12:58:00.899Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2024-05-13T12:58:02.845Z] ---> Running in 24394f11e104 [2024-05-13T12:58:02.845Z] Removing intermediate container 24394f11e104 [2024-05-13T12:58:02.845Z] ---> b8393026525d [2024-05-13T12:58:02.845Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-05-13T12:58:03.113Z] ---> Running in 3151bad8777c [2024-05-13T12:58:03.385Z] Removing intermediate container 3151bad8777c [2024-05-13T12:58:03.385Z] ---> 5cae32cf7219 [2024-05-13T12:58:03.385Z] Step 5/10 : RUN apk add --update --no-cache make git openssh [2024-05-13T12:58:03.385Z] ---> Running in 59e1fcd6cfcf [2024-05-13T12:58:04.794Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-05-13T12:58:05.060Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-05-13T12:58:06.020Z] (1/8) Installing openssh-keygen (9.3_p2-r1) [2024-05-13T12:58:06.020Z] (2/8) Installing libedit (20221030.3.1-r1) [2024-05-13T12:58:06.020Z] (3/8) Installing openssh-client-common (9.3_p2-r1) [2024-05-13T12:58:06.020Z] (4/8) Installing openssh-client-default (9.3_p2-r1) [2024-05-13T12:58:06.020Z] (5/8) Installing openssh-sftp-server (9.3_p2-r1) [2024-05-13T12:58:06.020Z] (6/8) Installing openssh-server-common (9.3_p2-r1) [2024-05-13T12:58:06.020Z] (7/8) Installing openssh-server (9.3_p2-r1) [2024-05-13T12:58:06.020Z] (8/8) Installing openssh (9.3_p2-r1) [2024-05-13T12:58:06.020Z] Executing busybox-1.36.1-r5.trigger [2024-05-13T12:58:06.020Z] OK: 272 MiB in 60 packages [2024-05-13T12:58:07.441Z] Removing intermediate container 59e1fcd6cfcf [2024-05-13T12:58:07.441Z] ---> 5b30c0cf22bb [2024-05-13T12:58:07.441Z] Step 6/10 : WORKDIR /device-modbus-go [2024-05-13T12:58:07.441Z] ---> Running in feb4839068f6 [2024-05-13T12:58:07.441Z] Removing intermediate container feb4839068f6 [2024-05-13T12:58:07.441Z] ---> ad6e086b34c2 [2024-05-13T12:58:07.441Z] Step 7/10 : COPY go.mod vendor* ./ [2024-05-13T12:58:14.086Z] ---> 8bf2d8884c52 [2024-05-13T12:58:14.086Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-05-13T12:58:14.086Z] ---> Running in 7971e3e483d4 [2024-05-13T12:59:10.484Z] Removing intermediate container 7971e3e483d4 [2024-05-13T12:59:10.484Z] ---> 30584bb71205 [2024-05-13T12:59:10.484Z] Step 9/10 : COPY . . [2024-05-13T12:59:13.074Z] ---> a65a8b2afac4 [2024-05-13T12:59:13.074Z] Step 10/10 : RUN ${MAKE} [2024-05-13T12:59:13.345Z] ---> Running in 9539b4d9ea1b [2024-05-13T12:59:14.307Z] noop [2024-05-13T12:59:14.892Z] Removing intermediate container 9539b4d9ea1b [2024-05-13T12:59:14.892Z] ---> fe1dd922e797 [2024-05-13T12:59:15.158Z] Successfully built fe1dd922e797 [2024-05-13T12:59:15.158Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-13T12:59:15.684Z] + docker inspect -f . ci-base-image-arm64 [2024-05-13T12:59:15.684Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-13T12:59:15.984Z] prd-ubuntu20.04-docker-arm64-4c-16g-730 does not seem to be running inside a container [2024-05-13T12:59:16.054Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-05-13T12:59:17.277Z] $ docker top c91748892270062664070d1298f36879c4b89d0bbd93fdbeb682b1deaaf51342 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-05-13T12:59:18.197Z] + go version [2024-05-13T12:59:18.197Z] go version go1.21.9 linux/arm64 [Pipeline] } [2024-05-13T12:59:18.308Z] $ docker stop --time=1 c91748892270062664070d1298f36879c4b89d0bbd93fdbeb682b1deaaf51342 [2024-05-13T12:59:19.917Z] $ docker rm -f --volumes c91748892270062664070d1298f36879c4b89d0bbd93fdbeb682b1deaaf51342 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-13T12:59:20.865Z] + docker inspect -f . ci-base-image-arm64 [2024-05-13T12:59:20.865Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-13T12:59:21.143Z] prd-ubuntu20.04-docker-arm64-4c-16g-730 does not seem to be running inside a container [2024-05-13T12:59:21.193Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-05-13T12:59:22.382Z] $ docker top 7f357f0ff08f7304e5db4c7a819e0d3162bc10458614c5e1330cd8d3e0d0ad61 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-05-13T12:59:23.386Z] + git config --global --add safe.directory /w/workspace/device-modbus-go/1 [Pipeline] fileExists [Pipeline] sh [2024-05-13T12:59:23.903Z] + make test [2024-05-13T12:59:23.903Z] go test ./... -coverprofile=coverage.out [2024-05-13T12:59:27.290Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2024-05-13T13:01:18.981Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2024-05-13T13:01:18.981Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.079s coverage: 47.9% of statements [2024-05-13T13:01:19.562Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2024-05-13T13:01:19.562Z] go vet ./... [2024-05-13T13:01:51.834Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-05-13T13:01:51.834Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-05-13T13:01:51.834Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2024-05-13T13:01:51.887Z] [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] fileExists [Pipeline] sh [2024-05-13T13:01:52.632Z] + go mod tidy [Pipeline] } [2024-05-13T13:01:56.003Z] $ docker stop --time=1 7f357f0ff08f7304e5db4c7a819e0d3162bc10458614c5e1330cd8d3e0d0ad61 [2024-05-13T13:01:57.830Z] $ docker rm -f --volumes 7f357f0ff08f7304e5db4c7a819e0d3162bc10458614c5e1330cd8d3e0d0ad61 [Pipeline] // withDockerContainer [Pipeline] sh [2024-05-13T13:01:59.277Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-05-13T13:01:59.326Z] Warning: overwriting stash ‘coverage-report’ [2024-05-13T13:02:00.171Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-05-13T13:02:00.844Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-05-13T13:02:01.195Z] + ls -al . [2024-05-13T13:02:01.195Z] total 192 [2024-05-13T13:02:01.195Z] drwxrwxr-x 9 jenkins jenkins 4096 May 13 12:59 . [2024-05-13T13:02:01.195Z] drwxrwxr-x 4 jenkins jenkins 4096 May 13 12:56 .. [2024-05-13T13:02:01.195Z] -rw-rw-r-- 1 jenkins jenkins 140 May 13 12:57 .dockerignore [2024-05-13T13:02:01.195Z] drwxrwxr-x 8 jenkins jenkins 4096 May 13 12:57 .git [2024-05-13T13:02:01.195Z] drwxrwxr-x 3 jenkins jenkins 4096 May 13 12:57 .github [2024-05-13T13:02:01.195Z] -rw-rw-r-- 1 jenkins jenkins 258 May 13 12:57 .gitignore [2024-05-13T13:02:01.195Z] -rw-rw-r-- 1 jenkins jenkins 41 May 13 12:57 .golangci.yml [2024-05-13T13:02:01.195Z] -rw-rw-r-- 1 jenkins jenkins 11120 May 13 12:57 Attribution.txt [2024-05-13T13:02:01.195Z] -rw-rw-r-- 1 jenkins jenkins 16388 May 13 12:57 CHANGELOG.md [2024-05-13T13:02:01.195Z] -rw-rw-r-- 1 jenkins jenkins 1474 May 13 12:57 Dockerfile [2024-05-13T13:02:01.195Z] -rw-rw-r-- 1 jenkins jenkins 677 May 13 12:57 GOVERNANCE.md [2024-05-13T13:02:01.195Z] -rw-rw-r-- 1 jenkins jenkins 658 May 13 12:57 Jenkinsfile [2024-05-13T13:02:01.195Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 13 12:57 LICENSE [2024-05-13T13:02:01.195Z] -rw-rw-r-- 1 jenkins jenkins 1936 May 13 12:57 Makefile [2024-05-13T13:02:01.195Z] -rw-rw-r-- 1 jenkins jenkins 622 May 13 12:57 OWNERS.md [2024-05-13T13:02:01.195Z] -rw-rw-r-- 1 jenkins jenkins 4463 May 13 12:57 README.md [2024-05-13T13:02:01.195Z] -rw-rw-r-- 1 jenkins jenkins 5 May 13 12:54 VERSION [2024-05-13T13:02:01.195Z] drwxrwxr-x 2 jenkins jenkins 4096 May 13 12:57 bin [2024-05-13T13:02:01.195Z] drwxrwxr-x 3 jenkins jenkins 4096 May 13 12:57 cmd [2024-05-13T13:02:01.195Z] -rw-r--r-- 1 jenkins jenkins 24334 May 13 13:01 coverage.out [2024-05-13T13:02:01.195Z] -rw-rw-r-- 1 jenkins jenkins 3865 May 13 12:57 go.mod [2024-05-13T13:02:01.195Z] -rw-rw-r-- 1 jenkins jenkins 34537 May 13 12:57 go.sum [2024-05-13T13:02:01.195Z] drwxrwxr-x 3 jenkins jenkins 4096 May 13 12:57 internal [2024-05-13T13:02:01.195Z] drwxrwxr-x 2 jenkins jenkins 4096 May 13 12:57 simulator [2024-05-13T13:02:01.195Z] drwxrwxr-x 6 jenkins jenkins 4096 May 13 12:57 vendor [2024-05-13T13:02:01.195Z] -rw-rw-r-- 1 jenkins jenkins 229 May 13 12:57 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-13T13:02:01.652Z] + 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=5d2608996af2c122a081b3be030c03366c090752 --label arch=arm64 --label version=0.0.0 . [2024-05-13T13:02:04.265Z] Sending build context to Docker daemon 40.28MB [2024-05-13T13:02:04.265Z] Step 1/23 : ARG BASE=golang:1.21-alpine3.18 [2024-05-13T13:02:04.265Z] Step 2/23 : FROM ${BASE} AS builder [2024-05-13T13:02:04.265Z] ---> fe1dd922e797 [2024-05-13T13:02:04.265Z] Step 3/23 : ARG ADD_BUILD_TAGS="" [2024-05-13T13:02:04.265Z] ---> Running in ee2f8fc3fb0b [2024-05-13T13:02:04.533Z] Removing intermediate container ee2f8fc3fb0b [2024-05-13T13:02:04.533Z] ---> eff2c3324973 [2024-05-13T13:02:04.533Z] Step 4/23 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-05-13T13:02:04.800Z] ---> Running in 7deb65cba2c0 [2024-05-13T13:02:05.070Z] Removing intermediate container 7deb65cba2c0 [2024-05-13T13:02:05.070Z] ---> 39cc35a14b3e [2024-05-13T13:02:05.070Z] Step 5/23 : RUN apk add --update --no-cache make git openssh [2024-05-13T13:02:05.070Z] ---> Running in 70c9a9f054f3 [2024-05-13T13:02:06.030Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-05-13T13:02:06.297Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-05-13T13:02:07.256Z] OK: 272 MiB in 60 packages [2024-05-13T13:02:08.215Z] Removing intermediate container 70c9a9f054f3 [2024-05-13T13:02:08.215Z] ---> 907c3eb239e8 [2024-05-13T13:02:08.215Z] Step 6/23 : WORKDIR /device-modbus-go [2024-05-13T13:02:08.215Z] ---> Running in b81f58fd9914 [2024-05-13T13:02:08.480Z] Removing intermediate container b81f58fd9914 [2024-05-13T13:02:08.480Z] ---> d4515cd3f9e7 [2024-05-13T13:02:08.480Z] Step 7/23 : COPY go.mod vendor* ./ [2024-05-13T13:02:15.121Z] ---> 5cdfdfd5d62b [2024-05-13T13:02:15.121Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-05-13T13:02:15.121Z] ---> Running in 8231b204e7f5 [2024-05-13T13:02:16.081Z] skipping... [2024-05-13T13:02:16.665Z] Removing intermediate container 8231b204e7f5 [2024-05-13T13:02:16.665Z] ---> 7a328b555afa [2024-05-13T13:02:16.665Z] Step 9/23 : COPY . . [2024-05-13T13:02:24.867Z] ---> e6e983a84b41 [2024-05-13T13:02:24.867Z] Step 10/23 : RUN ${MAKE} [2024-05-13T13:02:24.867Z] ---> Running in ac6153fdf3c2 [2024-05-13T13:02:24.867Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.1" -trimpath -mod=readonly -o cmd/device-modbus ./cmd [2024-05-13T13:04:31.530Z] Removing intermediate container ac6153fdf3c2 [2024-05-13T13:04:31.530Z] ---> 1b93d65cf73f [2024-05-13T13:04:31.530Z] Step 11/23 : FROM alpine:3.18 [2024-05-13T13:04:31.530Z] 3.18: Pulling from library/alpine [2024-05-13T13:04:31.530Z] c6b39de5b339: Already exists [2024-05-13T13:04:31.530Z] Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 [2024-05-13T13:04:31.530Z] Status: Downloaded newer image for alpine:3.18 [2024-05-13T13:04:31.530Z] ---> 33abbf032149 [2024-05-13T13:04:31.530Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2024-05-13T13:04:31.530Z] ---> Running in 51c8d49336c4 [2024-05-13T13:04:31.530Z] Removing intermediate container 51c8d49336c4 [2024-05-13T13:04:31.530Z] ---> 3bb2c426638b [2024-05-13T13:04:31.530Z] Step 13/23 : RUN apk add --update --no-cache dumb-init [2024-05-13T13:04:31.530Z] ---> Running in 1ba00418a4d7 [2024-05-13T13:04:31.530Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-05-13T13:04:31.530Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-05-13T13:04:32.490Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-05-13T13:04:32.490Z] Executing busybox-1.36.1-r5.trigger [2024-05-13T13:04:32.490Z] OK: 8 MiB in 16 packages [2024-05-13T13:04:33.453Z] Removing intermediate container 1ba00418a4d7 [2024-05-13T13:04:33.453Z] ---> 00a97a7fc407 [2024-05-13T13:04:33.453Z] Step 14/23 : RUN apk --no-cache upgrade [2024-05-13T13:04:33.453Z] ---> Running in d62d9de11a5e [2024-05-13T13:04:34.415Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-05-13T13:04:34.680Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-05-13T13:04:35.651Z] Upgrading critical system libraries and apk-tools: [2024-05-13T13:04:35.651Z] (1/1) Upgrading apk-tools (2.14.0-r2 -> 2.14.4-r0) [2024-05-13T13:04:35.651Z] Executing busybox-1.36.1-r5.trigger [2024-05-13T13:04:35.916Z] Continuing the upgrade transaction with new apk-tools: [2024-05-13T13:04:35.916Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-05-13T13:04:36.181Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-05-13T13:04:37.134Z] (1/3) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) [2024-05-13T13:04:37.134Z] (2/3) Upgrading libcrypto3 (3.1.4-r5 -> 3.1.4-r6) [2024-05-13T13:04:37.134Z] (3/3) Upgrading libssl3 (3.1.4-r5 -> 3.1.4-r6) [2024-05-13T13:04:37.134Z] OK: 8 MiB in 16 packages [2024-05-13T13:04:38.088Z] Removing intermediate container d62d9de11a5e [2024-05-13T13:04:38.088Z] ---> e00ae2f4c96a [2024-05-13T13:04:38.088Z] Step 15/23 : COPY --from=builder /device-modbus-go/cmd / [2024-05-13T13:04:39.487Z] ---> d433e4fd6af4 [2024-05-13T13:04:39.487Z] Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / [2024-05-13T13:04:40.066Z] ---> 3a286f58d732 [2024-05-13T13:04:40.066Z] Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / [2024-05-13T13:04:40.332Z] ---> 1ad985106839 [2024-05-13T13:04:40.332Z] Step 18/23 : EXPOSE 59901 [2024-05-13T13:04:40.598Z] ---> Running in 475db210ab43 [2024-05-13T13:04:40.598Z] Removing intermediate container 475db210ab43 [2024-05-13T13:04:40.598Z] ---> ccb8216c43ec [2024-05-13T13:04:40.598Z] Step 19/23 : ENTRYPOINT ["/device-modbus"] [2024-05-13T13:04:40.866Z] ---> Running in 555bdcadbc3a [2024-05-13T13:04:41.132Z] Removing intermediate container 555bdcadbc3a [2024-05-13T13:04:41.132Z] ---> 8056d275623f [2024-05-13T13:04:41.132Z] Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2024-05-13T13:04:41.132Z] ---> Running in 022b4e86a25b [2024-05-13T13:04:41.397Z] Removing intermediate container 022b4e86a25b [2024-05-13T13:04:41.397Z] ---> b0f3bd1dc1ce [2024-05-13T13:04:41.397Z] Step 21/23 : LABEL arch=arm64 [2024-05-13T13:04:41.397Z] ---> Running in da95be27a12d [2024-05-13T13:04:41.667Z] Removing intermediate container da95be27a12d [2024-05-13T13:04:41.667Z] ---> 0fb34a9c4ef2 [2024-05-13T13:04:41.667Z] Step 22/23 : LABEL git_sha=5d2608996af2c122a081b3be030c03366c090752 [2024-05-13T13:04:41.932Z] ---> Running in cfa3fa925c03 [2024-05-13T13:04:42.197Z] Removing intermediate container cfa3fa925c03 [2024-05-13T13:04:42.197Z] ---> 167ef5fcca42 [2024-05-13T13:04:42.197Z] Step 23/23 : LABEL version=0.0.0 [2024-05-13T13:04:42.197Z] ---> Running in 8b36349ac936 [2024-05-13T13:04:42.462Z] Removing intermediate container 8b36349ac936 [2024-05-13T13:04:42.462Z] ---> 3e3f84d85123 [2024-05-13T13:04:42.462Z] [Warning] One or more build-args [ARCH] were not consumed [2024-05-13T13:04:42.727Z] Successfully built 3e3f84d85123 [2024-05-13T13:04:42.727Z] Successfully tagged device-modbus-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-13T13:04:43.668Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-05-13T13:04:43.668Z] [2024-05-13T13:04:43.668Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-13T13:04:44.093Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-05-13T13:04:44.361Z] arm64: Pulling from edgex-lftools-log-publisher [2024-05-13T13:04:44.361Z] 8998bd30e6a1: Pulling fs layer [2024-05-13T13:04:44.361Z] 04944245beec: Pulling fs layer [2024-05-13T13:04:44.361Z] 699f458cf7ca: Pulling fs layer [2024-05-13T13:04:44.361Z] 765212b225bb: Pulling fs layer [2024-05-13T13:04:44.361Z] f23df028b6ca: Pulling fs layer [2024-05-13T13:04:44.361Z] d65c8cfc05b1: Pulling fs layer [2024-05-13T13:04:44.361Z] 2437ff75d9bd: Pulling fs layer [2024-05-13T13:04:44.361Z] 765212b225bb: Waiting [2024-05-13T13:04:44.361Z] f23df028b6ca: Waiting [2024-05-13T13:04:44.361Z] d65c8cfc05b1: Waiting [2024-05-13T13:04:44.361Z] 2437ff75d9bd: Waiting [2024-05-13T13:04:44.361Z] 04944245beec: Verifying Checksum [2024-05-13T13:04:44.361Z] 04944245beec: Download complete [2024-05-13T13:04:44.361Z] 765212b225bb: Download complete [2024-05-13T13:04:44.627Z] f23df028b6ca: Verifying Checksum [2024-05-13T13:04:44.627Z] f23df028b6ca: Download complete [2024-05-13T13:04:44.627Z] d65c8cfc05b1: Verifying Checksum [2024-05-13T13:04:44.627Z] d65c8cfc05b1: Download complete [2024-05-13T13:04:44.627Z] 699f458cf7ca: Verifying Checksum [2024-05-13T13:04:44.627Z] 699f458cf7ca: Download complete [2024-05-13T13:04:45.208Z] 8998bd30e6a1: Download complete [2024-05-13T13:04:47.796Z] 2437ff75d9bd: Verifying Checksum [2024-05-13T13:04:47.796Z] 2437ff75d9bd: Download complete [2024-05-13T13:04:49.738Z] 8998bd30e6a1: Pull complete [2024-05-13T13:04:50.004Z] 04944245beec: Pull complete [2024-05-13T13:04:51.948Z] 699f458cf7ca: Pull complete [2024-05-13T13:04:51.948Z] 765212b225bb: Pull complete [2024-05-13T13:04:52.533Z] f23df028b6ca: Pull complete [2024-05-13T13:04:52.800Z] d65c8cfc05b1: Pull complete [2024-05-13T13:05:10.996Z] 2437ff75d9bd: Pull complete [2024-05-13T13:05:10.996Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-05-13T13:05:10.996Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-05-13T13:05:10.996Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-13T13:05:11.379Z] prd-ubuntu20.04-docker-arm64-4c-16g-730 does not seem to be running inside a container [2024-05-13T13:05:11.432Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2024-05-13T13:05:14.043Z] $ docker top a527e107df6fa3dc34c630af1fc4cd905d20afb6664ab361222b5cc2239fd7cc -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-05-13T13:05:14.665Z] ---> job-cost.sh [2024-05-13T13:05:14.931Z] lf-activate-venv: SKIPPING [2024-05-13T13:05:14.931Z] INFO: No Stack... [2024-05-13T13:05:15.195Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-05-13T13:05:16.149Z] INFO: Archiving Costs [Pipeline] sh [2024-05-13T13:05:16.820Z] + cat /w/workspace/device-modbus-go/1/archives/cost.csv [2024-05-13T13:05:16.820Z] + cut -d, -f6 [Pipeline] lock [2024-05-13T13:05:16.869Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-modbus-go-PR-551-1-stack-cost] [2024-05-13T13:05:16.877Z] Resource [jenkins-edgexfoundry-device-modbus-go-PR-551-1-stack-cost] did not exist. Created. [2024-05-13T13:05:16.883Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-modbus-go-PR-551-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-05-13T13:05:17.634Z] /w/workspace/device-modbus-go/1@tmp/durable-627d186e/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-05-13T13:05:18.307Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-05-13T13:05:18.352Z] Warning: overwriting stash ‘stack-cost’ [2024-05-13T13:05:18.735Z] Stashed 1 file(s) [Pipeline] } [2024-05-13T13:05:18.760Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-modbus-go-PR-551-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-05-13T13:05:18.867Z] $ docker stop --time=1 a527e107df6fa3dc34c630af1fc4cd905d20afb6664ab361222b5cc2239fd7cc [2024-05-13T13:05:20.363Z] $ docker rm -f --volumes a527e107df6fa3dc34c630af1fc4cd905d20afb6664ab361222b5cc2239fd7cc [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-05-13T13:05:21.579Z] provisioning config files... [2024-05-13T13:05:21.590Z] copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-551@tmp/config2897491892490309792tmp [Pipeline] { [Pipeline] sh [2024-05-13T13:05:21.945Z] + set +x [2024-05-13T13:05:21.945Z] + + curl -s https://codecov.io/bash [2024-05-13T13:05:21.945Z] bash -s -- [2024-05-13T13:05:21.945Z] [2024-05-13T13:05:21.945Z] _____ _ [2024-05-13T13:05:21.945Z] / ____| | | [2024-05-13T13:05:21.945Z] | | ___ __| | ___ ___ _____ __ [2024-05-13T13:05:21.945Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2024-05-13T13:05:21.945Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2024-05-13T13:05:21.945Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2024-05-13T13:05:21.945Z] Bash-1.0.6 [2024-05-13T13:05:21.945Z] [2024-05-13T13:05:21.945Z] [2024-05-13T13:05:21.945Z] ==> git version 2.25.1 found [2024-05-13T13:05:21.945Z] ==> 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-05-13T13:05:21.945Z] Release-Date: 2020-01-08 [2024-05-13T13:05:21.945Z] 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-05-13T13:05:21.945Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2024-05-13T13:05:21.945Z] ==> Jenkins CI detected. [2024-05-13T13:05:21.945Z] current dir:  /w/workspace/xfoundry_device-modbus-go_PR-551 [2024-05-13T13:05:21.945Z] project root: . [2024-05-13T13:05:21.945Z] --> token set from env [2024-05-13T13:05:21.945Z] Yaml found at: vendor/github.com/labstack/echo/v4/codecov.yml [2024-05-13T13:05:22.206Z] ==> Running gcov in . (disable via -X gcov) [2024-05-13T13:05:22.206Z] ==> Python coveragepy not found [2024-05-13T13:05:22.206Z] ==> Searching for coverage reports in: [2024-05-13T13:05:22.206Z] + . [2024-05-13T13:05:22.206Z] -> Found 1 reports [2024-05-13T13:05:22.206Z] ==> Detecting git/mercurial file structure [2024-05-13T13:05:22.206Z] ==> Reading reports [2024-05-13T13:05:22.206Z] + ./coverage.out bytes=24334 [2024-05-13T13:05:22.206Z] ==> Appending adjustments [2024-05-13T13:05:22.206Z] https://docs.codecov.io/docs/fixing-reports [2024-05-13T13:05:22.206Z] + Found adjustments [2024-05-13T13:05:22.206Z] ==> Gzipping contents [2024-05-13T13:05:22.206Z] 16K /tmp/codecov.uOmcfu.gz [2024-05-13T13:05:22.206Z] ==> Uploading reports [2024-05-13T13:05:22.206Z] url: https://codecov.io [2024-05-13T13:05:22.207Z] query: branch=PR-551&commit=5d2608996af2c122a081b3be030c03366c090752&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-551%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=551&job=&cmd_args= [2024-05-13T13:05:22.207Z] -> Pinging Codecov [2024-05-13T13:05:22.207Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-551&commit=5d2608996af2c122a081b3be030c03366c090752&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-551%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=551&job=&cmd_args= [2024-05-13T13:05:22.466Z] -> Uploading to [2024-05-13T13:05:22.466Z] https://storage.googleapis.com/codecov/v4/raw/2024-05-13/55DBCA73C666E3227836607328DD7E49/5d2608996af2c122a081b3be030c03366c090752/800659c1-7866-4feb-a9cb-b74905a7fc5a.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240513%2Fus-west2%2Fs3%2Faws4_request&X-Amz-Date=20240513T130522Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=d049485a15945c596af2c55489e0e079b13689d6499fc19b2b1aa6da7da5bb3c [2024-05-13T13:05:22.466Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-05-13T13:05:22.466Z] Dload Upload Total Spent Left Speed [2024-05-13T13:05:22.726Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 15662 0 0 100 15662 0 63926 --:--:-- --:--:-- --:--:-- 63926 [2024-05-13T13:05:22.726Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/5d2608996af2c122a081b3be030c03366c090752 [Pipeline] } [2024-05-13T13:05:22.760Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2024-05-13T13:05:25.103Z] + [ -d /w/workspace/xfoundry_device-modbus-go_PR-551/archives ] [2024-05-13T13:05:25.103Z] + ls -al /w/workspace/xfoundry_device-modbus-go_PR-551/archives [2024-05-13T13:05:25.103Z] total 16 [2024-05-13T13:05:25.103Z] drwxr-xr-x 3 root root 4096 May 13 12:57 . [2024-05-13T13:05:25.103Z] drwxrwxr-x 11 jenkins jenkins 4096 May 13 12:57 .. [2024-05-13T13:05:25.103Z] drwxr-xr-x 2 root root 4096 May 13 12:57 cost [2024-05-13T13:05:25.103Z] -rw-r--r-- 1 root root 88 May 13 12:57 cost.csv [2024-05-13T13:05:25.103Z] + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-551/archives [2024-05-13T13:05:25.103Z] + ls -al /w/workspace/xfoundry_device-modbus-go_PR-551/archives [2024-05-13T13:05:25.103Z] total 16 [2024-05-13T13:05:25.103Z] drwxr-xr-x 3 jenkins jenkins 4096 May 13 12:57 . [2024-05-13T13:05:25.103Z] drwxrwxr-x 11 jenkins jenkins 4096 May 13 12:57 .. [2024-05-13T13:05:25.103Z] drwxr-xr-x 2 jenkins jenkins 4096 May 13 12:57 cost [2024-05-13T13:05:25.103Z] -rw-r--r-- 1 jenkins jenkins 88 May 13 12:57 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-05-13T13:05:25.446Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-05-13T13:05:26.353Z] ---> package-listing.sh [2024-05-13T13:05:26.353Z] ++ facter osfamily [2024-05-13T13:05:26.353Z] ++ tr '[:upper:]' '[:lower:]' [2024-05-13T13:05:26.611Z] + OS_FAMILY=debian [2024-05-13T13:05:26.611Z] + workspace=/w/workspace/xfoundry_device-modbus-go_PR-551 [2024-05-13T13:05:26.611Z] + START_PACKAGES=/tmp/packages_start.txt [2024-05-13T13:05:26.611Z] + END_PACKAGES=/tmp/packages_end.txt [2024-05-13T13:05:26.611Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-05-13T13:05:26.611Z] + PACKAGES=/tmp/packages_start.txt [2024-05-13T13:05:26.611Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-551 ']' [2024-05-13T13:05:26.611Z] + PACKAGES=/tmp/packages_end.txt [2024-05-13T13:05:26.611Z] + case "${OS_FAMILY}" in [2024-05-13T13:05:26.611Z] + dpkg -l [2024-05-13T13:05:26.611Z] + grep '^ii' [2024-05-13T13:05:26.611Z] + '[' -f /tmp/packages_start.txt ']' [2024-05-13T13:05:26.611Z] + '[' -f /tmp/packages_end.txt ']' [2024-05-13T13:05:26.611Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-05-13T13:05:26.611Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-551 ']' [2024-05-13T13:05:26.611Z] + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-551/archives/ [2024-05-13T13:05:26.611Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-551/archives/ [Pipeline] echo [2024-05-13T13:05:26.653Z] 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-551/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-05-13T13:05:26.951Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-13T13:05:27.601Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-05-13T13:05:27.601Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-13T13:05:27.752Z] prd-ubuntu20.04-docker-8c-8g-728 does not seem to be running inside a container [2024-05-13T13:05:27.780Z] $ 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-551/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-551 -v /w/workspace/xfoundry_device-modbus-go_PR-551:/w/workspace/xfoundry_device-modbus-go_PR-551:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-551@tmp:/w/workspace/xfoundry_device-modbus-go_PR-551@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-05-13T13:05:27.969Z] $ docker top 1607b2dfaf6524615f4794fef83ced09d93918d6e0e00ed9220ae165035f2792 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-05-13T13:05:28.394Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-05-13T13:05:28.712Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-05-13T13:05:29.027Z] + ls /var/log/sa-host [2024-05-13T13:05:29.027Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-05-13T13:05:29.275Z] provisioning config files... [2024-05-13T13:05:29.285Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-551@tmp/config8100884121751747178tmp [Pipeline] { [Pipeline] echo [2024-05-13T13:05:29.356Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-05-13T13:05:29.677Z] ---> create-netrc.sh [Pipeline] } [2024-05-13T13:05:29.708Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-05-13T13:05:30.162Z] ---> python-tools-install.sh [Pipeline] echo [2024-05-13T13:05:30.201Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-05-13T13:05:30.529Z] ---> sudo-logs.sh [2024-05-13T13:05:30.529Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-05-13T13:05:30.641Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-05-13T13:05:30.964Z] ---> job-cost.sh [2024-05-13T13:05:30.964Z] lf-activate-venv: SKIPPING [2024-05-13T13:05:30.964Z] DEBUG: total: 0.2199999988079071 [2024-05-13T13:05:30.964Z] INFO: Retrieving Stack Cost... [2024-05-13T13:05:31.223Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-05-13T13:05:31.791Z] INFO: Archiving Costs [Pipeline] echo [2024-05-13T13:05:31.838Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-05-13T13:05:32.161Z] ---> logs-deploy.sh [2024-05-13T13:05:32.161Z] lf-activate-venv: SKIPPING [2024-05-13T13:05:32.161Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-551/1 [2024-05-13T13:05:32.161Z] INFO: archiving workspace using pattern(s): [2024-05-13T13:05:33.099Z] Archives upload complete. [2024-05-13T13:05:33.099Z] INFO: archiving logs to Nexus