Pull request #549 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 rcrtss for edgexfoundry/device-modbus-go Loading trusted files from base branch main at 78c106f1b1d485d6b9e2c5cc4debe4f465169507 rather than 074e778b67430273c7fc24f3ffd81deff0ecbf5c Obtained Jenkinsfile from 78c106f1b1d485d6b9e2c5cc4debe4f465169507 Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh4300204525270480350.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-ssh6720439959261940682.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-549/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-549/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh9051909379693614603.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-549/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh684344859505211855.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-ssh14609555322564414047.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-549/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-549/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh9947201897654236789.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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-3489 in /w/workspace/xfoundry_device-modbus-go_PR-549 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-modbus-go.git > git init /w/workspace/xfoundry_device-modbus-go_PR-549 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 78c106f1b1d485d6b9e2c5cc4debe4f465169507 into PR head commit 074e778b67430273c7fc24f3ffd81deff0ecbf5c Merge succeeded, producing 074e778b67430273c7fc24f3ffd81deff0ecbf5c Checking out Revision 074e778b67430273c7fc24f3ffd81deff0ecbf5c (PR-549) > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/549/head:refs/remotes/origin/PR-549 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 074e778b67430273c7fc24f3ffd81deff0ecbf5c # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 78c106f1b1d485d6b9e2c5cc4debe4f465169507 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 074e778b67430273c7fc24f3ffd81deff0ecbf5c # timeout=10 Commit message: "fix: handle error if primaryTable is unsupported" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-04-24T09:07:00.996Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-04-24T09:07:01.181Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-04-24T09:07:01.275Z] ========================================================= [2024-04-24T09:07:01.275Z] EdgeX Global Pipelines Version Info [2024-04-24T09:07:01.275Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-04-24T09:07:02.840Z] ------------------- [2024-04-24T09:07:02.840Z] stable info: [2024-04-24T09:07:02.840Z] ------------------- [2024-04-24T09:07:02.840Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2024-04-24T09:07:02.840Z] Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2024-04-24T09:07:02.840Z] Message: update stable to v1.0.258 [2024-04-24T09:07:03.103Z] ------------------- [2024-04-24T09:07:03.103Z] experimental info: [2024-04-24T09:07:03.103Z] ------------------- [2024-04-24T09:07:03.103Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2024-04-24T09:07:03.103Z] Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2024-04-24T09:07:03.103Z] Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-04-24T09:07:03.280Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo [2024-04-24T09:07:03.338Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo [2024-04-24T09:07:03.383Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-04-24T09:07:03.433Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-04-24T09:07:03.480Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-04-24T09:07:03.522Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2024-04-24T09:07:03.566Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-04-24T09:07:03.610Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2024-04-24T09:07:03.658Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-04-24T09:07:03.705Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-04-24T09:07:03.751Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-04-24T09:07:03.796Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo [2024-04-24T09:07:03.840Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-04-24T09:07:03.884Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-04-24T09:07:03.933Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-04-24T09:07:03.980Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2024-04-24T09:07:04.026Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-04-24T09:07:04.075Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-04-24T09:07:04.126Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-04-24T09:07:04.177Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-04-24T09:07:04.223Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2024-04-24T09:07:04.275Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2024-04-24T09:07:04.322Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-04-24T09:07:04.370Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-04-24T09:07:04.418Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-04-24T09:07:04.466Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-04-24T09:07:04.510Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-04-24T09:07:04.561Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-549 [Pipeline] echo [2024-04-24T09:07:04.606Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-549 [Pipeline] echo [2024-04-24T09:07:04.652Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-549 [Pipeline] echo [2024-04-24T09:07:04.698Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 074e778b67430273c7fc24f3ffd81deff0ecbf5c [Pipeline] echo [2024-04-24T09:07:04.744Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 074e778 [Pipeline] echo [2024-04-24T09:07:04.793Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-04-24T09:07:04.918Z] provisioning config files... [2024-04-24T09:07:04.933Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-549@tmp/config5360459408306519519tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-04-24T09:07:05.315Z] ---> ****-login.sh [2024-04-24T09:07:05.315Z] nexus3.edgexfoundry.org:10001 [2024-04-24T09:07:05.315Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-04-24T09:07:05.577Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-04-24T09:07:05.577Z] Configure a credential helper to remove this warning. See [2024-04-24T09:07:05.577Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-04-24T09:07:05.577Z] [2024-04-24T09:07:05.577Z] Login Succeeded [2024-04-24T09:07:05.577Z] nexus3.edgexfoundry.org:10002 [2024-04-24T09:07:05.577Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-04-24T09:07:05.577Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-04-24T09:07:05.577Z] Configure a credential helper to remove this warning. See [2024-04-24T09:07:05.577Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-04-24T09:07:05.577Z] [2024-04-24T09:07:05.577Z] Login Succeeded [2024-04-24T09:07:05.577Z] nexus3.edgexfoundry.org:10003 [2024-04-24T09:07:05.839Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-04-24T09:07:05.839Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-04-24T09:07:05.839Z] Configure a credential helper to remove this warning. See [2024-04-24T09:07:05.839Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-04-24T09:07:05.839Z] [2024-04-24T09:07:05.839Z] Login Succeeded [2024-04-24T09:07:05.839Z] nexus3.edgexfoundry.org:10004 [2024-04-24T09:07:05.839Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-04-24T09:07:05.839Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-04-24T09:07:05.839Z] Configure a credential helper to remove this warning. See [2024-04-24T09:07:05.839Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-04-24T09:07:05.839Z] [2024-04-24T09:07:05.839Z] Login Succeeded [2024-04-24T09:07:05.839Z] ****.io [2024-04-24T09:07:06.101Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-04-24T09:07:06.101Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-04-24T09:07:06.101Z] Configure a credential helper to remove this warning. See [2024-04-24T09:07:06.101Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-04-24T09:07:06.101Z] [2024-04-24T09:07:06.101Z] Login Succeeded [2024-04-24T09:07:06.101Z] ---> ****-login.sh ends [Pipeline] } [2024-04-24T09:07:06.126Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-04-24T09:07:06.779Z] + git rev-list -1 --merges 074e778b67430273c7fc24f3ffd81deff0ecbf5c~1..074e778b67430273c7fc24f3ffd81deff0ecbf5c [Pipeline] echo [2024-04-24T09:07:06.824Z] -----------> git rev-list -1 --merges 074e778b67430273c7fc24f3ffd81deff0ecbf5c~1..074e778b67430273c7fc24f3ffd81deff0ecbf5c 074e778b67430273c7fc24f3ffd81deff0ecbf5c [false] [Pipeline] sh [2024-04-24T09:07:07.142Z] + git log --format=format:%s -1 074e778b67430273c7fc24f3ffd81deff0ecbf5c [Pipeline] echo [2024-04-24T09:07:07.180Z] ========================================================= [2024-04-24T09:07:07.180Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-04-24T09:07:07.180Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-04-24T09:07:07.623Z] + git log --format=format:%s -1 074e778b67430273c7fc24f3ffd81deff0ecbf5c [Pipeline] echo [2024-04-24T09:07:07.665Z] [semverPrep] GIT_COMMIT: 074e778b67430273c7fc24f3ffd81deff0ecbf5c, Commit Message: fix: handle error if primaryTable is unsupported [Pipeline] echo [2024-04-24T09:07:07.705Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-04-24T09:07:08.111Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-04-24T09:07:08.111Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-04-24T09:07:08.111Z] + [ -e /tmp/ssh_known_hosts ] [2024-04-24T09:07:08.111Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-04-24T09:07:08.111Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-04-24T09:07:08.111Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2024-04-24T09:07:08.111Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-04-24T09:07:08.627Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-04-24T09:07:08.627Z] [2024-04-24T09:07:08.627Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-04-24T09:07:09.023Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-04-24T09:07:09.023Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-04-24T09:07:09.023Z] b85a868b505f: Pulling fs layer [2024-04-24T09:07:09.023Z] e2be974225ed: Pulling fs layer [2024-04-24T09:07:09.023Z] 339a4e72a1f5: Pulling fs layer [2024-04-24T09:07:09.023Z] 988bab9f4d93: Pulling fs layer [2024-04-24T09:07:09.023Z] 1469e6f7b9e6: Pulling fs layer [2024-04-24T09:07:09.023Z] eaf3925da568: Pulling fs layer [2024-04-24T09:07:09.023Z] bab4dde63d76: Pulling fs layer [2024-04-24T09:07:09.023Z] bde34c3a00c8: Pulling fs layer [2024-04-24T09:07:09.023Z] b352a97aabf1: Pulling fs layer [2024-04-24T09:07:09.023Z] 4872d77fe225: Pulling fs layer [2024-04-24T09:07:09.023Z] 5851b861e8e6: Pulling fs layer [2024-04-24T09:07:09.023Z] 988bab9f4d93: Waiting [2024-04-24T09:07:09.023Z] bde34c3a00c8: Waiting [2024-04-24T09:07:09.023Z] b352a97aabf1: Waiting [2024-04-24T09:07:09.023Z] 1469e6f7b9e6: Waiting [2024-04-24T09:07:09.023Z] 5851b861e8e6: Waiting [2024-04-24T09:07:09.023Z] eaf3925da568: Waiting [2024-04-24T09:07:09.023Z] 4872d77fe225: Waiting [2024-04-24T09:07:09.023Z] bab4dde63d76: Waiting [2024-04-24T09:07:09.023Z] e2be974225ed: Verifying Checksum [2024-04-24T09:07:09.023Z] e2be974225ed: Download complete [2024-04-24T09:07:09.023Z] 988bab9f4d93: Verifying Checksum [2024-04-24T09:07:09.023Z] 988bab9f4d93: Download complete [2024-04-24T09:07:09.023Z] 1469e6f7b9e6: Verifying Checksum [2024-04-24T09:07:09.023Z] 1469e6f7b9e6: Download complete [2024-04-24T09:07:09.023Z] 339a4e72a1f5: Verifying Checksum [2024-04-24T09:07:09.023Z] 339a4e72a1f5: Download complete [2024-04-24T09:07:09.023Z] eaf3925da568: Download complete [2024-04-24T09:07:09.023Z] bde34c3a00c8: Download complete [2024-04-24T09:07:09.285Z] b352a97aabf1: Verifying Checksum [2024-04-24T09:07:09.285Z] b352a97aabf1: Download complete [2024-04-24T09:07:09.285Z] 4872d77fe225: Verifying Checksum [2024-04-24T09:07:09.285Z] 4872d77fe225: Download complete [2024-04-24T09:07:09.285Z] 5851b861e8e6: Download complete [2024-04-24T09:07:09.285Z] b85a868b505f: Verifying Checksum [2024-04-24T09:07:09.285Z] b85a868b505f: Download complete [2024-04-24T09:07:09.544Z] bab4dde63d76: Verifying Checksum [2024-04-24T09:07:09.544Z] bab4dde63d76: Download complete [2024-04-24T09:07:10.535Z] b85a868b505f: Pull complete [2024-04-24T09:07:10.535Z] e2be974225ed: Pull complete [2024-04-24T09:07:10.794Z] 339a4e72a1f5: Pull complete [2024-04-24T09:07:11.056Z] 988bab9f4d93: Pull complete [2024-04-24T09:07:11.316Z] 1469e6f7b9e6: Pull complete [2024-04-24T09:07:11.316Z] eaf3925da568: Pull complete [2024-04-24T09:07:13.218Z] bab4dde63d76: Pull complete [2024-04-24T09:07:13.218Z] bde34c3a00c8: Pull complete [2024-04-24T09:07:13.218Z] b352a97aabf1: Pull complete [2024-04-24T09:07:13.218Z] 4872d77fe225: Pull complete [2024-04-24T09:07:13.218Z] 5851b861e8e6: Pull complete [2024-04-24T09:07:13.218Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-04-24T09:07:13.218Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-04-24T09:07:13.218Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-04-24T09:07:13.476Z] prd-ubuntu20.04-docker-8c-8g-3489 does not seem to be running inside a container [2024-04-24T09:07:13.511Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-549 -v /w/workspace/xfoundry_device-modbus-go_PR-549:/w/workspace/xfoundry_device-modbus-go_PR-549:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-549@tmp:/w/workspace/xfoundry_device-modbus-go_PR-549@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-04-24T09:07:16.450Z] $ docker top 3e91218f11d4b54ba0291c69ed953809115d8330af2810f596774fecfd4a8a4e -eo pid,comm [2024-04-24T09:07:16.498Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2024-04-24T09:07:16.498Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-04-24T09:07:16.749Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-04-24T09:07:16.749Z] [ssh-agent] Looking for ssh-agent implementation... [2024-04-24T09:07:16.849Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-04-24T09:07:16.855Z] $ docker exec 3e91218f11d4b54ba0291c69ed953809115d8330af2810f596774fecfd4a8a4e ssh-agent [2024-04-24T09:07:16.948Z] SSH_AUTH_SOCK=/tmp/ssh-pMULpm7PztBl/agent.33 [2024-04-24T09:07:16.948Z] SSH_AGENT_PID=40 [2024-04-24T09:07:16.955Z] Running ssh-add (command line suppressed) [2024-04-24T09:07:17.067Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-549@tmp/private_key_14853672894611619920.key (/w/workspace/xfoundry_device-modbus-go_PR-549@tmp/private_key_14853672894611619920.key) [2024-04-24T09:07:17.076Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-04-24T09:07:17.402Z] + git tag --points-at HEAD [Pipeline] } [2024-04-24T09:07:17.430Z] $ docker exec --env ******** --env ******** 3e91218f11d4b54ba0291c69ed953809115d8330af2810f596774fecfd4a8a4e ssh-agent -k [2024-04-24T09:07:17.529Z] unset SSH_AUTH_SOCK; [2024-04-24T09:07:17.529Z] unset SSH_AGENT_PID; [2024-04-24T09:07:17.529Z] echo Agent pid 40 killed; [2024-04-24T09:07:17.536Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-04-24T09:07:17.634Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-04-24T09:07:17.635Z] [ssh-agent] Looking for ssh-agent implementation... [2024-04-24T09:07:17.742Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-04-24T09:07:17.748Z] $ docker exec 3e91218f11d4b54ba0291c69ed953809115d8330af2810f596774fecfd4a8a4e ssh-agent [2024-04-24T09:07:17.844Z] SSH_AUTH_SOCK=/tmp/ssh-r1b7uXBpGAFp/agent.73 [2024-04-24T09:07:17.844Z] SSH_AGENT_PID=79 [2024-04-24T09:07:17.848Z] Running ssh-add (command line suppressed) [2024-04-24T09:07:17.949Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-549@tmp/private_key_4363194451483827673.key (/w/workspace/xfoundry_device-modbus-go_PR-549@tmp/private_key_4363194451483827673.key) [2024-04-24T09:07:17.955Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-04-24T09:07:18.288Z] + git semver init [2024-04-24T09:07:18.547Z] 2024-04-24 09:07:18,463 [run_init] DEBUG init version:0.0.0 force:False [2024-04-24T09:07:18.547Z] 2024-04-24 09:07:18,464 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-modbus-go_PR-549/.semver [2024-04-24T09:07:18.547Z] 2024-04-24 09:07:18,465 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/xfoundry_device-modbus-go_PR-549/.semver [2024-04-24T09:07:18.547Z] 2024-04-24 09:07:18,465 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/xfoundry_device-modbus-go_PR-549/.semver'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-549, universal_newlines=False, shell=None, istream=None) [2024-04-24T09:07:19.928Z] 2024-04-24 09:07:19,611 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-modbus-go_PR-549/.git/info/exclude [2024-04-24T09:07:19.928Z] 2024-04-24 09:07:19,612 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-modbus-go_PR-549/.semver/PR-549 with force:False [2024-04-24T09:07:19.928Z] 2024-04-24 09:07:19,612 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-modbus-go_PR-549/.semver/PR-549 [2024-04-24T09:07:19.928Z] 2024-04-24 09:07:19,616 [execute] INFO git cat-file --batch-check [2024-04-24T09:07:19.928Z] 2024-04-24 09:07:19,617 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-549/.semver, universal_newlines=False, shell=None, istream=) [2024-04-24T09:07:19.928Z] 2024-04-24 09:07:19,622 [execute] INFO git cat-file --batch [2024-04-24T09:07:19.928Z] 2024-04-24 09:07:19,622 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-549/.semver, universal_newlines=False, shell=None, istream=) [2024-04-24T09:07:19.928Z] 2024-04-24 09:07:19,627 [read_version] DEBUG read version from /w/workspace/xfoundry_device-modbus-go_PR-549/.semver/PR-549 [2024-04-24T09:07:19.928Z] 0.0.0 [Pipeline] } [2024-04-24T09:07:19.956Z] $ docker exec --env ******** --env ******** 3e91218f11d4b54ba0291c69ed953809115d8330af2810f596774fecfd4a8a4e ssh-agent -k [2024-04-24T09:07:20.043Z] unset SSH_AUTH_SOCK; [2024-04-24T09:07:20.044Z] unset SSH_AGENT_PID; [2024-04-24T09:07:20.044Z] echo Agent pid 79 killed; [2024-04-24T09:07:20.047Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-04-24T09:07:20.462Z] + git semver [Pipeline] } [2024-04-24T09:07:20.751Z] $ docker stop --time=1 3e91218f11d4b54ba0291c69ed953809115d8330af2810f596774fecfd4a8a4e [2024-04-24T09:07:22.022Z] $ docker rm -f --volumes 3e91218f11d4b54ba0291c69ed953809115d8330af2810f596774fecfd4a8a4e [Pipeline] // withDockerContainer [Pipeline] sh [2024-04-24T09:07:22.411Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-04-24T09:07:22.675Z] Stashed 1 file(s) [Pipeline] echo [2024-04-24T09:07:22.697Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-04-24T09:07:23.338Z] provisioning config files... [2024-04-24T09:07:23.347Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-549@tmp/config17480578814965366524tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-04-24T09:07:23.699Z] ---> ****-login.sh [2024-04-24T09:07:23.699Z] nexus3.edgexfoundry.org:10001 [2024-04-24T09:07:23.699Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-04-24T09:07:23.700Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-04-24T09:07:23.700Z] Configure a credential helper to remove this warning. See [2024-04-24T09:07:23.700Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-04-24T09:07:23.700Z] [2024-04-24T09:07:23.700Z] Login Succeeded [2024-04-24T09:07:23.700Z] nexus3.edgexfoundry.org:10002 [2024-04-24T09:07:23.700Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-04-24T09:07:23.700Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-04-24T09:07:23.700Z] Configure a credential helper to remove this warning. See [2024-04-24T09:07:23.700Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-04-24T09:07:23.700Z] [2024-04-24T09:07:23.700Z] Login Succeeded [2024-04-24T09:07:23.700Z] nexus3.edgexfoundry.org:10003 [2024-04-24T09:07:23.961Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-04-24T09:07:23.961Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-04-24T09:07:23.961Z] Configure a credential helper to remove this warning. See [2024-04-24T09:07:23.961Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-04-24T09:07:23.961Z] [2024-04-24T09:07:23.961Z] Login Succeeded [2024-04-24T09:07:23.961Z] nexus3.edgexfoundry.org:10004 [2024-04-24T09:07:23.961Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-04-24T09:07:23.961Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-04-24T09:07:23.961Z] Configure a credential helper to remove this warning. See [2024-04-24T09:07:23.961Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-04-24T09:07:23.961Z] [2024-04-24T09:07:23.961Z] Login Succeeded [2024-04-24T09:07:23.961Z] ****.io [2024-04-24T09:07:23.961Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-04-24T09:07:24.221Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-04-24T09:07:24.221Z] Configure a credential helper to remove this warning. See [2024-04-24T09:07:24.221Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-04-24T09:07:24.221Z] [2024-04-24T09:07:24.221Z] Login Succeeded [2024-04-24T09:07:24.221Z] ---> ****-login.sh ends [Pipeline] } [2024-04-24T09:07:24.246Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-04-24T09:07:24.431Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-04-24T09:07:24.474Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-04-24T09:07:24.511Z] ========================================================= [2024-04-24T09:07:24.511Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2024-04-24T09:07:24.511Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-04-24T09:07:24.984Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2024-04-24T09:07:24.984Z] Sending build context to Docker daemon 17.37MB [2024-04-24T09:07:24.984Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2024-04-24T09:07:24.984Z] Step 2/10 : FROM ${BASE} AS builder [2024-04-24T09:07:24.984Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2024-04-24T09:07:24.984Z] 619be1103602: Pulling fs layer [2024-04-24T09:07:24.984Z] 7862e08f4a3e: Pulling fs layer [2024-04-24T09:07:24.984Z] 5df492c9dc93: Pulling fs layer [2024-04-24T09:07:24.984Z] 7629e6793208: Pulling fs layer [2024-04-24T09:07:24.984Z] 4f4fb700ef54: Pulling fs layer [2024-04-24T09:07:24.984Z] fb5054dd5b73: Pulling fs layer [2024-04-24T09:07:24.984Z] eeca6798cff9: Pulling fs layer [2024-04-24T09:07:24.984Z] aa269ceb94a6: Pulling fs layer [2024-04-24T09:07:24.984Z] ada007ff1a6a: Pulling fs layer [2024-04-24T09:07:24.984Z] 7629e6793208: Waiting [2024-04-24T09:07:24.984Z] 4f4fb700ef54: Waiting [2024-04-24T09:07:24.984Z] eeca6798cff9: Waiting [2024-04-24T09:07:24.984Z] aa269ceb94a6: Waiting [2024-04-24T09:07:24.984Z] fb5054dd5b73: Waiting [2024-04-24T09:07:24.984Z] ada007ff1a6a: Waiting [2024-04-24T09:07:24.984Z] 7862e08f4a3e: Download complete [2024-04-24T09:07:25.244Z] 7629e6793208: Verifying Checksum [2024-04-24T09:07:25.244Z] 7629e6793208: Download complete [2024-04-24T09:07:25.244Z] 4f4fb700ef54: Verifying Checksum [2024-04-24T09:07:25.244Z] 4f4fb700ef54: Download complete [2024-04-24T09:07:25.244Z] fb5054dd5b73: Verifying Checksum [2024-04-24T09:07:25.244Z] fb5054dd5b73: Download complete [2024-04-24T09:07:25.244Z] 619be1103602: Verifying Checksum [2024-04-24T09:07:25.244Z] 619be1103602: Download complete [2024-04-24T09:07:25.244Z] eeca6798cff9: Verifying Checksum [2024-04-24T09:07:25.244Z] eeca6798cff9: Download complete [2024-04-24T09:07:25.244Z] 619be1103602: Pull complete [2024-04-24T09:07:25.504Z] ada007ff1a6a: Verifying Checksum [2024-04-24T09:07:25.504Z] ada007ff1a6a: Download complete [2024-04-24T09:07:25.504Z] 7862e08f4a3e: Pull complete [2024-04-24T09:07:25.504Z] 5df492c9dc93: Verifying Checksum [2024-04-24T09:07:25.504Z] 5df492c9dc93: Download complete [2024-04-24T09:07:26.070Z] aa269ceb94a6: Verifying Checksum [2024-04-24T09:07:26.070Z] aa269ceb94a6: Download complete [2024-04-24T09:07:28.602Z] 5df492c9dc93: Pull complete [2024-04-24T09:07:28.602Z] 7629e6793208: Pull complete [2024-04-24T09:07:28.602Z] 4f4fb700ef54: Pull complete [2024-04-24T09:07:28.602Z] fb5054dd5b73: Pull complete [2024-04-24T09:07:28.859Z] eeca6798cff9: Pull complete [2024-04-24T09:07:31.386Z] aa269ceb94a6: Pull complete [2024-04-24T09:07:31.386Z] ada007ff1a6a: Pull complete [2024-04-24T09:07:31.386Z] Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 [2024-04-24T09:07:31.386Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2024-04-24T09:07:31.386Z] ---> f489d0715acc [2024-04-24T09:07:31.386Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2024-04-24T09:07:36.659Z] ---> Running in 0ea42f24750c [2024-04-24T09:07:36.659Z] Removing intermediate container 0ea42f24750c [2024-04-24T09:07:36.659Z] ---> 96445bfd43eb [2024-04-24T09:07:36.659Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-04-24T09:07:36.659Z] ---> Running in f4ede1ac0374 [2024-04-24T09:07:36.659Z] Removing intermediate container f4ede1ac0374 [2024-04-24T09:07:36.659Z] ---> b1c34ab3763f [2024-04-24T09:07:36.659Z] Step 5/10 : RUN apk add --update --no-cache make git openssh [2024-04-24T09:07:36.659Z] ---> Running in ab158aa69214 [2024-04-24T09:07:36.659Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-04-24T09:07:36.659Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-04-24T09:07:36.917Z] (1/8) Installing openssh-keygen (9.3_p2-r1) [2024-04-24T09:07:36.918Z] (2/8) Installing libedit (20221030.3.1-r1) [2024-04-24T09:07:36.918Z] (3/8) Installing openssh-client-common (9.3_p2-r1) [2024-04-24T09:07:36.918Z] (4/8) Installing openssh-client-default (9.3_p2-r1) [2024-04-24T09:07:36.918Z] (5/8) Installing openssh-sftp-server (9.3_p2-r1) [2024-04-24T09:07:36.918Z] (6/8) Installing openssh-server-common (9.3_p2-r1) [2024-04-24T09:07:36.918Z] (7/8) Installing openssh-server (9.3_p2-r1) [2024-04-24T09:07:36.918Z] (8/8) Installing openssh (9.3_p2-r1) [2024-04-24T09:07:36.918Z] Executing busybox-1.36.1-r5.trigger [2024-04-24T09:07:36.918Z] OK: 270 MiB in 60 packages [2024-04-24T09:07:37.485Z] Removing intermediate container ab158aa69214 [2024-04-24T09:07:37.485Z] ---> bc920f959f70 [2024-04-24T09:07:37.485Z] Step 6/10 : WORKDIR /device-modbus-go [2024-04-24T09:07:37.485Z] ---> Running in c46b0b45328c [2024-04-24T09:07:37.485Z] Removing intermediate container c46b0b45328c [2024-04-24T09:07:37.485Z] ---> 05137ea23186 [2024-04-24T09:07:37.485Z] Step 7/10 : COPY go.mod vendor* ./ [2024-04-24T09:07:37.744Z] ---> b77cbc029392 [2024-04-24T09:07:37.744Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-04-24T09:07:37.744Z] ---> Running in a593dc88a590 [2024-04-24T09:07:38.159Z] Still waiting to schedule task [2024-04-24T09:07:38.159Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2024-04-24T09:08:09.834Z] Removing intermediate container a593dc88a590 [2024-04-24T09:08:09.834Z] ---> 4e8d43a7cc31 [2024-04-24T09:08:09.834Z] Step 9/10 : COPY . . [2024-04-24T09:08:09.834Z] ---> a883501f1ab5 [2024-04-24T09:08:09.834Z] Step 10/10 : RUN ${MAKE} [2024-04-24T09:08:09.834Z] ---> Running in 8a16f374baab [2024-04-24T09:08:10.095Z] noop [2024-04-24T09:08:10.355Z] Removing intermediate container 8a16f374baab [2024-04-24T09:08:10.355Z] ---> cc00cc2f6e95 [2024-04-24T09:08:10.355Z] Successfully built cc00cc2f6e95 [2024-04-24T09:08:10.355Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-04-24T09:08:10.820Z] + docker inspect -f . ci-base-image-x86_64 [2024-04-24T09:08:10.820Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-04-24T09:08:10.972Z] prd-ubuntu20.04-docker-8c-8g-3489 does not seem to be running inside a container [2024-04-24T09:08:11.004Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-549 -v /w/workspace/xfoundry_device-modbus-go_PR-549:/w/workspace/xfoundry_device-modbus-go_PR-549:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-549@tmp:/w/workspace/xfoundry_device-modbus-go_PR-549@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-04-24T09:08:11.335Z] $ docker top 4ce6a5a53e1b02a2e8a57d4e46eaae36c8ea8b78a3a85a932f323b4bb334acf5 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-04-24T09:08:11.723Z] + go version [2024-04-24T09:08:11.724Z] go version go1.21.9 linux/amd64 [Pipeline] } [2024-04-24T09:08:11.758Z] $ docker stop --time=1 4ce6a5a53e1b02a2e8a57d4e46eaae36c8ea8b78a3a85a932f323b4bb334acf5 [2024-04-24T09:08:12.998Z] $ docker rm -f --volumes 4ce6a5a53e1b02a2e8a57d4e46eaae36c8ea8b78a3a85a932f323b4bb334acf5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-04-24T09:08:13.695Z] + docker inspect -f . ci-base-image-x86_64 [2024-04-24T09:08:13.695Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-04-24T09:08:13.837Z] prd-ubuntu20.04-docker-8c-8g-3489 does not seem to be running inside a container [2024-04-24T09:08:13.870Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/xfoundry_device-modbus-go_PR-549 -v /w/workspace/xfoundry_device-modbus-go_PR-549:/w/workspace/xfoundry_device-modbus-go_PR-549:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-549@tmp:/w/workspace/xfoundry_device-modbus-go_PR-549@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-04-24T09:08:14.194Z] $ docker top e149782ae66107b3eb1bae4d82314bb7ee649bdf541ce1dce422bb47f75f448a -eo pid,comm [Pipeline] { [Pipeline] sh [2024-04-24T09:08:14.602Z] + git config --global --add safe.directory /w/workspace/xfoundry_device-modbus-go_PR-549 [Pipeline] fileExists [Pipeline] sh [2024-04-24T09:08:14.952Z] + make test [2024-04-24T09:08:14.952Z] go test ./... -coverprofile=coverage.out [2024-04-24T09:08:16.325Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2024-04-24T09:08:26.296Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2024-04-24T09:08:26.296Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.017s coverage: 47.9% of statements [2024-04-24T09:08:32.852Z] go vet ./... [2024-04-24T09:08:35.382Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-04-24T09:08:35.382Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-04-24T09:08:35.382Z] ./bin/test-attribution-txt.sh [2024-04-24T09:08:35.640Z] An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [Pipeline] echo [2024-04-24T09:08:35.686Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-04-24T09:08:35.729Z] $ docker stop --time=1 e149782ae66107b3eb1bae4d82314bb7ee649bdf541ce1dce422bb47f75f448a [2024-04-24T09:08:39.171Z] $ docker rm -f --volumes e149782ae66107b3eb1bae4d82314bb7ee649bdf541ce1dce422bb47f75f448a [Pipeline] // withDockerContainer [Pipeline] sh [2024-04-24T09:08:39.687Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-04-24T09:08:39.783Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2024-04-24T09:08:40.479Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-04-24T09:08:40.794Z] + ls -al . [2024-04-24T09:08:40.794Z] total 196 [2024-04-24T09:08:40.794Z] drwxrwxr-x 9 jenkins jenkins 4096 Apr 24 09:08 . [2024-04-24T09:08:40.794Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 24 09:06 .. [2024-04-24T09:08:40.794Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 24 09:06 .dockerignore [2024-04-24T09:08:40.794Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 24 09:08 .git [2024-04-24T09:08:40.794Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 24 09:06 .github [2024-04-24T09:08:40.794Z] -rw-rw-r-- 1 jenkins jenkins 266 Apr 24 09:06 .gitignore [2024-04-24T09:08:40.794Z] -rw-rw-r-- 1 jenkins jenkins 41 Apr 24 09:06 .golangci.yml [2024-04-24T09:08:40.794Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 24 09:07 .semver [2024-04-24T09:08:40.794Z] -rw-rw-r-- 1 jenkins jenkins 11101 Apr 24 09:06 Attribution.txt [2024-04-24T09:08:40.794Z] -rw-rw-r-- 1 jenkins jenkins 16388 Apr 24 09:06 CHANGELOG.md [2024-04-24T09:08:40.794Z] -rw-rw-r-- 1 jenkins jenkins 1474 Apr 24 09:06 Dockerfile [2024-04-24T09:08:40.794Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 24 09:06 GOVERNANCE.md [2024-04-24T09:08:40.794Z] -rw-rw-r-- 1 jenkins jenkins 658 Apr 24 09:06 Jenkinsfile [2024-04-24T09:08:40.794Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 24 09:06 LICENSE [2024-04-24T09:08:40.794Z] -rw-rw-r-- 1 jenkins jenkins 1942 Apr 24 09:06 Makefile [2024-04-24T09:08:40.794Z] -rw-rw-r-- 1 jenkins jenkins 622 Apr 24 09:06 OWNERS.md [2024-04-24T09:08:40.794Z] -rw-rw-r-- 1 jenkins jenkins 4463 Apr 24 09:06 README.md [2024-04-24T09:08:40.794Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 24 09:07 VERSION [2024-04-24T09:08:40.794Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 24 09:06 bin [2024-04-24T09:08:40.794Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 24 09:06 cmd [2024-04-24T09:08:40.794Z] -rw-r--r-- 1 jenkins jenkins 24601 Apr 24 09:08 coverage.out [2024-04-24T09:08:40.794Z] -rw-rw-r-- 1 jenkins jenkins 3987 Apr 24 09:06 go.mod [2024-04-24T09:08:40.794Z] -rw-rw-r-- 1 jenkins jenkins 36558 Apr 24 09:06 go.sum [2024-04-24T09:08:40.794Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 24 09:06 internal [2024-04-24T09:08:40.794Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 24 09:06 simulator [2024-04-24T09:08:40.794Z] -rw-rw-r-- 1 jenkins jenkins 229 Apr 24 09:06 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-04-24T09:08:41.217Z] + 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=074e778b67430273c7fc24f3ffd81deff0ecbf5c --label arch=amd64 --label version=0.0.0 . [2024-04-24T09:08:41.217Z] Sending build context to Docker daemon 17.4MB [2024-04-24T09:08:41.217Z] Step 1/23 : ARG BASE=golang:1.21-alpine3.18 [2024-04-24T09:08:41.217Z] Step 2/23 : FROM ${BASE} AS builder [2024-04-24T09:08:41.217Z] ---> cc00cc2f6e95 [2024-04-24T09:08:41.217Z] Step 3/23 : ARG ADD_BUILD_TAGS="" [2024-04-24T09:08:41.477Z] ---> Running in 357855f726f6 [2024-04-24T09:08:41.477Z] Removing intermediate container 357855f726f6 [2024-04-24T09:08:41.477Z] ---> 2a00913c1d48 [2024-04-24T09:08:41.477Z] Step 4/23 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-04-24T09:08:41.477Z] ---> Running in b3743a27d947 [2024-04-24T09:08:41.477Z] Removing intermediate container b3743a27d947 [2024-04-24T09:08:41.477Z] ---> 8ec3ae59c605 [2024-04-24T09:08:41.477Z] Step 5/23 : RUN apk add --update --no-cache make git openssh [2024-04-24T09:08:41.477Z] ---> Running in 3a1b31a8f6f3 [2024-04-24T09:08:41.735Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-04-24T09:08:41.994Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-04-24T09:08:42.253Z] OK: 270 MiB in 60 packages [2024-04-24T09:08:42.512Z] Removing intermediate container 3a1b31a8f6f3 [2024-04-24T09:08:42.512Z] ---> 8f093903cffb [2024-04-24T09:08:42.512Z] Step 6/23 : WORKDIR /device-modbus-go [2024-04-24T09:08:42.512Z] ---> Running in 18ce9ce94ec0 [2024-04-24T09:08:42.771Z] Removing intermediate container 18ce9ce94ec0 [2024-04-24T09:08:42.771Z] ---> 427fe2097b61 [2024-04-24T09:08:42.771Z] Step 7/23 : COPY go.mod vendor* ./ [2024-04-24T09:08:42.771Z] ---> 91aba28affe3 [2024-04-24T09:08:42.771Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-04-24T09:08:42.771Z] ---> Running in 847d344fe0d6 [2024-04-24T09:08:43.342Z] Removing intermediate container 847d344fe0d6 [2024-04-24T09:08:43.342Z] ---> f9996c78f79b [2024-04-24T09:08:43.342Z] Step 9/23 : COPY . . [2024-04-24T09:08:43.911Z] ---> 606e92e559d2 [2024-04-24T09:08:43.911Z] Step 10/23 : RUN ${MAKE} [2024-04-24T09:08:43.911Z] ---> Running in dd776c68bfce [2024-04-24T09:08:44.170Z] CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-modbus-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.11" -trimpath -mod=readonly -o cmd/device-modbus ./cmd [2024-04-24T09:09:06.370Z] Removing intermediate container dd776c68bfce [2024-04-24T09:09:06.370Z] ---> 3d5e8a11c438 [2024-04-24T09:09:06.370Z] Step 11/23 : FROM alpine:3.18 [2024-04-24T09:09:06.370Z] 3.18: Pulling from library/alpine [2024-04-24T09:09:06.370Z] 619be1103602: Already exists [2024-04-24T09:09:06.370Z] Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 [2024-04-24T09:09:06.370Z] Status: Downloaded newer image for alpine:3.18 [2024-04-24T09:09:06.370Z] ---> d3782b16ccc9 [2024-04-24T09:09:06.370Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2024-04-24T09:09:06.370Z] ---> Running in 53951be0d0a1 [2024-04-24T09:09:06.370Z] Removing intermediate container 53951be0d0a1 [2024-04-24T09:09:06.370Z] ---> be9c4c95e451 [2024-04-24T09:09:06.370Z] Step 13/23 : RUN apk add --update --no-cache dumb-init [2024-04-24T09:09:06.370Z] ---> Running in 82c6374a7ba9 [2024-04-24T09:09:06.370Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-04-24T09:09:06.370Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-04-24T09:09:06.370Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-04-24T09:09:06.370Z] Executing busybox-1.36.1-r5.trigger [2024-04-24T09:09:06.370Z] OK: 7 MiB in 16 packages [2024-04-24T09:09:06.370Z] Removing intermediate container 82c6374a7ba9 [2024-04-24T09:09:06.370Z] ---> 9675e5f24dd3 [2024-04-24T09:09:06.370Z] Step 14/23 : RUN apk --no-cache upgrade [2024-04-24T09:09:06.370Z] ---> Running in 9fb7268d68f6 [2024-04-24T09:09:06.370Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-04-24T09:09:06.370Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-04-24T09:09:06.370Z] Upgrading critical system libraries and apk-tools: [2024-04-24T09:09:06.370Z] (1/1) Upgrading apk-tools (2.14.0-r2 -> 2.14.4-r0) [2024-04-24T09:09:06.370Z] Executing busybox-1.36.1-r5.trigger [2024-04-24T09:09:06.370Z] Continuing the upgrade transaction with new apk-tools: [2024-04-24T09:09:06.370Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-04-24T09:09:06.370Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-04-24T09:09:06.370Z] (1/3) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) [2024-04-24T09:09:06.370Z] (2/3) Upgrading libcrypto3 (3.1.4-r5 -> 3.1.4-r6) [2024-04-24T09:09:06.370Z] (3/3) Upgrading libssl3 (3.1.4-r5 -> 3.1.4-r6) [2024-04-24T09:09:06.370Z] OK: 7 MiB in 16 packages [2024-04-24T09:09:06.370Z] Removing intermediate container 9fb7268d68f6 [2024-04-24T09:09:06.370Z] ---> 94f16f7c61d0 [2024-04-24T09:09:06.370Z] Step 15/23 : COPY --from=builder /device-modbus-go/cmd / [2024-04-24T09:09:06.370Z] ---> 88dcadcb6768 [2024-04-24T09:09:06.370Z] Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / [2024-04-24T09:09:06.628Z] ---> 68222f67a1d7 [2024-04-24T09:09:06.628Z] Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / [2024-04-24T09:09:06.628Z] ---> 9288f532f178 [2024-04-24T09:09:06.628Z] Step 18/23 : EXPOSE 59901 [2024-04-24T09:09:06.628Z] ---> Running in 41a1b82f0983 [2024-04-24T09:09:06.628Z] Removing intermediate container 41a1b82f0983 [2024-04-24T09:09:06.628Z] ---> 7042aed62dd0 [2024-04-24T09:09:06.628Z] Step 19/23 : ENTRYPOINT ["/device-modbus"] [2024-04-24T09:09:06.628Z] ---> Running in 24f968c9a18c [2024-04-24T09:09:06.887Z] Removing intermediate container 24f968c9a18c [2024-04-24T09:09:06.887Z] ---> 8b88661883d8 [2024-04-24T09:09:06.887Z] Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2024-04-24T09:09:06.887Z] ---> Running in 2386c3b753ea [2024-04-24T09:09:06.887Z] Removing intermediate container 2386c3b753ea [2024-04-24T09:09:06.887Z] ---> 061c1e6cdbc4 [2024-04-24T09:09:06.887Z] Step 21/23 : LABEL arch=amd64 [2024-04-24T09:09:06.887Z] ---> Running in da765f22c2a2 [2024-04-24T09:09:06.887Z] Removing intermediate container da765f22c2a2 [2024-04-24T09:09:06.887Z] ---> e133780bb710 [2024-04-24T09:09:06.887Z] Step 22/23 : LABEL git_sha=074e778b67430273c7fc24f3ffd81deff0ecbf5c [2024-04-24T09:09:07.147Z] ---> Running in 727cc25dd090 [2024-04-24T09:09:07.147Z] Removing intermediate container 727cc25dd090 [2024-04-24T09:09:07.147Z] ---> 672d05767130 [2024-04-24T09:09:07.147Z] Step 23/23 : LABEL version=0.0.0 [2024-04-24T09:09:07.147Z] ---> Running in 5890396efaba [2024-04-24T09:09:07.147Z] Removing intermediate container 5890396efaba [2024-04-24T09:09:07.147Z] ---> e575cb16363d [2024-04-24T09:09:07.147Z] [Warning] One or more build-args [ARCH] were not consumed [2024-04-24T09:09:07.147Z] Successfully built e575cb16363d [2024-04-24T09:09:07.147Z] Successfully tagged device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-04-24T09:09:08.072Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-04-24T09:09:08.072Z] [2024-04-24T09:09:08.072Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-04-24T09:09:08.448Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-04-24T09:09:08.448Z] latest: Pulling from edgex-lftools-log-publisher [2024-04-24T09:09:08.448Z] 5eb5b503b376: Pulling fs layer [2024-04-24T09:09:08.448Z] 5c69ac0246d0: Pulling fs layer [2024-04-24T09:09:08.448Z] ec43610c2a17: Pulling fs layer [2024-04-24T09:09:08.448Z] 3a2ae6a8a46f: Pulling fs layer [2024-04-24T09:09:08.448Z] 33b1e0a273af: Pulling fs layer [2024-04-24T09:09:08.448Z] 5d3b04190fa2: Pulling fs layer [2024-04-24T09:09:08.448Z] 2f39f015ded8: Pulling fs layer [2024-04-24T09:09:08.448Z] 3a2ae6a8a46f: Waiting [2024-04-24T09:09:08.448Z] 33b1e0a273af: Waiting [2024-04-24T09:09:08.448Z] 2f39f015ded8: Waiting [2024-04-24T09:09:08.448Z] 5d3b04190fa2: Waiting [2024-04-24T09:09:08.448Z] 5c69ac0246d0: Verifying Checksum [2024-04-24T09:09:08.448Z] 5c69ac0246d0: Download complete [2024-04-24T09:09:08.448Z] 3a2ae6a8a46f: Verifying Checksum [2024-04-24T09:09:08.448Z] 3a2ae6a8a46f: Download complete [2024-04-24T09:09:08.448Z] 33b1e0a273af: Verifying Checksum [2024-04-24T09:09:08.448Z] 33b1e0a273af: Download complete [2024-04-24T09:09:08.448Z] 5d3b04190fa2: Verifying Checksum [2024-04-24T09:09:08.448Z] 5d3b04190fa2: Download complete [2024-04-24T09:09:08.448Z] ec43610c2a17: Verifying Checksum [2024-04-24T09:09:08.448Z] ec43610c2a17: Download complete [2024-04-24T09:09:08.707Z] 5eb5b503b376: Verifying Checksum [2024-04-24T09:09:08.707Z] 5eb5b503b376: Download complete [2024-04-24T09:09:09.272Z] 2f39f015ded8: Download complete [2024-04-24T09:09:09.839Z] 5eb5b503b376: Pull complete [2024-04-24T09:09:09.839Z] 5c69ac0246d0: Pull complete [2024-04-24T09:09:10.404Z] ec43610c2a17: Pull complete [2024-04-24T09:09:10.404Z] 3a2ae6a8a46f: Pull complete [2024-04-24T09:09:10.662Z] 33b1e0a273af: Pull complete [2024-04-24T09:09:10.662Z] 5d3b04190fa2: Pull complete [2024-04-24T09:09:14.841Z] 2f39f015ded8: Pull complete [2024-04-24T09:09:14.841Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-04-24T09:09:14.841Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-04-24T09:09:14.841Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-04-24T09:09:15.061Z] prd-ubuntu20.04-docker-8c-8g-3489 does not seem to be running inside a container [2024-04-24T09:09:15.159Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/xfoundry_device-modbus-go_PR-549 -v /w/workspace/xfoundry_device-modbus-go_PR-549:/w/workspace/xfoundry_device-modbus-go_PR-549:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-549@tmp:/w/workspace/xfoundry_device-modbus-go_PR-549@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-04-24T09:09:18.816Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-3490 in /w/workspace/xfoundry_device-modbus-go_PR-549 [2024-04-24T09:09:19.061Z] $ docker top 6f5576667a6d95d3782343e2b93aeb6c67dbfd016d874cf8991b0b9dd13d7026 -eo pid,comm [Pipeline] { [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] ws [2024-04-24T09:09:19.318Z] Running in /w/workspace/device-modbus-go/1 [Pipeline] { [Pipeline] checkout [2024-04-24T09:09:19.424Z] Selected Git installation does not exist. Using Default [2024-04-24T09:09:19.424Z] The recommended git tool is: NONE [2024-04-24T09:09:19.552Z] ---> job-cost.sh [2024-04-24T09:09:19.552Z] lf-activate-venv: SKIPPING [2024-04-24T09:09:19.552Z] INFO: No Stack... [2024-04-24T09:09:20.189Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-04-24T09:09:20.456Z] INFO: Archiving Costs [Pipeline] sh [2024-04-24T09:09:20.816Z] + cat /w/workspace/xfoundry_device-modbus-go_PR-549/archives/cost.csv [2024-04-24T09:09:20.816Z] + cut -d, -f6 [Pipeline] lock [2024-04-24T09:09:20.854Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-549-1-stack-cost] [2024-04-24T09:09:20.858Z] Resource [jenkins-edgexfoundry-device-modbus-go-PR-549-1-stack-cost] did not exist. Created. [2024-04-24T09:09:20.863Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-549-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-04-24T09:09:21.255Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-04-24T09:09:21.302Z] Stashed 1 file(s) [Pipeline] } [2024-04-24T09:09:21.336Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-549-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-04-24T09:09:21.435Z] $ docker stop --time=1 6f5576667a6d95d3782343e2b93aeb6c67dbfd016d874cf8991b0b9dd13d7026 [2024-04-24T09:09:22.572Z] $ docker rm -f --volumes 6f5576667a6d95d3782343e2b93aeb6c67dbfd016d874cf8991b0b9dd13d7026 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-04-24T09:09:24.157Z] using credential edgex-jenkins-ssh [2024-04-24T09:09:24.181Z] Cloning the remote Git repository [2024-04-24T09:09:24.222Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2024-04-24T09:09:24.324Z] > git init /w/workspace/device-modbus-go/1 # timeout=10 [2024-04-24T09:09:24.455Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2024-04-24T09:09:24.456Z] > git --version # timeout=10 [2024-04-24T09:09:24.478Z] > git --version # 'git version 2.25.1' [2024-04-24T09:09:24.480Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-04-24T09:09:24.618Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-04-24T09:09:26.593Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2024-04-24T09:09:26.614Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-04-24T09:09:28.121Z] Merging remotes/origin/main commit 78c106f1b1d485d6b9e2c5cc4debe4f465169507 into PR head commit 074e778b67430273c7fc24f3ffd81deff0ecbf5c [2024-04-24T09:09:27.478Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2024-04-24T09:09:27.517Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2024-04-24T09:09:27.517Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-04-24T09:09:27.541Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/549/head:refs/remotes/origin/PR-549 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2024-04-24T09:09:28.143Z] > git config core.sparsecheckout # timeout=10 [2024-04-24T09:09:28.205Z] > git checkout -f 074e778b67430273c7fc24f3ffd81deff0ecbf5c # timeout=10 [2024-04-24T09:09:28.372Z] Merge succeeded, producing 074e778b67430273c7fc24f3ffd81deff0ecbf5c [2024-04-24T09:09:28.373Z] Checking out Revision 074e778b67430273c7fc24f3ffd81deff0ecbf5c (PR-549) [2024-04-24T09:09:28.287Z] > git remote # timeout=10 [2024-04-24T09:09:28.304Z] > git config --get remote.origin.url # timeout=10 [2024-04-24T09:09:28.319Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-04-24T09:09:28.337Z] > git merge 78c106f1b1d485d6b9e2c5cc4debe4f465169507 # timeout=10 [2024-04-24T09:09:28.360Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-04-24T09:09:28.380Z] > git config core.sparsecheckout # timeout=10 [2024-04-24T09:09:28.399Z] > git checkout -f 074e778b67430273c7fc24f3ffd81deff0ecbf5c # timeout=10 [2024-04-24T09:09:31.951Z] Commit message: "fix: handle error if primaryTable is unsupported" [2024-04-24T09:09:31.999Z] > git --version # timeout=10 [2024-04-24T09:09:32.010Z] > git --version # 'git version 2.25.1' [2024-04-24T09:09:32.022Z] fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-04-24T09:09:33.728Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-04-24T09:09:33.728Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-04-24T09:09:33.728Z] Dload Upload Total Spent Left Speed [2024-04-24T09:09:33.728Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 105k 0 --:--:-- --:--:-- --:--:-- 105k 100 12828 100 12828 0 0 104k 0 --:--:-- --:--:-- --:--:-- 103k [Pipeline] sh [2024-04-24T09:09:34.068Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-04-24T09:09:34.418Z] + sudo tee /etc/docker/daemon.new [2024-04-24T09:09:34.418Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2024-04-24T09:09:34.418Z] { [2024-04-24T09:09:34.418Z] "registry-mirrors": [ [2024-04-24T09:09:34.418Z] "https://nexus3.edgexfoundry.org:10001" [2024-04-24T09:09:34.418Z] ], [2024-04-24T09:09:34.418Z] "bip": "10.250.0.254/24", [2024-04-24T09:09:34.418Z] "hosts": [ [2024-04-24T09:09:34.418Z] "tcp://0.0.0.0:5555", [2024-04-24T09:09:34.418Z] "unix:///var/run/docker.sock" [2024-04-24T09:09:34.418Z] ], [2024-04-24T09:09:34.418Z] "mtu": 1458, [2024-04-24T09:09:34.418Z] "selinux-enabled": true, [2024-04-24T09:09:34.418Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-04-24T09:09:34.418Z] } [Pipeline] sh [2024-04-24T09:09:34.766Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-04-24T09:09:35.112Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-04-24T09:09:53.411Z] provisioning config files... [2024-04-24T09:09:53.438Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/1@tmp/config16875871999843904072tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-04-24T09:09:53.889Z] ---> ****-login.sh [2024-04-24T09:09:53.889Z] nexus3.edgexfoundry.org:10001 [2024-04-24T09:09:54.480Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-04-24T09:09:54.481Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-04-24T09:09:54.481Z] Configure a credential helper to remove this warning. See [2024-04-24T09:09:54.481Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-04-24T09:09:54.481Z] [2024-04-24T09:09:54.481Z] Login Succeeded [2024-04-24T09:09:54.481Z] nexus3.edgexfoundry.org:10002 [2024-04-24T09:09:54.750Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-04-24T09:09:54.750Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-04-24T09:09:54.751Z] Configure a credential helper to remove this warning. See [2024-04-24T09:09:54.751Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-04-24T09:09:54.751Z] [2024-04-24T09:09:54.751Z] Login Succeeded [2024-04-24T09:09:54.751Z] nexus3.edgexfoundry.org:10003 [2024-04-24T09:09:55.025Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-04-24T09:09:55.296Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-04-24T09:09:55.296Z] Configure a credential helper to remove this warning. See [2024-04-24T09:09:55.296Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-04-24T09:09:55.296Z] [2024-04-24T09:09:55.296Z] Login Succeeded [2024-04-24T09:09:55.296Z] nexus3.edgexfoundry.org:10004 [2024-04-24T09:09:55.566Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-04-24T09:09:55.566Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-04-24T09:09:55.566Z] Configure a credential helper to remove this warning. See [2024-04-24T09:09:55.566Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-04-24T09:09:55.566Z] [2024-04-24T09:09:55.566Z] Login Succeeded [2024-04-24T09:09:55.566Z] ****.io [2024-04-24T09:09:55.833Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-04-24T09:09:56.101Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-04-24T09:09:56.101Z] Configure a credential helper to remove this warning. See [2024-04-24T09:09:56.101Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-04-24T09:09:56.101Z] [2024-04-24T09:09:56.101Z] Login Succeeded [2024-04-24T09:09:56.101Z] ---> ****-login.sh ends [Pipeline] } [2024-04-24T09:09:56.127Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-04-24T09:09:56.534Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-04-24T09:09:56.569Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-04-24T09:09:56.609Z] ========================================================= [2024-04-24T09:09:56.610Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2024-04-24T09:09:56.610Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-04-24T09:09:57.112Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2024-04-24T09:09:57.387Z] Sending build context to Docker daemon 8.82MB [2024-04-24T09:09:57.387Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2024-04-24T09:09:57.387Z] Step 2/10 : FROM ${BASE} AS builder [2024-04-24T09:09:57.673Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-04-24T09:09:57.673Z] c6b39de5b339: Pulling fs layer [2024-04-24T09:09:57.673Z] a69c41024577: Pulling fs layer [2024-04-24T09:09:57.673Z] d6de4b400683: Pulling fs layer [2024-04-24T09:09:57.673Z] 35cb2a7552d0: Pulling fs layer [2024-04-24T09:09:57.673Z] 4f4fb700ef54: Pulling fs layer [2024-04-24T09:09:57.673Z] 464afbd9ba4c: Pulling fs layer [2024-04-24T09:09:57.673Z] 00f215d4a9da: Pulling fs layer [2024-04-24T09:09:57.673Z] d496ad576159: Pulling fs layer [2024-04-24T09:09:57.673Z] 464afbd9ba4c: Waiting [2024-04-24T09:09:57.673Z] 00f215d4a9da: Waiting [2024-04-24T09:09:57.673Z] d496ad576159: Waiting [2024-04-24T09:09:57.673Z] 35cb2a7552d0: Waiting [2024-04-24T09:09:57.673Z] 4f4fb700ef54: Waiting [2024-04-24T09:09:57.673Z] a69c41024577: Verifying Checksum [2024-04-24T09:09:57.673Z] a69c41024577: Download complete [2024-04-24T09:09:57.673Z] 35cb2a7552d0: Verifying Checksum [2024-04-24T09:09:57.673Z] 35cb2a7552d0: Download complete [2024-04-24T09:09:57.673Z] 4f4fb700ef54: Verifying Checksum [2024-04-24T09:09:57.673Z] 4f4fb700ef54: Download complete [2024-04-24T09:09:57.673Z] 464afbd9ba4c: Verifying Checksum [2024-04-24T09:09:57.673Z] 464afbd9ba4c: Download complete [2024-04-24T09:09:57.953Z] c6b39de5b339: Verifying Checksum [2024-04-24T09:09:57.953Z] c6b39de5b339: Download complete [2024-04-24T09:09:58.225Z] d496ad576159: Verifying Checksum [2024-04-24T09:09:58.225Z] d496ad576159: Download complete [2024-04-24T09:09:58.818Z] c6b39de5b339: Pull complete [2024-04-24T09:09:59.407Z] a69c41024577: Pull complete [2024-04-24T09:09:59.674Z] d6de4b400683: Verifying Checksum [2024-04-24T09:09:59.674Z] d6de4b400683: Download complete [2024-04-24T09:10:00.647Z] 00f215d4a9da: Verifying Checksum [2024-04-24T09:10:00.647Z] 00f215d4a9da: Download complete [2024-04-24T09:10:12.995Z] d6de4b400683: Pull complete [2024-04-24T09:10:12.995Z] 35cb2a7552d0: Pull complete [2024-04-24T09:10:12.995Z] 4f4fb700ef54: Pull complete [2024-04-24T09:10:12.995Z] 464afbd9ba4c: Pull complete [2024-04-24T09:10:21.212Z] 00f215d4a9da: Pull complete [2024-04-24T09:10:22.621Z] d496ad576159: Pull complete [2024-04-24T09:10:22.894Z] Digest: sha256:94db8a0955b4c8a8fb4ef40f1d66dd6a37c55842a5f6085bb7a69a85e2cfc316 [2024-04-24T09:10:22.894Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2024-04-24T09:10:22.894Z] ---> f246e2811388 [2024-04-24T09:10:22.894Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2024-04-24T09:10:24.844Z] ---> Running in 994dafbfca4d [2024-04-24T09:10:24.844Z] Removing intermediate container 994dafbfca4d [2024-04-24T09:10:24.844Z] ---> ffd922eb060f [2024-04-24T09:10:24.844Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-04-24T09:10:24.844Z] ---> Running in 36663326b191 [2024-04-24T09:10:25.111Z] Removing intermediate container 36663326b191 [2024-04-24T09:10:25.111Z] ---> fa9f9b4a0768 [2024-04-24T09:10:25.111Z] Step 5/10 : RUN apk add --update --no-cache make git openssh [2024-04-24T09:10:25.389Z] ---> Running in fd842cff7444 [2024-04-24T09:10:26.352Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-04-24T09:10:26.937Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-04-24T09:10:27.903Z] (1/8) Installing openssh-keygen (9.3_p2-r1) [2024-04-24T09:10:27.903Z] (2/8) Installing libedit (20221030.3.1-r1) [2024-04-24T09:10:27.903Z] (3/8) Installing openssh-client-common (9.3_p2-r1) [2024-04-24T09:10:27.903Z] (4/8) Installing openssh-client-default (9.3_p2-r1) [2024-04-24T09:10:27.903Z] (5/8) Installing openssh-sftp-server (9.3_p2-r1) [2024-04-24T09:10:27.903Z] (6/8) Installing openssh-server-common (9.3_p2-r1) [2024-04-24T09:10:27.903Z] (7/8) Installing openssh-server (9.3_p2-r1) [2024-04-24T09:10:27.903Z] (8/8) Installing openssh (9.3_p2-r1) [2024-04-24T09:10:27.903Z] Executing busybox-1.36.1-r5.trigger [2024-04-24T09:10:27.903Z] OK: 272 MiB in 60 packages [2024-04-24T09:10:29.325Z] Removing intermediate container fd842cff7444 [2024-04-24T09:10:29.325Z] ---> fdbef308390e [2024-04-24T09:10:29.325Z] Step 6/10 : WORKDIR /device-modbus-go [2024-04-24T09:10:29.325Z] ---> Running in dd98fbebc100 [2024-04-24T09:10:29.325Z] Removing intermediate container dd98fbebc100 [2024-04-24T09:10:29.325Z] ---> 667a432d4726 [2024-04-24T09:10:29.325Z] Step 7/10 : COPY go.mod vendor* ./ [2024-04-24T09:10:29.910Z] ---> 3643c8717742 [2024-04-24T09:10:29.910Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-04-24T09:10:29.910Z] ---> Running in 9614c17631d9 [2024-04-24T09:11:26.327Z] Removing intermediate container 9614c17631d9 [2024-04-24T09:11:26.327Z] ---> 99a2d8c76601 [2024-04-24T09:11:26.327Z] Step 9/10 : COPY . . [2024-04-24T09:11:27.746Z] ---> ed934b1c4c4d [2024-04-24T09:11:27.746Z] Step 10/10 : RUN ${MAKE} [2024-04-24T09:11:27.746Z] ---> Running in 73aa3a1c9c79 [2024-04-24T09:11:28.712Z] noop [2024-04-24T09:11:29.304Z] Removing intermediate container 73aa3a1c9c79 [2024-04-24T09:11:29.304Z] ---> 249b164ed897 [2024-04-24T09:11:29.304Z] Successfully built 249b164ed897 [2024-04-24T09:11:29.304Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-04-24T09:11:29.796Z] + docker inspect -f . ci-base-image-arm64 [2024-04-24T09:11:29.797Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-04-24T09:11:30.084Z] prd-ubuntu20.04-docker-arm64-4c-16g-3490 does not seem to be running inside a container [2024-04-24T09:11:30.152Z] $ 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 ******** ci-base-image-arm64 cat [2024-04-24T09:11:31.324Z] $ docker top 2a4e7f9e7faf60821cd10b6201ce7c845b72fafa822857c5223b7d7f8d29d86c -eo pid,comm [Pipeline] { [Pipeline] sh [2024-04-24T09:11:32.212Z] + go version [2024-04-24T09:11:32.212Z] go version go1.21.9 linux/arm64 [Pipeline] } [2024-04-24T09:11:32.248Z] $ docker stop --time=1 2a4e7f9e7faf60821cd10b6201ce7c845b72fafa822857c5223b7d7f8d29d86c [2024-04-24T09:11:33.866Z] $ docker rm -f --volumes 2a4e7f9e7faf60821cd10b6201ce7c845b72fafa822857c5223b7d7f8d29d86c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-04-24T09:11:34.774Z] + docker inspect -f . ci-base-image-arm64 [2024-04-24T09:11:34.775Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-04-24T09:11:35.032Z] prd-ubuntu20.04-docker-arm64-4c-16g-3490 does not seem to be running inside a container [2024-04-24T09:11:35.093Z] $ 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 ******** ci-base-image-arm64 cat [2024-04-24T09:11:36.312Z] $ docker top 25bc5a3b81f8353512a4400490e71f3dd2a90ba9119fd36be4dbc36b55254f1a -eo pid,comm [Pipeline] { [Pipeline] sh [2024-04-24T09:11:37.205Z] + git config --global --add safe.directory /w/workspace/device-modbus-go/1 [Pipeline] fileExists [Pipeline] sh [2024-04-24T09:11:37.926Z] + make test [2024-04-24T09:11:37.926Z] go test ./... -coverprofile=coverage.out [2024-04-24T09:11:41.463Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2024-04-24T09:13:48.221Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2024-04-24T09:13:48.221Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.078s coverage: 47.9% of statements [2024-04-24T09:13:48.221Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2024-04-24T09:13:48.221Z] go vet ./... [2024-04-24T09:14:03.233Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-04-24T09:14:03.233Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-04-24T09:14:03.233Z] ./bin/test-attribution-txt.sh [2024-04-24T09:14:03.233Z] An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [Pipeline] echo [2024-04-24T09:14:03.274Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-04-24T09:14:03.310Z] $ docker stop --time=1 25bc5a3b81f8353512a4400490e71f3dd2a90ba9119fd36be4dbc36b55254f1a [2024-04-24T09:14:05.085Z] $ docker rm -f --volumes 25bc5a3b81f8353512a4400490e71f3dd2a90ba9119fd36be4dbc36b55254f1a [Pipeline] // withDockerContainer [Pipeline] sh [2024-04-24T09:14:06.236Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-04-24T09:14:06.278Z] Warning: overwriting stash ‘coverage-report’ [2024-04-24T09:14:06.689Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-04-24T09:14:07.301Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-04-24T09:14:07.635Z] + ls -al . [2024-04-24T09:14:07.635Z] total 192 [2024-04-24T09:14:07.635Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 24 09:11 . [2024-04-24T09:14:07.635Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 24 09:09 .. [2024-04-24T09:14:07.635Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 24 09:09 .dockerignore [2024-04-24T09:14:07.635Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 24 09:09 .git [2024-04-24T09:14:07.635Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 24 09:09 .github [2024-04-24T09:14:07.635Z] -rw-rw-r-- 1 jenkins jenkins 266 Apr 24 09:09 .gitignore [2024-04-24T09:14:07.635Z] -rw-rw-r-- 1 jenkins jenkins 41 Apr 24 09:09 .golangci.yml [2024-04-24T09:14:07.635Z] -rw-rw-r-- 1 jenkins jenkins 11101 Apr 24 09:09 Attribution.txt [2024-04-24T09:14:07.635Z] -rw-rw-r-- 1 jenkins jenkins 16388 Apr 24 09:09 CHANGELOG.md [2024-04-24T09:14:07.635Z] -rw-rw-r-- 1 jenkins jenkins 1474 Apr 24 09:09 Dockerfile [2024-04-24T09:14:07.635Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 24 09:09 GOVERNANCE.md [2024-04-24T09:14:07.635Z] -rw-rw-r-- 1 jenkins jenkins 658 Apr 24 09:09 Jenkinsfile [2024-04-24T09:14:07.635Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 24 09:09 LICENSE [2024-04-24T09:14:07.635Z] -rw-rw-r-- 1 jenkins jenkins 1942 Apr 24 09:09 Makefile [2024-04-24T09:14:07.635Z] -rw-rw-r-- 1 jenkins jenkins 622 Apr 24 09:09 OWNERS.md [2024-04-24T09:14:07.635Z] -rw-rw-r-- 1 jenkins jenkins 4463 Apr 24 09:09 README.md [2024-04-24T09:14:07.635Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 24 09:07 VERSION [2024-04-24T09:14:07.635Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 24 09:09 bin [2024-04-24T09:14:07.635Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 24 09:09 cmd [2024-04-24T09:14:07.635Z] -rw-r--r-- 1 jenkins jenkins 24601 Apr 24 09:13 coverage.out [2024-04-24T09:14:07.635Z] -rw-rw-r-- 1 jenkins jenkins 3987 Apr 24 09:09 go.mod [2024-04-24T09:14:07.635Z] -rw-rw-r-- 1 jenkins jenkins 36558 Apr 24 09:09 go.sum [2024-04-24T09:14:07.635Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 24 09:09 internal [2024-04-24T09:14:07.635Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 24 09:09 simulator [2024-04-24T09:14:07.635Z] -rw-rw-r-- 1 jenkins jenkins 229 Apr 24 09:09 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-04-24T09:14:08.063Z] + 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=074e778b67430273c7fc24f3ffd81deff0ecbf5c --label arch=arm64 --label version=0.0.0 . [2024-04-24T09:14:08.328Z] Sending build context to Docker daemon 8.845MB [2024-04-24T09:14:08.593Z] Step 1/23 : ARG BASE=golang:1.21-alpine3.18 [2024-04-24T09:14:08.593Z] Step 2/23 : FROM ${BASE} AS builder [2024-04-24T09:14:08.593Z] ---> 249b164ed897 [2024-04-24T09:14:08.593Z] Step 3/23 : ARG ADD_BUILD_TAGS="" [2024-04-24T09:14:08.593Z] ---> Running in 2b0d4646bf53 [2024-04-24T09:14:08.858Z] Removing intermediate container 2b0d4646bf53 [2024-04-24T09:14:08.858Z] ---> ba4480197c75 [2024-04-24T09:14:08.858Z] Step 4/23 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-04-24T09:14:08.858Z] ---> Running in 2818ac75bb55 [2024-04-24T09:14:09.126Z] Removing intermediate container 2818ac75bb55 [2024-04-24T09:14:09.126Z] ---> fccdae537981 [2024-04-24T09:14:09.126Z] Step 5/23 : RUN apk add --update --no-cache make git openssh [2024-04-24T09:14:09.393Z] ---> Running in 303bf0dab1e2 [2024-04-24T09:14:10.350Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-04-24T09:14:10.615Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-04-24T09:14:11.567Z] OK: 272 MiB in 60 packages [2024-04-24T09:14:12.523Z] Removing intermediate container 303bf0dab1e2 [2024-04-24T09:14:12.523Z] ---> f1fad8d52928 [2024-04-24T09:14:12.523Z] Step 6/23 : WORKDIR /device-modbus-go [2024-04-24T09:14:12.523Z] ---> Running in 6574324092f5 [2024-04-24T09:14:12.789Z] Removing intermediate container 6574324092f5 [2024-04-24T09:14:12.789Z] ---> 8a348467ff45 [2024-04-24T09:14:12.789Z] Step 7/23 : COPY go.mod vendor* ./ [2024-04-24T09:14:13.055Z] ---> 34554a2953d3 [2024-04-24T09:14:13.055Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-04-24T09:14:13.322Z] ---> Running in a8ebe8829e2f [2024-04-24T09:14:15.260Z] Removing intermediate container a8ebe8829e2f [2024-04-24T09:14:15.260Z] ---> e40fab316cb1 [2024-04-24T09:14:15.260Z] Step 9/23 : COPY . . [2024-04-24T09:14:16.217Z] ---> ca8baa6b2e22 [2024-04-24T09:14:16.217Z] Step 10/23 : RUN ${MAKE} [2024-04-24T09:14:16.217Z] ---> Running in 40966f7670d7 [2024-04-24T09:14:17.176Z] CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-modbus-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.11" -trimpath -mod=readonly -o cmd/device-modbus ./cmd [2024-04-24T09:16:23.861Z] Removing intermediate container 40966f7670d7 [2024-04-24T09:16:23.861Z] ---> 560889028a6a [2024-04-24T09:16:23.861Z] Step 11/23 : FROM alpine:3.18 [2024-04-24T09:16:23.861Z] 3.18: Pulling from library/alpine [2024-04-24T09:16:23.861Z] c6b39de5b339: Already exists [2024-04-24T09:16:23.861Z] Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 [2024-04-24T09:16:23.861Z] Status: Downloaded newer image for alpine:3.18 [2024-04-24T09:16:23.861Z] ---> 33abbf032149 [2024-04-24T09:16:23.861Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2024-04-24T09:16:23.861Z] ---> Running in 4a23ccc2c313 [2024-04-24T09:16:23.861Z] Removing intermediate container 4a23ccc2c313 [2024-04-24T09:16:23.861Z] ---> dca19a06d5bb [2024-04-24T09:16:23.861Z] Step 13/23 : RUN apk add --update --no-cache dumb-init [2024-04-24T09:16:23.861Z] ---> Running in 986a8518ce1a [2024-04-24T09:16:24.818Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-04-24T09:16:25.085Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-04-24T09:16:26.048Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-04-24T09:16:26.048Z] Executing busybox-1.36.1-r5.trigger [2024-04-24T09:16:26.048Z] OK: 8 MiB in 16 packages [2024-04-24T09:16:27.013Z] Removing intermediate container 986a8518ce1a [2024-04-24T09:16:27.013Z] ---> 9853e70684a6 [2024-04-24T09:16:27.013Z] Step 14/23 : RUN apk --no-cache upgrade [2024-04-24T09:16:27.013Z] ---> Running in 03d84ee27be7 [2024-04-24T09:16:27.972Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-04-24T09:16:28.240Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-04-24T09:16:29.198Z] Upgrading critical system libraries and apk-tools: [2024-04-24T09:16:29.198Z] (1/1) Upgrading apk-tools (2.14.0-r2 -> 2.14.4-r0) [2024-04-24T09:16:29.198Z] Executing busybox-1.36.1-r5.trigger [2024-04-24T09:16:29.198Z] Continuing the upgrade transaction with new apk-tools: [2024-04-24T09:16:29.484Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-04-24T09:16:29.751Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-04-24T09:16:30.336Z] (1/3) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) [2024-04-24T09:16:30.336Z] (2/3) Upgrading libcrypto3 (3.1.4-r5 -> 3.1.4-r6) [2024-04-24T09:16:30.603Z] (3/3) Upgrading libssl3 (3.1.4-r5 -> 3.1.4-r6) [2024-04-24T09:16:30.603Z] OK: 8 MiB in 16 packages [2024-04-24T09:16:31.565Z] Removing intermediate container 03d84ee27be7 [2024-04-24T09:16:31.565Z] ---> 6587bfd96255 [2024-04-24T09:16:31.565Z] Step 15/23 : COPY --from=builder /device-modbus-go/cmd / [2024-04-24T09:16:32.524Z] ---> 8da7b92e33e3 [2024-04-24T09:16:32.524Z] Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / [2024-04-24T09:16:33.106Z] ---> c736579af124 [2024-04-24T09:16:33.106Z] Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / [2024-04-24T09:16:33.687Z] ---> b4bdac60e91d [2024-04-24T09:16:33.687Z] Step 18/23 : EXPOSE 59901 [2024-04-24T09:16:33.687Z] ---> Running in 290b370d4d31 [2024-04-24T09:16:33.953Z] Removing intermediate container 290b370d4d31 [2024-04-24T09:16:33.953Z] ---> 817e5a6fcc69 [2024-04-24T09:16:33.953Z] Step 19/23 : ENTRYPOINT ["/device-modbus"] [2024-04-24T09:16:33.953Z] ---> Running in 37769bf86ac6 [2024-04-24T09:16:34.227Z] Removing intermediate container 37769bf86ac6 [2024-04-24T09:16:34.227Z] ---> e67cf664f8d3 [2024-04-24T09:16:34.227Z] Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2024-04-24T09:16:34.227Z] ---> Running in e708d60c9f58 [2024-04-24T09:16:34.805Z] Removing intermediate container e708d60c9f58 [2024-04-24T09:16:34.805Z] ---> a5f74f5511f0 [2024-04-24T09:16:34.805Z] Step 21/23 : LABEL arch=arm64 [2024-04-24T09:16:34.805Z] ---> Running in 87969aafa1ba [2024-04-24T09:16:35.070Z] Removing intermediate container 87969aafa1ba [2024-04-24T09:16:35.070Z] ---> bcee9e926c2a [2024-04-24T09:16:35.070Z] Step 22/23 : LABEL git_sha=074e778b67430273c7fc24f3ffd81deff0ecbf5c [2024-04-24T09:16:35.070Z] ---> Running in 758db13b7883 [2024-04-24T09:16:35.334Z] Removing intermediate container 758db13b7883 [2024-04-24T09:16:35.334Z] ---> 12ab7979fea0 [2024-04-24T09:16:35.334Z] Step 23/23 : LABEL version=0.0.0 [2024-04-24T09:16:35.334Z] ---> Running in 7f7ddb1c2c6d [2024-04-24T09:16:35.911Z] Removing intermediate container 7f7ddb1c2c6d [2024-04-24T09:16:35.911Z] ---> 96bfc9d65f53 [2024-04-24T09:16:35.911Z] [Warning] One or more build-args [ARCH] were not consumed [2024-04-24T09:16:35.911Z] Successfully built 96bfc9d65f53 [2024-04-24T09:16:35.911Z] Successfully tagged device-modbus-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-04-24T09:16:36.742Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-04-24T09:16:36.742Z] [2024-04-24T09:16:36.742Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-04-24T09:16:37.142Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-04-24T09:16:37.142Z] arm64: Pulling from edgex-lftools-log-publisher [2024-04-24T09:16:37.142Z] 8998bd30e6a1: Pulling fs layer [2024-04-24T09:16:37.142Z] 04944245beec: Pulling fs layer [2024-04-24T09:16:37.142Z] 699f458cf7ca: Pulling fs layer [2024-04-24T09:16:37.142Z] 765212b225bb: Pulling fs layer [2024-04-24T09:16:37.142Z] f23df028b6ca: Pulling fs layer [2024-04-24T09:16:37.142Z] d65c8cfc05b1: Pulling fs layer [2024-04-24T09:16:37.142Z] 2437ff75d9bd: Pulling fs layer [2024-04-24T09:16:37.142Z] 765212b225bb: Waiting [2024-04-24T09:16:37.142Z] f23df028b6ca: Waiting [2024-04-24T09:16:37.142Z] d65c8cfc05b1: Waiting [2024-04-24T09:16:37.142Z] 2437ff75d9bd: Waiting [2024-04-24T09:16:37.407Z] 04944245beec: Verifying Checksum [2024-04-24T09:16:37.407Z] 04944245beec: Download complete [2024-04-24T09:16:37.407Z] 765212b225bb: Verifying Checksum [2024-04-24T09:16:37.407Z] 765212b225bb: Download complete [2024-04-24T09:16:37.407Z] f23df028b6ca: Verifying Checksum [2024-04-24T09:16:37.407Z] f23df028b6ca: Download complete [2024-04-24T09:16:37.407Z] d65c8cfc05b1: Verifying Checksum [2024-04-24T09:16:37.407Z] d65c8cfc05b1: Download complete [2024-04-24T09:16:37.672Z] 699f458cf7ca: Verifying Checksum [2024-04-24T09:16:37.672Z] 699f458cf7ca: Download complete [2024-04-24T09:16:37.937Z] 8998bd30e6a1: Verifying Checksum [2024-04-24T09:16:37.937Z] 8998bd30e6a1: Download complete [2024-04-24T09:16:40.509Z] 2437ff75d9bd: Verifying Checksum [2024-04-24T09:16:40.509Z] 2437ff75d9bd: Download complete [2024-04-24T09:16:42.442Z] 8998bd30e6a1: Pull complete [2024-04-24T09:16:43.020Z] 04944245beec: Pull complete [2024-04-24T09:16:44.420Z] 699f458cf7ca: Pull complete [2024-04-24T09:16:44.686Z] 765212b225bb: Pull complete [2024-04-24T09:16:45.641Z] f23df028b6ca: Pull complete [2024-04-24T09:16:45.641Z] d65c8cfc05b1: Pull complete [2024-04-24T09:17:03.849Z] 2437ff75d9bd: Pull complete [2024-04-24T09:17:03.849Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-04-24T09:17:03.849Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-04-24T09:17:03.849Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-04-24T09:17:04.193Z] prd-ubuntu20.04-docker-arm64-4c-16g-3490 does not seem to be running inside a container [2024-04-24T09:17:04.260Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2024-04-24T09:17:06.657Z] $ docker top 7dd3f58ec008e1eaefd94fbcd94871dceea906497a10d9cc5820ee0f4f58ebe1 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-04-24T09:17:07.529Z] ---> job-cost.sh [2024-04-24T09:17:07.529Z] lf-activate-venv: SKIPPING [2024-04-24T09:17:07.529Z] INFO: No Stack... [2024-04-24T09:17:07.792Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-04-24T09:17:08.741Z] INFO: Archiving Costs [Pipeline] sh [2024-04-24T09:17:09.077Z] + cat /w/workspace/device-modbus-go/1/archives/cost.csv [2024-04-24T09:17:09.077Z] + cut -d, -f6 [Pipeline] lock [2024-04-24T09:17:09.139Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-549-1-stack-cost] [2024-04-24T09:17:09.144Z] Resource [jenkins-edgexfoundry-device-modbus-go-PR-549-1-stack-cost] did not exist. Created. [2024-04-24T09:17:09.149Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-549-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-04-24T09:17:09.552Z] /w/workspace/device-modbus-go/1@tmp/durable-203ae494/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-04-24T09:17:09.887Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-04-24T09:17:09.923Z] Warning: overwriting stash ‘stack-cost’ [2024-04-24T09:17:09.964Z] Stashed 1 file(s) [Pipeline] } [2024-04-24T09:17:09.978Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-549-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-04-24T09:17:10.063Z] $ docker stop --time=1 7dd3f58ec008e1eaefd94fbcd94871dceea906497a10d9cc5820ee0f4f58ebe1 [2024-04-24T09:17:11.534Z] $ docker rm -f --volumes 7dd3f58ec008e1eaefd94fbcd94871dceea906497a10d9cc5820ee0f4f58ebe1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2024-04-24T09:17:12.608Z] provisioning config files... [2024-04-24T09:17:12.615Z] copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-549@tmp/config11232265308025903435tmp [Pipeline] { [Pipeline] sh [2024-04-24T09:17:12.961Z] + set +x [2024-04-24T09:17:12.962Z] + curl -s https://codecov.io/bash [2024-04-24T09:17:12.962Z] + bash -s -- [2024-04-24T09:17:12.962Z] [2024-04-24T09:17:12.962Z] _____ _ [2024-04-24T09:17:12.962Z] / ____| | | [2024-04-24T09:17:12.962Z] | | ___ __| | ___ ___ _____ __ [2024-04-24T09:17:12.962Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2024-04-24T09:17:12.962Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2024-04-24T09:17:12.962Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2024-04-24T09:17:12.962Z] Bash-1.0.6 [2024-04-24T09:17:12.962Z] [2024-04-24T09:17:12.962Z] [2024-04-24T09:17:12.962Z] ==> git version 2.25.1 found [2024-04-24T09:17:12.962Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2024-04-24T09:17:12.962Z] Release-Date: 2020-01-08 [2024-04-24T09:17:12.962Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2024-04-24T09:17:12.962Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2024-04-24T09:17:12.962Z] ==> Jenkins CI detected. [2024-04-24T09:17:12.962Z] current dir:  /w/workspace/xfoundry_device-modbus-go_PR-549 [2024-04-24T09:17:12.962Z] project root: . [2024-04-24T09:17:12.962Z] --> token set from env [2024-04-24T09:17:12.962Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2024-04-24T09:17:12.962Z] ==> Running gcov in . (disable via -X gcov) [2024-04-24T09:17:13.221Z] ==> Python coveragepy not found [2024-04-24T09:17:13.221Z] ==> Searching for coverage reports in: [2024-04-24T09:17:13.221Z] + . [2024-04-24T09:17:13.221Z] -> Found 1 reports [2024-04-24T09:17:13.221Z] ==> Detecting git/mercurial file structure [2024-04-24T09:17:13.221Z] ==> Reading reports [2024-04-24T09:17:13.221Z] + ./coverage.out bytes=24601 [2024-04-24T09:17:13.221Z] ==> Appending adjustments [2024-04-24T09:17:13.221Z] https://docs.codecov.io/docs/fixing-reports [2024-04-24T09:17:13.221Z] + Found adjustments [2024-04-24T09:17:13.221Z] ==> Gzipping contents [2024-04-24T09:17:13.221Z] 4.0K /tmp/codecov.jCrM90.gz [2024-04-24T09:17:13.221Z] ==> Uploading reports [2024-04-24T09:17:13.221Z] url: https://codecov.io [2024-04-24T09:17:13.221Z] query: branch=PR-549&commit=074e778b67430273c7fc24f3ffd81deff0ecbf5c&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-549%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=549&job=&cmd_args= [2024-04-24T09:17:13.221Z] -> Pinging Codecov [2024-04-24T09:17:13.221Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-549&commit=074e778b67430273c7fc24f3ffd81deff0ecbf5c&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-549%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=549&job=&cmd_args= [2024-04-24T09:17:13.480Z] -> Uploading to [2024-04-24T09:17:13.481Z] https://storage.googleapis.com/codecov/v4/raw/2024-04-24/55DBCA73C666E3227836607328DD7E49/074e778b67430273c7fc24f3ffd81deff0ecbf5c/d0f58bc3-292c-46b4-80e2-d57334db7146.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240424%2Fus-west2%2Fs3%2Faws4_request&X-Amz-Date=20240424T091713Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=e6361dbda904fb042bf9d49b1d250212712424cc1950811921e5f2ca6fd4a38a [2024-04-24T09:17:13.481Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-04-24T09:17:13.481Z] Dload Upload Total Spent Left Speed [2024-04-24T09:17:13.745Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3843 0 0 100 3843 0 15621 --:--:-- --:--:-- --:--:-- 15558 100 3843 0 0 100 3843 0 15621 --:--:-- --:--:-- --:--:-- 15558 [2024-04-24T09:17:13.745Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/074e778b67430273c7fc24f3ffd81deff0ecbf5c [Pipeline] } [2024-04-24T09:17:13.774Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2024-04-24T09:17:15.671Z] + [ -d /w/workspace/xfoundry_device-modbus-go_PR-549/archives ] [2024-04-24T09:17:15.671Z] + ls -al /w/workspace/xfoundry_device-modbus-go_PR-549/archives [2024-04-24T09:17:15.671Z] total 16 [2024-04-24T09:17:15.671Z] drwxr-xr-x 3 root root 4096 Apr 24 09:09 . [2024-04-24T09:17:15.671Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 24 09:09 .. [2024-04-24T09:17:15.671Z] drwxr-xr-x 2 root root 4096 Apr 24 09:09 cost [2024-04-24T09:17:15.671Z] -rw-r--r-- 1 root root 88 Apr 24 09:09 cost.csv [2024-04-24T09:17:15.671Z] + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-549/archives [2024-04-24T09:17:15.671Z] + ls -al /w/workspace/xfoundry_device-modbus-go_PR-549/archives [2024-04-24T09:17:15.671Z] total 16 [2024-04-24T09:17:15.671Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 24 09:09 . [2024-04-24T09:17:15.671Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 24 09:09 .. [2024-04-24T09:17:15.671Z] drwxr-xr-x 2 jenkins jenkins 4096 Apr 24 09:09 cost [2024-04-24T09:17:15.671Z] -rw-r--r-- 1 jenkins jenkins 88 Apr 24 09:09 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-04-24T09:17:16.001Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-04-24T09:17:16.881Z] ---> package-listing.sh [2024-04-24T09:17:16.881Z] ++ tr '[:upper:]' '[:lower:]' [2024-04-24T09:17:16.881Z] ++ facter osfamily [2024-04-24T09:17:17.139Z] + OS_FAMILY=debian [2024-04-24T09:17:17.139Z] + workspace=/w/workspace/xfoundry_device-modbus-go_PR-549 [2024-04-24T09:17:17.139Z] + START_PACKAGES=/tmp/packages_start.txt [2024-04-24T09:17:17.139Z] + END_PACKAGES=/tmp/packages_end.txt [2024-04-24T09:17:17.139Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-04-24T09:17:17.139Z] + PACKAGES=/tmp/packages_start.txt [2024-04-24T09:17:17.139Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-549 ']' [2024-04-24T09:17:17.139Z] + PACKAGES=/tmp/packages_end.txt [2024-04-24T09:17:17.139Z] + case "${OS_FAMILY}" in [2024-04-24T09:17:17.139Z] + dpkg -l [2024-04-24T09:17:17.139Z] + grep '^ii' [2024-04-24T09:17:17.139Z] + '[' -f /tmp/packages_start.txt ']' [2024-04-24T09:17:17.139Z] + '[' -f /tmp/packages_end.txt ']' [2024-04-24T09:17:17.139Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-04-24T09:17:17.139Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-549 ']' [2024-04-24T09:17:17.139Z] + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-549/archives/ [2024-04-24T09:17:17.139Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-549/archives/ [Pipeline] echo [2024-04-24T09:17:17.178Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/xfoundry_device-modbus-go_PR-549/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-04-24T09:17:17.468Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-04-24T09:17:18.102Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-04-24T09:17:18.102Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-04-24T09:17:18.266Z] prd-ubuntu20.04-docker-8c-8g-3489 does not seem to be running inside a container [2024-04-24T09:17:18.296Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/xfoundry_device-modbus-go_PR-549/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/xfoundry_device-modbus-go_PR-549 -v /w/workspace/xfoundry_device-modbus-go_PR-549:/w/workspace/xfoundry_device-modbus-go_PR-549:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-549@tmp:/w/workspace/xfoundry_device-modbus-go_PR-549@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-04-24T09:17:18.480Z] $ docker top 9d8ce65ea2093f8847ce709e4a3472c140a5cdf467abc22697e9171403526747 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-04-24T09:17:18.870Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-04-24T09:17:19.176Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-04-24T09:17:19.479Z] + ls /var/log/sa-host [2024-04-24T09:17:19.479Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-04-24T09:17:19.703Z] provisioning config files... [2024-04-24T09:17:19.712Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-549@tmp/config16284052025536850042tmp [Pipeline] { [Pipeline] echo [2024-04-24T09:17:19.775Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-04-24T09:17:20.077Z] ---> create-netrc.sh [Pipeline] } [2024-04-24T09:17:20.110Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-04-24T09:17:20.521Z] ---> python-tools-install.sh [Pipeline] echo [2024-04-24T09:17:20.556Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-04-24T09:17:20.863Z] ---> sudo-logs.sh [2024-04-24T09:17:20.863Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-04-24T09:17:20.956Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-04-24T09:17:21.270Z] ---> job-cost.sh [2024-04-24T09:17:21.270Z] lf-activate-venv: SKIPPING [2024-04-24T09:17:21.270Z] DEBUG: total: 0.2199999988079071 [2024-04-24T09:17:21.270Z] INFO: Retrieving Stack Cost... [2024-04-24T09:17:21.529Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-04-24T09:17:22.095Z] INFO: Archiving Costs [Pipeline] echo [2024-04-24T09:17:22.128Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-04-24T09:17:22.435Z] ---> logs-deploy.sh [2024-04-24T09:17:22.435Z] lf-activate-venv: SKIPPING [2024-04-24T09:17:22.435Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-549/1 [2024-04-24T09:17:22.435Z] INFO: archiving workspace using pattern(s): [2024-04-24T09:17:23.372Z] Archives upload complete. [2024-04-24T09:17:23.372Z] INFO: archiving logs to Nexus