Pull request #513 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of weichou1229 for edgexfoundry/device-modbus-go Obtained Jenkinsfile from e3f00256943a58c81974b75910b32e26900dac71+4cb387cfbbf91fe1a6210dbc029113972bd5a732 (f206bf6ca6a76ab4d879111cb5ddf4abb2bdb6c9) 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-ssh17740878983145052526.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision e143027787c0ac28563f7e92b6cefc600d3b7107 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-ssh4391581627308329985.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 e143027787c0ac28563f7e92b6cefc600d3b7107 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-513/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-513/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10767609913797817034.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-513/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh368727411349278972.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision e143027787c0ac28563f7e92b6cefc600d3b7107 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f e143027787c0ac28563f7e92b6cefc600d3b7107 # timeout=10 Commit message: "Merge pull request #442 from ernestojeda/golang-1.21" > 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-ssh16449436306629452658.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-513/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-513/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh16679853599176777757.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 e143027787c0ac28563f7e92b6cefc600d3b7107 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, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-modbus-go-settings PROJECT: device-modbus-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-modbus DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-9869 in /w/workspace/xfoundry_device-modbus-go_PR-513 [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-513 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/513/head:refs/remotes/origin/PR-513 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 4cb387cfbbf91fe1a6210dbc029113972bd5a732 into PR head commit e3f00256943a58c81974b75910b32e26900dac71 Merge succeeded, producing e3f00256943a58c81974b75910b32e26900dac71 Checking out Revision e3f00256943a58c81974b75910b32e26900dac71 (PR-513) > git config core.sparsecheckout # timeout=10 > git checkout -f e3f00256943a58c81974b75910b32e26900dac71 # 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 4cb387cfbbf91fe1a6210dbc029113972bd5a732 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e3f00256943a58c81974b75910b32e26900dac71 # timeout=10 Commit message: "feat: Accept DISCRETES_INPUT and DISCRETE_INPUTS as primary table" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object e143027787c0ac28563f7e92b6cefc600d3b7107 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-10-24T03:30:39.625Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-10-24T03:30:39.825Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-10-24T03:30:39.932Z] ========================================================= [2023-10-24T03:30:39.932Z] EdgeX Global Pipelines Version Info [2023-10-24T03:30:39.932Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-10-24T03:30:40.717Z] ------------------- [2023-10-24T03:30:40.717Z] stable info: [2023-10-24T03:30:40.717Z] ------------------- [2023-10-24T03:30:40.717Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-10-24T03:30:40.718Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-10-24T03:30:40.718Z] Message: update stable to v1.0.254 [2023-10-24T03:30:41.292Z] ------------------- [2023-10-24T03:30:41.292Z] experimental info: [2023-10-24T03:30:41.292Z] ------------------- [2023-10-24T03:30:41.292Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-10-24T03:30:41.292Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-10-24T03:30:41.292Z] Message: update experimental to v1.0.254 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-10-24T03:30:41.582Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo [2023-10-24T03:30:41.626Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo [2023-10-24T03:30:41.669Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-10-24T03:30:41.711Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-10-24T03:30:41.752Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-10-24T03:30:41.792Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2023-10-24T03:30:41.829Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-10-24T03:30:41.868Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-10-24T03:30:41.907Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-10-24T03:30:41.954Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-10-24T03:30:42.002Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-10-24T03:30:42.048Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo [2023-10-24T03:30:42.096Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-10-24T03:30:42.143Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-10-24T03:30:42.197Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-10-24T03:30:42.241Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-10-24T03:30:42.281Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-10-24T03:30:42.325Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-10-24T03:30:42.367Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-10-24T03:30:42.413Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-10-24T03:30:42.457Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-10-24T03:30:42.498Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-10-24T03:30:42.541Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-10-24T03:30:42.580Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-10-24T03:30:42.626Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-10-24T03:30:42.677Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-10-24T03:30:42.776Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-10-24T03:30:42.831Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-513 [Pipeline] echo [2023-10-24T03:30:42.877Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-513 [Pipeline] echo [2023-10-24T03:30:42.941Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-513 [Pipeline] echo [2023-10-24T03:30:42.987Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e3f00256943a58c81974b75910b32e26900dac71 [Pipeline] echo [2023-10-24T03:30:43.028Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e3f0025 [Pipeline] echo [2023-10-24T03:30:43.071Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-10-24T03:30:43.200Z] provisioning config files... [2023-10-24T03:30:43.215Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-513@tmp/config3722578285212963410tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-24T03:30:43.558Z] ---> docker-login.sh [2023-10-24T03:30:43.558Z] nexus3.edgexfoundry.org:10001 [2023-10-24T03:30:43.816Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T03:30:43.816Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T03:30:43.816Z] Configure a credential helper to remove this warning. See [2023-10-24T03:30:43.816Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T03:30:43.816Z] [2023-10-24T03:30:43.816Z] Login Succeeded [2023-10-24T03:30:43.816Z] nexus3.edgexfoundry.org:10002 [2023-10-24T03:30:44.122Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T03:30:44.122Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T03:30:44.122Z] Configure a credential helper to remove this warning. See [2023-10-24T03:30:44.122Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T03:30:44.122Z] [2023-10-24T03:30:44.122Z] Login Succeeded [2023-10-24T03:30:44.122Z] nexus3.edgexfoundry.org:10003 [2023-10-24T03:30:44.122Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T03:30:44.122Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T03:30:44.122Z] Configure a credential helper to remove this warning. See [2023-10-24T03:30:44.122Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T03:30:44.122Z] [2023-10-24T03:30:44.122Z] Login Succeeded [2023-10-24T03:30:44.122Z] nexus3.edgexfoundry.org:10004 [2023-10-24T03:30:44.383Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T03:30:44.383Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T03:30:44.383Z] Configure a credential helper to remove this warning. See [2023-10-24T03:30:44.383Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T03:30:44.383Z] [2023-10-24T03:30:44.383Z] Login Succeeded [2023-10-24T03:30:44.383Z] docker.io [2023-10-24T03:30:44.383Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T03:30:44.643Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T03:30:44.643Z] Configure a credential helper to remove this warning. See [2023-10-24T03:30:44.643Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T03:30:44.643Z] [2023-10-24T03:30:44.643Z] Login Succeeded [2023-10-24T03:30:44.644Z] ---> docker-login.sh ends [Pipeline] } [2023-10-24T03:30:44.677Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-10-24T03:30:45.285Z] + git rev-list -1 --merges e3f00256943a58c81974b75910b32e26900dac71~1..e3f00256943a58c81974b75910b32e26900dac71 [Pipeline] echo [2023-10-24T03:30:45.344Z] -----------> git rev-list -1 --merges e3f00256943a58c81974b75910b32e26900dac71~1..e3f00256943a58c81974b75910b32e26900dac71 e3f00256943a58c81974b75910b32e26900dac71 [false] [Pipeline] sh [2023-10-24T03:30:45.654Z] + git log --format=format:%s -1 e3f00256943a58c81974b75910b32e26900dac71 [Pipeline] echo [2023-10-24T03:30:45.691Z] ========================================================= [2023-10-24T03:30:45.691Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-10-24T03:30:45.691Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-10-24T03:30:46.136Z] + git log --format=format:%s -1 e3f00256943a58c81974b75910b32e26900dac71 [Pipeline] echo [2023-10-24T03:30:46.169Z] [semverPrep] GIT_COMMIT: e3f00256943a58c81974b75910b32e26900dac71, Commit Message: feat: Accept DISCRETES_INPUT and DISCRETE_INPUTS as primary table [Pipeline] echo [2023-10-24T03:30:46.197Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-10-24T03:30:46.608Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-10-24T03:30:46.608Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-10-24T03:30:46.608Z] + [ -e /tmp/ssh_known_hosts ] [2023-10-24T03:30:46.608Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-10-24T03:30:46.608Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-10-24T03:30:46.608Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-10-24T03:30:46.608Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T03:30:47.113Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-24T03:30:47.113Z] [2023-10-24T03:30:47.113Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T03:30:47.494Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-24T03:30:47.494Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-10-24T03:30:47.494Z] b85a868b505f: Pulling fs layer [2023-10-24T03:30:47.494Z] e2be974225ed: Pulling fs layer [2023-10-24T03:30:47.494Z] 339a4e72a1f5: Pulling fs layer [2023-10-24T03:30:47.494Z] 988bab9f4d93: Pulling fs layer [2023-10-24T03:30:47.494Z] 1469e6f7b9e6: Pulling fs layer [2023-10-24T03:30:47.494Z] eaf3925da568: Pulling fs layer [2023-10-24T03:30:47.494Z] bab4dde63d76: Pulling fs layer [2023-10-24T03:30:47.494Z] bde34c3a00c8: Pulling fs layer [2023-10-24T03:30:47.494Z] b352a97aabf1: Pulling fs layer [2023-10-24T03:30:47.494Z] 4872d77fe225: Pulling fs layer [2023-10-24T03:30:47.494Z] 5851b861e8e6: Pulling fs layer [2023-10-24T03:30:47.494Z] bde34c3a00c8: Waiting [2023-10-24T03:30:47.494Z] eaf3925da568: Waiting [2023-10-24T03:30:47.494Z] 4872d77fe225: Waiting [2023-10-24T03:30:47.494Z] bab4dde63d76: Waiting [2023-10-24T03:30:47.494Z] b352a97aabf1: Waiting [2023-10-24T03:30:47.494Z] 5851b861e8e6: Waiting [2023-10-24T03:30:47.494Z] 988bab9f4d93: Waiting [2023-10-24T03:30:47.494Z] 1469e6f7b9e6: Waiting [2023-10-24T03:30:47.494Z] e2be974225ed: Verifying Checksum [2023-10-24T03:30:47.494Z] e2be974225ed: Download complete [2023-10-24T03:30:47.494Z] 988bab9f4d93: Download complete [2023-10-24T03:30:47.754Z] 1469e6f7b9e6: Verifying Checksum [2023-10-24T03:30:47.754Z] 1469e6f7b9e6: Download complete [2023-10-24T03:30:47.754Z] 339a4e72a1f5: Verifying Checksum [2023-10-24T03:30:47.754Z] 339a4e72a1f5: Download complete [2023-10-24T03:30:47.754Z] eaf3925da568: Download complete [2023-10-24T03:30:47.754Z] bde34c3a00c8: Verifying Checksum [2023-10-24T03:30:47.754Z] bde34c3a00c8: Download complete [2023-10-24T03:30:47.754Z] b352a97aabf1: Download complete [2023-10-24T03:30:47.754Z] 4872d77fe225: Download complete [2023-10-24T03:30:47.754Z] 5851b861e8e6: Verifying Checksum [2023-10-24T03:30:47.754Z] 5851b861e8e6: Download complete [2023-10-24T03:30:47.754Z] b85a868b505f: Verifying Checksum [2023-10-24T03:30:47.754Z] b85a868b505f: Download complete [2023-10-24T03:30:48.013Z] bab4dde63d76: Verifying Checksum [2023-10-24T03:30:48.013Z] bab4dde63d76: Download complete [2023-10-24T03:30:48.948Z] b85a868b505f: Pull complete [2023-10-24T03:30:49.207Z] e2be974225ed: Pull complete [2023-10-24T03:30:49.776Z] 339a4e72a1f5: Pull complete [2023-10-24T03:30:49.776Z] 988bab9f4d93: Pull complete [2023-10-24T03:30:50.033Z] 1469e6f7b9e6: Pull complete [2023-10-24T03:30:50.033Z] eaf3925da568: Pull complete [2023-10-24T03:30:51.942Z] bab4dde63d76: Pull complete [2023-10-24T03:30:51.942Z] bde34c3a00c8: Pull complete [2023-10-24T03:30:52.200Z] b352a97aabf1: Pull complete [2023-10-24T03:30:52.200Z] 4872d77fe225: Pull complete [2023-10-24T03:30:52.200Z] 5851b861e8e6: Pull complete [2023-10-24T03:30:52.200Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-10-24T03:30:52.200Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-24T03:30:52.200Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-24T03:30:52.417Z] prd-ubuntu20.04-docker-8c-8g-9869 does not seem to be running inside a container [2023-10-24T03:30:52.447Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-513 -v /w/workspace/xfoundry_device-modbus-go_PR-513:/w/workspace/xfoundry_device-modbus-go_PR-513:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-513@tmp:/w/workspace/xfoundry_device-modbus-go_PR-513@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-10-24T03:30:55.755Z] $ docker top 3cae197a43d68900b87a02757985457fa211375dd2f43c35d9ca33372e8c6880 -eo pid,comm [2023-10-24T03:30:55.811Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-10-24T03:30:55.811Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-10-24T03:30:55.945Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-10-24T03:30:55.945Z] [ssh-agent] Looking for ssh-agent implementation... [2023-10-24T03:30:56.068Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-10-24T03:30:56.073Z] $ docker exec 3cae197a43d68900b87a02757985457fa211375dd2f43c35d9ca33372e8c6880 ssh-agent [2023-10-24T03:30:56.172Z] SSH_AUTH_SOCK=/tmp/ssh-OSUu1tmPRVlD/agent.31 [2023-10-24T03:30:56.172Z] SSH_AGENT_PID=37 [2023-10-24T03:30:56.179Z] Running ssh-add (command line suppressed) [2023-10-24T03:30:56.270Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-513@tmp/private_key_13533049373362062853.key (/w/workspace/xfoundry_device-modbus-go_PR-513@tmp/private_key_13533049373362062853.key) [2023-10-24T03:30:56.281Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-10-24T03:30:56.613Z] + git tag --points-at HEAD [Pipeline] } [2023-10-24T03:30:56.639Z] $ docker exec --env ******** --env ******** 3cae197a43d68900b87a02757985457fa211375dd2f43c35d9ca33372e8c6880 ssh-agent -k [2023-10-24T03:30:56.735Z] unset SSH_AUTH_SOCK; [2023-10-24T03:30:56.736Z] unset SSH_AGENT_PID; [2023-10-24T03:30:56.736Z] echo Agent pid 37 killed; [2023-10-24T03:30:56.745Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-10-24T03:30:56.850Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-10-24T03:30:56.850Z] [ssh-agent] Looking for ssh-agent implementation... [2023-10-24T03:30:56.957Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-10-24T03:30:56.962Z] $ docker exec 3cae197a43d68900b87a02757985457fa211375dd2f43c35d9ca33372e8c6880 ssh-agent [2023-10-24T03:30:57.065Z] SSH_AUTH_SOCK=/tmp/ssh-gjZH5uIYvvPP/agent.69 [2023-10-24T03:30:57.065Z] SSH_AGENT_PID=75 [2023-10-24T03:30:57.069Z] Running ssh-add (command line suppressed) [2023-10-24T03:30:57.170Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-513@tmp/private_key_6272049048087421324.key (/w/workspace/xfoundry_device-modbus-go_PR-513@tmp/private_key_6272049048087421324.key) [2023-10-24T03:30:57.186Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-10-24T03:30:57.515Z] + git semver init [2023-10-24T03:30:57.775Z] 2023-10-24 03:30:57,668 [run_init] DEBUG init version:0.0.0 force:False [2023-10-24T03:30:57.775Z] 2023-10-24 03:30:57,669 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-modbus-go_PR-513/.semver [2023-10-24T03:30:57.775Z] 2023-10-24 03:30:57,669 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/xfoundry_device-modbus-go_PR-513/.semver [2023-10-24T03:30:57.775Z] 2023-10-24 03:30:57,670 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/xfoundry_device-modbus-go_PR-513/.semver'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-513, universal_newlines=False, shell=None, istream=None) [2023-10-24T03:30:58.718Z] 2023-10-24 03:30:58,577 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-modbus-go_PR-513/.git/info/exclude [2023-10-24T03:30:58.718Z] 2023-10-24 03:30:58,577 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-modbus-go_PR-513/.semver/PR-513 with force:False [2023-10-24T03:30:58.718Z] 2023-10-24 03:30:58,578 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-modbus-go_PR-513/.semver/PR-513 [2023-10-24T03:30:58.718Z] 2023-10-24 03:30:58,581 [execute] INFO git cat-file --batch-check [2023-10-24T03:30:58.718Z] 2023-10-24 03:30:58,582 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-513/.semver, universal_newlines=False, shell=None, istream=) [2023-10-24T03:30:58.718Z] 2023-10-24 03:30:58,586 [execute] INFO git cat-file --batch [2023-10-24T03:30:58.718Z] 2023-10-24 03:30:58,587 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-513/.semver, universal_newlines=False, shell=None, istream=) [2023-10-24T03:30:58.718Z] 2023-10-24 03:30:58,592 [read_version] DEBUG read version from /w/workspace/xfoundry_device-modbus-go_PR-513/.semver/PR-513 [2023-10-24T03:30:58.718Z] 0.0.0 [Pipeline] } [2023-10-24T03:30:58.747Z] $ docker exec --env ******** --env ******** 3cae197a43d68900b87a02757985457fa211375dd2f43c35d9ca33372e8c6880 ssh-agent -k [2023-10-24T03:30:58.847Z] unset SSH_AUTH_SOCK; [2023-10-24T03:30:58.847Z] unset SSH_AGENT_PID; [2023-10-24T03:30:58.848Z] echo Agent pid 75 killed; [2023-10-24T03:30:58.855Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-10-24T03:30:59.284Z] + git semver [Pipeline] } [2023-10-24T03:30:59.568Z] $ docker stop --time=1 3cae197a43d68900b87a02757985457fa211375dd2f43c35d9ca33372e8c6880 [2023-10-24T03:31:00.878Z] $ docker rm -f --volumes 3cae197a43d68900b87a02757985457fa211375dd2f43c35d9ca33372e8c6880 [Pipeline] // withDockerContainer [Pipeline] sh [2023-10-24T03:31:01.269Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-10-24T03:31:01.525Z] Stashed 1 file(s) [Pipeline] echo [2023-10-24T03:31:01.542Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-10-24T03:31:02.173Z] provisioning config files... [2023-10-24T03:31:02.184Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-513@tmp/config6083782780167791183tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-24T03:31:02.535Z] ---> docker-login.sh [2023-10-24T03:31:02.535Z] nexus3.edgexfoundry.org:10001 [2023-10-24T03:31:02.535Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T03:31:02.535Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T03:31:02.535Z] Configure a credential helper to remove this warning. See [2023-10-24T03:31:02.535Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T03:31:02.535Z] [2023-10-24T03:31:02.535Z] Login Succeeded [2023-10-24T03:31:02.535Z] nexus3.edgexfoundry.org:10002 [2023-10-24T03:31:02.535Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T03:31:02.795Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T03:31:02.795Z] Configure a credential helper to remove this warning. See [2023-10-24T03:31:02.795Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T03:31:02.795Z] [2023-10-24T03:31:02.795Z] Login Succeeded [2023-10-24T03:31:02.795Z] nexus3.edgexfoundry.org:10003 [2023-10-24T03:31:02.795Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T03:31:02.795Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T03:31:02.795Z] Configure a credential helper to remove this warning. See [2023-10-24T03:31:02.795Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T03:31:02.795Z] [2023-10-24T03:31:02.795Z] Login Succeeded [2023-10-24T03:31:02.795Z] nexus3.edgexfoundry.org:10004 [2023-10-24T03:31:02.795Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T03:31:02.795Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T03:31:02.795Z] Configure a credential helper to remove this warning. See [2023-10-24T03:31:02.795Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T03:31:02.795Z] [2023-10-24T03:31:02.795Z] Login Succeeded [2023-10-24T03:31:02.795Z] docker.io [2023-10-24T03:31:03.054Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T03:31:03.315Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T03:31:03.316Z] Configure a credential helper to remove this warning. See [2023-10-24T03:31:03.316Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T03:31:03.316Z] [2023-10-24T03:31:03.316Z] Login Succeeded [2023-10-24T03:31:03.316Z] ---> docker-login.sh ends [Pipeline] } [2023-10-24T03:31:03.342Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-10-24T03:31:03.530Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-24T03:31:03.569Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-24T03:31:03.601Z] ========================================================= [2023-10-24T03:31:03.601Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2023-10-24T03:31:03.601Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T03:31:04.073Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2023-10-24T03:31:04.073Z] Sending build context to Docker daemon 6.534MB [2023-10-24T03:31:04.073Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2023-10-24T03:31:04.073Z] Step 2/10 : FROM ${BASE} AS builder [2023-10-24T03:31:04.073Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2023-10-24T03:31:04.073Z] 7264a8db6415: Pulling fs layer [2023-10-24T03:31:04.073Z] c4d48a809fc2: Pulling fs layer [2023-10-24T03:31:04.073Z] 4f1c88b9dad5: Pulling fs layer [2023-10-24T03:31:04.073Z] ad3a456e5733: Pulling fs layer [2023-10-24T03:31:04.073Z] 33e27b845d1e: Pulling fs layer [2023-10-24T03:31:04.073Z] c68163c4e522: Pulling fs layer [2023-10-24T03:31:04.073Z] 50da416c3ac9: Pulling fs layer [2023-10-24T03:31:04.073Z] 23d2d4c4bb30: Pulling fs layer [2023-10-24T03:31:04.073Z] c68163c4e522: Waiting [2023-10-24T03:31:04.073Z] 23d2d4c4bb30: Waiting [2023-10-24T03:31:04.073Z] ad3a456e5733: Waiting [2023-10-24T03:31:04.073Z] 33e27b845d1e: Waiting [2023-10-24T03:31:04.073Z] 50da416c3ac9: Waiting [2023-10-24T03:31:04.332Z] c4d48a809fc2: Download complete [2023-10-24T03:31:04.332Z] ad3a456e5733: Verifying Checksum [2023-10-24T03:31:04.332Z] ad3a456e5733: Download complete [2023-10-24T03:31:04.332Z] 33e27b845d1e: Verifying Checksum [2023-10-24T03:31:04.332Z] 33e27b845d1e: Download complete [2023-10-24T03:31:04.332Z] 7264a8db6415: Verifying Checksum [2023-10-24T03:31:04.332Z] 7264a8db6415: Download complete [2023-10-24T03:31:04.332Z] c68163c4e522: Verifying Checksum [2023-10-24T03:31:04.332Z] c68163c4e522: Download complete [2023-10-24T03:31:04.332Z] 7264a8db6415: Pull complete [2023-10-24T03:31:04.591Z] c4d48a809fc2: Pull complete [2023-10-24T03:31:04.591Z] 23d2d4c4bb30: Verifying Checksum [2023-10-24T03:31:04.591Z] 23d2d4c4bb30: Download complete [2023-10-24T03:31:04.591Z] 4f1c88b9dad5: Verifying Checksum [2023-10-24T03:31:04.591Z] 4f1c88b9dad5: Download complete [2023-10-24T03:31:05.159Z] 50da416c3ac9: Verifying Checksum [2023-10-24T03:31:05.159Z] 50da416c3ac9: Download complete [2023-10-24T03:31:08.466Z] 4f1c88b9dad5: Pull complete [2023-10-24T03:31:08.466Z] ad3a456e5733: Pull complete [2023-10-24T03:31:08.466Z] 33e27b845d1e: Pull complete [2023-10-24T03:31:08.466Z] c68163c4e522: Pull complete [2023-10-24T03:31:10.989Z] 50da416c3ac9: Pull complete [2023-10-24T03:31:10.989Z] 23d2d4c4bb30: Pull complete [2023-10-24T03:31:10.989Z] Digest: sha256:869f8081a9cc57a47d9be3c92245bb8518e7edea9beab93563b77b0fbed5fa8c [2023-10-24T03:31:10.989Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2023-10-24T03:31:10.989Z] ---> 0786185ac409 [2023-10-24T03:31:10.989Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2023-10-24T03:31:16.979Z] Still waiting to schedule task [2023-10-24T03:31:16.980Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-10-24T03:31:17.569Z] ---> Running in 6cca7e57708f [2023-10-24T03:31:17.569Z] Removing intermediate container 6cca7e57708f [2023-10-24T03:31:17.569Z] ---> 6954a4d8c963 [2023-10-24T03:31:17.569Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-10-24T03:31:17.569Z] ---> Running in 83306b55fd2b [2023-10-24T03:31:17.569Z] Removing intermediate container 83306b55fd2b [2023-10-24T03:31:17.569Z] ---> 2ab160b53ede [2023-10-24T03:31:17.569Z] Step 5/10 : RUN apk add --update --no-cache make git openssh [2023-10-24T03:31:17.569Z] ---> Running in a8bd20df20d4 [2023-10-24T03:31:17.569Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-10-24T03:31:17.569Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-10-24T03:31:17.828Z] (1/8) Installing openssh-keygen (9.3_p2-r0) [2023-10-24T03:31:17.828Z] (2/8) Installing libedit (20221030.3.1-r1) [2023-10-24T03:31:17.828Z] (3/8) Installing openssh-client-common (9.3_p2-r0) [2023-10-24T03:31:17.828Z] (4/8) Installing openssh-client-default (9.3_p2-r0) [2023-10-24T03:31:17.828Z] (5/8) Installing openssh-sftp-server (9.3_p2-r0) [2023-10-24T03:31:17.828Z] (6/8) Installing openssh-server-common (9.3_p2-r0) [2023-10-24T03:31:17.828Z] (7/8) Installing openssh-server (9.3_p2-r0) [2023-10-24T03:31:17.828Z] (8/8) Installing openssh (9.3_p2-r0) [2023-10-24T03:31:17.828Z] Executing busybox-1.36.1-r2.trigger [2023-10-24T03:31:17.828Z] OK: 270 MiB in 60 packages [2023-10-24T03:31:18.395Z] Removing intermediate container a8bd20df20d4 [2023-10-24T03:31:18.395Z] ---> 85a340ca9d1c [2023-10-24T03:31:18.395Z] Step 6/10 : WORKDIR /device-modbus-go [2023-10-24T03:31:18.395Z] ---> Running in 54c911d328f6 [2023-10-24T03:31:18.395Z] Removing intermediate container 54c911d328f6 [2023-10-24T03:31:18.395Z] ---> a4775ab48390 [2023-10-24T03:31:18.395Z] Step 7/10 : COPY go.mod vendor* ./ [2023-10-24T03:31:18.653Z] ---> 22ddbaa2ce7e [2023-10-24T03:31:18.653Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-10-24T03:31:18.654Z] ---> Running in 7fa70892afaf [2023-10-24T03:32:26.411Z] Removing intermediate container 7fa70892afaf [2023-10-24T03:32:26.411Z] ---> ddbbf0cdffdb [2023-10-24T03:32:26.411Z] Step 9/10 : COPY . . [2023-10-24T03:32:26.411Z] ---> 96d16ddde6b2 [2023-10-24T03:32:26.411Z] Step 10/10 : RUN ${MAKE} [2023-10-24T03:32:26.411Z] ---> Running in 621a13b83eb5 [2023-10-24T03:32:26.411Z] noop [2023-10-24T03:32:26.411Z] Removing intermediate container 621a13b83eb5 [2023-10-24T03:32:26.411Z] ---> 152116364ae1 [2023-10-24T03:32:26.411Z] Successfully built 152116364ae1 [2023-10-24T03:32:26.411Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T03:32:26.854Z] + docker inspect -f . ci-base-image-x86_64 [2023-10-24T03:32:26.854Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-24T03:32:27.008Z] prd-ubuntu20.04-docker-8c-8g-9869 does not seem to be running inside a container [2023-10-24T03:32:27.036Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-513 -v /w/workspace/xfoundry_device-modbus-go_PR-513:/w/workspace/xfoundry_device-modbus-go_PR-513:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-513@tmp:/w/workspace/xfoundry_device-modbus-go_PR-513@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-10-24T03:32:27.387Z] $ docker top 25a74f3b891f4767463d342963de57f403500f213255197bdd7d9f92cd610743 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-24T03:32:27.780Z] + go version [2023-10-24T03:32:27.780Z] go version go1.21.0 linux/amd64 [Pipeline] } [2023-10-24T03:32:27.817Z] $ docker stop --time=1 25a74f3b891f4767463d342963de57f403500f213255197bdd7d9f92cd610743 [2023-10-24T03:32:29.089Z] $ docker rm -f --volumes 25a74f3b891f4767463d342963de57f403500f213255197bdd7d9f92cd610743 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T03:32:29.846Z] + docker inspect -f . ci-base-image-x86_64 [2023-10-24T03:32:29.846Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-24T03:32:29.984Z] prd-ubuntu20.04-docker-8c-8g-9869 does not seem to be running inside a container [2023-10-24T03:32:30.014Z] $ 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-513 -v /w/workspace/xfoundry_device-modbus-go_PR-513:/w/workspace/xfoundry_device-modbus-go_PR-513:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-513@tmp:/w/workspace/xfoundry_device-modbus-go_PR-513@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-10-24T03:32:30.324Z] $ docker top cfde7a0a938840499191e44e562e8163fd507e85b3c9ac4a2948b1593faa47fd -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-24T03:32:30.708Z] + git config --global --add safe.directory /w/workspace/xfoundry_device-modbus-go_PR-513 [Pipeline] fileExists [Pipeline] sh [2023-10-24T03:32:31.064Z] + make test [2023-10-24T03:32:31.064Z] go test ./... -coverprofile=coverage.out [2023-10-24T03:32:32.001Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2023-10-24T03:32:41.966Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2023-10-24T03:32:41.966Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.018s coverage: 47.9% of statements [2023-10-24T03:32:46.993Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-9870 in /w/workspace/xfoundry_device-modbus-go_PR-513 [Pipeline] { [Pipeline] ws [2023-10-24T03:32:47.048Z] Running in /w/workspace/device-modbus-go/1 [Pipeline] { [Pipeline] checkout [2023-10-24T03:32:47.124Z] Selected Git installation does not exist. Using Default [2023-10-24T03:32:47.125Z] The recommended git tool is: NONE [2023-10-24T03:32:50.067Z] go vet ./... [2023-10-24T03:32:52.596Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-10-24T03:32:52.596Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-10-24T03:32:52.596Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-10-24T03:32:52.640Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-10-24T03:32:52.672Z] $ docker stop --time=1 cfde7a0a938840499191e44e562e8163fd507e85b3c9ac4a2948b1593faa47fd [2023-10-24T03:32:53.163Z] using credential edgex-jenkins-ssh [2023-10-24T03:32:53.177Z] Cloning the remote Git repository [2023-10-24T03:32:53.236Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2023-10-24T03:32:53.356Z] > git init /w/workspace/device-modbus-go/1 # timeout=10 [2023-10-24T03:32:53.537Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2023-10-24T03:32:53.538Z] > git --version # timeout=10 [2023-10-24T03:32:53.563Z] > git --version # 'git version 2.25.1' [2023-10-24T03:32:53.569Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-10-24T03:32:53.726Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-10-24T03:32:54.859Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2023-10-24T03:32:54.875Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-10-24T03:32:55.658Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2023-10-24T03:32:55.700Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2023-10-24T03:32:55.701Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-10-24T03:32:55.722Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/513/head:refs/remotes/origin/PR-513 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-10-24T03:32:56.179Z] $ docker rm -f --volumes cfde7a0a938840499191e44e562e8163fd507e85b3c9ac4a2948b1593faa47fd [Pipeline] // withDockerContainer [2023-10-24T03:32:56.411Z] Merging remotes/origin/main commit 4cb387cfbbf91fe1a6210dbc029113972bd5a732 into PR head commit e3f00256943a58c81974b75910b32e26900dac71 [Pipeline] sh [2023-10-24T03:32:56.679Z] Merge succeeded, producing e3f00256943a58c81974b75910b32e26900dac71 [2023-10-24T03:32:56.679Z] Checking out Revision e3f00256943a58c81974b75910b32e26900dac71 (PR-513) [2023-10-24T03:32:56.707Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-10-24T03:32:56.774Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [2023-10-24T03:32:56.428Z] > git config core.sparsecheckout # timeout=10 [2023-10-24T03:32:56.506Z] > git checkout -f e3f00256943a58c81974b75910b32e26900dac71 # timeout=10 [2023-10-24T03:32:56.589Z] > git remote # timeout=10 [2023-10-24T03:32:56.605Z] > git config --get remote.origin.url # timeout=10 [2023-10-24T03:32:56.620Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-10-24T03:32:56.632Z] > git merge 4cb387cfbbf91fe1a6210dbc029113972bd5a732 # timeout=10 [2023-10-24T03:32:56.664Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-10-24T03:32:56.686Z] > git config core.sparsecheckout # timeout=10 [2023-10-24T03:32:56.700Z] > git checkout -f e3f00256943a58c81974b75910b32e26900dac71 # timeout=10 [Pipeline] sh [2023-10-24T03:32:57.698Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-10-24T03:32:58.007Z] + ls -al . [2023-10-24T03:32:58.007Z] total 192 [2023-10-24T03:32:58.007Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 24 03:32 . [2023-10-24T03:32:58.007Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 03:30 .. [2023-10-24T03:32:58.007Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 24 03:30 .dockerignore [2023-10-24T03:32:58.007Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 24 03:32 .git [2023-10-24T03:32:58.007Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 03:30 .github [2023-10-24T03:32:58.007Z] -rw-rw-r-- 1 jenkins jenkins 331 Oct 24 03:30 .gitignore [2023-10-24T03:32:58.007Z] -rw-rw-r-- 1 jenkins jenkins 41 Oct 24 03:30 .golangci.yml [2023-10-24T03:32:58.007Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 24 03:30 .semver [2023-10-24T03:32:58.007Z] -rw-rw-r-- 1 jenkins jenkins 11101 Oct 24 03:30 Attribution.txt [2023-10-24T03:32:58.007Z] -rw-rw-r-- 1 jenkins jenkins 14764 Oct 24 03:30 CHANGELOG.md [2023-10-24T03:32:58.007Z] -rw-rw-r-- 1 jenkins jenkins 1365 Oct 24 03:30 Dockerfile [2023-10-24T03:32:58.007Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 24 03:30 GOVERNANCE.md [2023-10-24T03:32:58.007Z] -rw-rw-r-- 1 jenkins jenkins 680 Oct 24 03:30 Jenkinsfile [2023-10-24T03:32:58.007Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 24 03:30 LICENSE [2023-10-24T03:32:58.007Z] -rw-rw-r-- 1 jenkins jenkins 1936 Oct 24 03:30 Makefile [2023-10-24T03:32:58.007Z] -rw-rw-r-- 1 jenkins jenkins 622 Oct 24 03:30 OWNERS.md [2023-10-24T03:32:58.007Z] -rw-rw-r-- 1 jenkins jenkins 4578 Oct 24 03:30 README.md [2023-10-24T03:32:58.007Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 24 03:31 VERSION [2023-10-24T03:32:58.007Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 24 03:30 bin [2023-10-24T03:32:58.007Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 03:30 cmd [2023-10-24T03:32:58.007Z] -rw-r--r-- 1 jenkins jenkins 24334 Oct 24 03:32 coverage.out [2023-10-24T03:32:58.007Z] -rw-rw-r-- 1 jenkins jenkins 3942 Oct 24 03:30 go.mod [2023-10-24T03:32:58.007Z] -rw-rw-r-- 1 jenkins jenkins 35436 Oct 24 03:30 go.sum [2023-10-24T03:32:58.007Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 03:30 internal [2023-10-24T03:32:58.007Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 24 03:30 simulator [2023-10-24T03:32:58.007Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 03:30 snap [2023-10-24T03:32:58.007Z] -rw-rw-r-- 1 jenkins jenkins 229 Oct 24 03:30 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T03:32:58.398Z] + 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=e3f00256943a58c81974b75910b32e26900dac71 --label arch=amd64 --label version=0.0.0 . [2023-10-24T03:32:58.398Z] Sending build context to Docker daemon 6.559MB [2023-10-24T03:32:58.398Z] Step 1/22 : ARG BASE=golang:1.21-alpine3.18 [2023-10-24T03:32:58.398Z] Step 2/22 : FROM ${BASE} AS builder [2023-10-24T03:32:58.398Z] ---> 152116364ae1 [2023-10-24T03:32:58.398Z] Step 3/22 : ARG ADD_BUILD_TAGS="" [2023-10-24T03:32:58.657Z] ---> Running in 364f2b49db7c [2023-10-24T03:32:58.657Z] Removing intermediate container 364f2b49db7c [2023-10-24T03:32:58.657Z] ---> f335a631d264 [2023-10-24T03:32:58.657Z] Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-10-24T03:32:58.657Z] ---> Running in 9de2707d18d0 [2023-10-24T03:32:58.657Z] Removing intermediate container 9de2707d18d0 [2023-10-24T03:32:58.657Z] ---> 252efb5d0c16 [2023-10-24T03:32:58.657Z] Step 5/22 : RUN apk add --update --no-cache make git openssh [2023-10-24T03:32:58.657Z] ---> Running in 48cba9739ce2 [2023-10-24T03:32:58.915Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-10-24T03:32:59.174Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-10-24T03:32:59.432Z] OK: 270 MiB in 60 packages [2023-10-24T03:33:00.160Z] Commit message: "feat: Accept DISCRETES_INPUT and DISCRETE_INPUTS as primary table" [2023-10-24T03:33:00.202Z] > git --version # timeout=10 [2023-10-24T03:33:00.213Z] > git --version # 'git version 2.25.1' [2023-10-24T03:33:00.231Z] fatal: bad object e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-10-24T03:33:00.370Z] Removing intermediate container 48cba9739ce2 [2023-10-24T03:33:00.370Z] ---> 1d974b5de82c [2023-10-24T03:33:00.370Z] Step 6/22 : WORKDIR /device-modbus-go [2023-10-24T03:33:00.370Z] ---> Running in 9729bebae1a2 [2023-10-24T03:33:00.370Z] Removing intermediate container 9729bebae1a2 [2023-10-24T03:33:00.370Z] ---> 285c0924ef1c [2023-10-24T03:33:00.370Z] Step 7/22 : COPY go.mod vendor* ./ [2023-10-24T03:33:00.632Z] ---> be1710fc1072 [2023-10-24T03:33:00.632Z] Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-10-24T03:33:00.632Z] ---> Running in 66c1e34f01f6 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-10-24T03:33:01.203Z] Removing intermediate container 66c1e34f01f6 [2023-10-24T03:33:01.203Z] ---> 154ff98263a9 [2023-10-24T03:33:01.203Z] Step 9/22 : COPY . . [2023-10-24T03:33:01.334Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-10-24T03:33:01.334Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-10-24T03:33:01.334Z] Dload Upload Total Spent Left Speed [2023-10-24T03:33:01.334Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 86155 0 --:--:-- --:--:-- --:--:-- 86741 [Pipeline] sh [2023-10-24T03:33:01.772Z] ---> 9baf818375ff [2023-10-24T03:33:01.772Z] Step 10/22 : RUN ${MAKE} [2023-10-24T03:33:01.772Z] ---> Running in bf96edea44b0 [2023-10-24T03:33:02.019Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [2023-10-24T03:33:02.030Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.35" -trimpath -mod=readonly -o cmd/device-modbus ./cmd [Pipeline] sh [2023-10-24T03:33:02.376Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-10-24T03:33:02.376Z] + sudo tee /etc/docker/daemon.new [2023-10-24T03:33:02.376Z] { [2023-10-24T03:33:02.376Z] "registry-mirrors": [ [2023-10-24T03:33:02.376Z] "https://nexus3.edgexfoundry.org:10001" [2023-10-24T03:33:02.376Z] ], [2023-10-24T03:33:02.376Z] "bip": "10.250.0.254/24", [2023-10-24T03:33:02.376Z] "hosts": [ [2023-10-24T03:33:02.376Z] "tcp://0.0.0.0:5555", [2023-10-24T03:33:02.376Z] "unix:///var/run/docker.sock" [2023-10-24T03:33:02.376Z] ], [2023-10-24T03:33:02.376Z] "mtu": 1458, [2023-10-24T03:33:02.376Z] "selinux-enabled": true, [2023-10-24T03:33:02.376Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-10-24T03:33:02.376Z] } [Pipeline] sh [2023-10-24T03:33:02.721Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-10-24T03:33:03.059Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-10-24T03:33:21.343Z] provisioning config files... [2023-10-24T03:33:21.368Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/1@tmp/config930282097025557377tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-24T03:33:21.746Z] ---> docker-login.sh [2023-10-24T03:33:21.746Z] nexus3.edgexfoundry.org:10001 [2023-10-24T03:33:22.331Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T03:33:22.331Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T03:33:22.331Z] Configure a credential helper to remove this warning. See [2023-10-24T03:33:22.331Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T03:33:22.331Z] [2023-10-24T03:33:22.331Z] Login Succeeded [2023-10-24T03:33:22.331Z] nexus3.edgexfoundry.org:10002 [2023-10-24T03:33:22.597Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T03:33:22.865Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T03:33:22.865Z] Configure a credential helper to remove this warning. See [2023-10-24T03:33:22.865Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T03:33:22.865Z] [2023-10-24T03:33:22.865Z] Login Succeeded [2023-10-24T03:33:22.865Z] nexus3.edgexfoundry.org:10003 [2023-10-24T03:33:22.865Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T03:33:23.133Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T03:33:23.133Z] Configure a credential helper to remove this warning. See [2023-10-24T03:33:23.133Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T03:33:23.133Z] [2023-10-24T03:33:23.133Z] Login Succeeded [2023-10-24T03:33:23.133Z] nexus3.edgexfoundry.org:10004 [2023-10-24T03:33:23.403Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T03:33:23.403Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T03:33:23.403Z] Configure a credential helper to remove this warning. See [2023-10-24T03:33:23.403Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T03:33:23.403Z] [2023-10-24T03:33:23.403Z] Login Succeeded [2023-10-24T03:33:23.403Z] docker.io [2023-10-24T03:33:23.669Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T03:33:23.939Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T03:33:23.939Z] Configure a credential helper to remove this warning. See [2023-10-24T03:33:23.939Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T03:33:23.939Z] [2023-10-24T03:33:23.939Z] Login Succeeded [2023-10-24T03:33:23.939Z] ---> docker-login.sh ends [Pipeline] } [2023-10-24T03:33:23.971Z] Deleting 1 temporary files [2023-10-24T03:33:24.012Z] Removing intermediate container bf96edea44b0 [2023-10-24T03:33:24.012Z] ---> 768f28977c2c [2023-10-24T03:33:24.012Z] Step 11/22 : FROM alpine:3.18 [2023-10-24T03:33:24.012Z] 3.18: Pulling from library/alpine [2023-10-24T03:33:24.012Z] 96526aa774ef: Pulling fs layer [2023-10-24T03:33:24.012Z] 96526aa774ef: Download complete [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [2023-10-24T03:33:24.271Z] 96526aa774ef: Pull complete [2023-10-24T03:33:24.272Z] Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 [2023-10-24T03:33:24.272Z] Status: Downloaded newer image for alpine:3.18 [2023-10-24T03:33:24.272Z] ---> 8ca4688f4f35 [2023-10-24T03:33:24.272Z] Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2023-10-24T03:33:24.272Z] ---> Running in f2ed31e6173b [Pipeline] echo [2023-10-24T03:33:24.370Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-24T03:33:24.403Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-24T03:33:24.435Z] ========================================================= [2023-10-24T03:33:24.435Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2023-10-24T03:33:24.435Z] ========================================================= [Pipeline] fileExists [2023-10-24T03:33:24.711Z] Removing intermediate container f2ed31e6173b [2023-10-24T03:33:24.711Z] ---> 172dfa358d4e [2023-10-24T03:33:24.711Z] Step 13/22 : RUN apk add --update --no-cache dumb-init [2023-10-24T03:33:24.711Z] ---> Running in 16b13227bf77 [2023-10-24T03:33:24.711Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T03:33:24.971Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-10-24T03:33:25.184Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2023-10-24T03:33:25.233Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-10-24T03:33:25.233Z] Executing busybox-1.36.1-r2.trigger [2023-10-24T03:33:25.233Z] OK: 7 MiB in 16 packages [2023-10-24T03:33:25.453Z] Sending build context to Docker daemon 3.399MB [2023-10-24T03:33:25.453Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2023-10-24T03:33:25.453Z] Step 2/10 : FROM ${BASE} AS builder [2023-10-24T03:33:25.722Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-10-24T03:33:25.722Z] 9fda8d8052c6: Pulling fs layer [2023-10-24T03:33:25.722Z] 5d54e960e981: Pulling fs layer [2023-10-24T03:33:25.722Z] c4a7e357bf2a: Pulling fs layer [2023-10-24T03:33:25.722Z] f0e02332f6b5: Pulling fs layer [2023-10-24T03:33:25.722Z] cefa15bbcfad: Pulling fs layer [2023-10-24T03:33:25.722Z] f0e02332f6b5: Waiting [2023-10-24T03:33:25.722Z] cefa15bbcfad: Waiting [2023-10-24T03:33:25.722Z] 17808c966233: Pulling fs layer [2023-10-24T03:33:25.722Z] f4c1fc716caa: Pulling fs layer [2023-10-24T03:33:25.722Z] 17808c966233: Waiting [2023-10-24T03:33:25.722Z] f4c1fc716caa: Waiting [2023-10-24T03:33:25.722Z] 5d54e960e981: Download complete [2023-10-24T03:33:25.722Z] f0e02332f6b5: Verifying Checksum [2023-10-24T03:33:25.722Z] f0e02332f6b5: Download complete [2023-10-24T03:33:25.722Z] cefa15bbcfad: Verifying Checksum [2023-10-24T03:33:25.722Z] cefa15bbcfad: Download complete [2023-10-24T03:33:25.722Z] 9fda8d8052c6: Verifying Checksum [2023-10-24T03:33:25.722Z] 9fda8d8052c6: Download complete [2023-10-24T03:33:25.799Z] Removing intermediate container 16b13227bf77 [2023-10-24T03:33:25.799Z] ---> 1932c7c64ecf [2023-10-24T03:33:25.799Z] Step 14/22 : COPY --from=builder /device-modbus-go/cmd / [2023-10-24T03:33:26.309Z] f4c1fc716caa: Verifying Checksum [2023-10-24T03:33:26.309Z] f4c1fc716caa: Download complete [2023-10-24T03:33:26.745Z] ---> d317be568014 [2023-10-24T03:33:26.745Z] Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / [2023-10-24T03:33:26.745Z] ---> 6f34988415c9 [2023-10-24T03:33:26.745Z] Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / [2023-10-24T03:33:26.745Z] ---> 7d2f77da75c3 [2023-10-24T03:33:26.745Z] Step 17/22 : EXPOSE 59901 [2023-10-24T03:33:26.745Z] ---> Running in 5eae57d1c9ca [2023-10-24T03:33:26.745Z] Removing intermediate container 5eae57d1c9ca [2023-10-24T03:33:26.745Z] ---> 77cc6785409e [2023-10-24T03:33:26.745Z] Step 18/22 : ENTRYPOINT ["/device-modbus"] [2023-10-24T03:33:26.745Z] ---> Running in 8e52f99635a4 [2023-10-24T03:33:26.894Z] 9fda8d8052c6: Pull complete [2023-10-24T03:33:27.003Z] Removing intermediate container 8e52f99635a4 [2023-10-24T03:33:27.003Z] ---> 3a2d79cce875 [2023-10-24T03:33:27.003Z] Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-10-24T03:33:27.003Z] ---> Running in ebc4dd812db1 [2023-10-24T03:33:27.003Z] Removing intermediate container ebc4dd812db1 [2023-10-24T03:33:27.003Z] ---> 012fa3e29ffd [2023-10-24T03:33:27.003Z] Step 20/22 : LABEL arch=amd64 [2023-10-24T03:33:27.003Z] ---> Running in 3c78d3a4ffe5 [2023-10-24T03:33:27.003Z] Removing intermediate container 3c78d3a4ffe5 [2023-10-24T03:33:27.003Z] ---> ac7d79843f66 [2023-10-24T03:33:27.003Z] Step 21/22 : LABEL git_sha=e3f00256943a58c81974b75910b32e26900dac71 [2023-10-24T03:33:27.162Z] 5d54e960e981: Pull complete [2023-10-24T03:33:27.261Z] ---> Running in 00fd6b9b1aec [2023-10-24T03:33:27.261Z] Removing intermediate container 00fd6b9b1aec [2023-10-24T03:33:27.261Z] ---> ee1de6fc1cb5 [2023-10-24T03:33:27.261Z] Step 22/22 : LABEL version=0.0.0 [2023-10-24T03:33:27.261Z] ---> Running in cae66ab1f006 [2023-10-24T03:33:27.261Z] Removing intermediate container cae66ab1f006 [2023-10-24T03:33:27.261Z] ---> 905dc3e0ce35 [2023-10-24T03:33:27.261Z] [Warning] One or more build-args [ARCH] were not consumed [2023-10-24T03:33:27.261Z] Successfully built 905dc3e0ce35 [2023-10-24T03:33:27.261Z] Successfully tagged device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [2023-10-24T03:33:27.429Z] c4a7e357bf2a: Verifying Checksum [2023-10-24T03:33:27.429Z] c4a7e357bf2a: Download complete [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T03:33:28.193Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-24T03:33:28.193Z] [2023-10-24T03:33:28.193Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T03:33:28.573Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-24T03:33:28.573Z] latest: Pulling from edgex-lftools-log-publisher [2023-10-24T03:33:28.573Z] 5eb5b503b376: Pulling fs layer [2023-10-24T03:33:28.573Z] 5c69ac0246d0: Pulling fs layer [2023-10-24T03:33:28.573Z] ec43610c2a17: Pulling fs layer [2023-10-24T03:33:28.573Z] 3a2ae6a8a46f: Pulling fs layer [2023-10-24T03:33:28.573Z] 33b1e0a273af: Pulling fs layer [2023-10-24T03:33:28.573Z] 5d3b04190fa2: Pulling fs layer [2023-10-24T03:33:28.573Z] 2f39f015ded8: Pulling fs layer [2023-10-24T03:33:28.573Z] 3a2ae6a8a46f: Waiting [2023-10-24T03:33:28.573Z] 33b1e0a273af: Waiting [2023-10-24T03:33:28.573Z] 5d3b04190fa2: Waiting [2023-10-24T03:33:28.573Z] 2f39f015ded8: Waiting [2023-10-24T03:33:28.573Z] 5c69ac0246d0: Verifying Checksum [2023-10-24T03:33:28.573Z] 5c69ac0246d0: Download complete [2023-10-24T03:33:28.573Z] 3a2ae6a8a46f: Download complete [2023-10-24T03:33:28.831Z] ec43610c2a17: Verifying Checksum [2023-10-24T03:33:28.831Z] ec43610c2a17: Download complete [2023-10-24T03:33:28.831Z] 33b1e0a273af: Verifying Checksum [2023-10-24T03:33:28.831Z] 33b1e0a273af: Download complete [2023-10-24T03:33:28.831Z] 5d3b04190fa2: Verifying Checksum [2023-10-24T03:33:28.831Z] 5d3b04190fa2: Download complete [2023-10-24T03:33:28.831Z] 5eb5b503b376: Download complete [2023-10-24T03:33:28.833Z] 17808c966233: Verifying Checksum [2023-10-24T03:33:28.833Z] 17808c966233: Download complete [2023-10-24T03:33:29.397Z] 2f39f015ded8: Download complete [2023-10-24T03:33:29.960Z] 5eb5b503b376: Pull complete [2023-10-24T03:33:30.219Z] 5c69ac0246d0: Pull complete [2023-10-24T03:33:30.784Z] ec43610c2a17: Pull complete [2023-10-24T03:33:30.784Z] 3a2ae6a8a46f: Pull complete [2023-10-24T03:33:31.042Z] 33b1e0a273af: Pull complete [2023-10-24T03:33:31.042Z] 5d3b04190fa2: Pull complete [2023-10-24T03:33:35.331Z] 2f39f015ded8: Pull complete [2023-10-24T03:33:35.331Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-10-24T03:33:35.331Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-24T03:33:35.331Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-24T03:33:35.558Z] prd-ubuntu20.04-docker-8c-8g-9869 does not seem to be running inside a container [2023-10-24T03:33:35.607Z] $ 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-513 -v /w/workspace/xfoundry_device-modbus-go_PR-513:/w/workspace/xfoundry_device-modbus-go_PR-513:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-513@tmp:/w/workspace/xfoundry_device-modbus-go_PR-513@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-10-24T03:33:41.157Z] c4a7e357bf2a: Pull complete [2023-10-24T03:33:41.157Z] f0e02332f6b5: Pull complete [2023-10-24T03:33:41.157Z] cefa15bbcfad: Pull complete [2023-10-24T03:33:41.441Z] $ docker top 70e8acf73a9044558a5581ed2d8123335d6bfecce1426e3e0293cbf6ef611be0 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-24T03:33:41.926Z] ---> job-cost.sh [2023-10-24T03:33:41.926Z] lf-activate-venv: SKIPPING [2023-10-24T03:33:41.926Z] INFO: No Stack... [2023-10-24T03:33:42.186Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-10-24T03:33:42.753Z] INFO: Archiving Costs [Pipeline] sh [2023-10-24T03:33:43.070Z] + cat /w/workspace/xfoundry_device-modbus-go_PR-513/archives/cost.csv [2023-10-24T03:33:43.070Z] + cut -d, -f6 [Pipeline] lock [2023-10-24T03:33:43.120Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-513-1-stack-cost] [2023-10-24T03:33:43.125Z] Resource [jenkins-edgexfoundry-device-modbus-go-PR-513-1-stack-cost] did not exist. Created. [2023-10-24T03:33:43.125Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-513-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-10-24T03:33:43.525Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-10-24T03:33:43.586Z] Stashed 1 file(s) [Pipeline] } [2023-10-24T03:33:43.619Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-513-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-10-24T03:33:43.706Z] $ docker stop --time=1 70e8acf73a9044558a5581ed2d8123335d6bfecce1426e3e0293cbf6ef611be0 [2023-10-24T03:33:44.856Z] $ docker rm -f --volumes 70e8acf73a9044558a5581ed2d8123335d6bfecce1426e3e0293cbf6ef611be0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-10-24T03:33:49.366Z] 17808c966233: Pull complete [2023-10-24T03:33:51.309Z] f4c1fc716caa: Pull complete [2023-10-24T03:33:51.309Z] Digest: sha256:f9b5da702465edd0a2564459334de068a24595700ad6c8d0b85b07445f0b3000 [2023-10-24T03:33:51.309Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2023-10-24T03:33:51.309Z] ---> ea914061e18c [2023-10-24T03:33:51.309Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2023-10-24T03:33:52.716Z] ---> Running in 25d0cf70187b [2023-10-24T03:33:52.990Z] Removing intermediate container 25d0cf70187b [2023-10-24T03:33:52.990Z] ---> 236f9b2c31cf [2023-10-24T03:33:52.990Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-10-24T03:33:52.990Z] ---> Running in 2cf9bae61568 [2023-10-24T03:33:53.576Z] Removing intermediate container 2cf9bae61568 [2023-10-24T03:33:53.576Z] ---> 97274915b6e3 [2023-10-24T03:33:53.576Z] Step 5/10 : RUN apk add --update --no-cache make git openssh [2023-10-24T03:33:53.576Z] ---> Running in eb7df7569d73 [2023-10-24T03:33:54.989Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-10-24T03:33:54.989Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-10-24T03:33:56.389Z] (1/8) Installing openssh-keygen (9.3_p2-r0) [2023-10-24T03:33:56.389Z] (2/8) Installing libedit (20221030.3.1-r1) [2023-10-24T03:33:56.389Z] (3/8) Installing openssh-client-common (9.3_p2-r0) [2023-10-24T03:33:56.389Z] (4/8) Installing openssh-client-default (9.3_p2-r0) [2023-10-24T03:33:56.389Z] (5/8) Installing openssh-sftp-server (9.3_p2-r0) [2023-10-24T03:33:56.389Z] (6/8) Installing openssh-server-common (9.3_p2-r0) [2023-10-24T03:33:56.389Z] (7/8) Installing openssh-server (9.3_p2-r0) [2023-10-24T03:33:56.389Z] (8/8) Installing openssh (9.3_p2-r0) [2023-10-24T03:33:56.389Z] Executing busybox-1.36.1-r2.trigger [2023-10-24T03:33:56.389Z] OK: 272 MiB in 60 packages [2023-10-24T03:33:57.348Z] Removing intermediate container eb7df7569d73 [2023-10-24T03:33:57.348Z] ---> 0f06a229a599 [2023-10-24T03:33:57.348Z] Step 6/10 : WORKDIR /device-modbus-go [2023-10-24T03:33:57.613Z] ---> Running in c7d89332e1c7 [2023-10-24T03:33:57.889Z] Removing intermediate container c7d89332e1c7 [2023-10-24T03:33:57.889Z] ---> 48e9aa30286e [2023-10-24T03:33:57.889Z] Step 7/10 : COPY go.mod vendor* ./ [2023-10-24T03:34:02.127Z] ---> e6e5213fa9be [2023-10-24T03:34:02.127Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-10-24T03:34:02.127Z] ---> Running in 6c836ee066e8 [2023-10-24T03:35:38.764Z] Removing intermediate container 6c836ee066e8 [2023-10-24T03:35:38.764Z] ---> 910471ee9510 [2023-10-24T03:35:38.764Z] Step 9/10 : COPY . . [2023-10-24T03:35:38.764Z] ---> bf489dbdaa0e [2023-10-24T03:35:38.764Z] Step 10/10 : RUN ${MAKE} [2023-10-24T03:35:38.764Z] ---> Running in 646019306dc9 [2023-10-24T03:35:38.764Z] noop [2023-10-24T03:35:38.764Z] Removing intermediate container 646019306dc9 [2023-10-24T03:35:38.764Z] ---> 14e09ac68453 [2023-10-24T03:35:38.764Z] Successfully built 14e09ac68453 [2023-10-24T03:35:38.764Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T03:35:39.287Z] + docker inspect -f . ci-base-image-arm64 [2023-10-24T03:35:39.287Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-24T03:35:39.560Z] prd-ubuntu20.04-docker-arm64-4c-16g-9870 does not seem to be running inside a container [2023-10-24T03:35:39.618Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-10-24T03:35:40.893Z] $ docker top d231ec45ad0d072cae1aea6a9b4f2bfcc0ff5c8b8d260ff4a53aeb7e5aa067c3 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-24T03:35:41.778Z] + go version [2023-10-24T03:35:41.778Z] go version go1.21.0 linux/arm64 [Pipeline] } [2023-10-24T03:35:41.818Z] $ docker stop --time=1 d231ec45ad0d072cae1aea6a9b4f2bfcc0ff5c8b8d260ff4a53aeb7e5aa067c3 [2023-10-24T03:35:43.450Z] $ docker rm -f --volumes d231ec45ad0d072cae1aea6a9b4f2bfcc0ff5c8b8d260ff4a53aeb7e5aa067c3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T03:35:44.312Z] + docker inspect -f . ci-base-image-arm64 [2023-10-24T03:35:44.312Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-24T03:35:44.564Z] prd-ubuntu20.04-docker-arm64-4c-16g-9870 does not seem to be running inside a container [2023-10-24T03:35:44.624Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-10-24T03:35:45.781Z] $ docker top aa8f26cd0969f6a5ba2f5a855e5951618abce18e4e1966040070a25df047db17 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-24T03:35:46.350Z] + git config --global --add safe.directory /w/workspace/device-modbus-go/1 [Pipeline] fileExists [Pipeline] sh [2023-10-24T03:35:46.727Z] + make test [2023-10-24T03:35:46.993Z] go test ./... -coverprofile=coverage.out [2023-10-24T03:35:53.624Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2023-10-24T03:37:30.259Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2023-10-24T03:37:30.259Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.094s coverage: 47.9% of statements [2023-10-24T03:37:30.259Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-10-24T03:37:30.259Z] go vet ./... [2023-10-24T03:37:56.947Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-10-24T03:37:56.947Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-10-24T03:37:56.947Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-10-24T03:37:56.989Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-10-24T03:37:57.022Z] $ docker stop --time=1 aa8f26cd0969f6a5ba2f5a855e5951618abce18e4e1966040070a25df047db17 [2023-10-24T03:37:59.022Z] $ docker rm -f --volumes aa8f26cd0969f6a5ba2f5a855e5951618abce18e4e1966040070a25df047db17 [Pipeline] // withDockerContainer [Pipeline] sh [2023-10-24T03:38:00.479Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-10-24T03:38:00.513Z] Warning: overwriting stash ‘coverage-report’ [2023-10-24T03:38:00.953Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-10-24T03:38:01.568Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-10-24T03:38:01.908Z] + ls -al . [2023-10-24T03:38:01.908Z] total 188 [2023-10-24T03:38:01.908Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 24 03:35 . [2023-10-24T03:38:01.908Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 03:32 .. [2023-10-24T03:38:01.908Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 24 03:32 .dockerignore [2023-10-24T03:38:01.908Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 24 03:32 .git [2023-10-24T03:38:01.908Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 03:32 .github [2023-10-24T03:38:01.908Z] -rw-rw-r-- 1 jenkins jenkins 331 Oct 24 03:32 .gitignore [2023-10-24T03:38:01.908Z] -rw-rw-r-- 1 jenkins jenkins 41 Oct 24 03:32 .golangci.yml [2023-10-24T03:38:01.908Z] -rw-rw-r-- 1 jenkins jenkins 11101 Oct 24 03:32 Attribution.txt [2023-10-24T03:38:01.908Z] -rw-rw-r-- 1 jenkins jenkins 14764 Oct 24 03:32 CHANGELOG.md [2023-10-24T03:38:01.908Z] -rw-rw-r-- 1 jenkins jenkins 1365 Oct 24 03:32 Dockerfile [2023-10-24T03:38:01.908Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 24 03:32 GOVERNANCE.md [2023-10-24T03:38:01.908Z] -rw-rw-r-- 1 jenkins jenkins 680 Oct 24 03:32 Jenkinsfile [2023-10-24T03:38:01.908Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 24 03:32 LICENSE [2023-10-24T03:38:01.908Z] -rw-rw-r-- 1 jenkins jenkins 1936 Oct 24 03:32 Makefile [2023-10-24T03:38:01.908Z] -rw-rw-r-- 1 jenkins jenkins 622 Oct 24 03:32 OWNERS.md [2023-10-24T03:38:01.908Z] -rw-rw-r-- 1 jenkins jenkins 4578 Oct 24 03:32 README.md [2023-10-24T03:38:01.908Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 24 03:31 VERSION [2023-10-24T03:38:01.908Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 24 03:32 bin [2023-10-24T03:38:01.908Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 03:32 cmd [2023-10-24T03:38:01.908Z] -rw-r--r-- 1 jenkins jenkins 24334 Oct 24 03:37 coverage.out [2023-10-24T03:38:01.908Z] -rw-rw-r-- 1 jenkins jenkins 3942 Oct 24 03:32 go.mod [2023-10-24T03:38:01.908Z] -rw-rw-r-- 1 jenkins jenkins 35436 Oct 24 03:32 go.sum [2023-10-24T03:38:01.908Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 03:32 internal [2023-10-24T03:38:01.908Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 24 03:32 simulator [2023-10-24T03:38:01.908Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 03:32 snap [2023-10-24T03:38:01.908Z] -rw-rw-r-- 1 jenkins jenkins 229 Oct 24 03:32 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T03:38:02.344Z] + 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=e3f00256943a58c81974b75910b32e26900dac71 --label arch=arm64 --label version=0.0.0 . [2023-10-24T03:38:02.700Z] Sending build context to Docker daemon 3.424MB [2023-10-24T03:38:02.700Z] Step 1/22 : ARG BASE=golang:1.21-alpine3.18 [2023-10-24T03:38:02.700Z] Step 2/22 : FROM ${BASE} AS builder [2023-10-24T03:38:02.700Z] ---> 14e09ac68453 [2023-10-24T03:38:02.700Z] Step 3/22 : ARG ADD_BUILD_TAGS="" [2023-10-24T03:38:02.986Z] ---> Running in f5746211cb50 [2023-10-24T03:38:03.262Z] Removing intermediate container f5746211cb50 [2023-10-24T03:38:03.262Z] ---> 2114d0446da5 [2023-10-24T03:38:03.262Z] Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-10-24T03:38:03.262Z] ---> Running in b46b71b17be7 [2023-10-24T03:38:03.543Z] Removing intermediate container b46b71b17be7 [2023-10-24T03:38:03.543Z] ---> 67f9c0b76442 [2023-10-24T03:38:03.543Z] Step 5/22 : RUN apk add --update --no-cache make git openssh [2023-10-24T03:38:03.830Z] ---> Running in 4a83ef1843a2 [2023-10-24T03:38:04.834Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-10-24T03:38:05.441Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-10-24T03:38:06.408Z] OK: 272 MiB in 60 packages [2023-10-24T03:38:09.006Z] Removing intermediate container 4a83ef1843a2 [2023-10-24T03:38:09.006Z] ---> 7a2e047fd10b [2023-10-24T03:38:09.006Z] Step 6/22 : WORKDIR /device-modbus-go [2023-10-24T03:38:09.006Z] ---> Running in 03cab6d7e4d6 [2023-10-24T03:38:09.006Z] Removing intermediate container 03cab6d7e4d6 [2023-10-24T03:38:09.006Z] ---> d26ad21094ba [2023-10-24T03:38:09.006Z] Step 7/22 : COPY go.mod vendor* ./ [2023-10-24T03:38:09.594Z] ---> 7fe37d11d8cf [2023-10-24T03:38:09.594Z] Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-10-24T03:38:09.594Z] ---> Running in 350ae4029559 [2023-10-24T03:38:12.200Z] Removing intermediate container 350ae4029559 [2023-10-24T03:38:12.200Z] ---> 765bc6c90ffc [2023-10-24T03:38:12.200Z] Step 9/22 : COPY . . [2023-10-24T03:38:12.786Z] ---> 150fc05cbbe0 [2023-10-24T03:38:12.786Z] Step 10/22 : RUN ${MAKE} [2023-10-24T03:38:12.786Z] ---> Running in 6fa83ed97e30 [2023-10-24T03:38:13.751Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.35" -trimpath -mod=readonly -o cmd/device-modbus ./cmd [2023-10-24T03:40:05.423Z] Removing intermediate container 6fa83ed97e30 [2023-10-24T03:40:05.423Z] ---> 35f2528f3b8f [2023-10-24T03:40:05.423Z] Step 11/22 : FROM alpine:3.18 [2023-10-24T03:40:05.423Z] 3.18: Pulling from library/alpine [2023-10-24T03:40:05.423Z] 579b34f0a95b: Pulling fs layer [2023-10-24T03:40:05.423Z] 579b34f0a95b: Download complete [2023-10-24T03:40:05.423Z] 579b34f0a95b: Pull complete [2023-10-24T03:40:05.423Z] Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 [2023-10-24T03:40:05.423Z] Status: Downloaded newer image for alpine:3.18 [2023-10-24T03:40:05.423Z] ---> 3cc203321400 [2023-10-24T03:40:05.423Z] Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2023-10-24T03:40:05.423Z] ---> Running in 18611e69f528 [2023-10-24T03:40:05.423Z] Removing intermediate container 18611e69f528 [2023-10-24T03:40:05.423Z] ---> a42aeb0db9d8 [2023-10-24T03:40:05.423Z] Step 13/22 : RUN apk add --update --no-cache dumb-init [2023-10-24T03:40:05.423Z] ---> Running in 997c156a15f2 [2023-10-24T03:40:05.423Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-10-24T03:40:05.423Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-10-24T03:40:05.423Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-10-24T03:40:05.423Z] Executing busybox-1.36.1-r2.trigger [2023-10-24T03:40:05.423Z] OK: 8 MiB in 16 packages [2023-10-24T03:40:05.423Z] Removing intermediate container 997c156a15f2 [2023-10-24T03:40:05.423Z] ---> ecf2c8f3311f [2023-10-24T03:40:05.423Z] Step 14/22 : COPY --from=builder /device-modbus-go/cmd / [2023-10-24T03:40:05.423Z] ---> 5029bf03e72d [2023-10-24T03:40:05.423Z] Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / [2023-10-24T03:40:05.423Z] ---> ade13c18f70b [2023-10-24T03:40:05.423Z] Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / [2023-10-24T03:40:05.423Z] ---> 27633482b5d1 [2023-10-24T03:40:05.423Z] Step 17/22 : EXPOSE 59901 [2023-10-24T03:40:05.423Z] ---> Running in 33b3f0ef291a [2023-10-24T03:40:05.423Z] Removing intermediate container 33b3f0ef291a [2023-10-24T03:40:05.423Z] ---> a8ede689eb19 [2023-10-24T03:40:05.423Z] Step 18/22 : ENTRYPOINT ["/device-modbus"] [2023-10-24T03:40:05.423Z] ---> Running in d7b8d5d7a3c4 [2023-10-24T03:40:05.423Z] Removing intermediate container d7b8d5d7a3c4 [2023-10-24T03:40:05.423Z] ---> 1fe3f0a719a4 [2023-10-24T03:40:05.423Z] Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-10-24T03:40:05.423Z] ---> Running in f7b185e2a863 [2023-10-24T03:40:05.423Z] Removing intermediate container f7b185e2a863 [2023-10-24T03:40:05.423Z] ---> cf61ec01e2ac [2023-10-24T03:40:05.423Z] Step 20/22 : LABEL arch=arm64 [2023-10-24T03:40:05.423Z] ---> Running in 98a010f62378 [2023-10-24T03:40:05.423Z] Removing intermediate container 98a010f62378 [2023-10-24T03:40:05.423Z] ---> a47db6d17829 [2023-10-24T03:40:05.423Z] Step 21/22 : LABEL git_sha=e3f00256943a58c81974b75910b32e26900dac71 [2023-10-24T03:40:05.423Z] ---> Running in 043eaae68547 [2023-10-24T03:40:05.423Z] Removing intermediate container 043eaae68547 [2023-10-24T03:40:05.423Z] ---> e05b7bf1729b [2023-10-24T03:40:05.423Z] Step 22/22 : LABEL version=0.0.0 [2023-10-24T03:40:05.423Z] ---> Running in a3c857b1df16 [2023-10-24T03:40:05.423Z] Removing intermediate container a3c857b1df16 [2023-10-24T03:40:05.423Z] ---> 984b30d421be [2023-10-24T03:40:05.423Z] [Warning] One or more build-args [ARCH] were not consumed [2023-10-24T03:40:05.423Z] Successfully built 984b30d421be [2023-10-24T03:40:05.423Z] Successfully tagged device-modbus-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T03:40:06.276Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-10-24T03:40:06.276Z] [2023-10-24T03:40:06.276Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T03:40:06.669Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-10-24T03:40:06.934Z] arm64: Pulling from edgex-lftools-log-publisher [2023-10-24T03:40:06.934Z] 8998bd30e6a1: Pulling fs layer [2023-10-24T03:40:06.934Z] 04944245beec: Pulling fs layer [2023-10-24T03:40:06.934Z] 699f458cf7ca: Pulling fs layer [2023-10-24T03:40:06.934Z] 765212b225bb: Pulling fs layer [2023-10-24T03:40:06.934Z] f23df028b6ca: Pulling fs layer [2023-10-24T03:40:06.934Z] d65c8cfc05b1: Pulling fs layer [2023-10-24T03:40:06.934Z] 2437ff75d9bd: Pulling fs layer [2023-10-24T03:40:06.934Z] 765212b225bb: Waiting [2023-10-24T03:40:06.934Z] f23df028b6ca: Waiting [2023-10-24T03:40:06.934Z] d65c8cfc05b1: Waiting [2023-10-24T03:40:06.934Z] 2437ff75d9bd: Waiting [2023-10-24T03:40:06.934Z] 04944245beec: Verifying Checksum [2023-10-24T03:40:06.934Z] 04944245beec: Download complete [2023-10-24T03:40:06.934Z] 765212b225bb: Verifying Checksum [2023-10-24T03:40:06.934Z] 765212b225bb: Download complete [2023-10-24T03:40:06.934Z] f23df028b6ca: Verifying Checksum [2023-10-24T03:40:06.934Z] f23df028b6ca: Download complete [2023-10-24T03:40:06.934Z] d65c8cfc05b1: Verifying Checksum [2023-10-24T03:40:06.934Z] d65c8cfc05b1: Download complete [2023-10-24T03:40:07.203Z] 699f458cf7ca: Verifying Checksum [2023-10-24T03:40:07.203Z] 699f458cf7ca: Download complete [2023-10-24T03:40:07.470Z] 8998bd30e6a1: Verifying Checksum [2023-10-24T03:40:07.470Z] 8998bd30e6a1: Download complete [2023-10-24T03:40:10.053Z] 2437ff75d9bd: Verifying Checksum [2023-10-24T03:40:10.053Z] 2437ff75d9bd: Download complete [2023-10-24T03:40:12.629Z] 8998bd30e6a1: Pull complete [2023-10-24T03:40:12.896Z] 04944245beec: Pull complete [2023-10-24T03:40:14.837Z] 699f458cf7ca: Pull complete [2023-10-24T03:40:14.837Z] 765212b225bb: Pull complete [2023-10-24T03:40:15.424Z] f23df028b6ca: Pull complete [2023-10-24T03:40:15.696Z] d65c8cfc05b1: Pull complete [2023-10-24T03:40:33.900Z] 2437ff75d9bd: Pull complete [2023-10-24T03:40:33.900Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-10-24T03:40:33.900Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-10-24T03:40:33.900Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-24T03:40:34.212Z] prd-ubuntu20.04-docker-arm64-4c-16g-9870 does not seem to be running inside a container [2023-10-24T03:40:34.273Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-10-24T03:40:39.378Z] $ docker top 6adf74123077f6ae108b6b619e4b1215d8413ab67945eef0c170367be30daab5 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-24T03:40:39.949Z] ---> job-cost.sh [2023-10-24T03:40:40.216Z] lf-activate-venv: SKIPPING [2023-10-24T03:40:40.216Z] INFO: No Stack... [2023-10-24T03:40:40.479Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-10-24T03:40:41.436Z] INFO: Archiving Costs [Pipeline] sh [2023-10-24T03:40:41.778Z] + cut -d, -f6 [2023-10-24T03:40:41.779Z] + cat /w/workspace/device-modbus-go/1/archives/cost.csv [Pipeline] lock [2023-10-24T03:40:41.857Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-513-1-stack-cost] [2023-10-24T03:40:41.862Z] Resource [jenkins-edgexfoundry-device-modbus-go-PR-513-1-stack-cost] did not exist. Created. [2023-10-24T03:40:41.862Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-513-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-10-24T03:40:42.267Z] /w/workspace/device-modbus-go/1@tmp/durable-aaa25285/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-10-24T03:40:42.920Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-10-24T03:40:42.957Z] Warning: overwriting stash ‘stack-cost’ [2023-10-24T03:40:43.027Z] Stashed 1 file(s) [Pipeline] } [2023-10-24T03:40:43.042Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-513-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-10-24T03:40:43.122Z] $ docker stop --time=1 6adf74123077f6ae108b6b619e4b1215d8413ab67945eef0c170367be30daab5 [2023-10-24T03:40:44.678Z] $ docker rm -f --volumes 6adf74123077f6ae108b6b619e4b1215d8413ab67945eef0c170367be30daab5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2023-10-24T03:40:45.682Z] provisioning config files... [2023-10-24T03:40:45.691Z] copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-513@tmp/config18074468589340897132tmp [Pipeline] { [Pipeline] sh [2023-10-24T03:40:46.029Z] + set +x [2023-10-24T03:40:46.029Z] + curl -s https://codecov.io/bash [2023-10-24T03:40:46.029Z] + bash -s -- [2023-10-24T03:40:46.029Z] [2023-10-24T03:40:46.029Z] _____ _ [2023-10-24T03:40:46.029Z] / ____| | | [2023-10-24T03:40:46.029Z] | | ___ __| | ___ ___ _____ __ [2023-10-24T03:40:46.029Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-10-24T03:40:46.029Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-10-24T03:40:46.029Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-10-24T03:40:46.029Z] Bash-1.0.6 [2023-10-24T03:40:46.029Z] [2023-10-24T03:40:46.029Z] [2023-10-24T03:40:46.029Z] ==> git version 2.25.1 found [2023-10-24T03:40:46.029Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2023-10-24T03:40:46.029Z] Release-Date: 2020-01-08 [2023-10-24T03:40:46.029Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-10-24T03:40:46.029Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-10-24T03:40:46.029Z] ==> Jenkins CI detected. [2023-10-24T03:40:46.029Z] current dir:  /w/workspace/xfoundry_device-modbus-go_PR-513 [2023-10-24T03:40:46.029Z] project root: . [2023-10-24T03:40:46.029Z] --> token set from env [2023-10-24T03:40:46.029Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-10-24T03:40:46.029Z] ==> Running gcov in . (disable via -X gcov) [2023-10-24T03:40:46.029Z] ==> Python coveragepy not found [2023-10-24T03:40:46.029Z] ==> Searching for coverage reports in: [2023-10-24T03:40:46.029Z] + . [2023-10-24T03:40:46.029Z] -> Found 1 reports [2023-10-24T03:40:46.029Z] ==> Detecting git/mercurial file structure [2023-10-24T03:40:46.289Z] ==> Reading reports [2023-10-24T03:40:46.289Z] + ./coverage.out bytes=24334 [2023-10-24T03:40:46.289Z] ==> Appending adjustments [2023-10-24T03:40:46.289Z] https://docs.codecov.io/docs/fixing-reports [2023-10-24T03:40:46.289Z] + Found adjustments [2023-10-24T03:40:46.289Z] ==> Gzipping contents [2023-10-24T03:40:46.289Z] 4.0K /tmp/codecov.5IkJLP.gz [2023-10-24T03:40:46.289Z] ==> Uploading reports [2023-10-24T03:40:46.289Z] url: https://codecov.io [2023-10-24T03:40:46.289Z] query: branch=PR-513&commit=e3f00256943a58c81974b75910b32e26900dac71&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-513%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=513&job=&cmd_args= [2023-10-24T03:40:46.289Z] -> Pinging Codecov [2023-10-24T03:40:46.289Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3a8d40b1-de00-4649-bfd4-bdc8ed99ae89&branch=PR-513&commit=e3f00256943a58c81974b75910b32e26900dac71&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-513%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=513&job=&cmd_args= [2023-10-24T03:40:46.548Z] -> Uploading to [2023-10-24T03:40:46.548Z] https://storage.googleapis.com/codecov/v4/raw/2023-10-24/55DBCA73C666E3227836607328DD7E49/e3f00256943a58c81974b75910b32e26900dac71/984f0c12-6fd5-44ad-a64c-7a82a72d9481.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231024%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231024T034046Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=634b92791f35e51d782d48a38f7041a45d57308d03ae1feb67c23f3e4bade48f [2023-10-24T03:40:46.548Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-10-24T03:40:46.548Z] Dload Upload Total Spent Left Speed [2023-10-24T03:40:46.807Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3981 0 0 100 3981 0 19610 --:--:-- --:--:-- --:--:-- 19514 100 3981 0 0 100 3981 0 13968 --:--:-- --:--:-- --:--:-- 13919 [2023-10-24T03:40:46.807Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/e3f00256943a58c81974b75910b32e26900dac71 [Pipeline] } [2023-10-24T03:40:46.831Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-10-24T03:40:48.610Z] + [ -d /w/workspace/xfoundry_device-modbus-go_PR-513/archives ] [2023-10-24T03:40:48.611Z] + ls -al /w/workspace/xfoundry_device-modbus-go_PR-513/archives [2023-10-24T03:40:48.611Z] total 16 [2023-10-24T03:40:48.611Z] drwxr-xr-x 3 root root 4096 Oct 24 03:33 . [2023-10-24T03:40:48.611Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 24 03:33 .. [2023-10-24T03:40:48.611Z] drwxr-xr-x 2 root root 4096 Oct 24 03:33 cost [2023-10-24T03:40:48.611Z] -rw-r--r-- 1 root root 88 Oct 24 03:33 cost.csv [2023-10-24T03:40:48.611Z] + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-513/archives [2023-10-24T03:40:48.611Z] + ls -al /w/workspace/xfoundry_device-modbus-go_PR-513/archives [2023-10-24T03:40:48.611Z] total 16 [2023-10-24T03:40:48.611Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 24 03:33 . [2023-10-24T03:40:48.611Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 24 03:33 .. [2023-10-24T03:40:48.611Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 24 03:33 cost [2023-10-24T03:40:48.611Z] -rw-r--r-- 1 jenkins jenkins 88 Oct 24 03:33 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-10-24T03:40:48.939Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-24T03:40:49.821Z] ---> package-listing.sh [2023-10-24T03:40:49.822Z] ++ facter osfamily [2023-10-24T03:40:49.822Z] ++ tr '[:upper:]' '[:lower:]' [2023-10-24T03:40:50.080Z] + OS_FAMILY=debian [2023-10-24T03:40:50.080Z] + workspace=/w/workspace/xfoundry_device-modbus-go_PR-513 [2023-10-24T03:40:50.080Z] + START_PACKAGES=/tmp/packages_start.txt [2023-10-24T03:40:50.080Z] + END_PACKAGES=/tmp/packages_end.txt [2023-10-24T03:40:50.080Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-10-24T03:40:50.080Z] + PACKAGES=/tmp/packages_start.txt [2023-10-24T03:40:50.080Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-513 ']' [2023-10-24T03:40:50.080Z] + PACKAGES=/tmp/packages_end.txt [2023-10-24T03:40:50.080Z] + case "${OS_FAMILY}" in [2023-10-24T03:40:50.080Z] + dpkg -l [2023-10-24T03:40:50.080Z] + grep '^ii' [2023-10-24T03:40:50.080Z] + '[' -f /tmp/packages_start.txt ']' [2023-10-24T03:40:50.080Z] + '[' -f /tmp/packages_end.txt ']' [2023-10-24T03:40:50.080Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-10-24T03:40:50.080Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-513 ']' [2023-10-24T03:40:50.080Z] + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-513/archives/ [2023-10-24T03:40:50.080Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-513/archives/ [Pipeline] echo [2023-10-24T03:40:50.117Z] 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-513/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-10-24T03:40:50.403Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T03:40:51.034Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-24T03:40:51.034Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-24T03:40:51.171Z] prd-ubuntu20.04-docker-8c-8g-9869 does not seem to be running inside a container [2023-10-24T03:40:51.205Z] $ 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-513/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-513 -v /w/workspace/xfoundry_device-modbus-go_PR-513:/w/workspace/xfoundry_device-modbus-go_PR-513:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-513@tmp:/w/workspace/xfoundry_device-modbus-go_PR-513@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-10-24T03:40:51.394Z] $ docker top a9ea0c863cb2d741123df8903d6841420aa3d6ea874e191999131831bdfdc584 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-24T03:40:51.784Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-10-24T03:40:52.089Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-10-24T03:40:52.398Z] + ls /var/log/sa-host [2023-10-24T03:40:52.398Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-10-24T03:40:52.625Z] provisioning config files... [2023-10-24T03:40:52.633Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-513@tmp/config1153149145842804789tmp [Pipeline] { [Pipeline] echo [2023-10-24T03:40:52.686Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-24T03:40:52.997Z] ---> create-netrc.sh [Pipeline] } [2023-10-24T03:40:53.021Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-10-24T03:40:53.434Z] ---> python-tools-install.sh [Pipeline] echo [2023-10-24T03:40:53.465Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-24T03:40:53.774Z] ---> sudo-logs.sh [2023-10-24T03:40:53.774Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-10-24T03:40:53.860Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-24T03:40:54.164Z] ---> job-cost.sh [2023-10-24T03:40:54.164Z] lf-activate-venv: SKIPPING [2023-10-24T03:40:54.164Z] DEBUG: total: 0.2199999988079071 [2023-10-24T03:40:54.164Z] INFO: Retrieving Stack Cost... [2023-10-24T03:40:54.430Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-10-24T03:40:54.997Z] INFO: Archiving Costs [Pipeline] echo [2023-10-24T03:40:55.040Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-24T03:40:55.346Z] ---> logs-deploy.sh [2023-10-24T03:40:55.346Z] lf-activate-venv: SKIPPING [2023-10-24T03:40:55.346Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-513/1 [2023-10-24T03:40:55.346Z] INFO: archiving workspace using pattern(s): [2023-10-24T03:40:56.284Z] Archives upload complete. [2023-10-24T03:40:56.284Z] INFO: archiving logs to Nexus