Pull request #527 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 ejlee3 for edgexfoundry/device-modbus-go Obtained Jenkinsfile from d17fa09e5d9a8cb29761356bc0bf6af28692fd42+3d748354a43de7f92f17495f0075fba5a156a8dd (1d8ed2a13b346fb70da1503a967cf185970e053c) 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-ssh446790716664225386.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-ssh1894390047711621049.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-527/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-527/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8836968703213014708.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-527/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh203258975516785183.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-ssh17164113580362705840.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-527/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-527/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh16588014479551303781.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-modbus-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-modbus-go-settings PROJECT: device-modbus-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-modbus DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-1576 in /w/workspace/xfoundry_device-modbus-go_PR-527 [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-527 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 3d748354a43de7f92f17495f0075fba5a156a8dd into PR head commit d17fa09e5d9a8cb29761356bc0bf6af28692fd42 Merge succeeded, producing d17fa09e5d9a8cb29761356bc0bf6af28692fd42 Checking out Revision d17fa09e5d9a8cb29761356bc0bf6af28692fd42 (PR-527) > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/527/head:refs/remotes/origin/PR-527 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d17fa09e5d9a8cb29761356bc0bf6af28692fd42 # 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 3d748354a43de7f92f17495f0075fba5a156a8dd # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d17fa09e5d9a8cb29761356bc0bf6af28692fd42 # timeout=10 Commit message: "build: Update to latest 3.2.0 dev go-mods" 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 [2023-11-28T18:45:11.345Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-11-28T18:45:11.533Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-11-28T18:45:11.642Z] ========================================================= [2023-11-28T18:45:11.642Z] EdgeX Global Pipelines Version Info [2023-11-28T18:45:11.642Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-11-28T18:45:12.396Z] ------------------- [2023-11-28T18:45:12.396Z] stable info: [2023-11-28T18:45:12.396Z] ------------------- [2023-11-28T18:45:12.396Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-11-28T18:45:12.396Z] Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2023-11-28T18:45:12.396Z] Message: update stable to v1.0.258 [2023-11-28T18:45:12.970Z] ------------------- [2023-11-28T18:45:12.970Z] experimental info: [2023-11-28T18:45:12.970Z] ------------------- [2023-11-28T18:45:12.970Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-11-28T18:45:12.970Z] Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2023-11-28T18:45:12.970Z] Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-11-28T18:45:13.179Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo [2023-11-28T18:45:13.240Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo [2023-11-28T18:45:13.306Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-11-28T18:45:13.374Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-11-28T18:45:13.439Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-11-28T18:45:13.498Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2023-11-28T18:45:13.563Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-11-28T18:45:13.619Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-11-28T18:45:13.677Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-11-28T18:45:13.735Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-11-28T18:45:13.788Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-11-28T18:45:13.851Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo [2023-11-28T18:45:13.910Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-11-28T18:45:13.974Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-11-28T18:45:14.038Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-11-28T18:45:14.100Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-11-28T18:45:14.166Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-11-28T18:45:14.240Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-11-28T18:45:14.307Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-11-28T18:45:14.368Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-11-28T18:45:14.424Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-11-28T18:45:14.497Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-11-28T18:45:14.574Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-11-28T18:45:14.653Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-11-28T18:45:14.724Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-11-28T18:45:14.793Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-11-28T18:45:14.869Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-11-28T18:45:14.947Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-527 [Pipeline] echo [2023-11-28T18:45:15.022Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-527 [Pipeline] echo [2023-11-28T18:45:15.109Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-527 [Pipeline] echo [2023-11-28T18:45:15.189Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d17fa09e5d9a8cb29761356bc0bf6af28692fd42 [Pipeline] echo [2023-11-28T18:45:15.268Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d17fa09 [Pipeline] echo [2023-11-28T18:45:15.351Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-11-28T18:45:15.519Z] provisioning config files... [2023-11-28T18:45:15.533Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-527@tmp/config17630611405076432880tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-28T18:45:15.932Z] ---> ****-login.sh [2023-11-28T18:45:15.932Z] nexus3.edgexfoundry.org:10001 [2023-11-28T18:45:15.932Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-28T18:45:16.192Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-28T18:45:16.192Z] Configure a credential helper to remove this warning. See [2023-11-28T18:45:16.192Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-28T18:45:16.192Z] [2023-11-28T18:45:16.192Z] Login Succeeded [2023-11-28T18:45:16.192Z] nexus3.edgexfoundry.org:10002 [2023-11-28T18:45:16.192Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-28T18:45:16.192Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-28T18:45:16.193Z] Configure a credential helper to remove this warning. See [2023-11-28T18:45:16.193Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-28T18:45:16.193Z] [2023-11-28T18:45:16.193Z] Login Succeeded [2023-11-28T18:45:16.193Z] nexus3.edgexfoundry.org:10003 [2023-11-28T18:45:16.193Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-28T18:45:16.453Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-28T18:45:16.453Z] Configure a credential helper to remove this warning. See [2023-11-28T18:45:16.453Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-28T18:45:16.453Z] [2023-11-28T18:45:16.453Z] Login Succeeded [2023-11-28T18:45:16.453Z] nexus3.edgexfoundry.org:10004 [2023-11-28T18:45:16.453Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-28T18:45:16.453Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-28T18:45:16.453Z] Configure a credential helper to remove this warning. See [2023-11-28T18:45:16.453Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-28T18:45:16.453Z] [2023-11-28T18:45:16.453Z] Login Succeeded [2023-11-28T18:45:16.453Z] ****.io [2023-11-28T18:45:16.453Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-28T18:45:16.714Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-28T18:45:16.714Z] Configure a credential helper to remove this warning. See [2023-11-28T18:45:16.714Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-28T18:45:16.714Z] [2023-11-28T18:45:16.714Z] Login Succeeded [2023-11-28T18:45:16.714Z] ---> ****-login.sh ends [Pipeline] } [2023-11-28T18:45:16.744Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-11-28T18:45:17.582Z] + git rev-list -1 --merges d17fa09e5d9a8cb29761356bc0bf6af28692fd42~1..d17fa09e5d9a8cb29761356bc0bf6af28692fd42 [Pipeline] echo [2023-11-28T18:45:17.630Z] -----------> git rev-list -1 --merges d17fa09e5d9a8cb29761356bc0bf6af28692fd42~1..d17fa09e5d9a8cb29761356bc0bf6af28692fd42 d17fa09e5d9a8cb29761356bc0bf6af28692fd42 [false] [Pipeline] sh [2023-11-28T18:45:17.965Z] + git log --format=format:%s -1 d17fa09e5d9a8cb29761356bc0bf6af28692fd42 [Pipeline] echo [2023-11-28T18:45:18.000Z] ========================================================= [2023-11-28T18:45:18.000Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-11-28T18:45:18.000Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-11-28T18:45:18.487Z] + git log --format=format:%s -1 d17fa09e5d9a8cb29761356bc0bf6af28692fd42 [Pipeline] echo [2023-11-28T18:45:18.523Z] [semverPrep] GIT_COMMIT: d17fa09e5d9a8cb29761356bc0bf6af28692fd42, Commit Message: build: Update to latest 3.2.0 dev go-mods [Pipeline] echo [2023-11-28T18:45:18.577Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-11-28T18:45:18.983Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-11-28T18:45:18.983Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-11-28T18:45:18.983Z] + [ -e /tmp/ssh_known_hosts ] [2023-11-28T18:45:18.983Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-11-28T18:45:18.983Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-11-28T18:45:18.983Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-11-28T18:45:18.983Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-28T18:45:19.426Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-28T18:45:19.426Z] [2023-11-28T18:45:19.426Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-28T18:45:19.825Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-28T18:45:19.826Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-11-28T18:45:19.826Z] b85a868b505f: Pulling fs layer [2023-11-28T18:45:19.826Z] e2be974225ed: Pulling fs layer [2023-11-28T18:45:19.826Z] 339a4e72a1f5: Pulling fs layer [2023-11-28T18:45:19.826Z] 988bab9f4d93: Pulling fs layer [2023-11-28T18:45:19.826Z] 1469e6f7b9e6: Pulling fs layer [2023-11-28T18:45:19.826Z] eaf3925da568: Pulling fs layer [2023-11-28T18:45:19.826Z] bab4dde63d76: Pulling fs layer [2023-11-28T18:45:19.826Z] bde34c3a00c8: Pulling fs layer [2023-11-28T18:45:19.826Z] b352a97aabf1: Pulling fs layer [2023-11-28T18:45:19.826Z] 4872d77fe225: Pulling fs layer [2023-11-28T18:45:19.826Z] 5851b861e8e6: Pulling fs layer [2023-11-28T18:45:19.826Z] b352a97aabf1: Waiting [2023-11-28T18:45:19.826Z] bab4dde63d76: Waiting [2023-11-28T18:45:19.826Z] 4872d77fe225: Waiting [2023-11-28T18:45:19.826Z] 5851b861e8e6: Waiting [2023-11-28T18:45:19.826Z] 988bab9f4d93: Waiting [2023-11-28T18:45:19.826Z] bde34c3a00c8: Waiting [2023-11-28T18:45:19.826Z] eaf3925da568: Waiting [2023-11-28T18:45:19.826Z] e2be974225ed: Verifying Checksum [2023-11-28T18:45:19.826Z] e2be974225ed: Download complete [2023-11-28T18:45:19.826Z] 988bab9f4d93: Verifying Checksum [2023-11-28T18:45:19.826Z] 988bab9f4d93: Download complete [2023-11-28T18:45:20.086Z] 339a4e72a1f5: Verifying Checksum [2023-11-28T18:45:20.086Z] 339a4e72a1f5: Download complete [2023-11-28T18:45:20.086Z] 1469e6f7b9e6: Verifying Checksum [2023-11-28T18:45:20.086Z] 1469e6f7b9e6: Download complete [2023-11-28T18:45:20.086Z] eaf3925da568: Verifying Checksum [2023-11-28T18:45:20.086Z] eaf3925da568: Download complete [2023-11-28T18:45:20.086Z] bde34c3a00c8: Verifying Checksum [2023-11-28T18:45:20.086Z] bde34c3a00c8: Download complete [2023-11-28T18:45:20.086Z] b352a97aabf1: Download complete [2023-11-28T18:45:20.086Z] 4872d77fe225: Verifying Checksum [2023-11-28T18:45:20.086Z] 4872d77fe225: Download complete [2023-11-28T18:45:20.086Z] 5851b861e8e6: Verifying Checksum [2023-11-28T18:45:20.086Z] 5851b861e8e6: Download complete [2023-11-28T18:45:20.086Z] b85a868b505f: Verifying Checksum [2023-11-28T18:45:20.086Z] b85a868b505f: Download complete [2023-11-28T18:45:20.345Z] bab4dde63d76: Verifying Checksum [2023-11-28T18:45:20.345Z] bab4dde63d76: Download complete [2023-11-28T18:45:22.259Z] b85a868b505f: Pull complete [2023-11-28T18:45:22.827Z] e2be974225ed: Pull complete [2023-11-28T18:45:23.396Z] 339a4e72a1f5: Pull complete [2023-11-28T18:45:23.396Z] 988bab9f4d93: Pull complete [2023-11-28T18:45:23.655Z] 1469e6f7b9e6: Pull complete [2023-11-28T18:45:23.655Z] eaf3925da568: Pull complete [2023-11-28T18:45:25.560Z] bab4dde63d76: Pull complete [2023-11-28T18:45:25.819Z] bde34c3a00c8: Pull complete [2023-11-28T18:45:26.387Z] b352a97aabf1: Pull complete [2023-11-28T18:45:26.646Z] 4872d77fe225: Pull complete [2023-11-28T18:45:26.905Z] 5851b861e8e6: Pull complete [2023-11-28T18:45:26.905Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-11-28T18:45:26.905Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-28T18:45:26.905Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-28T18:45:27.248Z] prd-ubuntu20.04-docker-8c-8g-1576 does not seem to be running inside a container [2023-11-28T18:45:27.284Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-527 -v /w/workspace/xfoundry_device-modbus-go_PR-527:/w/workspace/xfoundry_device-modbus-go_PR-527:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-527@tmp:/w/workspace/xfoundry_device-modbus-go_PR-527@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 [2023-11-28T18:45:30.215Z] $ docker top d6f0d41da17e65db4ce213284d66b2bd7a5eb4b0508b9df184f517afd17ad3e0 -eo pid,comm [2023-11-28T18:45:30.270Z] 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). [2023-11-28T18:45:30.270Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-11-28T18:45:30.444Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-11-28T18:45:30.444Z] [ssh-agent] Looking for ssh-agent implementation... [2023-11-28T18:45:30.562Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-11-28T18:45:30.567Z] $ docker exec d6f0d41da17e65db4ce213284d66b2bd7a5eb4b0508b9df184f517afd17ad3e0 ssh-agent [2023-11-28T18:45:30.667Z] SSH_AUTH_SOCK=/tmp/ssh-0Y508tXenwwY/agent.32 [2023-11-28T18:45:30.667Z] SSH_AGENT_PID=38 [2023-11-28T18:45:30.672Z] Running ssh-add (command line suppressed) [2023-11-28T18:45:30.789Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-527@tmp/private_key_479291153444089511.key (/w/workspace/xfoundry_device-modbus-go_PR-527@tmp/private_key_479291153444089511.key) [2023-11-28T18:45:30.799Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-11-28T18:45:31.156Z] + git tag --points-at HEAD [Pipeline] } [2023-11-28T18:45:31.185Z] $ docker exec --env ******** --env ******** d6f0d41da17e65db4ce213284d66b2bd7a5eb4b0508b9df184f517afd17ad3e0 ssh-agent -k [2023-11-28T18:45:31.292Z] unset SSH_AUTH_SOCK; [2023-11-28T18:45:31.292Z] unset SSH_AGENT_PID; [2023-11-28T18:45:31.292Z] echo Agent pid 38 killed; [2023-11-28T18:45:31.303Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-11-28T18:45:31.490Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-11-28T18:45:31.490Z] [ssh-agent] Looking for ssh-agent implementation... [2023-11-28T18:45:31.603Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-11-28T18:45:31.608Z] $ docker exec d6f0d41da17e65db4ce213284d66b2bd7a5eb4b0508b9df184f517afd17ad3e0 ssh-agent [2023-11-28T18:45:31.724Z] SSH_AUTH_SOCK=/tmp/ssh-knLvkzmw6V0h/agent.70 [2023-11-28T18:45:31.724Z] SSH_AGENT_PID=76 [2023-11-28T18:45:31.729Z] Running ssh-add (command line suppressed) [2023-11-28T18:45:31.862Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-527@tmp/private_key_13184649247250444707.key (/w/workspace/xfoundry_device-modbus-go_PR-527@tmp/private_key_13184649247250444707.key) [2023-11-28T18:45:31.877Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-11-28T18:45:32.232Z] + git semver init [2023-11-28T18:45:32.493Z] 2023-11-28 18:45:32,417 [run_init] DEBUG init version:0.0.0 force:False [2023-11-28T18:45:32.493Z] 2023-11-28 18:45:32,418 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-modbus-go_PR-527/.semver [2023-11-28T18:45:32.493Z] 2023-11-28 18:45:32,419 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/xfoundry_device-modbus-go_PR-527/.semver [2023-11-28T18:45:32.493Z] 2023-11-28 18:45:32,419 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/xfoundry_device-modbus-go_PR-527/.semver'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-527, universal_newlines=False, shell=None, istream=None) [2023-11-28T18:45:33.874Z] 2023-11-28 18:45:33,619 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-modbus-go_PR-527/.git/info/exclude [2023-11-28T18:45:33.874Z] 2023-11-28 18:45:33,620 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-modbus-go_PR-527/.semver/PR-527 with force:False [2023-11-28T18:45:33.874Z] 2023-11-28 18:45:33,620 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-modbus-go_PR-527/.semver/PR-527 [2023-11-28T18:45:33.874Z] 2023-11-28 18:45:33,623 [execute] INFO git cat-file --batch-check [2023-11-28T18:45:33.874Z] 2023-11-28 18:45:33,623 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-527/.semver, universal_newlines=False, shell=None, istream=) [2023-11-28T18:45:33.874Z] 2023-11-28 18:45:33,629 [execute] INFO git cat-file --batch [2023-11-28T18:45:33.874Z] 2023-11-28 18:45:33,630 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-527/.semver, universal_newlines=False, shell=None, istream=) [2023-11-28T18:45:33.874Z] 2023-11-28 18:45:33,635 [read_version] DEBUG read version from /w/workspace/xfoundry_device-modbus-go_PR-527/.semver/PR-527 [2023-11-28T18:45:33.874Z] 0.0.0 [Pipeline] } [2023-11-28T18:45:33.904Z] $ docker exec --env ******** --env ******** d6f0d41da17e65db4ce213284d66b2bd7a5eb4b0508b9df184f517afd17ad3e0 ssh-agent -k [2023-11-28T18:45:33.991Z] unset SSH_AUTH_SOCK; [2023-11-28T18:45:33.992Z] unset SSH_AGENT_PID; [2023-11-28T18:45:33.992Z] echo Agent pid 76 killed; [2023-11-28T18:45:34.001Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-11-28T18:45:34.522Z] + git semver [Pipeline] } [2023-11-28T18:45:34.806Z] $ docker stop --time=1 d6f0d41da17e65db4ce213284d66b2bd7a5eb4b0508b9df184f517afd17ad3e0 [2023-11-28T18:45:36.076Z] $ docker rm -f --volumes d6f0d41da17e65db4ce213284d66b2bd7a5eb4b0508b9df184f517afd17ad3e0 [Pipeline] // withDockerContainer [Pipeline] sh [2023-11-28T18:45:36.526Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-11-28T18:45:36.836Z] Stashed 1 file(s) [Pipeline] echo [2023-11-28T18:45:36.854Z] [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 [2023-11-28T18:45:37.746Z] provisioning config files... [2023-11-28T18:45:37.756Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-527@tmp/config14136064827724741995tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-28T18:45:38.151Z] ---> ****-login.sh [2023-11-28T18:45:38.151Z] nexus3.edgexfoundry.org:10001 [2023-11-28T18:45:38.151Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-28T18:45:38.151Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-28T18:45:38.151Z] Configure a credential helper to remove this warning. See [2023-11-28T18:45:38.151Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-28T18:45:38.151Z] [2023-11-28T18:45:38.151Z] Login Succeeded [2023-11-28T18:45:38.151Z] nexus3.edgexfoundry.org:10002 [2023-11-28T18:45:38.151Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-28T18:45:38.151Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-28T18:45:38.151Z] Configure a credential helper to remove this warning. See [2023-11-28T18:45:38.151Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-28T18:45:38.151Z] [2023-11-28T18:45:38.151Z] Login Succeeded [2023-11-28T18:45:38.151Z] nexus3.edgexfoundry.org:10003 [2023-11-28T18:45:38.412Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-28T18:45:38.412Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-28T18:45:38.412Z] Configure a credential helper to remove this warning. See [2023-11-28T18:45:38.412Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-28T18:45:38.412Z] [2023-11-28T18:45:38.412Z] Login Succeeded [2023-11-28T18:45:38.412Z] nexus3.edgexfoundry.org:10004 [2023-11-28T18:45:38.412Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-28T18:45:38.412Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-28T18:45:38.412Z] Configure a credential helper to remove this warning. See [2023-11-28T18:45:38.412Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-28T18:45:38.412Z] [2023-11-28T18:45:38.412Z] Login Succeeded [2023-11-28T18:45:38.412Z] ****.io [2023-11-28T18:45:38.412Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-28T18:45:38.672Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-28T18:45:38.672Z] Configure a credential helper to remove this warning. See [2023-11-28T18:45:38.672Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-28T18:45:38.672Z] [2023-11-28T18:45:38.672Z] Login Succeeded [2023-11-28T18:45:38.672Z] ---> ****-login.sh ends [Pipeline] } [2023-11-28T18:45:38.730Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-11-28T18:45:39.050Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-28T18:45:39.122Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-28T18:45:39.183Z] ========================================================= [2023-11-28T18:45:39.183Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2023-11-28T18:45:39.183Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-28T18:45:39.789Z] + 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 . [2023-11-28T18:45:39.789Z] Sending build context to Docker daemon 17.22MB [2023-11-28T18:45:39.789Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2023-11-28T18:45:39.789Z] Step 2/10 : FROM ${BASE} AS builder [2023-11-28T18:45:40.050Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2023-11-28T18:45:40.050Z] 7264a8db6415: Pulling fs layer [2023-11-28T18:45:40.050Z] c4d48a809fc2: Pulling fs layer [2023-11-28T18:45:40.050Z] 4f1c88b9dad5: Pulling fs layer [2023-11-28T18:45:40.050Z] ad3a456e5733: Pulling fs layer [2023-11-28T18:45:40.050Z] 69c7f0334f64: Pulling fs layer [2023-11-28T18:45:40.050Z] 1f1c1a5573a3: Pulling fs layer [2023-11-28T18:45:40.050Z] ce7588e14bc9: Pulling fs layer [2023-11-28T18:45:40.050Z] b5e4710f87ac: Pulling fs layer [2023-11-28T18:45:40.050Z] 1f1c1a5573a3: Waiting [2023-11-28T18:45:40.050Z] ce7588e14bc9: Waiting [2023-11-28T18:45:40.050Z] b5e4710f87ac: Waiting [2023-11-28T18:45:40.050Z] ad3a456e5733: Waiting [2023-11-28T18:45:40.050Z] 69c7f0334f64: Waiting [2023-11-28T18:45:40.050Z] c4d48a809fc2: Verifying Checksum [2023-11-28T18:45:40.050Z] c4d48a809fc2: Download complete [2023-11-28T18:45:40.050Z] ad3a456e5733: Verifying Checksum [2023-11-28T18:45:40.050Z] ad3a456e5733: Download complete [2023-11-28T18:45:40.050Z] 69c7f0334f64: Verifying Checksum [2023-11-28T18:45:40.050Z] 69c7f0334f64: Download complete [2023-11-28T18:45:40.050Z] 7264a8db6415: Verifying Checksum [2023-11-28T18:45:40.050Z] 7264a8db6415: Download complete [2023-11-28T18:45:40.050Z] 1f1c1a5573a3: Verifying Checksum [2023-11-28T18:45:40.050Z] 1f1c1a5573a3: Download complete [2023-11-28T18:45:40.309Z] 7264a8db6415: Pull complete [2023-11-28T18:45:40.309Z] b5e4710f87ac: Verifying Checksum [2023-11-28T18:45:40.309Z] b5e4710f87ac: Download complete [2023-11-28T18:45:40.309Z] c4d48a809fc2: Pull complete [2023-11-28T18:45:40.567Z] 4f1c88b9dad5: Verifying Checksum [2023-11-28T18:45:40.567Z] 4f1c88b9dad5: Download complete [2023-11-28T18:45:40.866Z] ce7588e14bc9: Verifying Checksum [2023-11-28T18:45:40.866Z] ce7588e14bc9: Download complete [2023-11-28T18:45:44.189Z] 4f1c88b9dad5: Pull complete [2023-11-28T18:45:44.189Z] ad3a456e5733: Pull complete [2023-11-28T18:45:44.189Z] 69c7f0334f64: Pull complete [2023-11-28T18:45:44.446Z] 1f1c1a5573a3: Pull complete [2023-11-28T18:45:46.975Z] ce7588e14bc9: Pull complete [2023-11-28T18:45:47.233Z] b5e4710f87ac: Pull complete [2023-11-28T18:45:47.233Z] Digest: sha256:f80dd7bb8fdf010369d5adb4058a62695265b22e897ca6aac7b42af84fdce50e [2023-11-28T18:45:47.233Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2023-11-28T18:45:47.233Z] ---> 88b5674ff536 [2023-11-28T18:45:47.233Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2023-11-28T18:45:52.492Z] Still waiting to schedule task [2023-11-28T18:45:52.492Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-11-28T18:45:53.830Z] ---> Running in 0eee59fd524e [2023-11-28T18:45:53.831Z] Removing intermediate container 0eee59fd524e [2023-11-28T18:45:53.831Z] ---> e7168070e1f1 [2023-11-28T18:45:53.831Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-11-28T18:45:53.831Z] ---> Running in 6deaabd25a3b [2023-11-28T18:45:53.831Z] Removing intermediate container 6deaabd25a3b [2023-11-28T18:45:53.831Z] ---> e76b8b27542e [2023-11-28T18:45:53.831Z] Step 5/10 : RUN apk add --update --no-cache make git openssh [2023-11-28T18:45:53.831Z] ---> Running in 0ebe7f7f4dd0 [2023-11-28T18:45:53.831Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-11-28T18:45:53.831Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-11-28T18:45:54.089Z] (1/8) Installing openssh-keygen (9.3_p2-r0) [2023-11-28T18:45:54.089Z] (2/8) Installing libedit (20221030.3.1-r1) [2023-11-28T18:45:54.089Z] (3/8) Installing openssh-client-common (9.3_p2-r0) [2023-11-28T18:45:54.089Z] (4/8) Installing openssh-client-default (9.3_p2-r0) [2023-11-28T18:45:54.348Z] (5/8) Installing openssh-sftp-server (9.3_p2-r0) [2023-11-28T18:45:54.348Z] (6/8) Installing openssh-server-common (9.3_p2-r0) [2023-11-28T18:45:54.348Z] (7/8) Installing openssh-server (9.3_p2-r0) [2023-11-28T18:45:54.348Z] (8/8) Installing openssh (9.3_p2-r0) [2023-11-28T18:45:54.348Z] Executing busybox-1.36.1-r5.trigger [2023-11-28T18:45:54.348Z] OK: 270 MiB in 60 packages [2023-11-28T18:45:54.916Z] Removing intermediate container 0ebe7f7f4dd0 [2023-11-28T18:45:54.916Z] ---> 78b858177c14 [2023-11-28T18:45:54.916Z] Step 6/10 : WORKDIR /device-modbus-go [2023-11-28T18:45:54.916Z] ---> Running in 746e7da1dfe2 [2023-11-28T18:45:55.483Z] Removing intermediate container 746e7da1dfe2 [2023-11-28T18:45:55.483Z] ---> 5a15424e9643 [2023-11-28T18:45:55.483Z] Step 7/10 : COPY go.mod vendor* ./ [2023-11-28T18:45:55.743Z] ---> d9e0bc5e3243 [2023-11-28T18:45:55.743Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-28T18:45:55.743Z] ---> Running in 15e4fbe6de7e [2023-11-28T18:46:34.479Z] Removing intermediate container 15e4fbe6de7e [2023-11-28T18:46:34.479Z] ---> b0251295067a [2023-11-28T18:46:34.479Z] Step 9/10 : COPY . . [2023-11-28T18:46:34.479Z] ---> 2d566f0b2fa3 [2023-11-28T18:46:34.479Z] Step 10/10 : RUN ${MAKE} [2023-11-28T18:46:34.479Z] ---> Running in 6a3f2fbe621d [2023-11-28T18:46:34.479Z] noop [2023-11-28T18:46:34.479Z] Removing intermediate container 6a3f2fbe621d [2023-11-28T18:46:34.479Z] ---> de56934b701d [2023-11-28T18:46:34.479Z] Successfully built de56934b701d [2023-11-28T18:46:34.479Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-28T18:46:35.002Z] + docker inspect -f . ci-base-image-x86_64 [2023-11-28T18:46:35.002Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-28T18:46:35.217Z] prd-ubuntu20.04-docker-8c-8g-1576 does not seem to be running inside a container [2023-11-28T18:46:35.255Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-527 -v /w/workspace/xfoundry_device-modbus-go_PR-527:/w/workspace/xfoundry_device-modbus-go_PR-527:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-527@tmp:/w/workspace/xfoundry_device-modbus-go_PR-527@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 [2023-11-28T18:46:35.579Z] $ docker top 7c294fe6a82ef82ac9136fe95553d268771fdcadc25d2c91feb53030fec5dad6 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-28T18:46:36.033Z] + go version [2023-11-28T18:46:36.033Z] go version go1.21.0 linux/amd64 [Pipeline] } [2023-11-28T18:46:36.071Z] $ docker stop --time=1 7c294fe6a82ef82ac9136fe95553d268771fdcadc25d2c91feb53030fec5dad6 [2023-11-28T18:46:37.317Z] $ docker rm -f --volumes 7c294fe6a82ef82ac9136fe95553d268771fdcadc25d2c91feb53030fec5dad6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-28T18:46:38.300Z] + docker inspect -f . ci-base-image-x86_64 [2023-11-28T18:46:38.300Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-28T18:46:38.513Z] prd-ubuntu20.04-docker-8c-8g-1576 does not seem to be running inside a container [2023-11-28T18:46:38.545Z] $ 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-527 -v /w/workspace/xfoundry_device-modbus-go_PR-527:/w/workspace/xfoundry_device-modbus-go_PR-527:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-527@tmp:/w/workspace/xfoundry_device-modbus-go_PR-527@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 [2023-11-28T18:46:38.863Z] $ docker top a1218bfa5a1b46d96c381c47ed678d50a531497f799d220def7ca57f9662d6a2 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-28T18:46:39.303Z] + git config --global --add safe.directory /w/workspace/xfoundry_device-modbus-go_PR-527 [Pipeline] fileExists [Pipeline] sh [2023-11-28T18:46:39.706Z] + make test [2023-11-28T18:46:39.706Z] go test ./... -coverprofile=coverage.out [2023-11-28T18:46:41.083Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2023-11-28T18:46:51.136Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2023-11-28T18:46:51.136Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.017s coverage: 47.9% of statements [2023-11-28T18:46:56.390Z] go vet ./... [2023-11-28T18:46:58.922Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-11-28T18:46:58.922Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-11-28T18:46:58.922Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-11-28T18:46:58.956Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2023-11-28T18:46:59.012Z] $ docker stop --time=1 a1218bfa5a1b46d96c381c47ed678d50a531497f799d220def7ca57f9662d6a2 [2023-11-28T18:47:03.079Z] $ docker rm -f --volumes a1218bfa5a1b46d96c381c47ed678d50a531497f799d220def7ca57f9662d6a2 [Pipeline] // withDockerContainer [Pipeline] sh [2023-11-28T18:47:03.678Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-11-28T18:47:03.750Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-11-28T18:47:04.607Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-11-28T18:47:04.947Z] + ls -al . [2023-11-28T18:47:04.947Z] total 192 [2023-11-28T18:47:04.947Z] drwxrwxr-x 9 jenkins jenkins 4096 Nov 28 18:46 . [2023-11-28T18:47:04.947Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 28 18:45 .. [2023-11-28T18:47:04.947Z] -rw-rw-r-- 1 jenkins jenkins 140 Nov 28 18:45 .dockerignore [2023-11-28T18:47:04.947Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 28 18:46 .git [2023-11-28T18:47:04.947Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 28 18:45 .github [2023-11-28T18:47:04.947Z] -rw-rw-r-- 1 jenkins jenkins 266 Nov 28 18:45 .gitignore [2023-11-28T18:47:04.947Z] -rw-rw-r-- 1 jenkins jenkins 41 Nov 28 18:45 .golangci.yml [2023-11-28T18:47:04.947Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 28 18:45 .semver [2023-11-28T18:47:04.947Z] -rw-rw-r-- 1 jenkins jenkins 11101 Nov 28 18:45 Attribution.txt [2023-11-28T18:47:04.947Z] -rw-rw-r-- 1 jenkins jenkins 16388 Nov 28 18:45 CHANGELOG.md [2023-11-28T18:47:04.947Z] -rw-rw-r-- 1 jenkins jenkins 1474 Nov 28 18:45 Dockerfile [2023-11-28T18:47:04.947Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 28 18:45 GOVERNANCE.md [2023-11-28T18:47:04.947Z] -rw-rw-r-- 1 jenkins jenkins 658 Nov 28 18:45 Jenkinsfile [2023-11-28T18:47:04.947Z] -rw-rw-r-- 1 jenkins jenkins 11340 Nov 28 18:45 LICENSE [2023-11-28T18:47:04.947Z] -rw-rw-r-- 1 jenkins jenkins 1936 Nov 28 18:45 Makefile [2023-11-28T18:47:04.947Z] -rw-rw-r-- 1 jenkins jenkins 622 Nov 28 18:45 OWNERS.md [2023-11-28T18:47:04.947Z] -rw-rw-r-- 1 jenkins jenkins 4463 Nov 28 18:45 README.md [2023-11-28T18:47:04.947Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 28 18:45 VERSION [2023-11-28T18:47:04.947Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 28 18:45 bin [2023-11-28T18:47:04.947Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 28 18:45 cmd [2023-11-28T18:47:04.947Z] -rw-r--r-- 1 jenkins jenkins 24334 Nov 28 18:46 coverage.out [2023-11-28T18:47:04.947Z] -rw-rw-r-- 1 jenkins jenkins 3937 Nov 28 18:45 go.mod [2023-11-28T18:47:04.947Z] -rw-rw-r-- 1 jenkins jenkins 35426 Nov 28 18:45 go.sum [2023-11-28T18:47:04.947Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 28 18:45 internal [2023-11-28T18:47:04.947Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 28 18:45 simulator [2023-11-28T18:47:04.947Z] -rw-rw-r-- 1 jenkins jenkins 229 Nov 28 18:45 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-28T18:47:05.495Z] + 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=d17fa09e5d9a8cb29761356bc0bf6af28692fd42 --label arch=amd64 --label version=0.0.0 . [2023-11-28T18:47:05.495Z] Sending build context to Docker daemon 17.24MB [2023-11-28T18:47:05.495Z] Step 1/23 : ARG BASE=golang:1.21-alpine3.18 [2023-11-28T18:47:05.495Z] Step 2/23 : FROM ${BASE} AS builder [2023-11-28T18:47:05.495Z] ---> de56934b701d [2023-11-28T18:47:05.495Z] Step 3/23 : ARG ADD_BUILD_TAGS="" [2023-11-28T18:47:06.063Z] ---> Running in 4b0dca56f0f8 [2023-11-28T18:47:06.064Z] Removing intermediate container 4b0dca56f0f8 [2023-11-28T18:47:06.064Z] ---> d30b0520519e [2023-11-28T18:47:06.064Z] Step 4/23 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-11-28T18:47:06.064Z] ---> Running in a888c5315942 [2023-11-28T18:47:06.064Z] Removing intermediate container a888c5315942 [2023-11-28T18:47:06.064Z] ---> b38e43b6dc17 [2023-11-28T18:47:06.064Z] Step 5/23 : RUN apk add --update --no-cache make git openssh [2023-11-28T18:47:06.064Z] ---> Running in 8c03e32b4dad [2023-11-28T18:47:06.323Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-11-28T18:47:06.323Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-11-28T18:47:06.580Z] OK: 270 MiB in 60 packages [2023-11-28T18:47:06.837Z] Removing intermediate container 8c03e32b4dad [2023-11-28T18:47:06.837Z] ---> 616d864ae41d [2023-11-28T18:47:06.837Z] Step 6/23 : WORKDIR /device-modbus-go [2023-11-28T18:47:06.837Z] ---> Running in 569e07352a4f [2023-11-28T18:47:07.098Z] Removing intermediate container 569e07352a4f [2023-11-28T18:47:07.098Z] ---> 63252a1a84c5 [2023-11-28T18:47:07.098Z] Step 7/23 : COPY go.mod vendor* ./ [2023-11-28T18:47:07.098Z] ---> 3f2e91fdab33 [2023-11-28T18:47:07.098Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-28T18:47:07.098Z] ---> Running in 83e32f74c26d [2023-11-28T18:47:07.669Z] Removing intermediate container 83e32f74c26d [2023-11-28T18:47:07.669Z] ---> 62065094d6fe [2023-11-28T18:47:07.669Z] Step 9/23 : COPY . . [2023-11-28T18:47:08.603Z] ---> 5751b6247cc4 [2023-11-28T18:47:08.603Z] Step 10/23 : RUN ${MAKE} [2023-11-28T18:47:08.603Z] ---> Running in af44aadffd61 [2023-11-28T18:47:08.603Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.1" -trimpath -mod=readonly -o cmd/device-modbus ./cmd [2023-11-28T18:47:30.526Z] Removing intermediate container af44aadffd61 [2023-11-28T18:47:30.526Z] ---> 0340d73d4c99 [2023-11-28T18:47:30.526Z] Step 11/23 : FROM alpine:3.18 [2023-11-28T18:47:30.526Z] 3.18: Pulling from library/alpine [2023-11-28T18:47:30.526Z] 96526aa774ef: Pulling fs layer [2023-11-28T18:47:30.526Z] 96526aa774ef: Verifying Checksum [2023-11-28T18:47:30.526Z] 96526aa774ef: Download complete [2023-11-28T18:47:30.526Z] 96526aa774ef: Pull complete [2023-11-28T18:47:30.526Z] Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 [2023-11-28T18:47:30.526Z] Status: Downloaded newer image for alpine:3.18 [2023-11-28T18:47:30.526Z] ---> 8ca4688f4f35 [2023-11-28T18:47:30.526Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2023-11-28T18:47:30.526Z] ---> Running in bd618a01f5fa [2023-11-28T18:47:30.526Z] Removing intermediate container bd618a01f5fa [2023-11-28T18:47:30.526Z] ---> 69297bc82237 [2023-11-28T18:47:30.526Z] Step 13/23 : RUN apk add --update --no-cache dumb-init [2023-11-28T18:47:30.526Z] ---> Running in 846997f6b8dd [2023-11-28T18:47:30.526Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-11-28T18:47:30.526Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-11-28T18:47:30.526Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-11-28T18:47:30.526Z] Executing busybox-1.36.1-r2.trigger [2023-11-28T18:47:30.526Z] OK: 7 MiB in 16 packages [2023-11-28T18:47:30.526Z] Removing intermediate container 846997f6b8dd [2023-11-28T18:47:30.526Z] ---> 8a0036f72c7f [2023-11-28T18:47:30.526Z] Step 14/23 : RUN apk --no-cache upgrade [2023-11-28T18:47:30.526Z] ---> Running in fabf06a9d7a7 [2023-11-28T18:47:30.526Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-11-28T18:47:30.526Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-11-28T18:47:30.526Z] (1/7) Upgrading musl (1.2.4-r1 -> 1.2.4-r2) [2023-11-28T18:47:30.526Z] (2/7) Upgrading busybox (1.36.1-r2 -> 1.36.1-r5) [2023-11-28T18:47:30.526Z] Executing busybox-1.36.1-r5.post-upgrade [2023-11-28T18:47:30.526Z] (3/7) Upgrading busybox-binsh (1.36.1-r2 -> 1.36.1-r5) [2023-11-28T18:47:30.526Z] (4/7) Upgrading libcrypto3 (3.1.3-r0 -> 3.1.4-r1) [2023-11-28T18:47:30.526Z] (5/7) Upgrading libssl3 (3.1.3-r0 -> 3.1.4-r1) [2023-11-28T18:47:30.526Z] (6/7) Upgrading ssl_client (1.36.1-r2 -> 1.36.1-r5) [2023-11-28T18:47:30.526Z] (7/7) Upgrading musl-utils (1.2.4-r1 -> 1.2.4-r2) [2023-11-28T18:47:30.527Z] Executing busybox-1.36.1-r5.trigger [2023-11-28T18:47:30.527Z] OK: 7 MiB in 16 packages [2023-11-28T18:47:30.788Z] Removing intermediate container fabf06a9d7a7 [2023-11-28T18:47:30.788Z] ---> 1956cd047606 [2023-11-28T18:47:30.788Z] Step 15/23 : COPY --from=builder /device-modbus-go/cmd / [2023-11-28T18:47:31.363Z] ---> 08507a9cf357 [2023-11-28T18:47:31.363Z] Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / [2023-11-28T18:47:31.621Z] ---> ec8b3ca7373d [2023-11-28T18:47:31.621Z] Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / [2023-11-28T18:47:31.621Z] ---> 19ed1d3bfbb1 [2023-11-28T18:47:31.621Z] Step 18/23 : EXPOSE 59901 [2023-11-28T18:47:31.621Z] ---> Running in 40426aea1ca5 [2023-11-28T18:47:31.621Z] Removing intermediate container 40426aea1ca5 [2023-11-28T18:47:31.621Z] ---> acdbff1a00fa [2023-11-28T18:47:31.621Z] Step 19/23 : ENTRYPOINT ["/device-modbus"] [2023-11-28T18:47:31.879Z] ---> Running in 4a184b9ccf4b [2023-11-28T18:47:31.879Z] Removing intermediate container 4a184b9ccf4b [2023-11-28T18:47:31.879Z] ---> 44ec62cf5c62 [2023-11-28T18:47:31.879Z] Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-11-28T18:47:31.879Z] ---> Running in 3d1dc8469e2d [2023-11-28T18:47:31.879Z] Removing intermediate container 3d1dc8469e2d [2023-11-28T18:47:31.879Z] ---> 2aa0441d7f1b [2023-11-28T18:47:31.879Z] Step 21/23 : LABEL arch=amd64 [2023-11-28T18:47:31.879Z] ---> Running in ee681062d775 [2023-11-28T18:47:32.139Z] Removing intermediate container ee681062d775 [2023-11-28T18:47:32.139Z] ---> 9a15c15217a2 [2023-11-28T18:47:32.139Z] Step 22/23 : LABEL git_sha=d17fa09e5d9a8cb29761356bc0bf6af28692fd42 [2023-11-28T18:47:32.139Z] ---> Running in 544cba3887b2 [2023-11-28T18:47:32.139Z] Removing intermediate container 544cba3887b2 [2023-11-28T18:47:32.139Z] ---> ef74f653af26 [2023-11-28T18:47:32.139Z] Step 23/23 : LABEL version=0.0.0 [2023-11-28T18:47:32.139Z] ---> Running in a7e0d92aa7fb [2023-11-28T18:47:32.139Z] Removing intermediate container a7e0d92aa7fb [2023-11-28T18:47:32.139Z] ---> c49b7b64470e [2023-11-28T18:47:32.139Z] [Warning] One or more build-args [ARCH] were not consumed [2023-11-28T18:47:32.139Z] Successfully built c49b7b64470e [2023-11-28T18:47:32.139Z] 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 [2023-11-28T18:47:33.483Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-28T18:47:33.483Z] [2023-11-28T18:47:33.483Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-28T18:47:33.879Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-28T18:47:33.879Z] latest: Pulling from edgex-lftools-log-publisher [2023-11-28T18:47:33.879Z] 5eb5b503b376: Pulling fs layer [2023-11-28T18:47:33.879Z] 5c69ac0246d0: Pulling fs layer [2023-11-28T18:47:33.879Z] ec43610c2a17: Pulling fs layer [2023-11-28T18:47:33.879Z] 3a2ae6a8a46f: Pulling fs layer [2023-11-28T18:47:33.879Z] 33b1e0a273af: Pulling fs layer [2023-11-28T18:47:33.879Z] 5d3b04190fa2: Pulling fs layer [2023-11-28T18:47:33.879Z] 2f39f015ded8: Pulling fs layer [2023-11-28T18:47:33.879Z] 5d3b04190fa2: Waiting [2023-11-28T18:47:33.879Z] 33b1e0a273af: Waiting [2023-11-28T18:47:33.879Z] 2f39f015ded8: Waiting [2023-11-28T18:47:33.879Z] 3a2ae6a8a46f: Waiting [2023-11-28T18:47:33.879Z] 5c69ac0246d0: Download complete [2023-11-28T18:47:33.879Z] 3a2ae6a8a46f: Verifying Checksum [2023-11-28T18:47:33.879Z] 3a2ae6a8a46f: Download complete [2023-11-28T18:47:33.879Z] ec43610c2a17: Verifying Checksum [2023-11-28T18:47:33.879Z] ec43610c2a17: Download complete [2023-11-28T18:47:33.879Z] 33b1e0a273af: Verifying Checksum [2023-11-28T18:47:33.879Z] 33b1e0a273af: Download complete [2023-11-28T18:47:33.879Z] 5d3b04190fa2: Verifying Checksum [2023-11-28T18:47:33.879Z] 5d3b04190fa2: Download complete [2023-11-28T18:47:34.137Z] 5eb5b503b376: Verifying Checksum [2023-11-28T18:47:34.137Z] 5eb5b503b376: Download complete [2023-11-28T18:47:34.708Z] 2f39f015ded8: Download complete [2023-11-28T18:47:35.274Z] 5eb5b503b376: Pull complete [2023-11-28T18:47:35.274Z] 5c69ac0246d0: Pull complete [2023-11-28T18:47:35.840Z] ec43610c2a17: Pull complete [2023-11-28T18:47:35.840Z] 3a2ae6a8a46f: Pull complete [2023-11-28T18:47:35.840Z] 33b1e0a273af: Pull complete [2023-11-28T18:47:36.098Z] 5d3b04190fa2: Pull complete [2023-11-28T18:47:40.280Z] 2f39f015ded8: Pull complete [2023-11-28T18:47:40.280Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-11-28T18:47:40.280Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-28T18:47:40.280Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-28T18:47:40.654Z] prd-ubuntu20.04-docker-8c-8g-1576 does not seem to be running inside a container [2023-11-28T18:47:40.686Z] $ 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-527 -v /w/workspace/xfoundry_device-modbus-go_PR-527:/w/workspace/xfoundry_device-modbus-go_PR-527:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-527@tmp:/w/workspace/xfoundry_device-modbus-go_PR-527@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 [2023-11-28T18:47:45.277Z] $ docker top 5fc607f2bdd1b0073b6a9dbfe4be10697d858b4d2ec72c40ea993c8f2574a140 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-28T18:47:45.810Z] ---> job-cost.sh [2023-11-28T18:47:45.810Z] lf-activate-venv: SKIPPING [2023-11-28T18:47:45.810Z] INFO: No Stack... [2023-11-28T18:47:46.071Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-11-28T18:47:46.330Z] INFO: Archiving Costs [Pipeline] sh [2023-11-28T18:47:46.697Z] + cat /w/workspace/xfoundry_device-modbus-go_PR-527/archives/cost.csv [2023-11-28T18:47:46.697Z] + cut -d, -f6 [Pipeline] lock [2023-11-28T18:47:46.735Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-527-1-stack-cost] [2023-11-28T18:47:46.740Z] Resource [jenkins-edgexfoundry-device-modbus-go-PR-527-1-stack-cost] did not exist. Created. [2023-11-28T18:47:46.740Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-527-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-11-28T18:47:47.209Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-11-28T18:47:47.259Z] Stashed 1 file(s) [Pipeline] } [2023-11-28T18:47:47.323Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-527-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-11-28T18:47:47.476Z] $ docker stop --time=1 5fc607f2bdd1b0073b6a9dbfe4be10697d858b4d2ec72c40ea993c8f2574a140 [2023-11-28T18:47:48.628Z] $ docker rm -f --volumes 5fc607f2bdd1b0073b6a9dbfe4be10697d858b4d2ec72c40ea993c8f2574a140 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-11-28T19:16:54.449Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-2780 in /w/workspace/xfoundry_device-modbus-go_PR-527 [Pipeline] { [Pipeline] ws [2023-11-28T19:16:54.545Z] Running in /w/workspace/device-modbus-go/1 [Pipeline] { [Pipeline] checkout [2023-11-28T19:16:54.668Z] Selected Git installation does not exist. Using Default [2023-11-28T19:16:54.668Z] The recommended git tool is: NONE [2023-11-28T19:17:00.465Z] using credential edgex-jenkins-ssh [2023-11-28T19:17:00.487Z] Cloning the remote Git repository [2023-11-28T19:17:00.553Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2023-11-28T19:17:00.681Z] > git init /w/workspace/device-modbus-go/1 # timeout=10 [2023-11-28T19:17:00.869Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2023-11-28T19:17:00.870Z] > git --version # timeout=10 [2023-11-28T19:17:00.899Z] > git --version # 'git version 2.25.1' [2023-11-28T19:17:00.902Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-11-28T19:17:01.097Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-11-28T19:17:03.227Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2023-11-28T19:17:03.253Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-11-28T19:17:04.365Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2023-11-28T19:17:04.410Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2023-11-28T19:17:04.411Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-11-28T19:17:04.434Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/527/head:refs/remotes/origin/PR-527 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-11-28T19:17:05.091Z] Merging remotes/origin/main commit 3d748354a43de7f92f17495f0075fba5a156a8dd into PR head commit d17fa09e5d9a8cb29761356bc0bf6af28692fd42 [2023-11-28T19:17:05.526Z] Merge succeeded, producing d17fa09e5d9a8cb29761356bc0bf6af28692fd42 [2023-11-28T19:17:05.526Z] Checking out Revision d17fa09e5d9a8cb29761356bc0bf6af28692fd42 (PR-527) [2023-11-28T19:17:05.115Z] > git config core.sparsecheckout # timeout=10 [2023-11-28T19:17:05.198Z] > git checkout -f d17fa09e5d9a8cb29761356bc0bf6af28692fd42 # timeout=10 [2023-11-28T19:17:05.280Z] > git remote # timeout=10 [2023-11-28T19:17:05.299Z] > git config --get remote.origin.url # timeout=10 [2023-11-28T19:17:05.321Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-11-28T19:17:05.335Z] > git merge 3d748354a43de7f92f17495f0075fba5a156a8dd # timeout=10 [2023-11-28T19:17:05.507Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-11-28T19:17:05.534Z] > git config core.sparsecheckout # timeout=10 [2023-11-28T19:17:05.546Z] > git checkout -f d17fa09e5d9a8cb29761356bc0bf6af28692fd42 # timeout=10 [2023-11-28T19:17:09.084Z] Commit message: "build: Update to latest 3.2.0 dev go-mods" [2023-11-28T19:17:09.210Z] > git --version # timeout=10 [2023-11-28T19:17:09.225Z] > git --version # 'git version 2.25.1' [2023-11-28T19:17:09.249Z] fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-11-28T19:17:10.721Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-11-28T19:17:10.721Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-11-28T19:17:10.721Z] Dload Upload Total Spent Left Speed [2023-11-28T19:17:10.721Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12682 100 12682 0 0 87462 0 --:--:-- --:--:-- --:--:-- 87462 [Pipeline] sh [2023-11-28T19:17:11.081Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-11-28T19:17:11.439Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-11-28T19:17:11.439Z] + sudo tee /etc/docker/daemon.new [2023-11-28T19:17:11.439Z] { [2023-11-28T19:17:11.439Z] "registry-mirrors": [ [2023-11-28T19:17:11.439Z] "https://nexus3.edgexfoundry.org:10001" [2023-11-28T19:17:11.439Z] ], [2023-11-28T19:17:11.439Z] "bip": "10.250.0.254/24", [2023-11-28T19:17:11.439Z] "hosts": [ [2023-11-28T19:17:11.439Z] "tcp://0.0.0.0:5555", [2023-11-28T19:17:11.439Z] "unix:///var/run/docker.sock" [2023-11-28T19:17:11.439Z] ], [2023-11-28T19:17:11.439Z] "mtu": 1458, [2023-11-28T19:17:11.439Z] "selinux-enabled": true, [2023-11-28T19:17:11.439Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-11-28T19:17:11.439Z] } [Pipeline] sh [2023-11-28T19:17:11.802Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-11-28T19:17:12.172Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-11-28T19:17:30.564Z] provisioning config files... [2023-11-28T19:17:30.597Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/1@tmp/config6070299586047138528tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-28T19:17:31.149Z] ---> ****-login.sh [2023-11-28T19:17:31.149Z] nexus3.edgexfoundry.org:10001 [2023-11-28T19:17:31.744Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-28T19:17:31.744Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-28T19:17:31.744Z] Configure a credential helper to remove this warning. See [2023-11-28T19:17:31.744Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-28T19:17:31.744Z] [2023-11-28T19:17:31.744Z] Login Succeeded [2023-11-28T19:17:31.744Z] nexus3.edgexfoundry.org:10002 [2023-11-28T19:17:32.017Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-28T19:17:32.291Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-28T19:17:32.291Z] Configure a credential helper to remove this warning. See [2023-11-28T19:17:32.291Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-28T19:17:32.291Z] [2023-11-28T19:17:32.291Z] Login Succeeded [2023-11-28T19:17:32.291Z] nexus3.edgexfoundry.org:10003 [2023-11-28T19:17:32.562Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-28T19:17:32.562Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-28T19:17:32.562Z] Configure a credential helper to remove this warning. See [2023-11-28T19:17:32.562Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-28T19:17:32.562Z] [2023-11-28T19:17:32.562Z] Login Succeeded [2023-11-28T19:17:32.562Z] nexus3.edgexfoundry.org:10004 [2023-11-28T19:17:32.838Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-28T19:17:33.110Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-28T19:17:33.111Z] Configure a credential helper to remove this warning. See [2023-11-28T19:17:33.111Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-28T19:17:33.111Z] [2023-11-28T19:17:33.111Z] Login Succeeded [2023-11-28T19:17:33.111Z] ****.io [2023-11-28T19:17:33.380Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-28T19:17:33.648Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-28T19:17:33.648Z] Configure a credential helper to remove this warning. See [2023-11-28T19:17:33.648Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-28T19:17:33.648Z] [2023-11-28T19:17:33.648Z] Login Succeeded [2023-11-28T19:17:33.648Z] ---> ****-login.sh ends [Pipeline] } [2023-11-28T19:17:33.679Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-11-28T19:17:34.266Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-28T19:17:34.352Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-28T19:17:34.433Z] ========================================================= [2023-11-28T19:17:34.433Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2023-11-28T19:17:34.433Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-28T19:17:35.099Z] + 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 . [2023-11-28T19:17:38.468Z] Sending build context to Docker daemon 8.744MB [2023-11-28T19:17:38.468Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2023-11-28T19:17:38.468Z] Step 2/10 : FROM ${BASE} AS builder [2023-11-28T19:17:38.468Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-11-28T19:17:38.468Z] 9fda8d8052c6: Pulling fs layer [2023-11-28T19:17:38.468Z] 5d54e960e981: Pulling fs layer [2023-11-28T19:17:38.468Z] c4a7e357bf2a: Pulling fs layer [2023-11-28T19:17:38.468Z] f0e02332f6b5: Pulling fs layer [2023-11-28T19:17:38.468Z] 872ee5b61b7b: Pulling fs layer [2023-11-28T19:17:38.468Z] 0c6a40ed1a82: Pulling fs layer [2023-11-28T19:17:38.468Z] 94ae7d8d031c: Pulling fs layer [2023-11-28T19:17:38.468Z] 872ee5b61b7b: Waiting [2023-11-28T19:17:38.468Z] 0c6a40ed1a82: Waiting [2023-11-28T19:17:38.468Z] 94ae7d8d031c: Waiting [2023-11-28T19:17:38.468Z] f0e02332f6b5: Waiting [2023-11-28T19:17:38.468Z] 5d54e960e981: Verifying Checksum [2023-11-28T19:17:38.468Z] 5d54e960e981: Download complete [2023-11-28T19:17:38.468Z] f0e02332f6b5: Verifying Checksum [2023-11-28T19:17:38.468Z] f0e02332f6b5: Download complete [2023-11-28T19:17:38.468Z] 872ee5b61b7b: Verifying Checksum [2023-11-28T19:17:38.468Z] 872ee5b61b7b: Download complete [2023-11-28T19:17:38.468Z] 9fda8d8052c6: Verifying Checksum [2023-11-28T19:17:38.468Z] 9fda8d8052c6: Download complete [2023-11-28T19:17:38.737Z] 94ae7d8d031c: Verifying Checksum [2023-11-28T19:17:38.737Z] 94ae7d8d031c: Download complete [2023-11-28T19:17:39.704Z] 9fda8d8052c6: Pull complete [2023-11-28T19:17:39.974Z] 5d54e960e981: Pull complete [2023-11-28T19:17:40.246Z] c4a7e357bf2a: Verifying Checksum [2023-11-28T19:17:40.246Z] c4a7e357bf2a: Download complete [2023-11-28T19:17:41.210Z] 0c6a40ed1a82: Verifying Checksum [2023-11-28T19:17:41.210Z] 0c6a40ed1a82: Download complete [2023-11-28T19:17:53.556Z] c4a7e357bf2a: Pull complete [2023-11-28T19:17:53.556Z] f0e02332f6b5: Pull complete [2023-11-28T19:17:53.556Z] 872ee5b61b7b: Pull complete [2023-11-28T19:18:01.804Z] 0c6a40ed1a82: Pull complete [2023-11-28T19:18:02.768Z] 94ae7d8d031c: Pull complete [2023-11-28T19:18:02.768Z] Digest: sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 [2023-11-28T19:18:02.768Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2023-11-28T19:18:02.768Z] ---> 86de565de09d [2023-11-28T19:18:02.768Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2023-11-28T19:18:03.729Z] ---> Running in d35efafc0107 [2023-11-28T19:18:04.003Z] Removing intermediate container d35efafc0107 [2023-11-28T19:18:04.003Z] ---> 16a47df367bd [2023-11-28T19:18:04.003Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-11-28T19:18:04.274Z] ---> Running in 5434a7e241b2 [2023-11-28T19:18:04.545Z] Removing intermediate container 5434a7e241b2 [2023-11-28T19:18:04.545Z] ---> 09310d4b3802 [2023-11-28T19:18:04.545Z] Step 5/10 : RUN apk add --update --no-cache make git openssh [2023-11-28T19:18:04.545Z] ---> Running in 0181ad20c65f [2023-11-28T19:18:05.954Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-11-28T19:18:06.222Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-11-28T19:18:07.185Z] (1/8) Installing openssh-keygen (9.3_p2-r0) [2023-11-28T19:18:07.186Z] (2/8) Installing libedit (20221030.3.1-r1) [2023-11-28T19:18:07.186Z] (3/8) Installing openssh-client-common (9.3_p2-r0) [2023-11-28T19:18:07.457Z] (4/8) Installing openssh-client-default (9.3_p2-r0) [2023-11-28T19:18:07.457Z] (5/8) Installing openssh-sftp-server (9.3_p2-r0) [2023-11-28T19:18:07.457Z] (6/8) Installing openssh-server-common (9.3_p2-r0) [2023-11-28T19:18:07.457Z] (7/8) Installing openssh-server (9.3_p2-r0) [2023-11-28T19:18:07.457Z] (8/8) Installing openssh (9.3_p2-r0) [2023-11-28T19:18:07.457Z] Executing busybox-1.36.1-r5.trigger [2023-11-28T19:18:07.457Z] OK: 272 MiB in 60 packages [2023-11-28T19:18:08.881Z] Removing intermediate container 0181ad20c65f [2023-11-28T19:18:08.881Z] ---> a23d1d417420 [2023-11-28T19:18:08.881Z] Step 6/10 : WORKDIR /device-modbus-go [2023-11-28T19:18:08.881Z] ---> Running in 522bf58269f5 [2023-11-28T19:18:09.148Z] Removing intermediate container 522bf58269f5 [2023-11-28T19:18:09.148Z] ---> ae8fdc7aa7e3 [2023-11-28T19:18:09.148Z] Step 7/10 : COPY go.mod vendor* ./ [2023-11-28T19:18:09.733Z] ---> d8515e7399fc [2023-11-28T19:18:09.733Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-28T19:18:09.733Z] ---> Running in 718f7b725a89 [2023-11-28T19:19:31.383Z] Removing intermediate container 718f7b725a89 [2023-11-28T19:19:31.383Z] ---> 49cc351efbb6 [2023-11-28T19:19:31.383Z] Step 9/10 : COPY . . [2023-11-28T19:19:31.383Z] ---> 0eaab981062c [2023-11-28T19:19:31.383Z] Step 10/10 : RUN ${MAKE} [2023-11-28T19:19:31.383Z] ---> Running in 672c5cfbdfcd [2023-11-28T19:19:31.383Z] noop [2023-11-28T19:19:31.383Z] Removing intermediate container 672c5cfbdfcd [2023-11-28T19:19:31.383Z] ---> c396046a4e47 [2023-11-28T19:19:31.383Z] Successfully built c396046a4e47 [2023-11-28T19:19:31.383Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-28T19:19:31.990Z] + docker inspect -f . ci-base-image-arm64 [2023-11-28T19:19:31.990Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-28T19:19:32.374Z] prd-ubuntu20.04-docker-arm64-4c-16g-2780 does not seem to be running inside a container [2023-11-28T19:19:32.435Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-11-28T19:19:33.755Z] $ docker top 3a4499754bba1bba7e2d1316239ccc8c974bc91e85551c81f39ccf03c90a186a -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-28T19:19:34.718Z] + go version [2023-11-28T19:19:34.718Z] go version go1.21.0 linux/arm64 [Pipeline] } [2023-11-28T19:19:34.751Z] $ docker stop --time=1 3a4499754bba1bba7e2d1316239ccc8c974bc91e85551c81f39ccf03c90a186a [2023-11-28T19:19:36.385Z] $ docker rm -f --volumes 3a4499754bba1bba7e2d1316239ccc8c974bc91e85551c81f39ccf03c90a186a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-28T19:19:37.640Z] + docker inspect -f . ci-base-image-arm64 [2023-11-28T19:19:37.640Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-28T19:19:37.992Z] prd-ubuntu20.04-docker-arm64-4c-16g-2780 does not seem to be running inside a container [2023-11-28T19:19:38.051Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-11-28T19:19:39.190Z] $ docker top 86deb14103c5e6d8a02b99d477646ebd81104cbe0102f70105379deda06a557a -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-28T19:19:39.841Z] + git config --global --add safe.directory /w/workspace/device-modbus-go/1 [Pipeline] fileExists [Pipeline] sh [2023-11-28T19:19:40.530Z] + make test [2023-11-28T19:19:40.530Z] go test ./... -coverprofile=coverage.out [2023-11-28T19:19:44.786Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2023-11-28T19:21:21.431Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2023-11-28T19:21:21.431Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.060s coverage: 47.9% of statements [2023-11-28T19:21:22.016Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-11-28T19:21:22.016Z] go vet ./... [2023-11-28T19:22:02.199Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-11-28T19:22:02.199Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-11-28T19:22:02.199Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-11-28T19:22:02.242Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2023-11-28T19:22:02.319Z] $ docker stop --time=1 86deb14103c5e6d8a02b99d477646ebd81104cbe0102f70105379deda06a557a [2023-11-28T19:22:04.489Z] $ docker rm -f --volumes 86deb14103c5e6d8a02b99d477646ebd81104cbe0102f70105379deda06a557a [Pipeline] // withDockerContainer [Pipeline] sh [2023-11-28T19:22:05.856Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-11-28T19:22:05.891Z] Warning: overwriting stash ‘coverage-report’ [2023-11-28T19:22:06.431Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-11-28T19:22:07.284Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-11-28T19:22:07.624Z] + ls -al . [2023-11-28T19:22:07.624Z] total 188 [2023-11-28T19:22:07.624Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 28 19:19 . [2023-11-28T19:22:07.624Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 28 19:17 .. [2023-11-28T19:22:07.624Z] -rw-rw-r-- 1 jenkins jenkins 140 Nov 28 19:17 .dockerignore [2023-11-28T19:22:07.624Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 28 19:17 .git [2023-11-28T19:22:07.624Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 28 19:17 .github [2023-11-28T19:22:07.624Z] -rw-rw-r-- 1 jenkins jenkins 266 Nov 28 19:17 .gitignore [2023-11-28T19:22:07.624Z] -rw-rw-r-- 1 jenkins jenkins 41 Nov 28 19:17 .golangci.yml [2023-11-28T19:22:07.624Z] -rw-rw-r-- 1 jenkins jenkins 11101 Nov 28 19:17 Attribution.txt [2023-11-28T19:22:07.624Z] -rw-rw-r-- 1 jenkins jenkins 16388 Nov 28 19:17 CHANGELOG.md [2023-11-28T19:22:07.624Z] -rw-rw-r-- 1 jenkins jenkins 1474 Nov 28 19:17 Dockerfile [2023-11-28T19:22:07.624Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 28 19:17 GOVERNANCE.md [2023-11-28T19:22:07.624Z] -rw-rw-r-- 1 jenkins jenkins 658 Nov 28 19:17 Jenkinsfile [2023-11-28T19:22:07.624Z] -rw-rw-r-- 1 jenkins jenkins 11340 Nov 28 19:17 LICENSE [2023-11-28T19:22:07.624Z] -rw-rw-r-- 1 jenkins jenkins 1936 Nov 28 19:17 Makefile [2023-11-28T19:22:07.624Z] -rw-rw-r-- 1 jenkins jenkins 622 Nov 28 19:17 OWNERS.md [2023-11-28T19:22:07.624Z] -rw-rw-r-- 1 jenkins jenkins 4463 Nov 28 19:17 README.md [2023-11-28T19:22:07.624Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 28 18:45 VERSION [2023-11-28T19:22:07.624Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 28 19:17 bin [2023-11-28T19:22:07.624Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 28 19:17 cmd [2023-11-28T19:22:07.624Z] -rw-r--r-- 1 jenkins jenkins 24334 Nov 28 19:21 coverage.out [2023-11-28T19:22:07.624Z] -rw-rw-r-- 1 jenkins jenkins 3937 Nov 28 19:17 go.mod [2023-11-28T19:22:07.624Z] -rw-rw-r-- 1 jenkins jenkins 35426 Nov 28 19:17 go.sum [2023-11-28T19:22:07.624Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 28 19:17 internal [2023-11-28T19:22:07.624Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 28 19:17 simulator [2023-11-28T19:22:07.624Z] -rw-rw-r-- 1 jenkins jenkins 229 Nov 28 19:17 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-28T19:22:08.138Z] + 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=d17fa09e5d9a8cb29761356bc0bf6af28692fd42 --label arch=arm64 --label version=0.0.0 . [2023-11-28T19:22:08.406Z] Sending build context to Docker daemon 8.769MB [2023-11-28T19:22:08.679Z] Step 1/23 : ARG BASE=golang:1.21-alpine3.18 [2023-11-28T19:22:08.679Z] Step 2/23 : FROM ${BASE} AS builder [2023-11-28T19:22:08.679Z] ---> c396046a4e47 [2023-11-28T19:22:08.679Z] Step 3/23 : ARG ADD_BUILD_TAGS="" [2023-11-28T19:22:09.642Z] ---> Running in 392be707fbd7 [2023-11-28T19:22:10.227Z] Removing intermediate container 392be707fbd7 [2023-11-28T19:22:10.227Z] ---> 5da7001d3dc6 [2023-11-28T19:22:10.227Z] Step 4/23 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-11-28T19:22:10.227Z] ---> Running in 43d7e0024501 [2023-11-28T19:22:10.499Z] Removing intermediate container 43d7e0024501 [2023-11-28T19:22:10.499Z] ---> b8d0aebde063 [2023-11-28T19:22:10.499Z] Step 5/23 : RUN apk add --update --no-cache make git openssh [2023-11-28T19:22:10.499Z] ---> Running in cbe2445b6745 [2023-11-28T19:22:13.306Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-11-28T19:22:13.306Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-11-28T19:22:14.754Z] OK: 272 MiB in 60 packages [2023-11-28T19:22:16.169Z] Removing intermediate container cbe2445b6745 [2023-11-28T19:22:16.169Z] ---> f72677d24e16 [2023-11-28T19:22:16.169Z] Step 6/23 : WORKDIR /device-modbus-go [2023-11-28T19:22:16.169Z] ---> Running in 31959e3f38e2 [2023-11-28T19:22:16.756Z] Removing intermediate container 31959e3f38e2 [2023-11-28T19:22:16.756Z] ---> ac8dfacdfde8 [2023-11-28T19:22:16.756Z] Step 7/23 : COPY go.mod vendor* ./ [2023-11-28T19:22:17.721Z] ---> 11cf4bf7ea65 [2023-11-28T19:22:17.721Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-28T19:22:17.721Z] ---> Running in f60f600c9d35 [2023-11-28T19:22:24.389Z] Removing intermediate container f60f600c9d35 [2023-11-28T19:22:24.389Z] ---> 5b0258d44d81 [2023-11-28T19:22:24.389Z] Step 9/23 : COPY . . [2023-11-28T19:22:26.379Z] ---> 2e348d18fbc7 [2023-11-28T19:22:26.379Z] Step 10/23 : RUN ${MAKE} [2023-11-28T19:22:26.379Z] ---> Running in 31679468bbd5 [2023-11-28T19:22:27.350Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.1" -trimpath -mod=readonly -o cmd/device-modbus ./cmd [2023-11-28T19:24:19.053Z] Removing intermediate container 31679468bbd5 [2023-11-28T19:24:19.053Z] ---> cf8a19d4c63c [2023-11-28T19:24:19.053Z] Step 11/23 : FROM alpine:3.18 [2023-11-28T19:24:19.053Z] 3.18: Pulling from library/alpine [2023-11-28T19:24:19.053Z] 579b34f0a95b: Pulling fs layer [2023-11-28T19:24:19.053Z] 579b34f0a95b: Download complete [2023-11-28T19:24:19.053Z] 579b34f0a95b: Pull complete [2023-11-28T19:24:19.053Z] Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 [2023-11-28T19:24:19.053Z] Status: Downloaded newer image for alpine:3.18 [2023-11-28T19:24:19.053Z] ---> 3cc203321400 [2023-11-28T19:24:19.053Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2023-11-28T19:24:19.053Z] ---> Running in 443460f0f17e [2023-11-28T19:24:19.053Z] Removing intermediate container 443460f0f17e [2023-11-28T19:24:19.053Z] ---> fbe3bef8d0fe [2023-11-28T19:24:19.053Z] Step 13/23 : RUN apk add --update --no-cache dumb-init [2023-11-28T19:24:19.053Z] ---> Running in 8c9315a30079 [2023-11-28T19:24:19.053Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-11-28T19:24:19.053Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-11-28T19:24:19.053Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-11-28T19:24:19.053Z] Executing busybox-1.36.1-r2.trigger [2023-11-28T19:24:19.053Z] OK: 8 MiB in 16 packages [2023-11-28T19:24:20.018Z] Removing intermediate container 8c9315a30079 [2023-11-28T19:24:20.018Z] ---> 53e4d58d78af [2023-11-28T19:24:20.018Z] Step 14/23 : RUN apk --no-cache upgrade [2023-11-28T19:24:20.018Z] ---> Running in a86431d14052 [2023-11-28T19:24:20.990Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-11-28T19:24:21.258Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-11-28T19:24:22.670Z] (1/7) Upgrading musl (1.2.4-r1 -> 1.2.4-r2) [2023-11-28T19:24:22.670Z] (2/7) Upgrading busybox (1.36.1-r2 -> 1.36.1-r5) [2023-11-28T19:24:22.670Z] Executing busybox-1.36.1-r5.post-upgrade [2023-11-28T19:24:22.670Z] (3/7) Upgrading busybox-binsh (1.36.1-r2 -> 1.36.1-r5) [2023-11-28T19:24:22.670Z] (4/7) Upgrading libcrypto3 (3.1.3-r0 -> 3.1.4-r1) [2023-11-28T19:24:22.670Z] (5/7) Upgrading libssl3 (3.1.3-r0 -> 3.1.4-r1) [2023-11-28T19:24:22.670Z] (6/7) Upgrading ssl_client (1.36.1-r2 -> 1.36.1-r5) [2023-11-28T19:24:22.670Z] (7/7) Upgrading musl-utils (1.2.4-r1 -> 1.2.4-r2) [2023-11-28T19:24:22.670Z] Executing busybox-1.36.1-r5.trigger [2023-11-28T19:24:22.670Z] OK: 8 MiB in 16 packages [2023-11-28T19:24:24.090Z] Removing intermediate container a86431d14052 [2023-11-28T19:24:24.090Z] ---> ddb7424b7791 [2023-11-28T19:24:24.090Z] Step 15/23 : COPY --from=builder /device-modbus-go/cmd / [2023-11-28T19:24:25.504Z] ---> acd7089615e8 [2023-11-28T19:24:25.504Z] Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / [2023-11-28T19:24:25.777Z] ---> d1e38c44c0d6 [2023-11-28T19:24:25.777Z] Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / [2023-11-28T19:24:26.362Z] ---> 16f30a1857bc [2023-11-28T19:24:26.362Z] Step 18/23 : EXPOSE 59901 [2023-11-28T19:24:26.631Z] ---> Running in 165da12fe189 [2023-11-28T19:24:26.901Z] Removing intermediate container 165da12fe189 [2023-11-28T19:24:26.901Z] ---> 8d5c9b42edf7 [2023-11-28T19:24:26.901Z] Step 19/23 : ENTRYPOINT ["/device-modbus"] [2023-11-28T19:24:26.901Z] ---> Running in 5de9c9bf7c4b [2023-11-28T19:24:27.169Z] Removing intermediate container 5de9c9bf7c4b [2023-11-28T19:24:27.169Z] ---> f2b132d3819c [2023-11-28T19:24:27.169Z] Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-11-28T19:24:27.169Z] ---> Running in 2702c506c657 [2023-11-28T19:24:27.753Z] Removing intermediate container 2702c506c657 [2023-11-28T19:24:27.753Z] ---> 2156d2737389 [2023-11-28T19:24:27.753Z] Step 21/23 : LABEL arch=arm64 [2023-11-28T19:24:27.753Z] ---> Running in 016ea09ffeb5 [2023-11-28T19:24:28.026Z] Removing intermediate container 016ea09ffeb5 [2023-11-28T19:24:28.026Z] ---> f32544ac6b57 [2023-11-28T19:24:28.026Z] Step 22/23 : LABEL git_sha=d17fa09e5d9a8cb29761356bc0bf6af28692fd42 [2023-11-28T19:24:28.026Z] ---> Running in f296ce0ab9a6 [2023-11-28T19:24:28.293Z] Removing intermediate container f296ce0ab9a6 [2023-11-28T19:24:28.293Z] ---> 81e5db80d89f [2023-11-28T19:24:28.293Z] Step 23/23 : LABEL version=0.0.0 [2023-11-28T19:24:28.293Z] ---> Running in e6a96f2777fa [2023-11-28T19:24:28.561Z] Removing intermediate container e6a96f2777fa [2023-11-28T19:24:28.561Z] ---> 7d0f5f6cc393 [2023-11-28T19:24:28.561Z] [Warning] One or more build-args [ARCH] were not consumed [2023-11-28T19:24:28.830Z] Successfully built 7d0f5f6cc393 [2023-11-28T19:24:28.830Z] 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 [2023-11-28T19:24:30.147Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-11-28T19:24:30.147Z] [2023-11-28T19:24:30.147Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-28T19:24:30.591Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-11-28T19:24:30.866Z] arm64: Pulling from edgex-lftools-log-publisher [2023-11-28T19:24:30.866Z] 8998bd30e6a1: Pulling fs layer [2023-11-28T19:24:30.866Z] 04944245beec: Pulling fs layer [2023-11-28T19:24:30.866Z] 699f458cf7ca: Pulling fs layer [2023-11-28T19:24:30.866Z] 765212b225bb: Pulling fs layer [2023-11-28T19:24:30.866Z] f23df028b6ca: Pulling fs layer [2023-11-28T19:24:30.866Z] d65c8cfc05b1: Pulling fs layer [2023-11-28T19:24:30.866Z] 2437ff75d9bd: Pulling fs layer [2023-11-28T19:24:30.866Z] 765212b225bb: Waiting [2023-11-28T19:24:30.866Z] f23df028b6ca: Waiting [2023-11-28T19:24:30.866Z] d65c8cfc05b1: Waiting [2023-11-28T19:24:30.866Z] 2437ff75d9bd: Waiting [2023-11-28T19:24:30.866Z] 04944245beec: Verifying Checksum [2023-11-28T19:24:30.866Z] 04944245beec: Download complete [2023-11-28T19:24:30.866Z] 765212b225bb: Verifying Checksum [2023-11-28T19:24:30.866Z] 765212b225bb: Download complete [2023-11-28T19:24:30.866Z] f23df028b6ca: Verifying Checksum [2023-11-28T19:24:30.866Z] f23df028b6ca: Download complete [2023-11-28T19:24:30.866Z] d65c8cfc05b1: Verifying Checksum [2023-11-28T19:24:30.866Z] d65c8cfc05b1: Download complete [2023-11-28T19:24:31.147Z] 699f458cf7ca: Verifying Checksum [2023-11-28T19:24:31.147Z] 699f458cf7ca: Download complete [2023-11-28T19:24:31.422Z] 8998bd30e6a1: Verifying Checksum [2023-11-28T19:24:31.422Z] 8998bd30e6a1: Download complete [2023-11-28T19:24:34.011Z] 2437ff75d9bd: Verifying Checksum [2023-11-28T19:24:34.011Z] 2437ff75d9bd: Download complete [2023-11-28T19:24:35.954Z] 8998bd30e6a1: Pull complete [2023-11-28T19:24:36.537Z] 04944245beec: Pull complete [2023-11-28T19:24:37.942Z] 699f458cf7ca: Pull complete [2023-11-28T19:24:38.209Z] 765212b225bb: Pull complete [2023-11-28T19:24:39.169Z] f23df028b6ca: Pull complete [2023-11-28T19:24:39.436Z] d65c8cfc05b1: Pull complete [2023-11-28T19:24:54.426Z] 2437ff75d9bd: Pull complete [2023-11-28T19:24:54.426Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-11-28T19:24:54.426Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-11-28T19:24:54.426Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-28T19:24:54.925Z] prd-ubuntu20.04-docker-arm64-4c-16g-2780 does not seem to be running inside a container [2023-11-28T19:24:54.994Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-11-28T19:24:57.749Z] $ docker top b7e10cbe7eae01c168f2b0eaf4f213449e55b5c024070485ad9d6d62c7c43f52 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-28T19:24:58.768Z] ---> job-cost.sh [2023-11-28T19:24:58.768Z] lf-activate-venv: SKIPPING [2023-11-28T19:24:58.768Z] INFO: No Stack... [2023-11-28T19:24:59.035Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-11-28T19:24:59.997Z] INFO: Archiving Costs [Pipeline] sh [2023-11-28T19:25:00.661Z] + + cat /w/workspace/device-modbus-go/1/archives/cost.csv [2023-11-28T19:25:00.661Z] cut -d, -f6 [Pipeline] lock [2023-11-28T19:25:00.757Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-527-1-stack-cost] [2023-11-28T19:25:00.762Z] Resource [jenkins-edgexfoundry-device-modbus-go-PR-527-1-stack-cost] did not exist. Created. [2023-11-28T19:25:00.762Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-527-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-11-28T19:25:01.618Z] /w/workspace/device-modbus-go/1@tmp/durable-74f8f365/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-11-28T19:25:02.288Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-11-28T19:25:02.325Z] Warning: overwriting stash ‘stack-cost’ [2023-11-28T19:25:02.379Z] Stashed 1 file(s) [Pipeline] } [2023-11-28T19:25:02.415Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-527-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-11-28T19:25:02.589Z] $ docker stop --time=1 b7e10cbe7eae01c168f2b0eaf4f213449e55b5c024070485ad9d6d62c7c43f52 [2023-11-28T19:25:05.244Z] $ docker rm -f --volumes b7e10cbe7eae01c168f2b0eaf4f213449e55b5c024070485ad9d6d62c7c43f52 [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 [2023-11-28T19:25:07.460Z] provisioning config files... [2023-11-28T19:25:07.466Z] copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-527@tmp/config5801024162278534207tmp [Pipeline] { [Pipeline] sh [2023-11-28T19:25:07.891Z] + set +x [2023-11-28T19:25:07.891Z] + curl -s https://codecov.io/bash [2023-11-28T19:25:07.891Z] + bash -s -- [2023-11-28T19:25:07.891Z] [2023-11-28T19:25:07.891Z] _____ _ [2023-11-28T19:25:07.891Z] / ____| | | [2023-11-28T19:25:07.891Z] | | ___ __| | ___ ___ _____ __ [2023-11-28T19:25:07.891Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-11-28T19:25:07.891Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-11-28T19:25:07.891Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-11-28T19:25:07.891Z] Bash-1.0.6 [2023-11-28T19:25:07.891Z] [2023-11-28T19:25:07.891Z] [2023-11-28T19:25:07.891Z] ==> git version 2.25.1 found [2023-11-28T19:25:07.891Z] ==> 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 [2023-11-28T19:25:07.891Z] Release-Date: 2020-01-08 [2023-11-28T19:25:07.891Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-11-28T19:25:07.891Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-11-28T19:25:07.891Z] ==> Jenkins CI detected. [2023-11-28T19:25:07.891Z] current dir:  /w/workspace/xfoundry_device-modbus-go_PR-527 [2023-11-28T19:25:07.891Z] project root: . [2023-11-28T19:25:07.891Z] --> token set from env [2023-11-28T19:25:07.891Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-11-28T19:25:07.891Z] ==> Running gcov in . (disable via -X gcov) [2023-11-28T19:25:07.891Z] ==> Python coveragepy not found [2023-11-28T19:25:07.891Z] ==> Searching for coverage reports in: [2023-11-28T19:25:07.891Z] + . [2023-11-28T19:25:07.891Z] -> Found 1 reports [2023-11-28T19:25:07.891Z] ==> Detecting git/mercurial file structure [2023-11-28T19:25:08.150Z] ==> Reading reports [2023-11-28T19:25:08.150Z] + ./coverage.out bytes=24334 [2023-11-28T19:25:08.150Z] ==> Appending adjustments [2023-11-28T19:25:08.151Z] https://docs.codecov.io/docs/fixing-reports [2023-11-28T19:25:08.151Z] + Found adjustments [2023-11-28T19:25:08.151Z] ==> Gzipping contents [2023-11-28T19:25:08.151Z] 4.0K /tmp/codecov.0xki6z.gz [2023-11-28T19:25:08.151Z] ==> Uploading reports [2023-11-28T19:25:08.151Z] url: https://codecov.io [2023-11-28T19:25:08.151Z] query: branch=PR-527&commit=d17fa09e5d9a8cb29761356bc0bf6af28692fd42&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-527%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=527&job=&cmd_args= [2023-11-28T19:25:08.151Z] -> Pinging Codecov [2023-11-28T19:25:08.151Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-527&commit=d17fa09e5d9a8cb29761356bc0bf6af28692fd42&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-527%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=527&job=&cmd_args= [2023-11-28T19:25:08.410Z] -> Uploading to [2023-11-28T19:25:08.410Z] https://storage.googleapis.com/codecov/v4/raw/2023-11-28/55DBCA73C666E3227836607328DD7E49/d17fa09e5d9a8cb29761356bc0bf6af28692fd42/83e19bf5-4aff-4aa5-b530-d559ba16195c.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231128%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231128T192508Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=9a7b180a2d8c83e02cd5b16d2cdb6fa90fcb6f5da3872b80b2927968dd9713b8 [2023-11-28T19:25:08.410Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-11-28T19:25:08.410Z] Dload Upload Total Spent Left Speed [2023-11-28T19:25:08.668Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3806 0 0 100 3806 0 13448 --:--:-- --:--:-- --:--:-- 13448 [2023-11-28T19:25:08.668Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/d17fa09e5d9a8cb29761356bc0bf6af28692fd42 [Pipeline] } [2023-11-28T19:25:08.699Z] 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 [2023-11-28T19:25:11.981Z] + [ -d /w/workspace/xfoundry_device-modbus-go_PR-527/archives ] [2023-11-28T19:25:11.981Z] + ls -al /w/workspace/xfoundry_device-modbus-go_PR-527/archives [2023-11-28T19:25:11.981Z] total 16 [2023-11-28T19:25:11.981Z] drwxr-xr-x 3 root root 4096 Nov 28 18:47 . [2023-11-28T19:25:11.981Z] drwxrwxr-x 10 jenkins jenkins 4096 Nov 28 18:47 .. [2023-11-28T19:25:11.981Z] drwxr-xr-x 2 root root 4096 Nov 28 18:47 cost [2023-11-28T19:25:11.981Z] -rw-r--r-- 1 root root 88 Nov 28 18:47 cost.csv [2023-11-28T19:25:11.981Z] + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-527/archives [2023-11-28T19:25:11.981Z] + ls -al /w/workspace/xfoundry_device-modbus-go_PR-527/archives [2023-11-28T19:25:11.981Z] total 16 [2023-11-28T19:25:11.981Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 28 18:47 . [2023-11-28T19:25:11.981Z] drwxrwxr-x 10 jenkins jenkins 4096 Nov 28 18:47 .. [2023-11-28T19:25:11.981Z] drwxr-xr-x 2 jenkins jenkins 4096 Nov 28 18:47 cost [2023-11-28T19:25:11.981Z] -rw-r--r-- 1 jenkins jenkins 88 Nov 28 18:47 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-11-28T19:25:12.305Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-28T19:25:13.196Z] ---> package-listing.sh [2023-11-28T19:25:13.196Z] ++ facter osfamily [2023-11-28T19:25:13.196Z] ++ tr '[:upper:]' '[:lower:]' [2023-11-28T19:25:13.454Z] + OS_FAMILY=debian [2023-11-28T19:25:13.454Z] + workspace=/w/workspace/xfoundry_device-modbus-go_PR-527 [2023-11-28T19:25:13.454Z] + START_PACKAGES=/tmp/packages_start.txt [2023-11-28T19:25:13.454Z] + END_PACKAGES=/tmp/packages_end.txt [2023-11-28T19:25:13.454Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-11-28T19:25:13.454Z] + PACKAGES=/tmp/packages_start.txt [2023-11-28T19:25:13.454Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-527 ']' [2023-11-28T19:25:13.454Z] + PACKAGES=/tmp/packages_end.txt [2023-11-28T19:25:13.454Z] + case "${OS_FAMILY}" in [2023-11-28T19:25:13.454Z] + dpkg -l [2023-11-28T19:25:13.454Z] + grep '^ii' [2023-11-28T19:25:13.454Z] + '[' -f /tmp/packages_start.txt ']' [2023-11-28T19:25:13.454Z] + '[' -f /tmp/packages_end.txt ']' [2023-11-28T19:25:13.454Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-11-28T19:25:13.454Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-527 ']' [2023-11-28T19:25:13.454Z] + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-527/archives/ [2023-11-28T19:25:13.454Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-527/archives/ [Pipeline] echo [2023-11-28T19:25:13.494Z] 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-527/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-11-28T19:25:13.784Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-28T19:25:14.459Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-28T19:25:14.459Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-28T19:25:14.692Z] prd-ubuntu20.04-docker-8c-8g-1576 does not seem to be running inside a container [2023-11-28T19:25:14.720Z] $ 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-527/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-527 -v /w/workspace/xfoundry_device-modbus-go_PR-527:/w/workspace/xfoundry_device-modbus-go_PR-527:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-527@tmp:/w/workspace/xfoundry_device-modbus-go_PR-527@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 [2023-11-28T19:25:14.981Z] $ docker top 877f0968403d3accddb583508be8064b3674edcd87ce4cb1cd53746b0c1cb1c3 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-28T19:25:15.469Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-11-28T19:25:15.782Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-11-28T19:25:16.086Z] + ls /var/log/sa-host [2023-11-28T19:25:16.086Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-11-28T19:25:16.375Z] provisioning config files... [2023-11-28T19:25:16.382Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-527@tmp/config2985874189452059378tmp [Pipeline] { [Pipeline] echo [2023-11-28T19:25:16.536Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-28T19:25:16.858Z] ---> create-netrc.sh [Pipeline] } [2023-11-28T19:25:16.885Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-11-28T19:25:17.407Z] ---> python-tools-install.sh [Pipeline] echo [2023-11-28T19:25:17.440Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-28T19:25:17.761Z] ---> sudo-logs.sh [2023-11-28T19:25:17.761Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-11-28T19:25:17.899Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-28T19:25:18.206Z] ---> job-cost.sh [2023-11-28T19:25:18.206Z] lf-activate-venv: SKIPPING [2023-11-28T19:25:18.206Z] DEBUG: total: 0.2199999988079071 [2023-11-28T19:25:18.206Z] INFO: Retrieving Stack Cost... [2023-11-28T19:25:18.466Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-11-28T19:25:19.034Z] INFO: Archiving Costs [Pipeline] echo [2023-11-28T19:25:19.074Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-28T19:25:19.388Z] ---> logs-deploy.sh [2023-11-28T19:25:19.388Z] lf-activate-venv: SKIPPING [2023-11-28T19:25:19.388Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-527/1 [2023-11-28T19:25:19.388Z] INFO: archiving workspace using pattern(s): [2023-11-28T19:25:20.327Z] Archives upload complete. [2023-11-28T19:25:20.327Z] INFO: archiving logs to Nexus