Pull request #457 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 hahattan for edgexfoundry/device-modbus-go Obtained Jenkinsfile from 1cfbd64806bde6e5b1bf4b9dfedbd5d1a63382e1+640aa887e9955506bed08a06d24af596cf944b9d (b68f4fd7293565e80a38f2dc603bbf620b9f342b) 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-ssh11744806577024229773.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 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-ssh3960582147079960799.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 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 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-457/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-457/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5691741462103164963.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-457/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3847381586557852213.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 # timeout=10 Commit message: "fix: bug with isLTS relying on env.GIT_BRANCH inside cd-management repo (#429)" > 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-ssh6639425476077612505.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-457/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-457/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh15454138080634563822.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 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 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.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-modbus DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-8870 in /w/workspace/xfoundry_device-modbus-go_PR-457 [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-457 # 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/457/head:refs/remotes/origin/PR-457 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 640aa887e9955506bed08a06d24af596cf944b9d into PR head commit 1cfbd64806bde6e5b1bf4b9dfedbd5d1a63382e1 Merge succeeded, producing 1cfbd64806bde6e5b1bf4b9dfedbd5d1a63382e1 Checking out Revision 1cfbd64806bde6e5b1bf4b9dfedbd5d1a63382e1 (PR-457) > git config core.sparsecheckout # timeout=10 > git checkout -f 1cfbd64806bde6e5b1bf4b9dfedbd5d1a63382e1 # 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 640aa887e9955506bed08a06d24af596cf944b9d # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 1cfbd64806bde6e5b1bf4b9dfedbd5d1a63382e1 # timeout=10 Commit message: "build(deps): bump device-sdk-go version" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-04-18T05:13:22.457Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-04-18T05:13:22.644Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-04-18T05:13:22.753Z] ========================================================= [2023-04-18T05:13:22.753Z] EdgeX Global Pipelines Version Info [2023-04-18T05:13:22.753Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-04-18T05:13:23.476Z] ------------------- [2023-04-18T05:13:23.476Z] stable info: [2023-04-18T05:13:23.476Z] ------------------- [2023-04-18T05:13:23.476Z] Commited By: Bill Mahoney bill.mahoney@intel.com [2023-04-18T05:13:23.476Z] Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [2023-04-18T05:13:23.476Z] Message: update stable to v1.0.248 [2023-04-18T05:13:24.045Z] ------------------- [2023-04-18T05:13:24.045Z] experimental info: [2023-04-18T05:13:24.045Z] ------------------- [2023-04-18T05:13:24.045Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-04-18T05:13:24.045Z] Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [2023-04-18T05:13:24.045Z] Message: update experimental to v1.0.248 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-04-18T05:13:24.365Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo [2023-04-18T05:13:24.407Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo [2023-04-18T05:13:24.450Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-04-18T05:13:24.492Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-04-18T05:13:24.532Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-04-18T05:13:24.572Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-04-18T05:13:24.612Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-04-18T05:13:24.652Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-04-18T05:13:24.696Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-04-18T05:13:24.738Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-04-18T05:13:24.781Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-04-18T05:13:24.819Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo [2023-04-18T05:13:24.856Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-04-18T05:13:24.892Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-04-18T05:13:24.931Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-04-18T05:13:24.968Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-04-18T05:13:25.008Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-04-18T05:13:25.049Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-04-18T05:13:25.087Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-04-18T05:13:25.123Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-04-18T05:13:25.164Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-04-18T05:13:25.204Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-04-18T05:13:25.244Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-04-18T05:13:25.291Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-04-18T05:13:25.345Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-04-18T05:13:25.386Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-04-18T05:13:25.429Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-04-18T05:13:25.471Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-457 [Pipeline] echo [2023-04-18T05:13:25.511Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-457 [Pipeline] echo [2023-04-18T05:13:25.547Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-457 [Pipeline] echo [2023-04-18T05:13:25.588Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 1cfbd64806bde6e5b1bf4b9dfedbd5d1a63382e1 [Pipeline] echo [2023-04-18T05:13:25.624Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 1cfbd64 [Pipeline] echo [2023-04-18T05:13:25.659Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-18T05:13:25.762Z] provisioning config files... [2023-04-18T05:13:25.786Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-457@tmp/config11445560149921017192tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-18T05:13:26.133Z] ---> docker-login.sh [2023-04-18T05:13:26.133Z] nexus3.edgexfoundry.org:10001 [2023-04-18T05:13:26.394Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T05:13:26.394Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T05:13:26.394Z] Configure a credential helper to remove this warning. See [2023-04-18T05:13:26.394Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T05:13:26.394Z] [2023-04-18T05:13:26.394Z] Login Succeeded [2023-04-18T05:13:26.394Z] nexus3.edgexfoundry.org:10002 [2023-04-18T05:13:26.653Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T05:13:26.653Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T05:13:26.653Z] Configure a credential helper to remove this warning. See [2023-04-18T05:13:26.653Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T05:13:26.653Z] [2023-04-18T05:13:26.653Z] Login Succeeded [2023-04-18T05:13:26.653Z] nexus3.edgexfoundry.org:10003 [2023-04-18T05:13:26.653Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T05:13:26.653Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T05:13:26.653Z] Configure a credential helper to remove this warning. See [2023-04-18T05:13:26.653Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T05:13:26.653Z] [2023-04-18T05:13:26.653Z] Login Succeeded [2023-04-18T05:13:26.653Z] nexus3.edgexfoundry.org:10004 [2023-04-18T05:13:26.913Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T05:13:26.913Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T05:13:26.913Z] Configure a credential helper to remove this warning. See [2023-04-18T05:13:26.913Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T05:13:26.913Z] [2023-04-18T05:13:26.913Z] Login Succeeded [2023-04-18T05:13:26.913Z] docker.io [2023-04-18T05:13:26.913Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T05:13:27.173Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T05:13:27.173Z] Configure a credential helper to remove this warning. See [2023-04-18T05:13:27.173Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T05:13:27.173Z] [2023-04-18T05:13:27.173Z] Login Succeeded [2023-04-18T05:13:27.173Z] ---> docker-login.sh ends [Pipeline] } [2023-04-18T05:13:27.201Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-04-18T05:13:27.790Z] + git rev-list -1 --merges 1cfbd64806bde6e5b1bf4b9dfedbd5d1a63382e1~1..1cfbd64806bde6e5b1bf4b9dfedbd5d1a63382e1 [Pipeline] echo [2023-04-18T05:13:27.873Z] -----------> git rev-list -1 --merges 1cfbd64806bde6e5b1bf4b9dfedbd5d1a63382e1~1..1cfbd64806bde6e5b1bf4b9dfedbd5d1a63382e1 1cfbd64806bde6e5b1bf4b9dfedbd5d1a63382e1 [false] [Pipeline] sh [2023-04-18T05:13:28.184Z] + git log --format=format:%s -1 1cfbd64806bde6e5b1bf4b9dfedbd5d1a63382e1 [Pipeline] echo [2023-04-18T05:13:28.225Z] ========================================================= [2023-04-18T05:13:28.225Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-04-18T05:13:28.225Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-04-18T05:13:28.656Z] + git log --format=format:%s -1 1cfbd64806bde6e5b1bf4b9dfedbd5d1a63382e1 [Pipeline] echo [2023-04-18T05:13:28.688Z] [semverPrep] GIT_COMMIT: 1cfbd64806bde6e5b1bf4b9dfedbd5d1a63382e1, Commit Message: build(deps): bump device-sdk-go version [Pipeline] echo [2023-04-18T05:13:28.720Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-04-18T05:13:29.163Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-04-18T05:13:29.163Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-04-18T05:13:29.163Z] + [ -e /tmp/ssh_known_hosts ] [2023-04-18T05:13:29.163Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-04-18T05:13:29.163Z] + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-04-18T05:13:29.163Z] sudo tee -a /etc/ssh/ssh_known_hosts [2023-04-18T05:13:29.163Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T05:13:29.601Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-18T05:13:29.601Z] [2023-04-18T05:13:29.601Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T05:13:29.975Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-18T05:13:29.975Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-04-18T05:13:29.975Z] b85a868b505f: Pulling fs layer [2023-04-18T05:13:29.975Z] e2be974225ed: Pulling fs layer [2023-04-18T05:13:29.975Z] 339a4e72a1f5: Pulling fs layer [2023-04-18T05:13:29.975Z] 988bab9f4d93: Pulling fs layer [2023-04-18T05:13:29.975Z] 1469e6f7b9e6: Pulling fs layer [2023-04-18T05:13:29.975Z] eaf3925da568: Pulling fs layer [2023-04-18T05:13:29.975Z] bab4dde63d76: Pulling fs layer [2023-04-18T05:13:29.975Z] bde34c3a00c8: Pulling fs layer [2023-04-18T05:13:29.975Z] b352a97aabf1: Pulling fs layer [2023-04-18T05:13:29.975Z] 4872d77fe225: Pulling fs layer [2023-04-18T05:13:29.975Z] 5851b861e8e6: Pulling fs layer [2023-04-18T05:13:29.975Z] 988bab9f4d93: Waiting [2023-04-18T05:13:29.975Z] 4872d77fe225: Waiting [2023-04-18T05:13:29.975Z] eaf3925da568: Waiting [2023-04-18T05:13:29.975Z] 1469e6f7b9e6: Waiting [2023-04-18T05:13:29.975Z] b352a97aabf1: Waiting [2023-04-18T05:13:29.975Z] 5851b861e8e6: Waiting [2023-04-18T05:13:29.975Z] bab4dde63d76: Waiting [2023-04-18T05:13:29.975Z] bde34c3a00c8: Waiting [2023-04-18T05:13:29.975Z] e2be974225ed: Verifying Checksum [2023-04-18T05:13:29.975Z] e2be974225ed: Download complete [2023-04-18T05:13:29.975Z] 988bab9f4d93: Download complete [2023-04-18T05:13:30.234Z] 1469e6f7b9e6: Verifying Checksum [2023-04-18T05:13:30.234Z] 1469e6f7b9e6: Download complete [2023-04-18T05:13:30.234Z] 339a4e72a1f5: Verifying Checksum [2023-04-18T05:13:30.234Z] 339a4e72a1f5: Download complete [2023-04-18T05:13:30.234Z] eaf3925da568: Download complete [2023-04-18T05:13:30.234Z] bde34c3a00c8: Verifying Checksum [2023-04-18T05:13:30.234Z] b352a97aabf1: Download complete [2023-04-18T05:13:30.234Z] 4872d77fe225: Verifying Checksum [2023-04-18T05:13:30.234Z] 4872d77fe225: Download complete [2023-04-18T05:13:30.234Z] 5851b861e8e6: Download complete [2023-04-18T05:13:30.234Z] b85a868b505f: Verifying Checksum [2023-04-18T05:13:30.234Z] b85a868b505f: Download complete [2023-04-18T05:13:30.501Z] bab4dde63d76: Verifying Checksum [2023-04-18T05:13:30.501Z] bab4dde63d76: Download complete [2023-04-18T05:13:31.437Z] b85a868b505f: Pull complete [2023-04-18T05:13:31.697Z] e2be974225ed: Pull complete [2023-04-18T05:13:32.265Z] 339a4e72a1f5: Pull complete [2023-04-18T05:13:32.265Z] 988bab9f4d93: Pull complete [2023-04-18T05:13:32.534Z] 1469e6f7b9e6: Pull complete [2023-04-18T05:13:32.534Z] eaf3925da568: Pull complete [2023-04-18T05:13:34.511Z] bab4dde63d76: Pull complete [2023-04-18T05:13:34.511Z] bde34c3a00c8: Pull complete [2023-04-18T05:13:34.770Z] b352a97aabf1: Pull complete [2023-04-18T05:13:34.770Z] 4872d77fe225: Pull complete [2023-04-18T05:13:34.770Z] 5851b861e8e6: Pull complete [2023-04-18T05:13:34.770Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-04-18T05:13:34.770Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-18T05:13:34.770Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-18T05:13:35.016Z] prd-ubuntu20.04-docker-8c-8g-8870 does not seem to be running inside a container [2023-04-18T05:13:35.027Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-457 -v /w/workspace/xfoundry_device-modbus-go_PR-457:/w/workspace/xfoundry_device-modbus-go_PR-457:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-457@tmp:/w/workspace/xfoundry_device-modbus-go_PR-457@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-04-18T05:13:36.422Z] $ docker top e74b0c938bfb8fe68efb929159b2b71d1ea038604c2a6afb515dfbd7c3a7a194 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-04-18T05:13:36.637Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-04-18T05:13:36.637Z] [ssh-agent] Looking for ssh-agent implementation... [2023-04-18T05:13:36.762Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-04-18T05:13:36.749Z] $ docker exec e74b0c938bfb8fe68efb929159b2b71d1ea038604c2a6afb515dfbd7c3a7a194 ssh-agent [2023-04-18T05:13:36.881Z] SSH_AUTH_SOCK=/tmp/ssh-qBRoaQqB4sCw/agent.32 [2023-04-18T05:13:36.881Z] SSH_AGENT_PID=38 [2023-04-18T05:13:36.887Z] Running ssh-add (command line suppressed) [2023-04-18T05:13:36.978Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-457@tmp/private_key_11816909362377069043.key (/w/workspace/xfoundry_device-modbus-go_PR-457@tmp/private_key_11816909362377069043.key) [2023-04-18T05:13:37.009Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-04-18T05:13:37.356Z] + git tag --points-at HEAD [Pipeline] } [2023-04-18T05:13:37.361Z] $ docker exec --env ******** --env ******** e74b0c938bfb8fe68efb929159b2b71d1ea038604c2a6afb515dfbd7c3a7a194 ssh-agent -k [2023-04-18T05:13:37.468Z] unset SSH_AUTH_SOCK; [2023-04-18T05:13:37.469Z] unset SSH_AGENT_PID; [2023-04-18T05:13:37.469Z] echo Agent pid 38 killed; [2023-04-18T05:13:37.493Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-04-18T05:13:37.589Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-04-18T05:13:37.589Z] [ssh-agent] Looking for ssh-agent implementation... [2023-04-18T05:13:37.707Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-04-18T05:13:37.695Z] $ docker exec e74b0c938bfb8fe68efb929159b2b71d1ea038604c2a6afb515dfbd7c3a7a194 ssh-agent [2023-04-18T05:13:37.820Z] SSH_AUTH_SOCK=/tmp/ssh-G8KKrt9u1jhD/agent.71 [2023-04-18T05:13:37.820Z] SSH_AGENT_PID=77 [2023-04-18T05:13:37.825Z] Running ssh-add (command line suppressed) [2023-04-18T05:13:37.916Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-457@tmp/private_key_17509052337093067452.key (/w/workspace/xfoundry_device-modbus-go_PR-457@tmp/private_key_17509052337093067452.key) [2023-04-18T05:13:37.944Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-04-18T05:13:38.279Z] + git semver init [2023-04-18T05:13:38.538Z] 2023-04-18 05:13:38,439 [run_init] DEBUG init version:0.0.0 force:False [2023-04-18T05:13:38.538Z] 2023-04-18 05:13:38,440 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-modbus-go_PR-457/.semver [2023-04-18T05:13:38.538Z] 2023-04-18 05:13:38,440 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/xfoundry_device-modbus-go_PR-457/.semver [2023-04-18T05:13:38.538Z] 2023-04-18 05:13:38,441 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/xfoundry_device-modbus-go_PR-457/.semver'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-457, universal_newlines=False, shell=None, istream=None) [2023-04-18T05:13:39.475Z] 2023-04-18 05:13:39,246 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-modbus-go_PR-457/.git/info/exclude [2023-04-18T05:13:39.475Z] 2023-04-18 05:13:39,247 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-modbus-go_PR-457/.semver/PR-457 with force:False [2023-04-18T05:13:39.475Z] 2023-04-18 05:13:39,247 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-modbus-go_PR-457/.semver/PR-457 [2023-04-18T05:13:39.475Z] 2023-04-18 05:13:39,251 [execute] INFO git cat-file --batch-check [2023-04-18T05:13:39.475Z] 2023-04-18 05:13:39,251 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-457/.semver, universal_newlines=False, shell=None, istream=) [2023-04-18T05:13:39.475Z] 2023-04-18 05:13:39,258 [execute] INFO git cat-file --batch [2023-04-18T05:13:39.475Z] 2023-04-18 05:13:39,258 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-457/.semver, universal_newlines=False, shell=None, istream=) [2023-04-18T05:13:39.475Z] 2023-04-18 05:13:39,264 [read_version] DEBUG read version from /w/workspace/xfoundry_device-modbus-go_PR-457/.semver/PR-457 [2023-04-18T05:13:39.475Z] 0.0.0 [Pipeline] } [2023-04-18T05:13:39.490Z] $ docker exec --env ******** --env ******** e74b0c938bfb8fe68efb929159b2b71d1ea038604c2a6afb515dfbd7c3a7a194 ssh-agent -k [2023-04-18T05:13:39.590Z] unset SSH_AUTH_SOCK; [2023-04-18T05:13:39.591Z] unset SSH_AGENT_PID; [2023-04-18T05:13:39.591Z] echo Agent pid 77 killed; [2023-04-18T05:13:39.614Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-04-18T05:13:40.030Z] + git semver [Pipeline] } [2023-04-18T05:13:40.299Z] $ docker stop --time=1 e74b0c938bfb8fe68efb929159b2b71d1ea038604c2a6afb515dfbd7c3a7a194 [2023-04-18T05:13:41.585Z] $ docker rm -f --volumes e74b0c938bfb8fe68efb929159b2b71d1ea038604c2a6afb515dfbd7c3a7a194 [Pipeline] // withDockerContainer [Pipeline] sh [2023-04-18T05:13:41.999Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-04-18T05:13:42.272Z] Stashed 1 file(s) [Pipeline] echo [2023-04-18T05:13:42.289Z] [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-04-18T05:13:42.841Z] provisioning config files... [2023-04-18T05:13:42.850Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-457@tmp/config2249362790364799004tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-18T05:13:42.975Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-8868 in /w/workspace/xfoundry_device-modbus-go_PR-457 [Pipeline] { [Pipeline] ws [2023-04-18T05:13:43.033Z] Running in /w/workspace/device-modbus-go/1 [Pipeline] { [Pipeline] checkout [2023-04-18T05:13:43.119Z] Selected Git installation does not exist. Using Default [2023-04-18T05:13:43.120Z] The recommended git tool is: NONE [2023-04-18T05:13:43.195Z] ---> docker-login.sh [2023-04-18T05:13:43.196Z] nexus3.edgexfoundry.org:10001 [2023-04-18T05:13:43.196Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T05:13:43.196Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T05:13:43.196Z] Configure a credential helper to remove this warning. See [2023-04-18T05:13:43.196Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T05:13:43.196Z] [2023-04-18T05:13:43.196Z] Login Succeeded [2023-04-18T05:13:43.196Z] nexus3.edgexfoundry.org:10002 [2023-04-18T05:13:43.196Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T05:13:43.196Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T05:13:43.196Z] Configure a credential helper to remove this warning. See [2023-04-18T05:13:43.196Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T05:13:43.196Z] [2023-04-18T05:13:43.196Z] Login Succeeded [2023-04-18T05:13:43.196Z] nexus3.edgexfoundry.org:10003 [2023-04-18T05:13:43.455Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T05:13:43.455Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T05:13:43.455Z] Configure a credential helper to remove this warning. See [2023-04-18T05:13:43.455Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T05:13:43.455Z] [2023-04-18T05:13:43.455Z] Login Succeeded [2023-04-18T05:13:43.455Z] nexus3.edgexfoundry.org:10004 [2023-04-18T05:13:43.455Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T05:13:43.455Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T05:13:43.455Z] Configure a credential helper to remove this warning. See [2023-04-18T05:13:43.455Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T05:13:43.455Z] [2023-04-18T05:13:43.455Z] Login Succeeded [2023-04-18T05:13:43.455Z] docker.io [2023-04-18T05:13:43.714Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T05:13:43.714Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T05:13:43.714Z] Configure a credential helper to remove this warning. See [2023-04-18T05:13:43.714Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T05:13:43.714Z] [2023-04-18T05:13:43.714Z] Login Succeeded [2023-04-18T05:13:43.714Z] ---> docker-login.sh ends [Pipeline] } [2023-04-18T05:13:43.744Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-04-18T05:13:43.953Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-18T05:13:43.988Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-18T05:13:44.019Z] ========================================================= [2023-04-18T05:13:44.019Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-04-18T05:13:44.019Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T05:13:44.485Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-04-18T05:13:44.485Z] Sending build context to Docker daemon 6.471MB [2023-04-18T05:13:44.485Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-04-18T05:13:44.485Z] Step 2/10 : FROM ${BASE} AS builder [2023-04-18T05:13:44.485Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-04-18T05:13:44.485Z] 63b65145d645: Pulling fs layer [2023-04-18T05:13:44.485Z] a2d21d5440eb: Pulling fs layer [2023-04-18T05:13:44.485Z] 935e6c44a52c: Pulling fs layer [2023-04-18T05:13:44.485Z] 94cc34f8dd06: Pulling fs layer [2023-04-18T05:13:44.485Z] 30dea6a524f1: Pulling fs layer [2023-04-18T05:13:44.485Z] a2aff8979fd8: Pulling fs layer [2023-04-18T05:13:44.485Z] 6808be2612f2: Pulling fs layer [2023-04-18T05:13:44.485Z] f25807f1079a: Pulling fs layer [2023-04-18T05:13:44.485Z] 30dea6a524f1: Waiting [2023-04-18T05:13:44.485Z] 94cc34f8dd06: Waiting [2023-04-18T05:13:44.485Z] f25807f1079a: Waiting [2023-04-18T05:13:44.485Z] 6808be2612f2: Waiting [2023-04-18T05:13:44.485Z] a2d21d5440eb: Download complete [2023-04-18T05:13:44.485Z] 94cc34f8dd06: Verifying Checksum [2023-04-18T05:13:44.485Z] 94cc34f8dd06: Download complete [2023-04-18T05:13:44.485Z] 30dea6a524f1: Verifying Checksum [2023-04-18T05:13:44.485Z] 30dea6a524f1: Download complete [2023-04-18T05:13:44.743Z] 63b65145d645: Verifying Checksum [2023-04-18T05:13:44.744Z] 63b65145d645: Download complete [2023-04-18T05:13:44.744Z] a2aff8979fd8: Verifying Checksum [2023-04-18T05:13:44.744Z] a2aff8979fd8: Download complete [2023-04-18T05:13:44.744Z] 63b65145d645: Pull complete [2023-04-18T05:13:45.003Z] f25807f1079a: Verifying Checksum [2023-04-18T05:13:45.003Z] f25807f1079a: Download complete [2023-04-18T05:13:45.003Z] a2d21d5440eb: Pull complete [2023-04-18T05:13:45.261Z] 935e6c44a52c: Verifying Checksum [2023-04-18T05:13:45.261Z] 935e6c44a52c: Download complete [2023-04-18T05:13:45.519Z] 6808be2612f2: Verifying Checksum [2023-04-18T05:13:45.519Z] 6808be2612f2: Download complete [2023-04-18T05:13:48.801Z] 935e6c44a52c: Pull complete [2023-04-18T05:13:48.802Z] 94cc34f8dd06: Pull complete [2023-04-18T05:13:48.802Z] 30dea6a524f1: Pull complete [2023-04-18T05:13:49.061Z] using credential edgex-jenkins-ssh [2023-04-18T05:13:49.062Z] a2aff8979fd8: Pull complete [2023-04-18T05:13:49.081Z] Cloning the remote Git repository [2023-04-18T05:13:49.135Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2023-04-18T05:13:49.256Z] > git init /w/workspace/device-modbus-go/1 # timeout=10 [2023-04-18T05:13:49.427Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2023-04-18T05:13:49.428Z] > git --version # timeout=10 [2023-04-18T05:13:49.453Z] > git --version # 'git version 2.25.1' [2023-04-18T05:13:49.457Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-04-18T05:13:49.644Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-04-18T05:13:51.597Z] 6808be2612f2: Pull complete [2023-04-18T05:13:50.901Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2023-04-18T05:13:50.937Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-04-18T05:13:52.164Z] f25807f1079a: Pull complete [2023-04-18T05:13:52.164Z] Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 [2023-04-18T05:13:52.164Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-04-18T05:13:52.164Z] ---> 3b553350e43f [2023-04-18T05:13:52.164Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2023-04-18T05:13:52.687Z] Merging remotes/origin/main commit 640aa887e9955506bed08a06d24af596cf944b9d into PR head commit 1cfbd64806bde6e5b1bf4b9dfedbd5d1a63382e1 [2023-04-18T05:13:53.003Z] Merge succeeded, producing 1cfbd64806bde6e5b1bf4b9dfedbd5d1a63382e1 [2023-04-18T05:13:53.004Z] Checking out Revision 1cfbd64806bde6e5b1bf4b9dfedbd5d1a63382e1 (PR-457) [2023-04-18T05:13:52.007Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2023-04-18T05:13:52.056Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2023-04-18T05:13:52.058Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-04-18T05:13:52.078Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/457/head:refs/remotes/origin/PR-457 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-04-18T05:13:52.707Z] > git config core.sparsecheckout # timeout=10 [2023-04-18T05:13:52.790Z] > git checkout -f 1cfbd64806bde6e5b1bf4b9dfedbd5d1a63382e1 # timeout=10 [2023-04-18T05:13:52.884Z] > git remote # timeout=10 [2023-04-18T05:13:52.907Z] > git config --get remote.origin.url # timeout=10 [2023-04-18T05:13:52.933Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-04-18T05:13:52.952Z] > git merge 640aa887e9955506bed08a06d24af596cf944b9d # timeout=10 [2023-04-18T05:13:52.982Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-04-18T05:13:53.010Z] > git config core.sparsecheckout # timeout=10 [2023-04-18T05:13:53.026Z] > git checkout -f 1cfbd64806bde6e5b1bf4b9dfedbd5d1a63382e1 # timeout=10 [2023-04-18T05:13:54.075Z] ---> Running in b4baeaad60b4 [2023-04-18T05:13:54.075Z] Removing intermediate container b4baeaad60b4 [2023-04-18T05:13:54.075Z] ---> 5673b31957eb [2023-04-18T05:13:54.075Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-18T05:13:54.075Z] ---> Running in 2ba19ebd2db9 [2023-04-18T05:13:54.075Z] Removing intermediate container 2ba19ebd2db9 [2023-04-18T05:13:54.075Z] ---> 8f7fc4effe23 [2023-04-18T05:13:54.075Z] Step 5/10 : RUN apk add --update --no-cache make git openssh [2023-04-18T05:13:54.075Z] ---> Running in a95da9bad6bf [2023-04-18T05:13:54.332Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-04-18T05:13:54.332Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-04-18T05:13:54.590Z] (1/8) Installing openssh-keygen (9.1_p1-r2) [2023-04-18T05:13:54.848Z] (2/8) Installing libedit (20221030.3.1-r0) [2023-04-18T05:13:54.848Z] (3/8) Installing openssh-client-common (9.1_p1-r2) [2023-04-18T05:13:54.848Z] (4/8) Installing openssh-client-default (9.1_p1-r2) [2023-04-18T05:13:54.848Z] (5/8) Installing openssh-sftp-server (9.1_p1-r2) [2023-04-18T05:13:54.848Z] (6/8) Installing openssh-server-common (9.1_p1-r2) [2023-04-18T05:13:54.848Z] (7/8) Installing openssh-server (9.1_p1-r2) [2023-04-18T05:13:54.848Z] (8/8) Installing openssh (9.1_p1-r2) [2023-04-18T05:13:54.848Z] Executing busybox-1.35.0-r29.trigger [2023-04-18T05:13:54.848Z] OK: 270 MiB in 61 packages [2023-04-18T05:13:55.106Z] Removing intermediate container a95da9bad6bf [2023-04-18T05:13:55.107Z] ---> 5ae27afc6548 [2023-04-18T05:13:55.107Z] Step 6/10 : WORKDIR /device-modbus-go [2023-04-18T05:13:55.365Z] ---> Running in bde0979fdfb8 [2023-04-18T05:13:55.365Z] Removing intermediate container bde0979fdfb8 [2023-04-18T05:13:55.365Z] ---> 1d0cb1598576 [2023-04-18T05:13:55.365Z] Step 7/10 : COPY go.mod vendor* ./ [2023-04-18T05:13:55.365Z] ---> a400670d4a9f [2023-04-18T05:13:55.365Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-18T05:13:55.365Z] ---> Running in f8563ba4b661 [2023-04-18T05:13:56.578Z] Commit message: "build(deps): bump device-sdk-go version" [2023-04-18T05:13:56.637Z] > git --version # timeout=10 [2023-04-18T05:13:56.650Z] > git --version # 'git version 2.25.1' [2023-04-18T05:13:56.665Z] fatal: bad object 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-04-18T05:13:57.997Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-04-18T05:13:57.997Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-04-18T05:13:57.997Z] Dload Upload Total Spent Left Speed [2023-04-18T05:13:57.997Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 94451 0 --:--:-- --:--:-- --:--:-- 94451 [Pipeline] sh [2023-04-18T05:13:58.738Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-04-18T05:13:59.091Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-04-18T05:13:59.091Z] + sudo tee /etc/docker/daemon.new [2023-04-18T05:13:59.091Z] { [2023-04-18T05:13:59.091Z] "registry-mirrors": [ [2023-04-18T05:13:59.091Z] "https://nexus3.edgexfoundry.org:10001" [2023-04-18T05:13:59.091Z] ], [2023-04-18T05:13:59.091Z] "bip": "10.250.0.254/24", [2023-04-18T05:13:59.091Z] "hosts": [ [2023-04-18T05:13:59.091Z] "tcp://0.0.0.0:5555", [2023-04-18T05:13:59.091Z] "unix:///var/run/docker.sock" [2023-04-18T05:13:59.091Z] ], [2023-04-18T05:13:59.091Z] "mtu": 1458, [2023-04-18T05:13:59.091Z] "selinux-enabled": true, [2023-04-18T05:13:59.091Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-04-18T05:13:59.091Z] } [Pipeline] sh [2023-04-18T05:13:59.449Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-04-18T05:13:59.800Z] + sudo service docker restart [2023-04-18T05:14:17.301Z] Removing intermediate container f8563ba4b661 [2023-04-18T05:14:17.301Z] ---> c5729b087859 [2023-04-18T05:14:17.301Z] Step 9/10 : COPY . . [2023-04-18T05:14:17.301Z] ---> 1f1babeddf17 [2023-04-18T05:14:17.301Z] Step 10/10 : RUN ${MAKE} [2023-04-18T05:14:17.301Z] ---> Running in f8b0e947fe58 [2023-04-18T05:14:17.301Z] noop [2023-04-18T05:14:17.301Z] Removing intermediate container f8b0e947fe58 [2023-04-18T05:14:17.301Z] ---> bc6c73932606 [2023-04-18T05:14:17.301Z] Successfully built bc6c73932606 [2023-04-18T05:14:17.301Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T05:14:17.763Z] + docker inspect -f . ci-base-image-x86_64 [2023-04-18T05:14:17.763Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-18T05:14:17.920Z] prd-ubuntu20.04-docker-8c-8g-8870 does not seem to be running inside a container [2023-04-18T05:14:17.953Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-457 -v /w/workspace/xfoundry_device-modbus-go_PR-457:/w/workspace/xfoundry_device-modbus-go_PR-457:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-457@tmp:/w/workspace/xfoundry_device-modbus-go_PR-457@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-04-18T05:14:18.292Z] $ docker top c2b2327c8725cdab20e4a429ae89a29086eb19638456f74500717cd168ab561f -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sh [Pipeline] configFileProvider [2023-04-18T05:14:18.487Z] provisioning config files... [2023-04-18T05:14:18.520Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/1@tmp/config2004734427673120033tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-18T05:14:18.718Z] + go version [2023-04-18T05:14:18.718Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-04-18T05:14:18.752Z] $ docker stop --time=1 c2b2327c8725cdab20e4a429ae89a29086eb19638456f74500717cd168ab561f [2023-04-18T05:14:18.934Z] ---> docker-login.sh [2023-04-18T05:14:18.934Z] nexus3.edgexfoundry.org:10001 [2023-04-18T05:14:19.540Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T05:14:19.541Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T05:14:19.541Z] Configure a credential helper to remove this warning. See [2023-04-18T05:14:19.541Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T05:14:19.541Z] [2023-04-18T05:14:19.541Z] Login Succeeded [2023-04-18T05:14:19.541Z] nexus3.edgexfoundry.org:10002 [2023-04-18T05:14:19.814Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T05:14:20.016Z] $ docker rm -f --volumes c2b2327c8725cdab20e4a429ae89a29086eb19638456f74500717cd168ab561f [2023-04-18T05:14:20.087Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T05:14:20.088Z] Configure a credential helper to remove this warning. See [2023-04-18T05:14:20.088Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T05:14:20.088Z] [2023-04-18T05:14:20.088Z] Login Succeeded [2023-04-18T05:14:20.088Z] nexus3.edgexfoundry.org:10003 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [2023-04-18T05:14:20.357Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T05:14:20.357Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T05:14:20.357Z] Configure a credential helper to remove this warning. See [2023-04-18T05:14:20.357Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T05:14:20.357Z] [2023-04-18T05:14:20.357Z] Login Succeeded [2023-04-18T05:14:20.357Z] nexus3.edgexfoundry.org:10004 [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T05:14:20.629Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T05:14:20.821Z] + docker inspect -f . ci-base-image-x86_64 [2023-04-18T05:14:20.821Z] . [Pipeline] } [2023-04-18T05:14:20.900Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T05:14:20.900Z] Configure a credential helper to remove this warning. See [2023-04-18T05:14:20.900Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T05:14:20.900Z] [2023-04-18T05:14:20.900Z] Login Succeeded [2023-04-18T05:14:20.900Z] docker.io [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-18T05:14:20.972Z] prd-ubuntu20.04-docker-8c-8g-8870 does not seem to be running inside a container [2023-04-18T05:14:21.003Z] $ 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-457 -v /w/workspace/xfoundry_device-modbus-go_PR-457:/w/workspace/xfoundry_device-modbus-go_PR-457:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-457@tmp:/w/workspace/xfoundry_device-modbus-go_PR-457@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-04-18T05:14:21.171Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T05:14:21.351Z] $ docker top 85419ce5566602d20eb9d9c3c81017df9048aa993700ba7a6dbdbf5e226f1f0d -eo pid,comm [Pipeline] { [2023-04-18T05:14:21.440Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T05:14:21.440Z] Configure a credential helper to remove this warning. See [2023-04-18T05:14:21.440Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T05:14:21.440Z] [2023-04-18T05:14:21.440Z] Login Succeeded [2023-04-18T05:14:21.440Z] ---> docker-login.sh ends [Pipeline] } [2023-04-18T05:14:21.489Z] Deleting 1 temporary files [Pipeline] sh [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [2023-04-18T05:14:21.775Z] + git config --global --add safe.directory /w/workspace/xfoundry_device-modbus-go_PR-457 [Pipeline] fileExists [Pipeline] sh [Pipeline] echo [2023-04-18T05:14:21.944Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-18T05:14:21.979Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-18T05:14:22.009Z] ========================================================= [2023-04-18T05:14:22.009Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-04-18T05:14:22.009Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [2023-04-18T05:14:22.130Z] + make test [2023-04-18T05:14:22.130Z] go test ./... -coverprofile=coverage.out [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T05:14:22.523Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-04-18T05:14:22.797Z] Sending build context to Docker daemon 3.394MB [2023-04-18T05:14:22.797Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-04-18T05:14:22.797Z] Step 2/10 : FROM ${BASE} AS builder [2023-04-18T05:14:23.068Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-04-18T05:14:23.068Z] af6eaf76a39c: Pulling fs layer [2023-04-18T05:14:23.068Z] 55522c791124: Pulling fs layer [2023-04-18T05:14:23.068Z] ce5c4a1c91eb: Pulling fs layer [2023-04-18T05:14:23.068Z] 169dfbe0d373: Pulling fs layer [2023-04-18T05:14:23.068Z] e1ff8fa3b103: Pulling fs layer [2023-04-18T05:14:23.068Z] 52ebb69f0ebf: Pulling fs layer [2023-04-18T05:14:23.068Z] 5abe8eddf0d5: Pulling fs layer [2023-04-18T05:14:23.068Z] e1ff8fa3b103: Waiting [2023-04-18T05:14:23.068Z] 52ebb69f0ebf: Waiting [2023-04-18T05:14:23.068Z] 5abe8eddf0d5: Waiting [2023-04-18T05:14:23.068Z] 169dfbe0d373: Waiting [2023-04-18T05:14:23.068Z] 55522c791124: Verifying Checksum [2023-04-18T05:14:23.068Z] 55522c791124: Download complete [2023-04-18T05:14:23.068Z] 169dfbe0d373: Verifying Checksum [2023-04-18T05:14:23.068Z] 169dfbe0d373: Download complete [2023-04-18T05:14:23.339Z] e1ff8fa3b103: Verifying Checksum [2023-04-18T05:14:23.339Z] e1ff8fa3b103: Download complete [2023-04-18T05:14:23.339Z] af6eaf76a39c: Download complete [2023-04-18T05:14:24.320Z] af6eaf76a39c: Pull complete [2023-04-18T05:14:24.320Z] 5abe8eddf0d5: Verifying Checksum [2023-04-18T05:14:24.320Z] 5abe8eddf0d5: Download complete [2023-04-18T05:14:24.919Z] 55522c791124: Pull complete [2023-04-18T05:14:25.903Z] ce5c4a1c91eb: Verifying Checksum [2023-04-18T05:14:25.903Z] ce5c4a1c91eb: Download complete [2023-04-18T05:14:25.903Z] 52ebb69f0ebf: Verifying Checksum [2023-04-18T05:14:25.903Z] 52ebb69f0ebf: Download complete [2023-04-18T05:14:27.391Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2023-04-18T05:14:37.348Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2023-04-18T05:14:37.348Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.013s coverage: 47.4% of statements [2023-04-18T05:14:38.264Z] ce5c4a1c91eb: Pull complete [2023-04-18T05:14:38.264Z] 169dfbe0d373: Pull complete [2023-04-18T05:14:38.264Z] e1ff8fa3b103: Pull complete [2023-04-18T05:14:42.602Z] go vet ./... [2023-04-18T05:14:44.961Z] 52ebb69f0ebf: Pull complete [2023-04-18T05:14:45.122Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-04-18T05:14:45.122Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-04-18T05:14:45.122Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-04-18T05:14:45.160Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-04-18T05:14:45.192Z] $ docker stop --time=1 85419ce5566602d20eb9d9c3c81017df9048aa993700ba7a6dbdbf5e226f1f0d [2023-04-18T05:14:47.555Z] $ docker rm -f --volumes 85419ce5566602d20eb9d9c3c81017df9048aa993700ba7a6dbdbf5e226f1f0d [Pipeline] // withDockerContainer [Pipeline] sh [2023-04-18T05:14:48.070Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-04-18T05:14:48.145Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [2023-04-18T05:14:48.322Z] 5abe8eddf0d5: Pull complete [2023-04-18T05:14:48.322Z] Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f [2023-04-18T05:14:48.322Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-04-18T05:14:48.322Z] ---> 6cb57ee374ae [2023-04-18T05:14:48.322Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [Pipeline] sh [2023-04-18T05:14:48.916Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-04-18T05:14:49.224Z] + ls -al . [2023-04-18T05:14:49.224Z] total 180 [2023-04-18T05:14:49.224Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 18 05:14 . [2023-04-18T05:14:49.224Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 18 05:13 .. [2023-04-18T05:14:49.224Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 18 05:13 .dockerignore [2023-04-18T05:14:49.224Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 18 05:13 .git [2023-04-18T05:14:49.224Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 18 05:13 .github [2023-04-18T05:14:49.224Z] -rw-rw-r-- 1 jenkins jenkins 331 Apr 18 05:13 .gitignore [2023-04-18T05:14:49.224Z] -rw-rw-r-- 1 jenkins jenkins 41 Apr 18 05:13 .golangci.yml [2023-04-18T05:14:49.224Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 18 05:13 .semver [2023-04-18T05:14:49.224Z] -rw-rw-r-- 1 jenkins jenkins 10132 Apr 18 05:13 Attribution.txt [2023-04-18T05:14:49.224Z] -rw-rw-r-- 1 jenkins jenkins 11576 Apr 18 05:13 CHANGELOG.md [2023-04-18T05:14:49.224Z] -rw-rw-r-- 1 jenkins jenkins 1365 Apr 18 05:13 Dockerfile [2023-04-18T05:14:49.224Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 18 05:13 GOVERNANCE.md [2023-04-18T05:14:49.224Z] -rw-rw-r-- 1 jenkins jenkins 680 Apr 18 05:13 Jenkinsfile [2023-04-18T05:14:49.224Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 18 05:13 LICENSE [2023-04-18T05:14:49.224Z] -rw-rw-r-- 1 jenkins jenkins 1705 Apr 18 05:13 Makefile [2023-04-18T05:14:49.224Z] -rw-rw-r-- 1 jenkins jenkins 622 Apr 18 05:13 OWNERS.md [2023-04-18T05:14:49.224Z] -rw-rw-r-- 1 jenkins jenkins 4045 Apr 18 05:13 README.md [2023-04-18T05:14:49.224Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 18 05:13 VERSION [2023-04-18T05:14:49.224Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 18 05:13 bin [2023-04-18T05:14:49.224Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 18 05:13 cmd [2023-04-18T05:14:49.224Z] -rw-r--r-- 1 jenkins jenkins 24160 Apr 18 05:14 coverage.out [2023-04-18T05:14:49.224Z] -rw-rw-r-- 1 jenkins jenkins 3453 Apr 18 05:13 go.mod [2023-04-18T05:14:49.224Z] -rw-rw-r-- 1 jenkins jenkins 31895 Apr 18 05:13 go.sum [2023-04-18T05:14:49.224Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 18 05:13 internal [2023-04-18T05:14:49.224Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 18 05:13 simulator [2023-04-18T05:14:49.224Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 18 05:13 snap [2023-04-18T05:14:49.224Z] -rw-rw-r-- 1 jenkins jenkins 229 Apr 18 05:13 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T05:14:49.614Z] + 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=1cfbd64806bde6e5b1bf4b9dfedbd5d1a63382e1 --label arch=amd64 --label version=0.0.0 . [2023-04-18T05:14:49.614Z] Sending build context to Docker daemon 6.496MB [2023-04-18T05:14:49.614Z] Step 1/22 : ARG BASE=golang:1.20-alpine3.17 [2023-04-18T05:14:49.614Z] Step 2/22 : FROM ${BASE} AS builder [2023-04-18T05:14:49.614Z] ---> bc6c73932606 [2023-04-18T05:14:49.614Z] Step 3/22 : ARG ADD_BUILD_TAGS="" [2023-04-18T05:14:49.614Z] ---> Running in fa738b57e2b0 [2023-04-18T05:14:49.872Z] Removing intermediate container fa738b57e2b0 [2023-04-18T05:14:49.872Z] ---> 7cad879d1f8b [2023-04-18T05:14:49.872Z] Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-18T05:14:49.872Z] ---> Running in 2dc33a2f67dc [2023-04-18T05:14:49.872Z] Removing intermediate container 2dc33a2f67dc [2023-04-18T05:14:49.872Z] ---> 60457f995efe [2023-04-18T05:14:49.872Z] Step 5/22 : RUN apk add --update --no-cache make git openssh [2023-04-18T05:14:49.872Z] ---> Running in 21efd9edec88 [2023-04-18T05:14:50.130Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-04-18T05:14:50.300Z] ---> Running in 4ac94867e17d [2023-04-18T05:14:50.300Z] Removing intermediate container 4ac94867e17d [2023-04-18T05:14:50.300Z] ---> e0a511694a42 [2023-04-18T05:14:50.300Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-18T05:14:50.300Z] ---> Running in 6c8ae7f0d11a [2023-04-18T05:14:50.389Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-04-18T05:14:50.389Z] OK: 270 MiB in 61 packages [2023-04-18T05:14:50.887Z] Removing intermediate container 6c8ae7f0d11a [2023-04-18T05:14:50.887Z] ---> fc1e42845d08 [2023-04-18T05:14:50.887Z] Step 5/10 : RUN apk add --update --no-cache make git openssh [2023-04-18T05:14:50.887Z] ---> Running in 31b99685ed7e [2023-04-18T05:14:50.963Z] Removing intermediate container 21efd9edec88 [2023-04-18T05:14:50.963Z] ---> 937ec1d61e5a [2023-04-18T05:14:50.963Z] Step 6/22 : WORKDIR /device-modbus-go [2023-04-18T05:14:50.963Z] ---> Running in b5349cc3174f [2023-04-18T05:14:50.963Z] Removing intermediate container b5349cc3174f [2023-04-18T05:14:50.963Z] ---> 1403403396b5 [2023-04-18T05:14:50.963Z] Step 7/22 : COPY go.mod vendor* ./ [2023-04-18T05:14:50.963Z] ---> 27ab4e49402a [2023-04-18T05:14:50.963Z] Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-18T05:14:50.963Z] ---> Running in e03ddb5cb32c [2023-04-18T05:14:51.851Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-04-18T05:14:51.940Z] Removing intermediate container e03ddb5cb32c [2023-04-18T05:14:51.940Z] ---> 8db168fa1592 [2023-04-18T05:14:51.940Z] Step 9/22 : COPY . . [2023-04-18T05:14:52.198Z] ---> 70143d544718 [2023-04-18T05:14:52.199Z] Step 10/22 : RUN ${MAKE} [2023-04-18T05:14:52.199Z] ---> Running in 9bff0984eafc [2023-04-18T05:14:52.463Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-modbus ./cmd [2023-04-18T05:14:52.816Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-04-18T05:14:53.783Z] (1/8) Installing openssh-keygen (9.1_p1-r2) [2023-04-18T05:14:53.783Z] (2/8) Installing libedit (20221030.3.1-r0) [2023-04-18T05:14:53.783Z] (3/8) Installing openssh-client-common (9.1_p1-r2) [2023-04-18T05:14:53.783Z] (4/8) Installing openssh-client-default (9.1_p1-r2) [2023-04-18T05:14:53.783Z] (5/8) Installing openssh-sftp-server (9.1_p1-r2) [2023-04-18T05:14:53.783Z] (6/8) Installing openssh-server-common (9.1_p1-r2) [2023-04-18T05:14:53.783Z] (7/8) Installing openssh-server (9.1_p1-r2) [2023-04-18T05:14:53.783Z] (8/8) Installing openssh (9.1_p1-r2) [2023-04-18T05:14:53.783Z] Executing busybox-1.35.0-r29.trigger [2023-04-18T05:14:53.783Z] OK: 270 MiB in 61 packages [2023-04-18T05:14:54.751Z] Removing intermediate container 31b99685ed7e [2023-04-18T05:14:54.751Z] ---> f5af5b327cfa [2023-04-18T05:14:54.751Z] Step 6/10 : WORKDIR /device-modbus-go [2023-04-18T05:14:55.033Z] ---> Running in 6c8351035749 [2023-04-18T05:14:55.301Z] Removing intermediate container 6c8351035749 [2023-04-18T05:14:55.301Z] ---> 970ca905447f [2023-04-18T05:14:55.301Z] Step 7/10 : COPY go.mod vendor* ./ [2023-04-18T05:14:55.888Z] ---> 14f19b02cf61 [2023-04-18T05:14:55.888Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-18T05:14:55.888Z] ---> Running in 29b3f3cea44d [2023-04-18T05:15:10.541Z] Removing intermediate container 9bff0984eafc [2023-04-18T05:15:10.542Z] ---> faf8a1047baf [2023-04-18T05:15:10.542Z] Step 11/22 : FROM alpine:3.17 [2023-04-18T05:15:10.542Z] 3.17: Pulling from library/alpine [2023-04-18T05:15:10.542Z] f56be85fc22e: Pulling fs layer [2023-04-18T05:15:10.542Z] f56be85fc22e: Verifying Checksum [2023-04-18T05:15:10.542Z] f56be85fc22e: Download complete [2023-04-18T05:15:10.542Z] f56be85fc22e: Pull complete [2023-04-18T05:15:10.542Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-04-18T05:15:10.542Z] Status: Downloaded newer image for alpine:3.17 [2023-04-18T05:15:10.542Z] ---> 9ed4aefc74f6 [2023-04-18T05:15:10.542Z] Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2023-04-18T05:15:10.542Z] ---> Running in 0f1e9ee186b7 [2023-04-18T05:15:10.542Z] Removing intermediate container 0f1e9ee186b7 [2023-04-18T05:15:10.542Z] ---> 823f5135596e [2023-04-18T05:15:10.542Z] Step 13/22 : RUN apk add --update --no-cache dumb-init [2023-04-18T05:15:10.542Z] ---> Running in 3c3b14760013 [2023-04-18T05:15:10.542Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-04-18T05:15:10.542Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-04-18T05:15:10.542Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-04-18T05:15:10.542Z] Executing busybox-1.35.0-r29.trigger [2023-04-18T05:15:10.542Z] OK: 7 MiB in 16 packages [2023-04-18T05:15:10.542Z] Removing intermediate container 3c3b14760013 [2023-04-18T05:15:10.542Z] ---> 4d6193b6d072 [2023-04-18T05:15:10.542Z] Step 14/22 : COPY --from=builder /device-modbus-go/cmd / [2023-04-18T05:15:10.542Z] ---> 3b6956433dd3 [2023-04-18T05:15:10.542Z] Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / [2023-04-18T05:15:10.542Z] ---> 2bcd35868884 [2023-04-18T05:15:10.542Z] Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / [2023-04-18T05:15:10.801Z] ---> 7a3a9b95825f [2023-04-18T05:15:10.801Z] Step 17/22 : EXPOSE 59901 [2023-04-18T05:15:10.801Z] ---> Running in 1a8964f52bbd [2023-04-18T05:15:10.801Z] Removing intermediate container 1a8964f52bbd [2023-04-18T05:15:10.801Z] ---> a86d5e4fda77 [2023-04-18T05:15:10.801Z] Step 18/22 : ENTRYPOINT ["/device-modbus"] [2023-04-18T05:15:10.801Z] ---> Running in a7ef450260a6 [2023-04-18T05:15:10.801Z] Removing intermediate container a7ef450260a6 [2023-04-18T05:15:10.801Z] ---> 2ae5755262de [2023-04-18T05:15:10.801Z] Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-04-18T05:15:10.801Z] ---> Running in 86a56c43fa67 [2023-04-18T05:15:11.059Z] Removing intermediate container 86a56c43fa67 [2023-04-18T05:15:11.059Z] ---> 27d54db50729 [2023-04-18T05:15:11.059Z] Step 20/22 : LABEL arch=amd64 [2023-04-18T05:15:11.059Z] ---> Running in b27234b6def2 [2023-04-18T05:15:11.059Z] Removing intermediate container b27234b6def2 [2023-04-18T05:15:11.059Z] ---> 44553780d532 [2023-04-18T05:15:11.059Z] Step 21/22 : LABEL git_sha=1cfbd64806bde6e5b1bf4b9dfedbd5d1a63382e1 [2023-04-18T05:15:11.059Z] ---> Running in 95cc544daa82 [2023-04-18T05:15:11.059Z] Removing intermediate container 95cc544daa82 [2023-04-18T05:15:11.059Z] ---> b279f7506c17 [2023-04-18T05:15:11.059Z] Step 22/22 : LABEL version=0.0.0 [2023-04-18T05:15:11.059Z] ---> Running in e4da5c5a331f [2023-04-18T05:15:11.318Z] Removing intermediate container e4da5c5a331f [2023-04-18T05:15:11.318Z] ---> 7d942894d056 [2023-04-18T05:15:11.318Z] [Warning] One or more build-args [ARCH] were not consumed [2023-04-18T05:15:11.318Z] Successfully built 7d942894d056 [2023-04-18T05:15:11.318Z] Successfully tagged device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T05:15:12.214Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-18T05:15:12.214Z] [2023-04-18T05:15:12.214Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T05:15:12.583Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-18T05:15:12.583Z] latest: Pulling from edgex-lftools-log-publisher [2023-04-18T05:15:12.583Z] 5eb5b503b376: Pulling fs layer [2023-04-18T05:15:12.583Z] 5c69ac0246d0: Pulling fs layer [2023-04-18T05:15:12.583Z] ec43610c2a17: Pulling fs layer [2023-04-18T05:15:12.583Z] 3a2ae6a8a46f: Pulling fs layer [2023-04-18T05:15:12.583Z] 33b1e0a273af: Pulling fs layer [2023-04-18T05:15:12.583Z] 5d3b04190fa2: Pulling fs layer [2023-04-18T05:15:12.583Z] 2f39f015ded8: Pulling fs layer [2023-04-18T05:15:12.583Z] 3a2ae6a8a46f: Waiting [2023-04-18T05:15:12.583Z] 33b1e0a273af: Waiting [2023-04-18T05:15:12.583Z] 2f39f015ded8: Waiting [2023-04-18T05:15:12.583Z] 5d3b04190fa2: Waiting [2023-04-18T05:15:12.583Z] 5c69ac0246d0: Verifying Checksum [2023-04-18T05:15:12.583Z] 5c69ac0246d0: Download complete [2023-04-18T05:15:12.583Z] 3a2ae6a8a46f: Verifying Checksum [2023-04-18T05:15:12.583Z] 3a2ae6a8a46f: Download complete [2023-04-18T05:15:12.583Z] 33b1e0a273af: Verifying Checksum [2023-04-18T05:15:12.583Z] 33b1e0a273af: Download complete [2023-04-18T05:15:12.583Z] ec43610c2a17: Verifying Checksum [2023-04-18T05:15:12.583Z] ec43610c2a17: Download complete [2023-04-18T05:15:12.583Z] 5d3b04190fa2: Verifying Checksum [2023-04-18T05:15:12.842Z] 5eb5b503b376: Verifying Checksum [2023-04-18T05:15:12.842Z] 5eb5b503b376: Download complete [2023-04-18T05:15:13.406Z] 2f39f015ded8: Download complete [2023-04-18T05:15:13.973Z] 5eb5b503b376: Pull complete [2023-04-18T05:15:13.973Z] 5c69ac0246d0: Pull complete [2023-04-18T05:15:14.539Z] ec43610c2a17: Pull complete [2023-04-18T05:15:14.539Z] 3a2ae6a8a46f: Pull complete [2023-04-18T05:15:14.539Z] 33b1e0a273af: Pull complete [2023-04-18T05:15:14.808Z] 5d3b04190fa2: Pull complete [2023-04-18T05:15:19.006Z] 2f39f015ded8: Pull complete [2023-04-18T05:15:19.006Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-04-18T05:15:19.006Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-18T05:15:19.006Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-18T05:15:19.238Z] prd-ubuntu20.04-docker-8c-8g-8870 does not seem to be running inside a container [2023-04-18T05:15:19.272Z] $ 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-457 -v /w/workspace/xfoundry_device-modbus-go_PR-457:/w/workspace/xfoundry_device-modbus-go_PR-457:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-457@tmp:/w/workspace/xfoundry_device-modbus-go_PR-457@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-04-18T05:15:21.465Z] $ docker top c0d05926f28c633430d73535c5ff1e2742a886c7e01615fad1426b6f07fc821b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-18T05:15:21.885Z] ---> job-cost.sh [2023-04-18T05:15:21.885Z] lf-activate-venv: SKIPPING [2023-04-18T05:15:21.885Z] INFO: No Stack... [2023-04-18T05:15:22.453Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-04-18T05:15:22.711Z] INFO: Archiving Costs [Pipeline] sh [2023-04-18T05:15:23.040Z] + cat /w/workspace/xfoundry_device-modbus-go_PR-457/archives/cost.csv [2023-04-18T05:15:23.040Z] + cut -d, -f6 [Pipeline] lock [2023-04-18T05:15:23.087Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-457-1-stack-cost] [2023-04-18T05:15:23.092Z] Resource [jenkins-edgexfoundry-device-modbus-go-PR-457-1-stack-cost] did not exist. Created. [2023-04-18T05:15:23.092Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-457-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-04-18T05:15:23.489Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-04-18T05:15:23.538Z] Stashed 1 file(s) [Pipeline] } [2023-04-18T05:15:23.569Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-457-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-04-18T05:15:23.652Z] $ docker stop --time=1 c0d05926f28c633430d73535c5ff1e2742a886c7e01615fad1426b6f07fc821b [2023-04-18T05:15:24.793Z] $ docker rm -f --volumes c0d05926f28c633430d73535c5ff1e2742a886c7e01615fad1426b6f07fc821b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-04-18T05:16:03.798Z] Removing intermediate container 29b3f3cea44d [2023-04-18T05:16:03.798Z] ---> 8837cb7ea928 [2023-04-18T05:16:03.798Z] Step 9/10 : COPY . . [2023-04-18T05:16:03.798Z] ---> 9407c3b4222f [2023-04-18T05:16:03.798Z] Step 10/10 : RUN ${MAKE} [2023-04-18T05:16:03.798Z] ---> Running in c28708d10705 [2023-04-18T05:16:03.798Z] noop [2023-04-18T05:16:03.798Z] Removing intermediate container c28708d10705 [2023-04-18T05:16:03.798Z] ---> 6f5c6d070542 [2023-04-18T05:16:03.798Z] Successfully built 6f5c6d070542 [2023-04-18T05:16:03.798Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T05:16:04.274Z] + docker inspect -f . ci-base-image-arm64 [2023-04-18T05:16:04.274Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-18T05:16:04.551Z] prd-ubuntu20.04-docker-arm64-4c-16g-8868 does not seem to be running inside a container [2023-04-18T05:16:04.620Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-04-18T05:16:07.401Z] $ docker top 0c0dfab9256e6a6eddb01f6157dd5b494235c0d40c32fc59853a2bcbeba2668d -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-18T05:16:08.275Z] + go version [2023-04-18T05:16:08.275Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-04-18T05:16:08.313Z] $ docker stop --time=1 0c0dfab9256e6a6eddb01f6157dd5b494235c0d40c32fc59853a2bcbeba2668d [2023-04-18T05:16:09.942Z] $ docker rm -f --volumes 0c0dfab9256e6a6eddb01f6157dd5b494235c0d40c32fc59853a2bcbeba2668d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T05:16:10.783Z] + docker inspect -f . ci-base-image-arm64 [2023-04-18T05:16:10.783Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-18T05:16:11.025Z] prd-ubuntu20.04-docker-arm64-4c-16g-8868 does not seem to be running inside a container [2023-04-18T05:16:11.088Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-04-18T05:16:12.260Z] $ docker top 463fdd2cd2a1205c66fff83e071887700d4683c44da5315ca46a9d5e45d8714a -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-18T05:16:12.811Z] + git config --global --add safe.directory /w/workspace/device-modbus-go/1 [Pipeline] fileExists [Pipeline] sh [2023-04-18T05:16:13.472Z] + make test [2023-04-18T05:16:13.746Z] go test ./... -coverprofile=coverage.out [2023-04-18T05:16:45.969Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2023-04-18T05:18:37.634Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2023-04-18T05:18:37.634Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.073s coverage: 47.4% of statements [2023-04-18T05:18:37.634Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-04-18T05:18:37.634Z] go vet ./... [2023-04-18T05:18:56.173Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-04-18T05:18:56.173Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-04-18T05:18:56.173Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-04-18T05:18:56.477Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-04-18T05:18:56.511Z] $ docker stop --time=1 463fdd2cd2a1205c66fff83e071887700d4683c44da5315ca46a9d5e45d8714a [2023-04-18T05:18:58.343Z] $ docker rm -f --volumes 463fdd2cd2a1205c66fff83e071887700d4683c44da5315ca46a9d5e45d8714a [Pipeline] // withDockerContainer [Pipeline] sh [2023-04-18T05:18:59.521Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-04-18T05:18:59.554Z] Warning: overwriting stash ‘coverage-report’ [2023-04-18T05:19:00.020Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-04-18T05:19:00.591Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-04-18T05:19:00.924Z] + ls -al . [2023-04-18T05:19:00.924Z] total 176 [2023-04-18T05:19:00.924Z] drwxrwxr-x 9 jenkins jenkins 4096 Apr 18 05:16 . [2023-04-18T05:19:00.924Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 18 05:13 .. [2023-04-18T05:19:00.924Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 18 05:13 .dockerignore [2023-04-18T05:19:00.924Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 18 05:13 .git [2023-04-18T05:19:00.924Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 18 05:13 .github [2023-04-18T05:19:00.924Z] -rw-rw-r-- 1 jenkins jenkins 331 Apr 18 05:13 .gitignore [2023-04-18T05:19:00.924Z] -rw-rw-r-- 1 jenkins jenkins 41 Apr 18 05:13 .golangci.yml [2023-04-18T05:19:00.924Z] -rw-rw-r-- 1 jenkins jenkins 10132 Apr 18 05:13 Attribution.txt [2023-04-18T05:19:00.924Z] -rw-rw-r-- 1 jenkins jenkins 11576 Apr 18 05:13 CHANGELOG.md [2023-04-18T05:19:00.924Z] -rw-rw-r-- 1 jenkins jenkins 1365 Apr 18 05:13 Dockerfile [2023-04-18T05:19:00.924Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 18 05:13 GOVERNANCE.md [2023-04-18T05:19:00.924Z] -rw-rw-r-- 1 jenkins jenkins 680 Apr 18 05:13 Jenkinsfile [2023-04-18T05:19:00.924Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 18 05:13 LICENSE [2023-04-18T05:19:00.924Z] -rw-rw-r-- 1 jenkins jenkins 1705 Apr 18 05:13 Makefile [2023-04-18T05:19:00.924Z] -rw-rw-r-- 1 jenkins jenkins 622 Apr 18 05:13 OWNERS.md [2023-04-18T05:19:00.924Z] -rw-rw-r-- 1 jenkins jenkins 4045 Apr 18 05:13 README.md [2023-04-18T05:19:00.924Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 18 05:13 VERSION [2023-04-18T05:19:00.924Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 18 05:13 bin [2023-04-18T05:19:00.924Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 18 05:13 cmd [2023-04-18T05:19:00.924Z] -rw-r--r-- 1 jenkins jenkins 24160 Apr 18 05:18 coverage.out [2023-04-18T05:19:00.924Z] -rw-rw-r-- 1 jenkins jenkins 3453 Apr 18 05:13 go.mod [2023-04-18T05:19:00.924Z] -rw-rw-r-- 1 jenkins jenkins 31895 Apr 18 05:13 go.sum [2023-04-18T05:19:00.924Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 18 05:13 internal [2023-04-18T05:19:00.924Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 18 05:13 simulator [2023-04-18T05:19:00.924Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 18 05:13 snap [2023-04-18T05:19:00.924Z] -rw-rw-r-- 1 jenkins jenkins 229 Apr 18 05:13 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T05:19:01.330Z] + 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=1cfbd64806bde6e5b1bf4b9dfedbd5d1a63382e1 --label arch=arm64 --label version=0.0.0 . [2023-04-18T05:19:01.600Z] Sending build context to Docker daemon 3.419MB [2023-04-18T05:19:01.600Z] Step 1/22 : ARG BASE=golang:1.20-alpine3.17 [2023-04-18T05:19:01.600Z] Step 2/22 : FROM ${BASE} AS builder [2023-04-18T05:19:01.600Z] ---> 6f5c6d070542 [2023-04-18T05:19:01.600Z] Step 3/22 : ARG ADD_BUILD_TAGS="" [2023-04-18T05:19:01.867Z] ---> Running in 3ae36428c6bc [2023-04-18T05:19:02.135Z] Removing intermediate container 3ae36428c6bc [2023-04-18T05:19:02.135Z] ---> a01cbb226356 [2023-04-18T05:19:02.135Z] Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-18T05:19:02.135Z] ---> Running in 71b1f1f8ae4f [2023-04-18T05:19:02.404Z] Removing intermediate container 71b1f1f8ae4f [2023-04-18T05:19:02.404Z] ---> 89cdeb7fb0ab [2023-04-18T05:19:02.404Z] Step 5/22 : RUN apk add --update --no-cache make git openssh [2023-04-18T05:19:02.671Z] ---> Running in c2208acd4cea [2023-04-18T05:19:03.641Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-04-18T05:19:04.223Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-04-18T05:19:05.183Z] OK: 270 MiB in 61 packages [2023-04-18T05:19:06.144Z] Removing intermediate container c2208acd4cea [2023-04-18T05:19:06.144Z] ---> 94cfb80635a8 [2023-04-18T05:19:06.144Z] Step 6/22 : WORKDIR /device-modbus-go [2023-04-18T05:19:06.144Z] ---> Running in d76c4c6feaa3 [2023-04-18T05:19:06.413Z] Removing intermediate container d76c4c6feaa3 [2023-04-18T05:19:06.413Z] ---> 7a094c6cffee [2023-04-18T05:19:06.413Z] Step 7/22 : COPY go.mod vendor* ./ [2023-04-18T05:19:07.000Z] ---> 1db2bb2dbe29 [2023-04-18T05:19:07.000Z] Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-18T05:19:07.000Z] ---> Running in 52f68acbe443 [2023-04-18T05:19:10.344Z] Removing intermediate container 52f68acbe443 [2023-04-18T05:19:10.344Z] ---> 69cefb51648a [2023-04-18T05:19:10.344Z] Step 9/22 : COPY . . [2023-04-18T05:19:10.611Z] ---> 65d663bf992c [2023-04-18T05:19:10.611Z] Step 10/22 : RUN ${MAKE} [2023-04-18T05:19:10.879Z] ---> Running in 6c6cf4493dbc [2023-04-18T05:19:11.842Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-modbus ./cmd [2023-04-18T05:21:18.520Z] Removing intermediate container 6c6cf4493dbc [2023-04-18T05:21:18.520Z] ---> 05fb4a5fb781 [2023-04-18T05:21:18.520Z] Step 11/22 : FROM alpine:3.17 [2023-04-18T05:21:18.520Z] 3.17: Pulling from library/alpine [2023-04-18T05:21:18.520Z] c41833b44d91: Pulling fs layer [2023-04-18T05:21:18.520Z] c41833b44d91: Verifying Checksum [2023-04-18T05:21:18.520Z] c41833b44d91: Download complete [2023-04-18T05:21:18.520Z] c41833b44d91: Pull complete [2023-04-18T05:21:18.520Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-04-18T05:21:18.520Z] Status: Downloaded newer image for alpine:3.17 [2023-04-18T05:21:18.520Z] ---> 51e60588ff2c [2023-04-18T05:21:18.520Z] Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2023-04-18T05:21:18.520Z] ---> Running in de7d9ada7d78 [2023-04-18T05:21:18.520Z] Removing intermediate container de7d9ada7d78 [2023-04-18T05:21:18.520Z] ---> 3bdff89819b6 [2023-04-18T05:21:18.520Z] Step 13/22 : RUN apk add --update --no-cache dumb-init [2023-04-18T05:21:18.520Z] ---> Running in 7c9a152f2077 [2023-04-18T05:21:18.520Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-04-18T05:21:18.520Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-04-18T05:21:18.520Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-04-18T05:21:18.520Z] Executing busybox-1.35.0-r29.trigger [2023-04-18T05:21:18.520Z] OK: 8 MiB in 16 packages [2023-04-18T05:21:18.520Z] Removing intermediate container 7c9a152f2077 [2023-04-18T05:21:18.520Z] ---> 14bdbdd8b044 [2023-04-18T05:21:18.520Z] Step 14/22 : COPY --from=builder /device-modbus-go/cmd / [2023-04-18T05:21:19.102Z] ---> c58123597f86 [2023-04-18T05:21:19.102Z] Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / [2023-04-18T05:21:19.684Z] ---> 6ed628c88b57 [2023-04-18T05:21:19.684Z] Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / [2023-04-18T05:21:19.967Z] ---> ac27dbd1182a [2023-04-18T05:21:19.967Z] Step 17/22 : EXPOSE 59901 [2023-04-18T05:21:20.235Z] ---> Running in 84011c5d5c78 [2023-04-18T05:21:20.501Z] Removing intermediate container 84011c5d5c78 [2023-04-18T05:21:20.501Z] ---> 43d9f4ca59de [2023-04-18T05:21:20.501Z] Step 18/22 : ENTRYPOINT ["/device-modbus"] [2023-04-18T05:21:20.501Z] ---> Running in e17d4a739c22 [2023-04-18T05:21:20.768Z] Removing intermediate container e17d4a739c22 [2023-04-18T05:21:20.768Z] ---> 48a7d45ec31c [2023-04-18T05:21:20.768Z] Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-04-18T05:21:20.768Z] ---> Running in 6e8ee978928a [2023-04-18T05:21:21.036Z] Removing intermediate container 6e8ee978928a [2023-04-18T05:21:21.036Z] ---> 9162859b8cc9 [2023-04-18T05:21:21.036Z] Step 20/22 : LABEL arch=arm64 [2023-04-18T05:21:21.036Z] ---> Running in e985dd9727a8 [2023-04-18T05:21:21.303Z] Removing intermediate container e985dd9727a8 [2023-04-18T05:21:21.303Z] ---> 3168ae7a93ae [2023-04-18T05:21:21.303Z] Step 21/22 : LABEL git_sha=1cfbd64806bde6e5b1bf4b9dfedbd5d1a63382e1 [2023-04-18T05:21:21.571Z] ---> Running in aeb1d8027f30 [2023-04-18T05:21:21.839Z] Removing intermediate container aeb1d8027f30 [2023-04-18T05:21:21.839Z] ---> bc9c5c0c45ab [2023-04-18T05:21:21.839Z] Step 22/22 : LABEL version=0.0.0 [2023-04-18T05:21:21.839Z] ---> Running in 13c24977134c [2023-04-18T05:21:22.104Z] Removing intermediate container 13c24977134c [2023-04-18T05:21:22.104Z] ---> e2ccb482d5cc [2023-04-18T05:21:22.104Z] [Warning] One or more build-args [ARCH] were not consumed [2023-04-18T05:21:22.104Z] Successfully built e2ccb482d5cc [2023-04-18T05:21:22.104Z] 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-04-18T05:21:22.977Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-18T05:21:22.977Z] [2023-04-18T05:21:22.977Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T05:21:23.410Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-18T05:21:23.410Z] arm64: Pulling from edgex-lftools-log-publisher [2023-04-18T05:21:23.410Z] 8998bd30e6a1: Pulling fs layer [2023-04-18T05:21:23.410Z] 04944245beec: Pulling fs layer [2023-04-18T05:21:23.410Z] 699f458cf7ca: Pulling fs layer [2023-04-18T05:21:23.410Z] 765212b225bb: Pulling fs layer [2023-04-18T05:21:23.410Z] f23df028b6ca: Pulling fs layer [2023-04-18T05:21:23.410Z] d65c8cfc05b1: Pulling fs layer [2023-04-18T05:21:23.410Z] 2437ff75d9bd: Pulling fs layer [2023-04-18T05:21:23.410Z] 765212b225bb: Waiting [2023-04-18T05:21:23.410Z] d65c8cfc05b1: Waiting [2023-04-18T05:21:23.410Z] 2437ff75d9bd: Waiting [2023-04-18T05:21:23.677Z] 04944245beec: Verifying Checksum [2023-04-18T05:21:23.677Z] 04944245beec: Download complete [2023-04-18T05:21:23.677Z] 765212b225bb: Download complete [2023-04-18T05:21:23.677Z] f23df028b6ca: Verifying Checksum [2023-04-18T05:21:23.677Z] f23df028b6ca: Download complete [2023-04-18T05:21:23.677Z] d65c8cfc05b1: Verifying Checksum [2023-04-18T05:21:23.677Z] d65c8cfc05b1: Download complete [2023-04-18T05:21:23.677Z] 699f458cf7ca: Verifying Checksum [2023-04-18T05:21:23.677Z] 699f458cf7ca: Download complete [2023-04-18T05:21:24.258Z] 8998bd30e6a1: Verifying Checksum [2023-04-18T05:21:24.258Z] 8998bd30e6a1: Download complete [2023-04-18T05:21:26.196Z] 2437ff75d9bd: Verifying Checksum [2023-04-18T05:21:26.196Z] 2437ff75d9bd: Download complete [2023-04-18T05:21:27.602Z] 8998bd30e6a1: Pull complete [2023-04-18T05:21:28.184Z] 04944245beec: Pull complete [2023-04-18T05:21:29.140Z] 699f458cf7ca: Pull complete [2023-04-18T05:21:29.405Z] 765212b225bb: Pull complete [2023-04-18T05:21:29.985Z] f23df028b6ca: Pull complete [2023-04-18T05:21:30.251Z] d65c8cfc05b1: Pull complete [2023-04-18T05:21:42.546Z] 2437ff75d9bd: Pull complete [2023-04-18T05:21:42.546Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-04-18T05:21:42.546Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-18T05:21:42.546Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-18T05:21:42.856Z] prd-ubuntu20.04-docker-arm64-4c-16g-8868 does not seem to be running inside a container [2023-04-18T05:21:42.917Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-04-18T05:21:45.400Z] $ docker top 5b7c3f87e2c746bc89f13d602a77d0583d3d8adfe0e89c06f09cfd5791e1e320 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-18T05:21:45.963Z] ---> job-cost.sh [2023-04-18T05:21:46.229Z] lf-activate-venv: SKIPPING [2023-04-18T05:21:46.229Z] INFO: No Stack... [2023-04-18T05:21:46.808Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-04-18T05:21:47.388Z] INFO: Archiving Costs [Pipeline] sh [2023-04-18T05:21:47.728Z] + cat /w/workspace/device-modbus-go/1/archives/cost.csv [2023-04-18T05:21:47.728Z] + cut -d, -f6 [Pipeline] lock [2023-04-18T05:21:47.781Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-457-1-stack-cost] [2023-04-18T05:21:47.787Z] Resource [jenkins-edgexfoundry-device-modbus-go-PR-457-1-stack-cost] did not exist. Created. [2023-04-18T05:21:47.787Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-457-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-04-18T05:21:48.200Z] /w/workspace/device-modbus-go/1@tmp/durable-d4ae4df3/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-04-18T05:21:48.548Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-04-18T05:21:48.848Z] Warning: overwriting stash ‘stack-cost’ [2023-04-18T05:21:48.892Z] Stashed 1 file(s) [Pipeline] } [2023-04-18T05:21:48.914Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-457-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-04-18T05:21:49.002Z] $ docker stop --time=1 5b7c3f87e2c746bc89f13d602a77d0583d3d8adfe0e89c06f09cfd5791e1e320 [2023-04-18T05:21:50.467Z] $ docker rm -f --volumes 5b7c3f87e2c746bc89f13d602a77d0583d3d8adfe0e89c06f09cfd5791e1e320 [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-04-18T05:21:51.428Z] provisioning config files... [2023-04-18T05:21:51.435Z] copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-457@tmp/config16572839154908027179tmp [Pipeline] { [Pipeline] sh [2023-04-18T05:21:51.785Z] + set +x [2023-04-18T05:21:51.786Z] + bash -s -- [2023-04-18T05:21:51.786Z] + curl -s https://codecov.io/bash [2023-04-18T05:21:51.786Z] [2023-04-18T05:21:51.786Z] _____ _ [2023-04-18T05:21:51.786Z] / ____| | | [2023-04-18T05:21:51.786Z] | | ___ __| | ___ ___ _____ __ [2023-04-18T05:21:51.786Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-04-18T05:21:51.786Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-04-18T05:21:51.786Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-04-18T05:21:51.786Z] Bash-1.0.6 [2023-04-18T05:21:51.786Z] [2023-04-18T05:21:51.786Z] [2023-04-18T05:21:51.786Z] ==> git version 2.25.1 found [2023-04-18T05:21:51.786Z] ==> 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-04-18T05:21:51.786Z] Release-Date: 2020-01-08 [2023-04-18T05:21:51.786Z] 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-04-18T05:21:51.786Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-04-18T05:21:51.786Z] ==> Jenkins CI detected. [2023-04-18T05:21:51.786Z] current dir:  /w/workspace/xfoundry_device-modbus-go_PR-457 [2023-04-18T05:21:51.786Z] project root: . [2023-04-18T05:21:51.786Z] --> token set from env [2023-04-18T05:21:51.786Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-04-18T05:21:51.786Z] ==> Running gcov in . (disable via -X gcov) [2023-04-18T05:21:51.786Z] ==> Python coveragepy not found [2023-04-18T05:21:51.786Z] ==> Searching for coverage reports in: [2023-04-18T05:21:51.786Z] + . [2023-04-18T05:21:51.786Z] -> Found 1 reports [2023-04-18T05:21:51.786Z] ==> Detecting git/mercurial file structure [2023-04-18T05:21:52.045Z] ==> Reading reports [2023-04-18T05:21:52.045Z] + ./coverage.out bytes=24160 [2023-04-18T05:21:52.045Z] ==> Appending adjustments [2023-04-18T05:21:52.045Z] https://docs.codecov.io/docs/fixing-reports [2023-04-18T05:21:52.045Z] + Found adjustments [2023-04-18T05:21:52.045Z] ==> Gzipping contents [2023-04-18T05:21:52.045Z] 4.0K /tmp/codecov.folAhK.gz [2023-04-18T05:21:52.045Z] ==> Uploading reports [2023-04-18T05:21:52.045Z] url: https://codecov.io [2023-04-18T05:21:52.045Z] query: branch=PR-457&commit=1cfbd64806bde6e5b1bf4b9dfedbd5d1a63382e1&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-457%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=457&job=&cmd_args= [2023-04-18T05:21:52.045Z] -> Pinging Codecov [2023-04-18T05:21:52.045Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3a8d40b1-de00-4649-bfd4-bdc8ed99ae89&branch=PR-457&commit=1cfbd64806bde6e5b1bf4b9dfedbd5d1a63382e1&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-457%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=457&job=&cmd_args= [2023-04-18T05:21:52.306Z] -> Uploading to [2023-04-18T05:21:52.306Z] https://storage.googleapis.com/codecov/v4/raw/2023-04-18/55DBCA73C666E3227836607328DD7E49/1cfbd64806bde6e5b1bf4b9dfedbd5d1a63382e1/721df356-35cc-4021-9c4b-ee6cc28ff26b.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230418%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230418T052152Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=c30b7877d0c7dc76bcd5dafc2eb9cc8d429c9638396834f2c2bedade6bdfd6af [2023-04-18T05:21:52.306Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-04-18T05:21:52.306Z] Dload Upload Total Spent Left Speed [2023-04-18T05:21:52.565Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3924 0 0 100 3924 0 16987 --:--:-- --:--:-- --:--:-- 16987 [2023-04-18T05:21:52.565Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/1cfbd64806bde6e5b1bf4b9dfedbd5d1a63382e1 [Pipeline] } [2023-04-18T05:21:52.594Z] 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-04-18T05:21:54.371Z] + [ -d /w/workspace/xfoundry_device-modbus-go_PR-457/archives ] [2023-04-18T05:21:54.371Z] + ls -al /w/workspace/xfoundry_device-modbus-go_PR-457/archives [2023-04-18T05:21:54.371Z] total 16 [2023-04-18T05:21:54.371Z] drwxr-xr-x 3 root root 4096 Apr 18 05:15 . [2023-04-18T05:21:54.371Z] drwxrwxr-x 11 jenkins jenkins 4096 Apr 18 05:15 .. [2023-04-18T05:21:54.371Z] drwxr-xr-x 2 root root 4096 Apr 18 05:15 cost [2023-04-18T05:21:54.371Z] -rw-r--r-- 1 root root 88 Apr 18 05:15 cost.csv [2023-04-18T05:21:54.371Z] + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-457/archives [2023-04-18T05:21:54.371Z] + ls -al /w/workspace/xfoundry_device-modbus-go_PR-457/archives [2023-04-18T05:21:54.371Z] total 16 [2023-04-18T05:21:54.371Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 18 05:15 . [2023-04-18T05:21:54.371Z] drwxrwxr-x 11 jenkins jenkins 4096 Apr 18 05:15 .. [2023-04-18T05:21:54.371Z] drwxr-xr-x 2 jenkins jenkins 4096 Apr 18 05:15 cost [2023-04-18T05:21:54.371Z] -rw-r--r-- 1 jenkins jenkins 88 Apr 18 05:15 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-04-18T05:21:54.700Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-18T05:21:55.586Z] ---> package-listing.sh [2023-04-18T05:21:55.586Z] ++ facter osfamily [2023-04-18T05:21:55.586Z] ++ tr '[:upper:]' '[:lower:]' [2023-04-18T05:21:55.845Z] + OS_FAMILY=debian [2023-04-18T05:21:55.845Z] + workspace=/w/workspace/xfoundry_device-modbus-go_PR-457 [2023-04-18T05:21:55.845Z] + START_PACKAGES=/tmp/packages_start.txt [2023-04-18T05:21:55.845Z] + END_PACKAGES=/tmp/packages_end.txt [2023-04-18T05:21:55.845Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-04-18T05:21:55.845Z] + PACKAGES=/tmp/packages_start.txt [2023-04-18T05:21:55.845Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-457 ']' [2023-04-18T05:21:55.845Z] + PACKAGES=/tmp/packages_end.txt [2023-04-18T05:21:55.845Z] + case "${OS_FAMILY}" in [2023-04-18T05:21:55.845Z] + dpkg -l [2023-04-18T05:21:55.845Z] + grep '^ii' [2023-04-18T05:21:55.845Z] + '[' -f /tmp/packages_start.txt ']' [2023-04-18T05:21:55.845Z] + '[' -f /tmp/packages_end.txt ']' [2023-04-18T05:21:55.845Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-04-18T05:21:55.845Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-457 ']' [2023-04-18T05:21:55.845Z] + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-457/archives/ [2023-04-18T05:21:55.845Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-457/archives/ [Pipeline] echo [2023-04-18T05:21:55.880Z] 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-457/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-04-18T05:21:56.172Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T05:21:56.793Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-18T05:21:56.793Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-18T05:21:56.938Z] prd-ubuntu20.04-docker-8c-8g-8870 does not seem to be running inside a container [2023-04-18T05:21:56.980Z] $ 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-457/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-457 -v /w/workspace/xfoundry_device-modbus-go_PR-457:/w/workspace/xfoundry_device-modbus-go_PR-457:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-457@tmp:/w/workspace/xfoundry_device-modbus-go_PR-457@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-04-18T05:21:57.189Z] $ docker top 5aac78109c2068af7e80d5b1585482630a39689f1e321133e0bdf5f6b90e2708 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-18T05:21:57.559Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-04-18T05:21:57.863Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-04-18T05:21:58.169Z] + ls /var/log/sa-host [2023-04-18T05:21:58.169Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-18T05:21:58.306Z] provisioning config files... [2023-04-18T05:21:58.316Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-457@tmp/config9195053402121879191tmp [Pipeline] { [Pipeline] echo [2023-04-18T05:21:58.364Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-18T05:21:58.677Z] ---> create-netrc.sh [Pipeline] } [2023-04-18T05:21:58.703Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-04-18T05:21:59.109Z] ---> python-tools-install.sh [Pipeline] echo [2023-04-18T05:21:59.146Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-18T05:21:59.460Z] ---> sudo-logs.sh [2023-04-18T05:21:59.460Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-04-18T05:21:59.544Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-18T05:21:59.856Z] ---> job-cost.sh [2023-04-18T05:21:59.856Z] lf-activate-venv: SKIPPING [2023-04-18T05:21:59.856Z] DEBUG: total: 0.2199999988079071 [2023-04-18T05:21:59.856Z] INFO: Retrieving Stack Cost... [2023-04-18T05:22:00.423Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-04-18T05:22:00.682Z] INFO: Archiving Costs [Pipeline] echo [2023-04-18T05:22:00.713Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-18T05:22:01.023Z] ---> logs-deploy.sh [2023-04-18T05:22:01.024Z] lf-activate-venv: SKIPPING [2023-04-18T05:22:01.024Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-457/1 [2023-04-18T05:22:01.024Z] INFO: archiving workspace using pattern(s): [2023-04-18T05:22:01.962Z] Archives upload complete. [2023-04-18T05:22:01.962Z] INFO: archiving logs to Nexus