Pull request #547 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 31f6d600233d381699de0096b270256653829b30+78c106f1b1d485d6b9e2c5cc4debe4f465169507 (278a5115a6bc4e404dc2b66bb14bbfac10f25cc9) 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-ssh18229159672599449555.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-ssh16720913193481052927.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-547/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-547/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8791756484763635826.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-547/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh2744503577141608959.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-ssh15176317057835771259.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-547/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-547/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh4135353509544801044.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 ‘prd-ubuntu20.04-docker-8c-8g-2821’ Running on prd-ubuntu20.04-docker-8c-8g-2823 in /w/workspace/xfoundry_device-modbus-go_PR-547 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-modbus-go.git > git init /w/workspace/xfoundry_device-modbus-go_PR-547 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 78c106f1b1d485d6b9e2c5cc4debe4f465169507 into PR head commit 31f6d600233d381699de0096b270256653829b30 Merge succeeded, producing 31f6d600233d381699de0096b270256653829b30 Checking out Revision 31f6d600233d381699de0096b270256653829b30 (PR-547) Commit message: "build(deps): Bump golang.org/x/net from 0.21.0 to 0.23.0" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/547/head:refs/remotes/origin/PR-547 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 31f6d600233d381699de0096b270256653829b30 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 78c106f1b1d485d6b9e2c5cc4debe4f465169507 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 31f6d600233d381699de0096b270256653829b30 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-04-19T13:12:24.819Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-04-19T13:12:25.054Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-04-19T13:12:25.177Z] ========================================================= [2024-04-19T13:12:25.177Z] EdgeX Global Pipelines Version Info [2024-04-19T13:12:25.177Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-04-19T13:12:26.314Z] ------------------- [2024-04-19T13:12:26.314Z] stable info: [2024-04-19T13:12:26.314Z] ------------------- [2024-04-19T13:12:26.314Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2024-04-19T13:12:26.314Z] Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2024-04-19T13:12:26.314Z] Message: update stable to v1.0.258 [2024-04-19T13:12:26.886Z] ------------------- [2024-04-19T13:12:26.886Z] experimental info: [2024-04-19T13:12:26.886Z] ------------------- [2024-04-19T13:12:26.886Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2024-04-19T13:12:26.886Z] Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2024-04-19T13:12:26.886Z] Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-04-19T13:12:27.109Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo [2024-04-19T13:12:27.165Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo [2024-04-19T13:12:27.226Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-04-19T13:12:27.286Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-04-19T13:12:27.338Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-04-19T13:12:27.396Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2024-04-19T13:12:27.452Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-04-19T13:12:27.551Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2024-04-19T13:12:27.704Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-04-19T13:12:27.879Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-04-19T13:12:27.942Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-04-19T13:12:28.012Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo [2024-04-19T13:12:28.069Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-04-19T13:12:28.122Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-04-19T13:12:28.184Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-04-19T13:12:28.244Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2024-04-19T13:12:28.300Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-04-19T13:12:28.355Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-04-19T13:12:28.411Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-04-19T13:12:28.470Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-04-19T13:12:28.528Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2024-04-19T13:12:28.584Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2024-04-19T13:12:28.643Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-04-19T13:12:28.715Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-04-19T13:12:28.789Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-04-19T13:12:28.851Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-04-19T13:12:28.904Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-04-19T13:12:28.963Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-547 [Pipeline] echo [2024-04-19T13:12:29.019Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-547 [Pipeline] echo [2024-04-19T13:12:29.075Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-547 [Pipeline] echo [2024-04-19T13:12:29.132Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 31f6d600233d381699de0096b270256653829b30 [Pipeline] echo [2024-04-19T13:12:29.205Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 31f6d60 [Pipeline] echo [2024-04-19T13:12:29.259Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-04-19T13:12:29.402Z] provisioning config files... [2024-04-19T13:12:29.418Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-547@tmp/config16070856671435492340tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-04-19T13:12:29.822Z] ---> ****-login.sh [2024-04-19T13:12:29.822Z] nexus3.edgexfoundry.org:10001 [2024-04-19T13:12:30.082Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-04-19T13:12:30.082Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-04-19T13:12:30.082Z] Configure a credential helper to remove this warning. See [2024-04-19T13:12:30.082Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-04-19T13:12:30.082Z] [2024-04-19T13:12:30.082Z] Login Succeeded [2024-04-19T13:12:30.082Z] nexus3.edgexfoundry.org:10002 [2024-04-19T13:12:30.342Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-04-19T13:12:30.342Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-04-19T13:12:30.342Z] Configure a credential helper to remove this warning. See [2024-04-19T13:12:30.342Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-04-19T13:12:30.342Z] [2024-04-19T13:12:30.342Z] Login Succeeded [2024-04-19T13:12:30.342Z] nexus3.edgexfoundry.org:10003 [2024-04-19T13:12:30.342Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-04-19T13:12:30.343Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-04-19T13:12:30.343Z] Configure a credential helper to remove this warning. See [2024-04-19T13:12:30.343Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-04-19T13:12:30.343Z] [2024-04-19T13:12:30.343Z] Login Succeeded [2024-04-19T13:12:30.343Z] nexus3.edgexfoundry.org:10004 [2024-04-19T13:12:30.603Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-04-19T13:12:30.603Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-04-19T13:12:30.603Z] Configure a credential helper to remove this warning. See [2024-04-19T13:12:30.603Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-04-19T13:12:30.603Z] [2024-04-19T13:12:30.603Z] Login Succeeded [2024-04-19T13:12:30.603Z] ****.io [2024-04-19T13:12:30.603Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-04-19T13:12:30.863Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-04-19T13:12:30.863Z] Configure a credential helper to remove this warning. See [2024-04-19T13:12:30.863Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-04-19T13:12:30.863Z] [2024-04-19T13:12:30.864Z] Login Succeeded [2024-04-19T13:12:30.864Z] ---> ****-login.sh ends [Pipeline] } [2024-04-19T13:12:30.890Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-04-19T13:12:31.564Z] + git rev-list -1 --merges 31f6d600233d381699de0096b270256653829b30~1..31f6d600233d381699de0096b270256653829b30 [Pipeline] echo [2024-04-19T13:12:31.612Z] -----------> git rev-list -1 --merges 31f6d600233d381699de0096b270256653829b30~1..31f6d600233d381699de0096b270256653829b30 31f6d600233d381699de0096b270256653829b30 [false] [Pipeline] sh [2024-04-19T13:12:31.930Z] + git log --format=format:%s -1 31f6d600233d381699de0096b270256653829b30 [Pipeline] echo [2024-04-19T13:12:31.963Z] ========================================================= [2024-04-19T13:12:31.963Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-04-19T13:12:31.963Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-04-19T13:12:32.401Z] + git log --format=format:%s -1 31f6d600233d381699de0096b270256653829b30 [Pipeline] echo [2024-04-19T13:12:32.432Z] [semverPrep] GIT_COMMIT: 31f6d600233d381699de0096b270256653829b30, Commit Message: build(deps): Bump golang.org/x/net from 0.21.0 to 0.23.0 [Pipeline] echo [2024-04-19T13:12:32.460Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-04-19T13:12:32.864Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-04-19T13:12:32.864Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-04-19T13:12:32.864Z] + [ -e /tmp/ssh_known_hosts ] [2024-04-19T13:12:32.864Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-04-19T13:12:32.864Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-04-19T13:12:32.864Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2024-04-19T13:12:32.864Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-04-19T13:12:33.297Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-04-19T13:12:33.297Z] [2024-04-19T13:12:33.297Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-04-19T13:12:33.691Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-04-19T13:12:33.691Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-04-19T13:12:33.691Z] b85a868b505f: Pulling fs layer [2024-04-19T13:12:33.691Z] e2be974225ed: Pulling fs layer [2024-04-19T13:12:33.691Z] 339a4e72a1f5: Pulling fs layer [2024-04-19T13:12:33.691Z] 988bab9f4d93: Pulling fs layer [2024-04-19T13:12:33.691Z] 1469e6f7b9e6: Pulling fs layer [2024-04-19T13:12:33.691Z] eaf3925da568: Pulling fs layer [2024-04-19T13:12:33.691Z] bab4dde63d76: Pulling fs layer [2024-04-19T13:12:33.691Z] bde34c3a00c8: Pulling fs layer [2024-04-19T13:12:33.691Z] b352a97aabf1: Pulling fs layer [2024-04-19T13:12:33.691Z] 4872d77fe225: Pulling fs layer [2024-04-19T13:12:33.691Z] 5851b861e8e6: Pulling fs layer [2024-04-19T13:12:33.691Z] 988bab9f4d93: Waiting [2024-04-19T13:12:33.691Z] 1469e6f7b9e6: Waiting [2024-04-19T13:12:33.691Z] eaf3925da568: Waiting [2024-04-19T13:12:33.691Z] bab4dde63d76: Waiting [2024-04-19T13:12:33.691Z] bde34c3a00c8: Waiting [2024-04-19T13:12:33.691Z] b352a97aabf1: Waiting [2024-04-19T13:12:33.691Z] 4872d77fe225: Waiting [2024-04-19T13:12:33.691Z] 5851b861e8e6: Waiting [2024-04-19T13:12:33.691Z] e2be974225ed: Verifying Checksum [2024-04-19T13:12:33.691Z] e2be974225ed: Download complete [2024-04-19T13:12:33.691Z] 988bab9f4d93: Verifying Checksum [2024-04-19T13:12:33.691Z] 988bab9f4d93: Download complete [2024-04-19T13:12:33.951Z] 1469e6f7b9e6: Verifying Checksum [2024-04-19T13:12:33.951Z] 1469e6f7b9e6: Download complete [2024-04-19T13:12:33.951Z] eaf3925da568: Verifying Checksum [2024-04-19T13:12:33.951Z] eaf3925da568: Download complete [2024-04-19T13:12:33.951Z] 339a4e72a1f5: Verifying Checksum [2024-04-19T13:12:33.951Z] 339a4e72a1f5: Download complete [2024-04-19T13:12:33.951Z] bde34c3a00c8: Verifying Checksum [2024-04-19T13:12:33.951Z] bde34c3a00c8: Download complete [2024-04-19T13:12:33.951Z] b352a97aabf1: Download complete [2024-04-19T13:12:33.951Z] 4872d77fe225: Verifying Checksum [2024-04-19T13:12:33.951Z] 4872d77fe225: Download complete [2024-04-19T13:12:33.951Z] 5851b861e8e6: Download complete [2024-04-19T13:12:33.951Z] b85a868b505f: Download complete [2024-04-19T13:12:34.517Z] bab4dde63d76: Verifying Checksum [2024-04-19T13:12:34.517Z] bab4dde63d76: Download complete [2024-04-19T13:12:35.452Z] b85a868b505f: Pull complete [2024-04-19T13:12:35.452Z] e2be974225ed: Pull complete [2024-04-19T13:12:36.020Z] 339a4e72a1f5: Pull complete [2024-04-19T13:12:36.020Z] 988bab9f4d93: Pull complete [2024-04-19T13:12:36.280Z] 1469e6f7b9e6: Pull complete [2024-04-19T13:12:36.540Z] eaf3925da568: Pull complete [2024-04-19T13:12:38.442Z] bab4dde63d76: Pull complete [2024-04-19T13:12:38.717Z] bde34c3a00c8: Pull complete [2024-04-19T13:12:38.717Z] b352a97aabf1: Pull complete [2024-04-19T13:12:38.980Z] 4872d77fe225: Pull complete [2024-04-19T13:12:38.980Z] 5851b861e8e6: Pull complete [2024-04-19T13:12:38.980Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-04-19T13:12:38.980Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-04-19T13:12:38.980Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-04-19T13:12:39.279Z] prd-ubuntu20.04-docker-8c-8g-2823 does not seem to be running inside a container [2024-04-19T13:12:39.318Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-547 -v /w/workspace/xfoundry_device-modbus-go_PR-547:/w/workspace/xfoundry_device-modbus-go_PR-547:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-547@tmp:/w/workspace/xfoundry_device-modbus-go_PR-547@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-04-19T13:12:47.361Z] $ docker top 629cce27d2561bdc2c678d542b576185dbbc7988d6bc8afd29691e42d7bf7ddc -eo pid,comm [2024-04-19T13:12:47.419Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2024-04-19T13:12:47.419Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-04-19T13:12:47.590Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-04-19T13:12:47.590Z] [ssh-agent] Looking for ssh-agent implementation... [2024-04-19T13:12:47.696Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-04-19T13:12:47.705Z] $ docker exec 629cce27d2561bdc2c678d542b576185dbbc7988d6bc8afd29691e42d7bf7ddc ssh-agent [2024-04-19T13:12:47.816Z] SSH_AUTH_SOCK=/tmp/ssh-AJqZNZ6PJ0YP/agent.33 [2024-04-19T13:12:47.816Z] SSH_AGENT_PID=39 [2024-04-19T13:12:47.823Z] Running ssh-add (command line suppressed) [2024-04-19T13:12:47.932Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-547@tmp/private_key_15038569444541866743.key (/w/workspace/xfoundry_device-modbus-go_PR-547@tmp/private_key_15038569444541866743.key) [2024-04-19T13:12:47.940Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-04-19T13:12:48.388Z] + git tag --points-at HEAD [Pipeline] } [2024-04-19T13:12:48.450Z] $ docker exec --env ******** --env ******** 629cce27d2561bdc2c678d542b576185dbbc7988d6bc8afd29691e42d7bf7ddc ssh-agent -k [2024-04-19T13:12:48.551Z] unset SSH_AUTH_SOCK; [2024-04-19T13:12:48.552Z] unset SSH_AGENT_PID; [2024-04-19T13:12:48.552Z] echo Agent pid 39 killed; [2024-04-19T13:12:48.559Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-04-19T13:12:48.733Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-04-19T13:12:48.733Z] [ssh-agent] Looking for ssh-agent implementation... [2024-04-19T13:12:48.861Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-04-19T13:12:48.869Z] $ docker exec 629cce27d2561bdc2c678d542b576185dbbc7988d6bc8afd29691e42d7bf7ddc ssh-agent [2024-04-19T13:12:48.970Z] SSH_AUTH_SOCK=/tmp/ssh-UsjbM9s0k0k4/agent.72 [2024-04-19T13:12:48.970Z] SSH_AGENT_PID=78 [2024-04-19T13:12:48.974Z] Running ssh-add (command line suppressed) [2024-04-19T13:12:49.092Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-547@tmp/private_key_5599468358105383951.key (/w/workspace/xfoundry_device-modbus-go_PR-547@tmp/private_key_5599468358105383951.key) [2024-04-19T13:12:49.103Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-04-19T13:12:49.435Z] + git semver init [2024-04-19T13:12:49.694Z] 2024-04-19 13:12:49,635 [run_init] DEBUG init version:0.0.0 force:False [2024-04-19T13:12:49.694Z] 2024-04-19 13:12:49,635 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-modbus-go_PR-547/.semver [2024-04-19T13:12:49.694Z] 2024-04-19 13:12:49,636 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/xfoundry_device-modbus-go_PR-547/.semver [2024-04-19T13:12:49.695Z] 2024-04-19 13:12:49,636 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/xfoundry_device-modbus-go_PR-547/.semver'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-547, universal_newlines=False, shell=None, istream=None) [2024-04-19T13:12:51.077Z] 2024-04-19 13:12:50,900 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-modbus-go_PR-547/.git/info/exclude [2024-04-19T13:12:51.077Z] 2024-04-19 13:12:50,900 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-modbus-go_PR-547/.semver/PR-547 with force:False [2024-04-19T13:12:51.077Z] 2024-04-19 13:12:50,901 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-modbus-go_PR-547/.semver/PR-547 [2024-04-19T13:12:51.077Z] 2024-04-19 13:12:50,906 [execute] INFO git cat-file --batch-check [2024-04-19T13:12:51.077Z] 2024-04-19 13:12:50,906 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-547/.semver, universal_newlines=False, shell=None, istream=) [2024-04-19T13:12:51.077Z] 2024-04-19 13:12:50,914 [execute] INFO git cat-file --batch [2024-04-19T13:12:51.077Z] 2024-04-19 13:12:50,914 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-547/.semver, universal_newlines=False, shell=None, istream=) [2024-04-19T13:12:51.077Z] 2024-04-19 13:12:50,920 [read_version] DEBUG read version from /w/workspace/xfoundry_device-modbus-go_PR-547/.semver/PR-547 [2024-04-19T13:12:51.077Z] 0.0.0 [Pipeline] } [2024-04-19T13:12:51.110Z] $ docker exec --env ******** --env ******** 629cce27d2561bdc2c678d542b576185dbbc7988d6bc8afd29691e42d7bf7ddc ssh-agent -k [2024-04-19T13:12:51.209Z] unset SSH_AUTH_SOCK; [2024-04-19T13:12:51.209Z] unset SSH_AGENT_PID; [2024-04-19T13:12:51.209Z] echo Agent pid 78 killed; [2024-04-19T13:12:51.215Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-04-19T13:12:51.679Z] + git semver [Pipeline] } [2024-04-19T13:12:51.970Z] $ docker stop --time=1 629cce27d2561bdc2c678d542b576185dbbc7988d6bc8afd29691e42d7bf7ddc [2024-04-19T13:12:53.285Z] $ docker rm -f --volumes 629cce27d2561bdc2c678d542b576185dbbc7988d6bc8afd29691e42d7bf7ddc [Pipeline] // withDockerContainer [Pipeline] sh [2024-04-19T13:12:53.711Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-04-19T13:12:54.045Z] Stashed 1 file(s) [Pipeline] echo [2024-04-19T13:12:54.077Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-04-19T13:12:54.822Z] provisioning config files... [2024-04-19T13:12:54.832Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-547@tmp/config11923493955292384967tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-04-19T13:12:55.214Z] ---> ****-login.sh [2024-04-19T13:12:55.214Z] nexus3.edgexfoundry.org:10001 [2024-04-19T13:12:55.214Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-04-19T13:12:55.214Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-04-19T13:12:55.214Z] Configure a credential helper to remove this warning. See [2024-04-19T13:12:55.214Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-04-19T13:12:55.214Z] [2024-04-19T13:12:55.214Z] Login Succeeded [2024-04-19T13:12:55.214Z] nexus3.edgexfoundry.org:10002 [2024-04-19T13:12:55.214Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-04-19T13:12:55.214Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-04-19T13:12:55.214Z] Configure a credential helper to remove this warning. See [2024-04-19T13:12:55.214Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-04-19T13:12:55.214Z] [2024-04-19T13:12:55.214Z] Login Succeeded [2024-04-19T13:12:55.214Z] nexus3.edgexfoundry.org:10003 [2024-04-19T13:12:55.478Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-04-19T13:12:55.478Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-04-19T13:12:55.478Z] Configure a credential helper to remove this warning. See [2024-04-19T13:12:55.478Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-04-19T13:12:55.478Z] [2024-04-19T13:12:55.478Z] Login Succeeded [2024-04-19T13:12:55.478Z] nexus3.edgexfoundry.org:10004 [2024-04-19T13:12:55.478Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-04-19T13:12:55.478Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-04-19T13:12:55.478Z] Configure a credential helper to remove this warning. See [2024-04-19T13:12:55.478Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-04-19T13:12:55.478Z] [2024-04-19T13:12:55.478Z] Login Succeeded [2024-04-19T13:12:55.478Z] ****.io [2024-04-19T13:12:55.738Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-04-19T13:12:55.738Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-04-19T13:12:55.738Z] Configure a credential helper to remove this warning. See [2024-04-19T13:12:55.738Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-04-19T13:12:55.738Z] [2024-04-19T13:12:55.738Z] Login Succeeded [2024-04-19T13:12:55.738Z] ---> ****-login.sh ends [Pipeline] } [2024-04-19T13:12:55.768Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-04-19T13:12:56.022Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-04-19T13:12:56.077Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-04-19T13:12:56.131Z] ========================================================= [2024-04-19T13:12:56.131Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2024-04-19T13:12:56.131Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-04-19T13:12:56.653Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2024-04-19T13:12:56.653Z] Sending build context to Docker daemon 17.36MB [2024-04-19T13:12:56.653Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2024-04-19T13:12:56.653Z] Step 2/10 : FROM ${BASE} AS builder [2024-04-19T13:12:56.912Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2024-04-19T13:12:56.912Z] 7264a8db6415: Pulling fs layer [2024-04-19T13:12:56.912Z] c4d48a809fc2: Pulling fs layer [2024-04-19T13:12:56.912Z] 4f1c88b9dad5: Pulling fs layer [2024-04-19T13:12:56.912Z] ad3a456e5733: Pulling fs layer [2024-04-19T13:12:56.912Z] 69c7f0334f64: Pulling fs layer [2024-04-19T13:12:56.912Z] 1f1c1a5573a3: Pulling fs layer [2024-04-19T13:12:56.912Z] ce7588e14bc9: Pulling fs layer [2024-04-19T13:12:56.912Z] b5e4710f87ac: Pulling fs layer [2024-04-19T13:12:56.912Z] 1f1c1a5573a3: Waiting [2024-04-19T13:12:56.912Z] ad3a456e5733: Waiting [2024-04-19T13:12:56.912Z] ce7588e14bc9: Waiting [2024-04-19T13:12:56.912Z] 69c7f0334f64: Waiting [2024-04-19T13:12:56.912Z] b5e4710f87ac: Waiting [2024-04-19T13:12:56.912Z] c4d48a809fc2: Verifying Checksum [2024-04-19T13:12:56.912Z] c4d48a809fc2: Download complete [2024-04-19T13:12:56.912Z] ad3a456e5733: Download complete [2024-04-19T13:12:56.912Z] 69c7f0334f64: Verifying Checksum [2024-04-19T13:12:56.912Z] 69c7f0334f64: Download complete [2024-04-19T13:12:56.912Z] 7264a8db6415: Verifying Checksum [2024-04-19T13:12:56.912Z] 7264a8db6415: Download complete [2024-04-19T13:12:56.912Z] 1f1c1a5573a3: Verifying Checksum [2024-04-19T13:12:56.912Z] 1f1c1a5573a3: Download complete [2024-04-19T13:12:57.179Z] 7264a8db6415: Pull complete [2024-04-19T13:12:57.179Z] c4d48a809fc2: Pull complete [2024-04-19T13:12:57.441Z] b5e4710f87ac: Verifying Checksum [2024-04-19T13:12:57.441Z] b5e4710f87ac: Download complete [2024-04-19T13:12:57.700Z] 4f1c88b9dad5: Verifying Checksum [2024-04-19T13:12:57.700Z] 4f1c88b9dad5: Download complete [2024-04-19T13:12:58.267Z] ce7588e14bc9: Verifying Checksum [2024-04-19T13:12:58.267Z] ce7588e14bc9: Download complete [2024-04-19T13:13:01.578Z] 4f1c88b9dad5: Pull complete [2024-04-19T13:13:01.578Z] ad3a456e5733: Pull complete [2024-04-19T13:13:01.578Z] 69c7f0334f64: Pull complete [2024-04-19T13:13:01.578Z] 1f1c1a5573a3: Pull complete [2024-04-19T13:13:04.112Z] ce7588e14bc9: Pull complete [2024-04-19T13:13:05.075Z] b5e4710f87ac: Pull complete [2024-04-19T13:13:05.075Z] Digest: sha256:f80dd7bb8fdf010369d5adb4058a62695265b22e897ca6aac7b42af84fdce50e [2024-04-19T13:13:05.337Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2024-04-19T13:13:05.337Z] ---> 88b5674ff536 [2024-04-19T13:13:05.337Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2024-04-19T13:13:09.602Z] Still waiting to schedule task [2024-04-19T13:13:09.602Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-2824’ [2024-04-19T13:13:23.474Z] ---> Running in 5c4311b9a872 [2024-04-19T13:13:23.474Z] Removing intermediate container 5c4311b9a872 [2024-04-19T13:13:23.474Z] ---> 97058a9f20d3 [2024-04-19T13:13:23.474Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-04-19T13:13:23.474Z] ---> Running in 55103d90dedb [2024-04-19T13:13:23.474Z] Removing intermediate container 55103d90dedb [2024-04-19T13:13:23.474Z] ---> adf4e3c4dc86 [2024-04-19T13:13:23.474Z] Step 5/10 : RUN apk add --update --no-cache make git openssh [2024-04-19T13:13:23.474Z] ---> Running in 9e76c338f4b4 [2024-04-19T13:13:24.051Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-04-19T13:13:24.051Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-04-19T13:13:24.311Z] (1/8) Installing openssh-keygen (9.3_p2-r1) [2024-04-19T13:13:24.311Z] (2/8) Installing libedit (20221030.3.1-r1) [2024-04-19T13:13:24.311Z] (3/8) Installing openssh-client-common (9.3_p2-r1) [2024-04-19T13:13:24.311Z] (4/8) Installing openssh-client-default (9.3_p2-r1) [2024-04-19T13:13:24.311Z] (5/8) Installing openssh-sftp-server (9.3_p2-r1) [2024-04-19T13:13:24.311Z] (6/8) Installing openssh-server-common (9.3_p2-r1) [2024-04-19T13:13:24.311Z] (7/8) Installing openssh-server (9.3_p2-r1) [2024-04-19T13:13:24.311Z] (8/8) Installing openssh (9.3_p2-r1) [2024-04-19T13:13:24.311Z] Executing busybox-1.36.1-r5.trigger [2024-04-19T13:13:24.311Z] OK: 270 MiB in 60 packages [2024-04-19T13:13:25.248Z] Removing intermediate container 9e76c338f4b4 [2024-04-19T13:13:25.248Z] ---> aacf5331c1a7 [2024-04-19T13:13:25.248Z] Step 6/10 : WORKDIR /device-modbus-go [2024-04-19T13:13:25.248Z] ---> Running in 0582328f8c64 [2024-04-19T13:13:25.248Z] Removing intermediate container 0582328f8c64 [2024-04-19T13:13:25.248Z] ---> 6538af72fd71 [2024-04-19T13:13:25.248Z] Step 7/10 : COPY go.mod vendor* ./ [2024-04-19T13:13:25.248Z] ---> 904975983c6d [2024-04-19T13:13:25.248Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-04-19T13:13:25.248Z] ---> Running in dac6112bd0ae [2024-04-19T13:14:21.570Z] Removing intermediate container dac6112bd0ae [2024-04-19T13:14:21.570Z] ---> 457aa1369d72 [2024-04-19T13:14:21.570Z] Step 9/10 : COPY . . [2024-04-19T13:14:21.570Z] ---> 98add1315fab [2024-04-19T13:14:21.570Z] Step 10/10 : RUN ${MAKE} [2024-04-19T13:14:21.570Z] ---> Running in c5a723bbeded [2024-04-19T13:14:21.570Z] noop [2024-04-19T13:14:21.570Z] Removing intermediate container c5a723bbeded [2024-04-19T13:14:21.570Z] ---> e8b64187a001 [2024-04-19T13:14:21.570Z] Successfully built e8b64187a001 [2024-04-19T13:14:21.570Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-04-19T13:14:22.027Z] + docker inspect -f . ci-base-image-x86_64 [2024-04-19T13:14:22.028Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-04-19T13:14:22.183Z] prd-ubuntu20.04-docker-8c-8g-2823 does not seem to be running inside a container [2024-04-19T13:14:22.211Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-547 -v /w/workspace/xfoundry_device-modbus-go_PR-547:/w/workspace/xfoundry_device-modbus-go_PR-547:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-547@tmp:/w/workspace/xfoundry_device-modbus-go_PR-547@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-04-19T13:14:22.565Z] $ docker top a142cfae746ebcfc3796b8c12ff1434377aa820e2fb4a7885e97d1f3f32cb96c -eo pid,comm [Pipeline] { [Pipeline] sh [2024-04-19T13:14:22.986Z] + go version [2024-04-19T13:14:22.986Z] go version go1.21.0 linux/amd64 [Pipeline] } [2024-04-19T13:14:23.019Z] $ docker stop --time=1 a142cfae746ebcfc3796b8c12ff1434377aa820e2fb4a7885e97d1f3f32cb96c [2024-04-19T13:14:24.394Z] $ docker rm -f --volumes a142cfae746ebcfc3796b8c12ff1434377aa820e2fb4a7885e97d1f3f32cb96c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-04-19T13:14:25.372Z] + docker inspect -f . ci-base-image-x86_64 [2024-04-19T13:14:25.372Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-04-19T13:14:25.529Z] prd-ubuntu20.04-docker-8c-8g-2823 does not seem to be running inside a container [2024-04-19T13:14:25.562Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/xfoundry_device-modbus-go_PR-547 -v /w/workspace/xfoundry_device-modbus-go_PR-547:/w/workspace/xfoundry_device-modbus-go_PR-547:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-547@tmp:/w/workspace/xfoundry_device-modbus-go_PR-547@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-04-19T13:14:25.929Z] $ docker top 091e3fcfe157616851f2c7e123e6800799759537407cd660ced2a3120dd9c0d1 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-04-19T13:14:26.332Z] + git config --global --add safe.directory /w/workspace/xfoundry_device-modbus-go_PR-547 [Pipeline] fileExists [Pipeline] sh [2024-04-19T13:14:26.698Z] + make test [2024-04-19T13:14:26.698Z] go test ./... -coverprofile=coverage.out [2024-04-19T13:14:29.231Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2024-04-19T13:14:39.213Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2024-04-19T13:14:39.213Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.015s coverage: 47.9% of statements [2024-04-19T13:14:47.343Z] go vet ./... [2024-04-19T13:14:50.627Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-04-19T13:14:50.627Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-04-19T13:14:50.627Z] ./bin/test-attribution-txt.sh [2024-04-19T13:14:50.627Z] An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [Pipeline] echo [2024-04-19T13:14:50.664Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-04-19T13:14:50.698Z] $ docker stop --time=1 091e3fcfe157616851f2c7e123e6800799759537407cd660ced2a3120dd9c0d1 [2024-04-19T13:14:55.186Z] $ docker rm -f --volumes 091e3fcfe157616851f2c7e123e6800799759537407cd660ced2a3120dd9c0d1 [Pipeline] // withDockerContainer [Pipeline] sh [2024-04-19T13:14:55.744Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-04-19T13:14:55.815Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2024-04-19T13:14:56.445Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-04-19T13:14:56.753Z] + ls -al . [2024-04-19T13:14:56.753Z] total 192 [2024-04-19T13:14:56.753Z] drwxrwxr-x 9 jenkins jenkins 4096 Apr 19 13:14 . [2024-04-19T13:14:56.753Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 19 13:12 .. [2024-04-19T13:14:56.753Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 19 13:12 .dockerignore [2024-04-19T13:14:56.753Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 19 13:14 .git [2024-04-19T13:14:56.753Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 19 13:12 .github [2024-04-19T13:14:56.753Z] -rw-rw-r-- 1 jenkins jenkins 266 Apr 19 13:12 .gitignore [2024-04-19T13:14:56.753Z] -rw-rw-r-- 1 jenkins jenkins 41 Apr 19 13:12 .golangci.yml [2024-04-19T13:14:56.753Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 19 13:12 .semver [2024-04-19T13:14:56.753Z] -rw-rw-r-- 1 jenkins jenkins 11101 Apr 19 13:12 Attribution.txt [2024-04-19T13:14:56.753Z] -rw-rw-r-- 1 jenkins jenkins 16388 Apr 19 13:12 CHANGELOG.md [2024-04-19T13:14:56.753Z] -rw-rw-r-- 1 jenkins jenkins 1474 Apr 19 13:12 Dockerfile [2024-04-19T13:14:56.753Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 19 13:12 GOVERNANCE.md [2024-04-19T13:14:56.753Z] -rw-rw-r-- 1 jenkins jenkins 658 Apr 19 13:12 Jenkinsfile [2024-04-19T13:14:56.753Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 19 13:12 LICENSE [2024-04-19T13:14:56.753Z] -rw-rw-r-- 1 jenkins jenkins 1942 Apr 19 13:12 Makefile [2024-04-19T13:14:56.753Z] -rw-rw-r-- 1 jenkins jenkins 622 Apr 19 13:12 OWNERS.md [2024-04-19T13:14:56.753Z] -rw-rw-r-- 1 jenkins jenkins 4463 Apr 19 13:12 README.md [2024-04-19T13:14:56.753Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 19 13:12 VERSION [2024-04-19T13:14:56.753Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 19 13:12 bin [2024-04-19T13:14:56.753Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 19 13:12 cmd [2024-04-19T13:14:56.753Z] -rw-r--r-- 1 jenkins jenkins 24334 Apr 19 13:14 coverage.out [2024-04-19T13:14:56.753Z] -rw-rw-r-- 1 jenkins jenkins 3987 Apr 19 13:12 go.mod [2024-04-19T13:14:56.753Z] -rw-rw-r-- 1 jenkins jenkins 36721 Apr 19 13:12 go.sum [2024-04-19T13:14:56.753Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 19 13:12 internal [2024-04-19T13:14:56.753Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 19 13:12 simulator [2024-04-19T13:14:56.753Z] -rw-rw-r-- 1 jenkins jenkins 229 Apr 19 13:12 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-04-19T13:14:57.152Z] + 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=31f6d600233d381699de0096b270256653829b30 --label arch=amd64 --label version=0.0.0 . [2024-04-19T13:14:57.152Z] Sending build context to Docker daemon 17.38MB [2024-04-19T13:14:57.152Z] Step 1/23 : ARG BASE=golang:1.21-alpine3.18 [2024-04-19T13:14:57.152Z] Step 2/23 : FROM ${BASE} AS builder [2024-04-19T13:14:57.152Z] ---> e8b64187a001 [2024-04-19T13:14:57.152Z] Step 3/23 : ARG ADD_BUILD_TAGS="" [2024-04-19T13:14:58.089Z] ---> Running in ba2fd9168249 [2024-04-19T13:14:58.347Z] Removing intermediate container ba2fd9168249 [2024-04-19T13:14:58.347Z] ---> 3bbf68ad10ef [2024-04-19T13:14:58.347Z] Step 4/23 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-04-19T13:14:58.618Z] ---> Running in 1d5515ed792d [2024-04-19T13:14:58.878Z] Removing intermediate container 1d5515ed792d [2024-04-19T13:14:58.879Z] ---> 5aed1a5aa4e5 [2024-04-19T13:14:58.879Z] Step 5/23 : RUN apk add --update --no-cache make git openssh [2024-04-19T13:14:58.879Z] ---> Running in 8839b522a931 [2024-04-19T13:14:59.140Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-04-19T13:14:59.400Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-04-19T13:14:59.660Z] OK: 270 MiB in 60 packages [2024-04-19T13:14:59.919Z] Removing intermediate container 8839b522a931 [2024-04-19T13:14:59.919Z] ---> 98488c8b2e3e [2024-04-19T13:14:59.919Z] Step 6/23 : WORKDIR /device-modbus-go [2024-04-19T13:14:59.919Z] ---> Running in a0fa663c8f4f [2024-04-19T13:14:59.919Z] Removing intermediate container a0fa663c8f4f [2024-04-19T13:14:59.919Z] ---> f3c8cea50f79 [2024-04-19T13:14:59.919Z] Step 7/23 : COPY go.mod vendor* ./ [2024-04-19T13:15:00.177Z] ---> 6e10c848e3a4 [2024-04-19T13:15:00.177Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-04-19T13:15:00.177Z] ---> Running in fd49a8914c11 [2024-04-19T13:15:00.748Z] Removing intermediate container fd49a8914c11 [2024-04-19T13:15:00.748Z] ---> 3ab68e678128 [2024-04-19T13:15:00.748Z] Step 9/23 : COPY . . [2024-04-19T13:15:01.682Z] ---> 38f336c39e34 [2024-04-19T13:15:01.682Z] Step 10/23 : RUN ${MAKE} [2024-04-19T13:15:01.682Z] ---> Running in a9552cf087f9 [2024-04-19T13:15:01.941Z] CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-modbus-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.11" -trimpath -mod=readonly -o cmd/device-modbus ./cmd [2024-04-19T13:15:23.925Z] Removing intermediate container a9552cf087f9 [2024-04-19T13:15:23.925Z] ---> b7046f4189e8 [2024-04-19T13:15:23.925Z] Step 11/23 : FROM alpine:3.18 [2024-04-19T13:15:23.925Z] 3.18: Pulling from library/alpine [2024-04-19T13:15:23.925Z] 619be1103602: Pulling fs layer [2024-04-19T13:15:24.208Z] 619be1103602: Verifying Checksum [2024-04-19T13:15:24.208Z] 619be1103602: Download complete [2024-04-19T13:15:24.467Z] 619be1103602: Pull complete [2024-04-19T13:15:24.467Z] Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 [2024-04-19T13:15:24.467Z] Status: Downloaded newer image for alpine:3.18 [2024-04-19T13:15:24.467Z] ---> d3782b16ccc9 [2024-04-19T13:15:24.467Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2024-04-19T13:15:24.467Z] ---> Running in 4b2cbb880291 [2024-04-19T13:15:24.726Z] Removing intermediate container 4b2cbb880291 [2024-04-19T13:15:24.726Z] ---> dd0d1668d96b [2024-04-19T13:15:24.726Z] Step 13/23 : RUN apk add --update --no-cache dumb-init [2024-04-19T13:15:24.726Z] ---> Running in c514779e988e [2024-04-19T13:15:24.984Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-04-19T13:15:24.985Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-04-19T13:15:25.244Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-04-19T13:15:25.244Z] Executing busybox-1.36.1-r5.trigger [2024-04-19T13:15:25.244Z] OK: 7 MiB in 16 packages [2024-04-19T13:15:25.502Z] Removing intermediate container c514779e988e [2024-04-19T13:15:25.502Z] ---> a5a4ebd95d62 [2024-04-19T13:15:25.502Z] Step 14/23 : RUN apk --no-cache upgrade [2024-04-19T13:15:25.502Z] ---> Running in f85e9d3e6340 [2024-04-19T13:15:25.760Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-04-19T13:15:26.018Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-04-19T13:15:26.018Z] Upgrading critical system libraries and apk-tools: [2024-04-19T13:15:26.018Z] (1/1) Upgrading apk-tools (2.14.0-r2 -> 2.14.4-r0) [2024-04-19T13:15:26.018Z] Executing busybox-1.36.1-r5.trigger [2024-04-19T13:15:26.278Z] Continuing the upgrade transaction with new apk-tools: [2024-04-19T13:15:26.278Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-04-19T13:15:26.278Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-04-19T13:15:26.537Z] (1/3) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) [2024-04-19T13:15:26.537Z] (2/3) Upgrading libcrypto3 (3.1.4-r5 -> 3.1.4-r6) [2024-04-19T13:15:26.537Z] (3/3) Upgrading libssl3 (3.1.4-r5 -> 3.1.4-r6) [2024-04-19T13:15:26.537Z] OK: 7 MiB in 16 packages [2024-04-19T13:15:27.163Z] Removing intermediate container f85e9d3e6340 [2024-04-19T13:15:27.163Z] ---> b1d46de47b5b [2024-04-19T13:15:27.163Z] Step 15/23 : COPY --from=builder /device-modbus-go/cmd / [2024-04-19T13:15:27.730Z] ---> 6c560409427a [2024-04-19T13:15:27.730Z] Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / [2024-04-19T13:15:27.989Z] ---> 86d4452f6cee [2024-04-19T13:15:27.989Z] Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / [2024-04-19T13:15:29.365Z] ---> 9a7b338c265b [2024-04-19T13:15:29.365Z] Step 18/23 : EXPOSE 59901 [2024-04-19T13:15:30.743Z] ---> Running in 5a240259b9e3 [2024-04-19T13:15:31.001Z] Removing intermediate container 5a240259b9e3 [2024-04-19T13:15:31.002Z] ---> 1e9e30a03905 [2024-04-19T13:15:31.002Z] Step 19/23 : ENTRYPOINT ["/device-modbus"] [2024-04-19T13:15:31.002Z] ---> Running in 6f58c21b98b1 [2024-04-19T13:15:31.260Z] Removing intermediate container 6f58c21b98b1 [2024-04-19T13:15:31.260Z] ---> 28ad5ccb1203 [2024-04-19T13:15:31.260Z] Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2024-04-19T13:15:31.260Z] ---> Running in bc594422a371 [2024-04-19T13:15:31.260Z] Removing intermediate container bc594422a371 [2024-04-19T13:15:31.260Z] ---> 444589e80497 [2024-04-19T13:15:31.260Z] Step 21/23 : LABEL arch=amd64 [2024-04-19T13:15:31.260Z] ---> Running in ec83d03b1339 [2024-04-19T13:15:31.260Z] Removing intermediate container ec83d03b1339 [2024-04-19T13:15:31.260Z] ---> 6df5d3f22686 [2024-04-19T13:15:31.260Z] Step 22/23 : LABEL git_sha=31f6d600233d381699de0096b270256653829b30 [2024-04-19T13:15:31.260Z] ---> Running in 5af3dc85cbd2 [2024-04-19T13:15:31.519Z] Removing intermediate container 5af3dc85cbd2 [2024-04-19T13:15:31.519Z] ---> 5110570a1983 [2024-04-19T13:15:31.519Z] Step 23/23 : LABEL version=0.0.0 [2024-04-19T13:15:31.519Z] ---> Running in 8b3a0aa188cd [2024-04-19T13:15:31.519Z] Removing intermediate container 8b3a0aa188cd [2024-04-19T13:15:31.519Z] ---> ab674ba5398f [2024-04-19T13:15:31.519Z] [Warning] One or more build-args [ARCH] were not consumed [2024-04-19T13:15:31.519Z] Successfully built ab674ba5398f [2024-04-19T13:15:31.519Z] Successfully tagged device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-04-19T13:15:32.496Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-04-19T13:15:32.496Z] [2024-04-19T13:15:32.496Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-04-19T13:15:36.830Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-04-19T13:15:36.830Z] latest: Pulling from edgex-lftools-log-publisher [2024-04-19T13:15:36.830Z] 5eb5b503b376: Pulling fs layer [2024-04-19T13:15:36.830Z] 5c69ac0246d0: Pulling fs layer [2024-04-19T13:15:36.830Z] ec43610c2a17: Pulling fs layer [2024-04-19T13:15:36.830Z] 3a2ae6a8a46f: Pulling fs layer [2024-04-19T13:15:36.830Z] 33b1e0a273af: Pulling fs layer [2024-04-19T13:15:36.830Z] 3a2ae6a8a46f: Waiting [2024-04-19T13:15:36.830Z] 5d3b04190fa2: Pulling fs layer [2024-04-19T13:15:36.830Z] 2f39f015ded8: Pulling fs layer [2024-04-19T13:15:36.830Z] 5d3b04190fa2: Waiting [2024-04-19T13:15:36.830Z] 2f39f015ded8: Waiting [2024-04-19T13:15:36.830Z] 33b1e0a273af: Waiting [2024-04-19T13:15:36.830Z] 5c69ac0246d0: Verifying Checksum [2024-04-19T13:15:36.830Z] 5c69ac0246d0: Download complete [2024-04-19T13:15:36.830Z] 33b1e0a273af: Verifying Checksum [2024-04-19T13:15:36.830Z] 33b1e0a273af: Download complete [2024-04-19T13:15:36.830Z] 5d3b04190fa2: Download complete [2024-04-19T13:15:36.830Z] ec43610c2a17: Verifying Checksum [2024-04-19T13:15:36.830Z] ec43610c2a17: Download complete [2024-04-19T13:15:37.087Z] 5eb5b503b376: Download complete [2024-04-19T13:15:37.650Z] 2f39f015ded8: Download complete [2024-04-19T13:15:38.760Z] 5eb5b503b376: Pull complete [2024-04-19T13:15:38.760Z] 5c69ac0246d0: Pull complete [2024-04-19T13:15:38.760Z] ec43610c2a17: Pull complete [2024-04-19T13:15:38.760Z] 3a2ae6a8a46f: Pull complete [2024-04-19T13:15:39.019Z] 33b1e0a273af: Pull complete [2024-04-19T13:15:39.020Z] 5d3b04190fa2: Pull complete [2024-04-19T13:15:43.203Z] 2f39f015ded8: Pull complete [2024-04-19T13:15:43.203Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-04-19T13:15:43.203Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-04-19T13:15:43.203Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-04-19T13:15:43.518Z] prd-ubuntu20.04-docker-8c-8g-2823 does not seem to be running inside a container [2024-04-19T13:15:43.548Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/xfoundry_device-modbus-go_PR-547 -v /w/workspace/xfoundry_device-modbus-go_PR-547:/w/workspace/xfoundry_device-modbus-go_PR-547:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-547@tmp:/w/workspace/xfoundry_device-modbus-go_PR-547@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-04-19T13:15:51.676Z] $ docker top af9c1a542319192661b0a145e7a1396178271e2525a4b8aa00df13068bd2560a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-04-19T13:15:52.118Z] ---> job-cost.sh [2024-04-19T13:15:52.118Z] lf-activate-venv: SKIPPING [2024-04-19T13:15:52.118Z] INFO: No Stack... [2024-04-19T13:15:52.375Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-04-19T13:15:52.633Z] INFO: Archiving Costs [Pipeline] sh [2024-04-19T13:15:52.955Z] + cat /w/workspace/xfoundry_device-modbus-go_PR-547/archives/cost.csv [2024-04-19T13:15:52.955Z] + cut -d, -f6 [Pipeline] lock [2024-04-19T13:15:53.147Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-547-1-stack-cost] [2024-04-19T13:15:53.152Z] Resource [jenkins-edgexfoundry-device-modbus-go-PR-547-1-stack-cost] did not exist. Created. [2024-04-19T13:15:53.161Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-547-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-04-19T13:15:53.558Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-04-19T13:15:53.607Z] Stashed 1 file(s) [Pipeline] } [2024-04-19T13:15:53.642Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-547-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-04-19T13:15:53.728Z] $ docker stop --time=1 af9c1a542319192661b0a145e7a1396178271e2525a4b8aa00df13068bd2560a [2024-04-19T13:15:54.885Z] $ docker rm -f --volumes af9c1a542319192661b0a145e7a1396178271e2525a4b8aa00df13068bd2560a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-04-19T13:16:29.529Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-2834 in /w/workspace/xfoundry_device-modbus-go_PR-547 [Pipeline] { [Pipeline] ws [2024-04-19T13:16:29.585Z] Running in /w/workspace/device-modbus-go/1 [Pipeline] { [Pipeline] checkout [2024-04-19T13:16:29.757Z] Selected Git installation does not exist. Using Default [2024-04-19T13:16:29.757Z] The recommended git tool is: NONE [2024-04-19T13:16:36.133Z] using credential edgex-jenkins-ssh [2024-04-19T13:16:36.157Z] Cloning the remote Git repository [2024-04-19T13:16:36.218Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2024-04-19T13:16:36.341Z] > git init /w/workspace/device-modbus-go/1 # timeout=10 [2024-04-19T13:16:36.536Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2024-04-19T13:16:36.538Z] > git --version # timeout=10 [2024-04-19T13:16:36.577Z] > git --version # 'git version 2.25.1' [2024-04-19T13:16:36.583Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-04-19T13:16:36.807Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-04-19T13:16:39.262Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2024-04-19T13:16:39.308Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-04-19T13:16:41.226Z] Merging remotes/origin/main commit 78c106f1b1d485d6b9e2c5cc4debe4f465169507 into PR head commit 31f6d600233d381699de0096b270256653829b30 [2024-04-19T13:16:40.535Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2024-04-19T13:16:40.590Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2024-04-19T13:16:40.591Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-04-19T13:16:40.619Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/547/head:refs/remotes/origin/PR-547 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2024-04-19T13:16:41.258Z] > git config core.sparsecheckout # timeout=10 [2024-04-19T13:16:41.367Z] > git checkout -f 31f6d600233d381699de0096b270256653829b30 # timeout=10 [2024-04-19T13:16:41.474Z] > git remote # timeout=10 [2024-04-19T13:16:41.499Z] > git config --get remote.origin.url # timeout=10 [2024-04-19T13:16:41.532Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-04-19T13:16:41.563Z] > git merge 78c106f1b1d485d6b9e2c5cc4debe4f465169507 # timeout=10 [2024-04-19T13:16:41.624Z] Merge succeeded, producing 31f6d600233d381699de0096b270256653829b30 [2024-04-19T13:16:41.624Z] Checking out Revision 31f6d600233d381699de0096b270256653829b30 (PR-547) [2024-04-19T13:16:42.523Z] Commit message: "build(deps): Bump golang.org/x/net from 0.21.0 to 0.23.0" [2024-04-19T13:16:42.587Z] > git --version # timeout=10 [2024-04-19T13:16:42.600Z] > git --version # 'git version 2.25.1' [2024-04-19T13:16:42.620Z] fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2024-04-19T13:16:41.604Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-04-19T13:16:41.636Z] > git config core.sparsecheckout # timeout=10 [2024-04-19T13:16:41.663Z] > git checkout -f 31f6d600233d381699de0096b270256653829b30 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-04-19T13:16:47.520Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-04-19T13:16:47.520Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-04-19T13:16:47.520Z] Dload Upload Total Spent Left Speed [2024-04-19T13:16:47.520Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 198k 0 --:--:-- --:--:-- --:--:-- 198k [Pipeline] sh [2024-04-19T13:16:47.911Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-04-19T13:16:48.273Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2024-04-19T13:16:48.273Z] + sudo tee /etc/docker/daemon.new [2024-04-19T13:16:48.273Z] { [2024-04-19T13:16:48.273Z] "registry-mirrors": [ [2024-04-19T13:16:48.273Z] "https://nexus3.edgexfoundry.org:10001" [2024-04-19T13:16:48.273Z] ], [2024-04-19T13:16:48.273Z] "bip": "10.250.0.254/24", [2024-04-19T13:16:48.273Z] "hosts": [ [2024-04-19T13:16:48.273Z] "tcp://0.0.0.0:5555", [2024-04-19T13:16:48.273Z] "unix:///var/run/docker.sock" [2024-04-19T13:16:48.273Z] ], [2024-04-19T13:16:48.273Z] "mtu": 1458, [2024-04-19T13:16:48.273Z] "selinux-enabled": true, [2024-04-19T13:16:48.273Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-04-19T13:16:48.273Z] } [Pipeline] sh [2024-04-19T13:16:48.635Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-04-19T13:16:49.008Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-04-19T13:17:07.401Z] provisioning config files... [2024-04-19T13:17:07.451Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/1@tmp/config6111993854929140961tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-04-19T13:17:07.981Z] ---> ****-login.sh [2024-04-19T13:17:07.981Z] nexus3.edgexfoundry.org:10001 [2024-04-19T13:17:08.580Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-04-19T13:17:08.855Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-04-19T13:17:08.855Z] Configure a credential helper to remove this warning. See [2024-04-19T13:17:08.855Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-04-19T13:17:08.855Z] [2024-04-19T13:17:08.855Z] Login Succeeded [2024-04-19T13:17:08.855Z] nexus3.edgexfoundry.org:10002 [2024-04-19T13:17:09.136Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-04-19T13:17:09.136Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-04-19T13:17:09.136Z] Configure a credential helper to remove this warning. See [2024-04-19T13:17:09.136Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-04-19T13:17:09.136Z] [2024-04-19T13:17:09.136Z] Login Succeeded [2024-04-19T13:17:09.136Z] nexus3.edgexfoundry.org:10003 [2024-04-19T13:17:09.412Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-04-19T13:17:09.689Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-04-19T13:17:09.689Z] Configure a credential helper to remove this warning. See [2024-04-19T13:17:09.689Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-04-19T13:17:09.689Z] [2024-04-19T13:17:09.689Z] Login Succeeded [2024-04-19T13:17:09.689Z] nexus3.edgexfoundry.org:10004 [2024-04-19T13:17:09.965Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-04-19T13:17:09.965Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-04-19T13:17:09.965Z] Configure a credential helper to remove this warning. See [2024-04-19T13:17:09.965Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-04-19T13:17:09.965Z] [2024-04-19T13:17:09.965Z] Login Succeeded [2024-04-19T13:17:09.965Z] ****.io [2024-04-19T13:17:10.242Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-04-19T13:17:10.514Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-04-19T13:17:10.514Z] Configure a credential helper to remove this warning. See [2024-04-19T13:17:10.514Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-04-19T13:17:10.514Z] [2024-04-19T13:17:10.514Z] Login Succeeded [2024-04-19T13:17:10.514Z] ---> ****-login.sh ends [Pipeline] } [2024-04-19T13:17:10.546Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-04-19T13:17:11.008Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-04-19T13:17:11.052Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-04-19T13:17:11.108Z] ========================================================= [2024-04-19T13:17:11.108Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2024-04-19T13:17:11.108Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-04-19T13:17:11.673Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2024-04-19T13:17:11.942Z] Sending build context to Docker daemon 8.808MB [2024-04-19T13:17:12.215Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2024-04-19T13:17:12.215Z] Step 2/10 : FROM ${BASE} AS builder [2024-04-19T13:17:12.215Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-04-19T13:17:12.215Z] 9fda8d8052c6: Pulling fs layer [2024-04-19T13:17:12.215Z] 5d54e960e981: Pulling fs layer [2024-04-19T13:17:12.215Z] c4a7e357bf2a: Pulling fs layer [2024-04-19T13:17:12.215Z] f0e02332f6b5: Pulling fs layer [2024-04-19T13:17:12.215Z] 872ee5b61b7b: Pulling fs layer [2024-04-19T13:17:12.215Z] 0c6a40ed1a82: Pulling fs layer [2024-04-19T13:17:12.215Z] 94ae7d8d031c: Pulling fs layer [2024-04-19T13:17:12.215Z] 872ee5b61b7b: Waiting [2024-04-19T13:17:12.215Z] f0e02332f6b5: Waiting [2024-04-19T13:17:12.215Z] 0c6a40ed1a82: Waiting [2024-04-19T13:17:12.215Z] 94ae7d8d031c: Waiting [2024-04-19T13:17:12.215Z] 5d54e960e981: Verifying Checksum [2024-04-19T13:17:12.215Z] 5d54e960e981: Download complete [2024-04-19T13:17:12.487Z] f0e02332f6b5: Verifying Checksum [2024-04-19T13:17:12.487Z] f0e02332f6b5: Download complete [2024-04-19T13:17:12.487Z] 872ee5b61b7b: Download complete [2024-04-19T13:17:12.487Z] 9fda8d8052c6: Verifying Checksum [2024-04-19T13:17:12.487Z] 9fda8d8052c6: Download complete [2024-04-19T13:17:13.088Z] 94ae7d8d031c: Verifying Checksum [2024-04-19T13:17:13.088Z] 94ae7d8d031c: Download complete [2024-04-19T13:17:13.361Z] 9fda8d8052c6: Pull complete [2024-04-19T13:17:14.323Z] 5d54e960e981: Pull complete [2024-04-19T13:17:14.323Z] c4a7e357bf2a: Verifying Checksum [2024-04-19T13:17:14.323Z] c4a7e357bf2a: Download complete [2024-04-19T13:17:15.287Z] 0c6a40ed1a82: Verifying Checksum [2024-04-19T13:17:15.287Z] 0c6a40ed1a82: Download complete [2024-04-19T13:17:27.628Z] c4a7e357bf2a: Pull complete [2024-04-19T13:17:27.628Z] f0e02332f6b5: Pull complete [2024-04-19T13:17:27.628Z] 872ee5b61b7b: Pull complete [2024-04-19T13:17:37.739Z] 0c6a40ed1a82: Pull complete [2024-04-19T13:17:38.012Z] 94ae7d8d031c: Pull complete [2024-04-19T13:17:38.012Z] Digest: sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 [2024-04-19T13:17:38.012Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2024-04-19T13:17:38.012Z] ---> 86de565de09d [2024-04-19T13:17:38.012Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2024-04-19T13:17:39.992Z] ---> Running in 2cd12856a784 [2024-04-19T13:17:39.992Z] Removing intermediate container 2cd12856a784 [2024-04-19T13:17:39.992Z] ---> 314eda2ae6df [2024-04-19T13:17:39.992Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-04-19T13:17:39.992Z] ---> Running in 715869f3ba54 [2024-04-19T13:17:40.586Z] Removing intermediate container 715869f3ba54 [2024-04-19T13:17:40.586Z] ---> a251fc16630e [2024-04-19T13:17:40.586Z] Step 5/10 : RUN apk add --update --no-cache make git openssh [2024-04-19T13:17:40.586Z] ---> Running in f99762e19aec [2024-04-19T13:17:42.030Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-04-19T13:17:42.622Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-04-19T13:17:44.038Z] (1/8) Installing openssh-keygen (9.3_p2-r1) [2024-04-19T13:17:44.038Z] (2/8) Installing libedit (20221030.3.1-r1) [2024-04-19T13:17:44.038Z] (3/8) Installing openssh-client-common (9.3_p2-r1) [2024-04-19T13:17:44.038Z] (4/8) Installing openssh-client-default (9.3_p2-r1) [2024-04-19T13:17:44.038Z] (5/8) Installing openssh-sftp-server (9.3_p2-r1) [2024-04-19T13:17:44.038Z] (6/8) Installing openssh-server-common (9.3_p2-r1) [2024-04-19T13:17:44.038Z] (7/8) Installing openssh-server (9.3_p2-r1) [2024-04-19T13:17:44.038Z] (8/8) Installing openssh (9.3_p2-r1) [2024-04-19T13:17:44.038Z] Executing busybox-1.36.1-r5.trigger [2024-04-19T13:17:44.038Z] OK: 272 MiB in 60 packages [2024-04-19T13:17:45.456Z] Removing intermediate container f99762e19aec [2024-04-19T13:17:45.456Z] ---> 5dd2704be915 [2024-04-19T13:17:45.456Z] Step 6/10 : WORKDIR /device-modbus-go [2024-04-19T13:17:45.456Z] ---> Running in 6a2fe88b8c5a [2024-04-19T13:17:45.723Z] Removing intermediate container 6a2fe88b8c5a [2024-04-19T13:17:45.723Z] ---> 0bc33dc38303 [2024-04-19T13:17:45.723Z] Step 7/10 : COPY go.mod vendor* ./ [2024-04-19T13:17:46.307Z] ---> e6f0ccc38459 [2024-04-19T13:17:46.307Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-04-19T13:17:46.307Z] ---> Running in cf65ffec80a2 [2024-04-19T13:18:54.208Z] Removing intermediate container cf65ffec80a2 [2024-04-19T13:18:54.208Z] ---> 6cea34e85f82 [2024-04-19T13:18:54.208Z] Step 9/10 : COPY . . [2024-04-19T13:18:54.208Z] ---> b3d5734df4e9 [2024-04-19T13:18:54.208Z] Step 10/10 : RUN ${MAKE} [2024-04-19T13:18:54.208Z] ---> Running in 185f4f0495b3 [2024-04-19T13:18:54.208Z] noop [2024-04-19T13:18:54.208Z] Removing intermediate container 185f4f0495b3 [2024-04-19T13:18:54.208Z] ---> 0305da367196 [2024-04-19T13:18:54.208Z] Successfully built 0305da367196 [2024-04-19T13:18:54.208Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-04-19T13:18:54.703Z] + docker inspect -f . ci-base-image-arm64 [2024-04-19T13:18:54.703Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-04-19T13:18:55.003Z] prd-ubuntu20.04-docker-arm64-4c-16g-2834 does not seem to be running inside a container [2024-04-19T13:18:55.076Z] $ 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 ******** ci-base-image-arm64 cat [2024-04-19T13:18:56.286Z] $ docker top eb8b704cf5f72e3d3b5c4fe9b84770abfe0fed81f5ebf5f3f29c36b7c4fed0b4 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-04-19T13:18:57.199Z] + go version [2024-04-19T13:18:57.199Z] go version go1.21.0 linux/arm64 [Pipeline] } [2024-04-19T13:18:57.238Z] $ docker stop --time=1 eb8b704cf5f72e3d3b5c4fe9b84770abfe0fed81f5ebf5f3f29c36b7c4fed0b4 [2024-04-19T13:18:58.897Z] $ docker rm -f --volumes eb8b704cf5f72e3d3b5c4fe9b84770abfe0fed81f5ebf5f3f29c36b7c4fed0b4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-04-19T13:18:59.820Z] + docker inspect -f . ci-base-image-arm64 [2024-04-19T13:18:59.820Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-04-19T13:19:00.109Z] prd-ubuntu20.04-docker-arm64-4c-16g-2834 does not seem to be running inside a container [2024-04-19T13:19:00.183Z] $ 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 ******** ci-base-image-arm64 cat [2024-04-19T13:19:01.438Z] $ docker top 0f1f52b1134bd68791451d69dc0891b0855fc454e2bb1b051a8abd390b2c23e6 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-04-19T13:19:02.349Z] + git config --global --add safe.directory /w/workspace/device-modbus-go/1 [Pipeline] fileExists [Pipeline] sh [2024-04-19T13:19:03.074Z] + make test [2024-04-19T13:19:03.074Z] go test ./... -coverprofile=coverage.out [2024-04-19T13:19:07.364Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2024-04-19T13:20:59.056Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2024-04-19T13:20:59.056Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.080s coverage: 47.9% of statements [2024-04-19T13:20:59.640Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2024-04-19T13:20:59.640Z] go vet ./... [2024-04-19T13:21:32.241Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-04-19T13:21:32.241Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-04-19T13:21:32.241Z] ./bin/test-attribution-txt.sh [2024-04-19T13:21:32.241Z] An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [Pipeline] echo [2024-04-19T13:21:32.282Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-04-19T13:21:32.329Z] $ docker stop --time=1 0f1f52b1134bd68791451d69dc0891b0855fc454e2bb1b051a8abd390b2c23e6 [2024-04-19T13:21:34.186Z] $ docker rm -f --volumes 0f1f52b1134bd68791451d69dc0891b0855fc454e2bb1b051a8abd390b2c23e6 [Pipeline] // withDockerContainer [Pipeline] sh [2024-04-19T13:21:35.477Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-04-19T13:21:35.513Z] Warning: overwriting stash ‘coverage-report’ [2024-04-19T13:21:36.033Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-04-19T13:21:36.746Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-04-19T13:21:37.122Z] + ls -al . [2024-04-19T13:21:37.122Z] total 188 [2024-04-19T13:21:37.122Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 19 13:19 . [2024-04-19T13:21:37.122Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 19 13:16 .. [2024-04-19T13:21:37.122Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 19 13:16 .dockerignore [2024-04-19T13:21:37.122Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 19 13:16 .git [2024-04-19T13:21:37.122Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 19 13:16 .github [2024-04-19T13:21:37.122Z] -rw-rw-r-- 1 jenkins jenkins 266 Apr 19 13:16 .gitignore [2024-04-19T13:21:37.122Z] -rw-rw-r-- 1 jenkins jenkins 41 Apr 19 13:16 .golangci.yml [2024-04-19T13:21:37.122Z] -rw-rw-r-- 1 jenkins jenkins 11101 Apr 19 13:16 Attribution.txt [2024-04-19T13:21:37.122Z] -rw-rw-r-- 1 jenkins jenkins 16388 Apr 19 13:16 CHANGELOG.md [2024-04-19T13:21:37.122Z] -rw-rw-r-- 1 jenkins jenkins 1474 Apr 19 13:16 Dockerfile [2024-04-19T13:21:37.122Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 19 13:16 GOVERNANCE.md [2024-04-19T13:21:37.122Z] -rw-rw-r-- 1 jenkins jenkins 658 Apr 19 13:16 Jenkinsfile [2024-04-19T13:21:37.122Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 19 13:16 LICENSE [2024-04-19T13:21:37.122Z] -rw-rw-r-- 1 jenkins jenkins 1942 Apr 19 13:16 Makefile [2024-04-19T13:21:37.122Z] -rw-rw-r-- 1 jenkins jenkins 622 Apr 19 13:16 OWNERS.md [2024-04-19T13:21:37.122Z] -rw-rw-r-- 1 jenkins jenkins 4463 Apr 19 13:16 README.md [2024-04-19T13:21:37.122Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 19 13:12 VERSION [2024-04-19T13:21:37.122Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 19 13:16 bin [2024-04-19T13:21:37.122Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 19 13:16 cmd [2024-04-19T13:21:37.122Z] -rw-r--r-- 1 jenkins jenkins 24334 Apr 19 13:20 coverage.out [2024-04-19T13:21:37.122Z] -rw-rw-r-- 1 jenkins jenkins 3987 Apr 19 13:16 go.mod [2024-04-19T13:21:37.122Z] -rw-rw-r-- 1 jenkins jenkins 36721 Apr 19 13:16 go.sum [2024-04-19T13:21:37.122Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 19 13:16 internal [2024-04-19T13:21:37.122Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 19 13:16 simulator [2024-04-19T13:21:37.122Z] -rw-rw-r-- 1 jenkins jenkins 229 Apr 19 13:16 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-04-19T13:21:37.572Z] + 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=31f6d600233d381699de0096b270256653829b30 --label arch=arm64 --label version=0.0.0 . [2024-04-19T13:21:37.843Z] Sending build context to Docker daemon 8.834MB [2024-04-19T13:21:38.110Z] Step 1/23 : ARG BASE=golang:1.21-alpine3.18 [2024-04-19T13:21:38.110Z] Step 2/23 : FROM ${BASE} AS builder [2024-04-19T13:21:38.110Z] ---> 0305da367196 [2024-04-19T13:21:38.110Z] Step 3/23 : ARG ADD_BUILD_TAGS="" [2024-04-19T13:21:38.110Z] ---> Running in 7c1a6bfb5a1b [2024-04-19T13:21:38.378Z] Removing intermediate container 7c1a6bfb5a1b [2024-04-19T13:21:38.378Z] ---> 5e15746ad51a [2024-04-19T13:21:38.378Z] Step 4/23 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-04-19T13:21:38.645Z] ---> Running in f12ae06bb1fa [2024-04-19T13:21:38.913Z] Removing intermediate container f12ae06bb1fa [2024-04-19T13:21:38.913Z] ---> 3e40618ae94b [2024-04-19T13:21:38.913Z] Step 5/23 : RUN apk add --update --no-cache make git openssh [2024-04-19T13:21:38.913Z] ---> Running in 7b484f666b81 [2024-04-19T13:21:39.872Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-04-19T13:21:40.457Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-04-19T13:21:41.416Z] OK: 272 MiB in 60 packages [2024-04-19T13:21:42.382Z] Removing intermediate container 7b484f666b81 [2024-04-19T13:21:42.382Z] ---> 8d9fc93896a4 [2024-04-19T13:21:42.382Z] Step 6/23 : WORKDIR /device-modbus-go [2024-04-19T13:21:42.650Z] ---> Running in 746460e0a546 [2024-04-19T13:21:42.917Z] Removing intermediate container 746460e0a546 [2024-04-19T13:21:42.917Z] ---> 6c047d5313f2 [2024-04-19T13:21:42.917Z] Step 7/23 : COPY go.mod vendor* ./ [2024-04-19T13:21:43.183Z] ---> c32ed602925e [2024-04-19T13:21:43.184Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-04-19T13:21:43.451Z] ---> Running in 75db171cfc35 [2024-04-19T13:21:45.389Z] Removing intermediate container 75db171cfc35 [2024-04-19T13:21:45.389Z] ---> 95ebc9630dd0 [2024-04-19T13:21:45.389Z] Step 9/23 : COPY . . [2024-04-19T13:21:46.355Z] ---> c80b2fe6b12e [2024-04-19T13:21:46.355Z] Step 10/23 : RUN ${MAKE} [2024-04-19T13:21:46.355Z] ---> Running in 41cee92eb527 [2024-04-19T13:21:47.316Z] CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-modbus-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.11" -trimpath -mod=readonly -o cmd/device-modbus ./cmd [2024-04-19T13:23:53.990Z] Removing intermediate container 41cee92eb527 [2024-04-19T13:23:53.990Z] ---> 90e37eb797ba [2024-04-19T13:23:53.990Z] Step 11/23 : FROM alpine:3.18 [2024-04-19T13:23:53.990Z] 3.18: Pulling from library/alpine [2024-04-19T13:23:53.990Z] c6b39de5b339: Pulling fs layer [2024-04-19T13:23:53.990Z] c6b39de5b339: Download complete [2024-04-19T13:23:53.990Z] c6b39de5b339: Pull complete [2024-04-19T13:23:53.990Z] Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 [2024-04-19T13:23:53.990Z] Status: Downloaded newer image for alpine:3.18 [2024-04-19T13:23:53.990Z] ---> 33abbf032149 [2024-04-19T13:23:53.990Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2024-04-19T13:23:53.990Z] ---> Running in 425042b098b7 [2024-04-19T13:23:53.990Z] Removing intermediate container 425042b098b7 [2024-04-19T13:23:53.990Z] ---> 1adf9f8d45e0 [2024-04-19T13:23:53.990Z] Step 13/23 : RUN apk add --update --no-cache dumb-init [2024-04-19T13:23:53.990Z] ---> Running in 5973f2027da3 [2024-04-19T13:23:53.990Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-04-19T13:23:53.990Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-04-19T13:23:53.990Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-04-19T13:23:53.990Z] Executing busybox-1.36.1-r5.trigger [2024-04-19T13:23:53.990Z] OK: 8 MiB in 16 packages [2024-04-19T13:23:53.990Z] Removing intermediate container 5973f2027da3 [2024-04-19T13:23:53.990Z] ---> f5fca6805a9e [2024-04-19T13:23:53.990Z] Step 14/23 : RUN apk --no-cache upgrade [2024-04-19T13:23:53.990Z] ---> Running in b56804578dea [2024-04-19T13:23:53.990Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-04-19T13:23:53.990Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-04-19T13:23:53.990Z] Upgrading critical system libraries and apk-tools: [2024-04-19T13:23:53.990Z] (1/1) Upgrading apk-tools (2.14.0-r2 -> 2.14.4-r0) [2024-04-19T13:23:53.990Z] Executing busybox-1.36.1-r5.trigger [2024-04-19T13:23:54.262Z] Continuing the upgrade transaction with new apk-tools: [2024-04-19T13:23:54.531Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-04-19T13:23:54.798Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-04-19T13:23:55.759Z] (1/3) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) [2024-04-19T13:23:55.759Z] (2/3) Upgrading libcrypto3 (3.1.4-r5 -> 3.1.4-r6) [2024-04-19T13:23:56.027Z] (3/3) Upgrading libssl3 (3.1.4-r5 -> 3.1.4-r6) [2024-04-19T13:23:56.027Z] OK: 8 MiB in 16 packages [2024-04-19T13:23:56.996Z] Removing intermediate container b56804578dea [2024-04-19T13:23:56.996Z] ---> 89f78b7da2c0 [2024-04-19T13:23:56.996Z] Step 15/23 : COPY --from=builder /device-modbus-go/cmd / [2024-04-19T13:23:58.417Z] ---> 172409634012 [2024-04-19T13:23:58.417Z] Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / [2024-04-19T13:23:58.689Z] ---> 99ac1227f5d7 [2024-04-19T13:23:58.689Z] Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / [2024-04-19T13:23:59.275Z] ---> de3c026d8a4c [2024-04-19T13:23:59.275Z] Step 18/23 : EXPOSE 59901 [2024-04-19T13:23:59.275Z] ---> Running in a830c9fac9f8 [2024-04-19T13:23:59.545Z] Removing intermediate container a830c9fac9f8 [2024-04-19T13:23:59.545Z] ---> f1d36932a0c3 [2024-04-19T13:23:59.545Z] Step 19/23 : ENTRYPOINT ["/device-modbus"] [2024-04-19T13:23:59.819Z] ---> Running in 9593cbdc7b5b [2024-04-19T13:24:00.087Z] Removing intermediate container 9593cbdc7b5b [2024-04-19T13:24:00.087Z] ---> 8d731a3e9a14 [2024-04-19T13:24:00.087Z] Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2024-04-19T13:24:00.087Z] ---> Running in 6032ec9b9478 [2024-04-19T13:24:00.363Z] Removing intermediate container 6032ec9b9478 [2024-04-19T13:24:00.363Z] ---> 5fe555107e54 [2024-04-19T13:24:00.363Z] Step 21/23 : LABEL arch=arm64 [2024-04-19T13:24:00.632Z] ---> Running in 22574f3aa5e6 [2024-04-19T13:24:00.902Z] Removing intermediate container 22574f3aa5e6 [2024-04-19T13:24:00.902Z] ---> 3631b62d36e1 [2024-04-19T13:24:00.902Z] Step 22/23 : LABEL git_sha=31f6d600233d381699de0096b270256653829b30 [2024-04-19T13:24:01.175Z] ---> Running in 346611f68e38 [2024-04-19T13:24:01.444Z] Removing intermediate container 346611f68e38 [2024-04-19T13:24:01.444Z] ---> b5696862aaef [2024-04-19T13:24:01.444Z] Step 23/23 : LABEL version=0.0.0 [2024-04-19T13:24:01.444Z] ---> Running in c8cda81d2f64 [2024-04-19T13:24:01.714Z] Removing intermediate container c8cda81d2f64 [2024-04-19T13:24:01.714Z] ---> 385ec31f7ebb [2024-04-19T13:24:01.714Z] [Warning] One or more build-args [ARCH] were not consumed [2024-04-19T13:24:01.714Z] Successfully built 385ec31f7ebb [2024-04-19T13:24:01.714Z] Successfully tagged device-modbus-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-04-19T13:24:02.843Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-04-19T13:24:02.844Z] [2024-04-19T13:24:02.844Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-04-19T13:24:03.245Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-04-19T13:24:03.513Z] arm64: Pulling from edgex-lftools-log-publisher [2024-04-19T13:24:03.513Z] 8998bd30e6a1: Pulling fs layer [2024-04-19T13:24:03.513Z] 04944245beec: Pulling fs layer [2024-04-19T13:24:03.513Z] 699f458cf7ca: Pulling fs layer [2024-04-19T13:24:03.513Z] 765212b225bb: Pulling fs layer [2024-04-19T13:24:03.513Z] f23df028b6ca: Pulling fs layer [2024-04-19T13:24:03.513Z] d65c8cfc05b1: Pulling fs layer [2024-04-19T13:24:03.513Z] 2437ff75d9bd: Pulling fs layer [2024-04-19T13:24:03.513Z] 765212b225bb: Waiting [2024-04-19T13:24:03.513Z] f23df028b6ca: Waiting [2024-04-19T13:24:03.513Z] d65c8cfc05b1: Waiting [2024-04-19T13:24:03.513Z] 2437ff75d9bd: Waiting [2024-04-19T13:24:03.513Z] 04944245beec: Verifying Checksum [2024-04-19T13:24:03.513Z] 04944245beec: Download complete [2024-04-19T13:24:03.513Z] 765212b225bb: Verifying Checksum [2024-04-19T13:24:03.513Z] 765212b225bb: Download complete [2024-04-19T13:24:03.513Z] f23df028b6ca: Verifying Checksum [2024-04-19T13:24:03.513Z] f23df028b6ca: Download complete [2024-04-19T13:24:03.513Z] d65c8cfc05b1: Verifying Checksum [2024-04-19T13:24:03.513Z] d65c8cfc05b1: Download complete [2024-04-19T13:24:03.782Z] 699f458cf7ca: Verifying Checksum [2024-04-19T13:24:03.782Z] 699f458cf7ca: Download complete [2024-04-19T13:24:04.049Z] 8998bd30e6a1: Download complete [2024-04-19T13:24:06.639Z] 2437ff75d9bd: Verifying Checksum [2024-04-19T13:24:06.639Z] 2437ff75d9bd: Download complete [2024-04-19T13:24:09.220Z] 8998bd30e6a1: Pull complete [2024-04-19T13:24:09.488Z] 04944245beec: Pull complete [2024-04-19T13:24:10.898Z] 699f458cf7ca: Pull complete [2024-04-19T13:24:11.169Z] 765212b225bb: Pull complete [2024-04-19T13:24:12.131Z] f23df028b6ca: Pull complete [2024-04-19T13:24:12.402Z] d65c8cfc05b1: Pull complete [2024-04-19T13:24:30.605Z] 2437ff75d9bd: Pull complete [2024-04-19T13:24:30.605Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-04-19T13:24:30.605Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-04-19T13:24:30.605Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-04-19T13:24:30.957Z] prd-ubuntu20.04-docker-arm64-4c-16g-2834 does not seem to be running inside a container [2024-04-19T13:24:31.036Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2024-04-19T13:24:34.157Z] $ docker top 6c3a5f8d444b4d00a5e6e1ae16170f0117d8608e5ba6624a0343b2f0a241dafa -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-04-19T13:24:35.092Z] ---> job-cost.sh [2024-04-19T13:24:35.092Z] lf-activate-venv: SKIPPING [2024-04-19T13:24:35.092Z] INFO: No Stack... [2024-04-19T13:24:35.360Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-04-19T13:24:36.327Z] INFO: Archiving Costs [Pipeline] sh [2024-04-19T13:24:37.013Z] + cat /w/workspace/device-modbus-go/1/archives/cost.csv [2024-04-19T13:24:37.013Z] + cut -d, -f6 [Pipeline] lock [2024-04-19T13:24:37.105Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-547-1-stack-cost] [2024-04-19T13:24:37.113Z] Resource [jenkins-edgexfoundry-device-modbus-go-PR-547-1-stack-cost] did not exist. Created. [2024-04-19T13:24:37.117Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-547-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-04-19T13:24:37.850Z] /w/workspace/device-modbus-go/1@tmp/durable-9b3e8cfe/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-04-19T13:24:38.516Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-04-19T13:24:38.553Z] Warning: overwriting stash ‘stack-cost’ [2024-04-19T13:24:38.603Z] Stashed 1 file(s) [Pipeline] } [2024-04-19T13:24:38.618Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-547-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-04-19T13:24:38.697Z] $ docker stop --time=1 6c3a5f8d444b4d00a5e6e1ae16170f0117d8608e5ba6624a0343b2f0a241dafa [2024-04-19T13:24:40.241Z] $ docker rm -f --volumes 6c3a5f8d444b4d00a5e6e1ae16170f0117d8608e5ba6624a0343b2f0a241dafa [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2024-04-19T13:24:41.288Z] provisioning config files... [2024-04-19T13:24:41.298Z] copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-547@tmp/config14470261845429250933tmp [Pipeline] { [Pipeline] sh [2024-04-19T13:24:41.635Z] + set +x [2024-04-19T13:24:41.635Z] + curl -s https://codecov.io/bash [2024-04-19T13:24:41.635Z] + bash -s -- [2024-04-19T13:24:41.635Z] [2024-04-19T13:24:41.635Z] _____ _ [2024-04-19T13:24:41.635Z] / ____| | | [2024-04-19T13:24:41.635Z] | | ___ __| | ___ ___ _____ __ [2024-04-19T13:24:41.635Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2024-04-19T13:24:41.635Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2024-04-19T13:24:41.635Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2024-04-19T13:24:41.635Z] Bash-1.0.6 [2024-04-19T13:24:41.635Z] [2024-04-19T13:24:41.635Z] [2024-04-19T13:24:41.635Z] ==> git version 2.25.1 found [2024-04-19T13:24:41.635Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2024-04-19T13:24:41.635Z] Release-Date: 2020-01-08 [2024-04-19T13:24:41.635Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2024-04-19T13:24:41.635Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2024-04-19T13:24:41.635Z] ==> Jenkins CI detected. [2024-04-19T13:24:41.635Z] current dir:  /w/workspace/xfoundry_device-modbus-go_PR-547 [2024-04-19T13:24:41.635Z] project root: . [2024-04-19T13:24:41.635Z] --> token set from env [2024-04-19T13:24:41.635Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2024-04-19T13:24:41.635Z] ==> Running gcov in . (disable via -X gcov) [2024-04-19T13:24:41.635Z] ==> Python coveragepy not found [2024-04-19T13:24:41.635Z] ==> Searching for coverage reports in: [2024-04-19T13:24:41.635Z] + . [2024-04-19T13:24:41.635Z] -> Found 1 reports [2024-04-19T13:24:41.635Z] ==> Detecting git/mercurial file structure [2024-04-19T13:24:41.635Z] ==> Reading reports [2024-04-19T13:24:41.894Z] + ./coverage.out bytes=24334 [2024-04-19T13:24:41.894Z] ==> Appending adjustments [2024-04-19T13:24:41.894Z] https://docs.codecov.io/docs/fixing-reports [2024-04-19T13:24:41.894Z] + Found adjustments [2024-04-19T13:24:41.894Z] ==> Gzipping contents [2024-04-19T13:24:41.894Z] 4.0K /tmp/codecov.WSlegY.gz [2024-04-19T13:24:41.894Z] ==> Uploading reports [2024-04-19T13:24:41.894Z] url: https://codecov.io [2024-04-19T13:24:41.894Z] query: branch=PR-547&commit=31f6d600233d381699de0096b270256653829b30&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-547%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=547&job=&cmd_args= [2024-04-19T13:24:41.894Z] -> Pinging Codecov [2024-04-19T13:24:41.894Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-547&commit=31f6d600233d381699de0096b270256653829b30&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-547%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=547&job=&cmd_args= [2024-04-19T13:24:42.154Z] -> Uploading to [2024-04-19T13:24:42.154Z] https://storage.googleapis.com/codecov/v4/raw/2024-04-19/55DBCA73C666E3227836607328DD7E49/31f6d600233d381699de0096b270256653829b30/8dcfc3b5-582b-4b72-97ad-1eaca7ab2b52.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240419%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20240419T132441Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=dbbff7e93fc49d4ed4e50a6f7fefd1f4dda135fd1ed00e13c45b7eac90dbcb25 [2024-04-19T13:24:42.154Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-04-19T13:24:42.154Z] Dload Upload Total Spent Left Speed [2024-04-19T13:24:42.416Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3806 0 0 100 3806 0 14526 --:--:-- --:--:-- --:--:-- 14526 [2024-04-19T13:24:42.416Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/31f6d600233d381699de0096b270256653829b30 [Pipeline] } [2024-04-19T13:24:42.445Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2024-04-19T13:24:44.417Z] + [ -d /w/workspace/xfoundry_device-modbus-go_PR-547/archives ] [2024-04-19T13:24:44.417Z] + ls -al /w/workspace/xfoundry_device-modbus-go_PR-547/archives [2024-04-19T13:24:44.417Z] total 16 [2024-04-19T13:24:44.417Z] drwxr-xr-x 3 root root 4096 Apr 19 13:15 . [2024-04-19T13:24:44.417Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 19 13:15 .. [2024-04-19T13:24:44.417Z] drwxr-xr-x 2 root root 4096 Apr 19 13:15 cost [2024-04-19T13:24:44.417Z] -rw-r--r-- 1 root root 88 Apr 19 13:15 cost.csv [2024-04-19T13:24:44.417Z] + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-547/archives [2024-04-19T13:24:44.417Z] + ls -al /w/workspace/xfoundry_device-modbus-go_PR-547/archives [2024-04-19T13:24:44.417Z] total 16 [2024-04-19T13:24:44.417Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 19 13:15 . [2024-04-19T13:24:44.417Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 19 13:15 .. [2024-04-19T13:24:44.417Z] drwxr-xr-x 2 jenkins jenkins 4096 Apr 19 13:15 cost [2024-04-19T13:24:44.417Z] -rw-r--r-- 1 jenkins jenkins 88 Apr 19 13:15 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-04-19T13:24:44.746Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-04-19T13:24:45.637Z] ---> package-listing.sh [2024-04-19T13:24:45.638Z] ++ facter osfamily [2024-04-19T13:24:45.638Z] ++ tr '[:upper:]' '[:lower:]' [2024-04-19T13:24:45.897Z] + OS_FAMILY=debian [2024-04-19T13:24:45.897Z] + workspace=/w/workspace/xfoundry_device-modbus-go_PR-547 [2024-04-19T13:24:45.897Z] + START_PACKAGES=/tmp/packages_start.txt [2024-04-19T13:24:45.897Z] + END_PACKAGES=/tmp/packages_end.txt [2024-04-19T13:24:45.897Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-04-19T13:24:45.897Z] + PACKAGES=/tmp/packages_start.txt [2024-04-19T13:24:45.897Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-547 ']' [2024-04-19T13:24:45.897Z] + PACKAGES=/tmp/packages_end.txt [2024-04-19T13:24:45.897Z] + case "${OS_FAMILY}" in [2024-04-19T13:24:45.897Z] + dpkg -l [2024-04-19T13:24:45.897Z] + grep '^ii' [2024-04-19T13:24:45.897Z] + '[' -f /tmp/packages_start.txt ']' [2024-04-19T13:24:45.897Z] + '[' -f /tmp/packages_end.txt ']' [2024-04-19T13:24:45.897Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-04-19T13:24:45.897Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-547 ']' [2024-04-19T13:24:45.897Z] + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-547/archives/ [2024-04-19T13:24:45.897Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-547/archives/ [Pipeline] echo [2024-04-19T13:24:45.928Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/xfoundry_device-modbus-go_PR-547/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-04-19T13:24:46.219Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-04-19T13:24:46.863Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-04-19T13:24:46.863Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-04-19T13:24:47.022Z] prd-ubuntu20.04-docker-8c-8g-2823 does not seem to be running inside a container [2024-04-19T13:24:47.052Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/xfoundry_device-modbus-go_PR-547/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/xfoundry_device-modbus-go_PR-547 -v /w/workspace/xfoundry_device-modbus-go_PR-547:/w/workspace/xfoundry_device-modbus-go_PR-547:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-547@tmp:/w/workspace/xfoundry_device-modbus-go_PR-547@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-04-19T13:24:47.254Z] $ docker top ed1d9b7c206725512c5ff42b69a1bc1bbd16b5413b994cc7e1c44f004ccdc6b5 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-04-19T13:24:47.655Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-04-19T13:24:47.957Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-04-19T13:24:48.261Z] + ls /var/log/sa-host [2024-04-19T13:24:48.261Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-04-19T13:24:48.400Z] provisioning config files... [2024-04-19T13:24:48.407Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-547@tmp/config302764532926246607tmp [Pipeline] { [Pipeline] echo [2024-04-19T13:24:48.483Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-04-19T13:24:48.783Z] ---> create-netrc.sh [Pipeline] } [2024-04-19T13:24:48.812Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-04-19T13:24:49.214Z] ---> python-tools-install.sh [Pipeline] echo [2024-04-19T13:24:49.246Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-04-19T13:24:49.552Z] ---> sudo-logs.sh [2024-04-19T13:24:49.552Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-04-19T13:24:49.643Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-04-19T13:24:50.056Z] ---> job-cost.sh [2024-04-19T13:24:50.056Z] lf-activate-venv: SKIPPING [2024-04-19T13:24:50.056Z] DEBUG: total: 0.2199999988079071 [2024-04-19T13:24:50.056Z] INFO: Retrieving Stack Cost... [2024-04-19T13:24:50.327Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-04-19T13:24:50.591Z] INFO: Archiving Costs [Pipeline] echo [2024-04-19T13:24:50.625Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-04-19T13:24:50.990Z] ---> logs-deploy.sh [2024-04-19T13:24:50.991Z] lf-activate-venv: SKIPPING [2024-04-19T13:24:50.991Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-547/1 [2024-04-19T13:24:50.991Z] INFO: archiving workspace using pattern(s): [2024-04-19T13:24:51.932Z] Archives upload complete. [2024-04-19T13:24:51.932Z] INFO: archiving logs to Nexus