Pull request #463 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 MonicaisHer for edgexfoundry/device-modbus-go Obtained Jenkinsfile from 0b5b13a3222edb60829193d348ef91291a756800+c33ceb1bf79f75a5c87c27297619a12eadfcf214 (0b881fbda91febe7e4bb94c0a650a0bbd72f0a5e) 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-ssh15110076581292571500.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-ssh1899497210799680111.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-463/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-463/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7975497134673004010.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-463/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12293395949406345232.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-ssh4012168670441927080.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-463/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-463/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh11144447645816423016.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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-10802 in /w/workspace/xfoundry_device-modbus-go_PR-463 [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-463 # 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/463/head:refs/remotes/origin/PR-463 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit c33ceb1bf79f75a5c87c27297619a12eadfcf214 into PR head commit 0b5b13a3222edb60829193d348ef91291a756800 Merge succeeded, producing 0b5b13a3222edb60829193d348ef91291a756800 Checking out Revision 0b5b13a3222edb60829193d348ef91291a756800 (PR-463) > git config core.sparsecheckout # timeout=10 > git checkout -f 0b5b13a3222edb60829193d348ef91291a756800 # 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 c33ceb1bf79f75a5c87c27297619a12eadfcf214 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 0b5b13a3222edb60829193d348ef91291a756800 # timeout=10 Commit message: "build(snap): Upgrade snap base to core22, remove deprecated plug" 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-25T10:00:35.720Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-04-25T10:00:35.898Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-04-25T10:00:36.000Z] ========================================================= [2023-04-25T10:00:36.000Z] EdgeX Global Pipelines Version Info [2023-04-25T10:00:36.000Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-04-25T10:00:36.763Z] ------------------- [2023-04-25T10:00:36.763Z] stable info: [2023-04-25T10:00:36.763Z] ------------------- [2023-04-25T10:00:36.763Z] Commited By: Bill Mahoney bill.mahoney@intel.com [2023-04-25T10:00:36.763Z] Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [2023-04-25T10:00:36.763Z] Message: update stable to v1.0.248 [2023-04-25T10:00:37.338Z] ------------------- [2023-04-25T10:00:37.338Z] experimental info: [2023-04-25T10:00:37.338Z] ------------------- [2023-04-25T10:00:37.338Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-04-25T10:00:37.338Z] Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [2023-04-25T10:00:37.338Z] Message: update experimental to v1.0.248 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-04-25T10:00:37.616Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo [2023-04-25T10:00:37.663Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo [2023-04-25T10:00:37.712Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-04-25T10:00:37.763Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-04-25T10:00:37.810Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-04-25T10:00:37.856Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-04-25T10:00:37.913Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-04-25T10:00:37.958Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-04-25T10:00:38.002Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-04-25T10:00:38.049Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-04-25T10:00:38.095Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-04-25T10:00:38.140Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo [2023-04-25T10:00:38.188Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-04-25T10:00:38.235Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-04-25T10:00:38.279Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-04-25T10:00:38.352Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-04-25T10:00:38.396Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-04-25T10:00:38.447Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-04-25T10:00:38.494Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-04-25T10:00:38.538Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-04-25T10:00:38.589Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-04-25T10:00:38.638Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-04-25T10:00:38.683Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-04-25T10:00:38.732Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-04-25T10:00:38.780Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-04-25T10:00:38.827Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-04-25T10:00:38.878Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-04-25T10:00:38.925Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-463 [Pipeline] echo [2023-04-25T10:00:38.970Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-463 [Pipeline] echo [2023-04-25T10:00:39.015Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-463 [Pipeline] echo [2023-04-25T10:00:39.060Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 0b5b13a3222edb60829193d348ef91291a756800 [Pipeline] echo [2023-04-25T10:00:39.102Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 0b5b13a [Pipeline] echo [2023-04-25T10:00:39.149Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-25T10:00:39.292Z] provisioning config files... [2023-04-25T10:00:39.306Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-463@tmp/config16699299073653080886tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-25T10:00:39.654Z] ---> docker-login.sh [2023-04-25T10:00:39.654Z] nexus3.edgexfoundry.org:10001 [2023-04-25T10:00:39.917Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-25T10:00:40.180Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-25T10:00:40.180Z] Configure a credential helper to remove this warning. See [2023-04-25T10:00:40.180Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-25T10:00:40.181Z] [2023-04-25T10:00:40.181Z] Login Succeeded [2023-04-25T10:00:40.181Z] nexus3.edgexfoundry.org:10002 [2023-04-25T10:00:40.181Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-25T10:00:40.181Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-25T10:00:40.181Z] Configure a credential helper to remove this warning. See [2023-04-25T10:00:40.181Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-25T10:00:40.181Z] [2023-04-25T10:00:40.181Z] Login Succeeded [2023-04-25T10:00:40.181Z] nexus3.edgexfoundry.org:10003 [2023-04-25T10:00:40.181Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-25T10:00:40.441Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-25T10:00:40.441Z] Configure a credential helper to remove this warning. See [2023-04-25T10:00:40.441Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-25T10:00:40.441Z] [2023-04-25T10:00:40.441Z] Login Succeeded [2023-04-25T10:00:40.441Z] nexus3.edgexfoundry.org:10004 [2023-04-25T10:00:40.441Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-25T10:00:40.441Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-25T10:00:40.441Z] Configure a credential helper to remove this warning. See [2023-04-25T10:00:40.441Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-25T10:00:40.441Z] [2023-04-25T10:00:40.441Z] Login Succeeded [2023-04-25T10:00:40.441Z] docker.io [2023-04-25T10:00:40.441Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-25T10:00:40.702Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-25T10:00:40.702Z] Configure a credential helper to remove this warning. See [2023-04-25T10:00:40.702Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-25T10:00:40.702Z] [2023-04-25T10:00:40.703Z] Login Succeeded [2023-04-25T10:00:40.703Z] ---> docker-login.sh ends [Pipeline] } [2023-04-25T10:00:40.731Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-04-25T10:00:41.397Z] + git rev-list -1 --merges 0b5b13a3222edb60829193d348ef91291a756800~1..0b5b13a3222edb60829193d348ef91291a756800 [Pipeline] echo [2023-04-25T10:00:41.468Z] -----------> git rev-list -1 --merges 0b5b13a3222edb60829193d348ef91291a756800~1..0b5b13a3222edb60829193d348ef91291a756800 0b5b13a3222edb60829193d348ef91291a756800 [false] [Pipeline] sh [2023-04-25T10:00:41.788Z] + git log --format=format:%s -1 0b5b13a3222edb60829193d348ef91291a756800 [Pipeline] echo [2023-04-25T10:00:41.830Z] ========================================================= [2023-04-25T10:00:41.830Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-04-25T10:00:41.830Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-04-25T10:00:42.275Z] + git log --format=format:%s -1 0b5b13a3222edb60829193d348ef91291a756800 [Pipeline] echo [2023-04-25T10:00:42.316Z] [semverPrep] GIT_COMMIT: 0b5b13a3222edb60829193d348ef91291a756800, Commit Message: build(snap): Upgrade snap base to core22, remove deprecated plug [Pipeline] echo [2023-04-25T10:00:42.345Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-04-25T10:00:42.737Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-04-25T10:00:42.737Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-04-25T10:00:42.737Z] + [ -e /tmp/ssh_known_hosts ] [2023-04-25T10:00:42.737Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-04-25T10:00:42.737Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-04-25T10:00:42.737Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-04-25T10:00:42.737Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-25T10:00:43.240Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-25T10:00:43.240Z] [2023-04-25T10:00:43.240Z] 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-25T10:00:43.623Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-25T10:00:43.882Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-04-25T10:00:43.883Z] b85a868b505f: Pulling fs layer [2023-04-25T10:00:43.883Z] e2be974225ed: Pulling fs layer [2023-04-25T10:00:43.883Z] 339a4e72a1f5: Pulling fs layer [2023-04-25T10:00:43.883Z] 988bab9f4d93: Pulling fs layer [2023-04-25T10:00:43.883Z] 1469e6f7b9e6: Pulling fs layer [2023-04-25T10:00:43.883Z] eaf3925da568: Pulling fs layer [2023-04-25T10:00:43.883Z] bab4dde63d76: Pulling fs layer [2023-04-25T10:00:43.883Z] bde34c3a00c8: Pulling fs layer [2023-04-25T10:00:43.883Z] b352a97aabf1: Pulling fs layer [2023-04-25T10:00:43.883Z] 4872d77fe225: Pulling fs layer [2023-04-25T10:00:43.883Z] 5851b861e8e6: Pulling fs layer [2023-04-25T10:00:43.883Z] eaf3925da568: Waiting [2023-04-25T10:00:43.883Z] bab4dde63d76: Waiting [2023-04-25T10:00:43.883Z] bde34c3a00c8: Waiting [2023-04-25T10:00:43.883Z] b352a97aabf1: Waiting [2023-04-25T10:00:43.883Z] 4872d77fe225: Waiting [2023-04-25T10:00:43.883Z] 5851b861e8e6: Waiting [2023-04-25T10:00:43.883Z] 1469e6f7b9e6: Waiting [2023-04-25T10:00:43.883Z] 988bab9f4d93: Waiting [2023-04-25T10:00:44.143Z] e2be974225ed: Verifying Checksum [2023-04-25T10:00:44.143Z] e2be974225ed: Download complete [2023-04-25T10:00:44.143Z] 988bab9f4d93: Verifying Checksum [2023-04-25T10:00:44.143Z] 988bab9f4d93: Download complete [2023-04-25T10:00:44.143Z] 1469e6f7b9e6: Verifying Checksum [2023-04-25T10:00:44.143Z] 1469e6f7b9e6: Download complete [2023-04-25T10:00:44.143Z] 339a4e72a1f5: Verifying Checksum [2023-04-25T10:00:44.143Z] 339a4e72a1f5: Download complete [2023-04-25T10:00:44.143Z] eaf3925da568: Verifying Checksum [2023-04-25T10:00:44.143Z] eaf3925da568: Download complete [2023-04-25T10:00:44.143Z] bde34c3a00c8: Verifying Checksum [2023-04-25T10:00:44.143Z] bde34c3a00c8: Download complete [2023-04-25T10:00:44.143Z] b352a97aabf1: Verifying Checksum [2023-04-25T10:00:44.143Z] b352a97aabf1: Download complete [2023-04-25T10:00:44.143Z] 4872d77fe225: Verifying Checksum [2023-04-25T10:00:44.143Z] 4872d77fe225: Download complete [2023-04-25T10:00:44.143Z] 5851b861e8e6: Verifying Checksum [2023-04-25T10:00:44.143Z] 5851b861e8e6: Download complete [2023-04-25T10:00:44.143Z] b85a868b505f: Verifying Checksum [2023-04-25T10:00:44.143Z] b85a868b505f: Download complete [2023-04-25T10:00:44.404Z] bab4dde63d76: Verifying Checksum [2023-04-25T10:00:45.798Z] b85a868b505f: Pull complete [2023-04-25T10:00:45.798Z] e2be974225ed: Pull complete [2023-04-25T10:00:46.061Z] 339a4e72a1f5: Pull complete [2023-04-25T10:00:46.321Z] 988bab9f4d93: Pull complete [2023-04-25T10:00:46.580Z] 1469e6f7b9e6: Pull complete [2023-04-25T10:00:46.580Z] eaf3925da568: Pull complete [2023-04-25T10:00:48.484Z] bab4dde63d76: Pull complete [2023-04-25T10:00:48.484Z] bde34c3a00c8: Pull complete [2023-04-25T10:00:48.484Z] b352a97aabf1: Pull complete [2023-04-25T10:00:48.745Z] 4872d77fe225: Pull complete [2023-04-25T10:00:48.745Z] 5851b861e8e6: Pull complete [2023-04-25T10:00:48.745Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-04-25T10:00:48.745Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-25T10:00:48.745Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-25T10:00:49.007Z] prd-ubuntu20.04-docker-8c-8g-10802 does not seem to be running inside a container [2023-04-25T10:00:49.035Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-463 -v /w/workspace/xfoundry_device-modbus-go_PR-463:/w/workspace/xfoundry_device-modbus-go_PR-463:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-463@tmp:/w/workspace/xfoundry_device-modbus-go_PR-463@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-04-25T10:00:52.235Z] $ docker top 1ea088bd462b6ba30e50b8fd002b66dd1593e92f1b7966039119eca6e9194618 -eo pid,comm [2023-04-25T10:00:52.298Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-04-25T10:00:52.298Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-04-25T10:00:52.424Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-04-25T10:00:52.424Z] [ssh-agent] Looking for ssh-agent implementation... [2023-04-25T10:00:52.544Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-04-25T10:00:52.541Z] $ docker exec 1ea088bd462b6ba30e50b8fd002b66dd1593e92f1b7966039119eca6e9194618 ssh-agent [2023-04-25T10:00:52.656Z] SSH_AUTH_SOCK=/tmp/ssh-h0hN7s26R1aX/agent.32 [2023-04-25T10:00:52.656Z] SSH_AGENT_PID=38 [2023-04-25T10:00:52.663Z] Running ssh-add (command line suppressed) [2023-04-25T10:00:52.747Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-463@tmp/private_key_16505644098130388077.key (/w/workspace/xfoundry_device-modbus-go_PR-463@tmp/private_key_16505644098130388077.key) [2023-04-25T10:00:52.770Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-04-25T10:00:53.107Z] + git tag --points-at HEAD [Pipeline] } [2023-04-25T10:00:53.127Z] $ docker exec --env ******** --env ******** 1ea088bd462b6ba30e50b8fd002b66dd1593e92f1b7966039119eca6e9194618 ssh-agent -k [2023-04-25T10:00:53.235Z] unset SSH_AUTH_SOCK; [2023-04-25T10:00:53.236Z] unset SSH_AGENT_PID; [2023-04-25T10:00:53.236Z] echo Agent pid 38 killed; [2023-04-25T10:00:53.251Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-04-25T10:00:53.343Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-04-25T10:00:53.343Z] [ssh-agent] Looking for ssh-agent implementation... [2023-04-25T10:00:53.464Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-04-25T10:00:53.462Z] $ docker exec 1ea088bd462b6ba30e50b8fd002b66dd1593e92f1b7966039119eca6e9194618 ssh-agent [2023-04-25T10:00:53.577Z] SSH_AUTH_SOCK=/tmp/ssh-6r3ahiDUPHfN/agent.70 [2023-04-25T10:00:53.577Z] SSH_AGENT_PID=76 [2023-04-25T10:00:53.582Z] Running ssh-add (command line suppressed) [2023-04-25T10:00:53.678Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-463@tmp/private_key_672555772272444636.key (/w/workspace/xfoundry_device-modbus-go_PR-463@tmp/private_key_672555772272444636.key) [2023-04-25T10:00:53.698Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-04-25T10:00:54.033Z] + git semver init [2023-04-25T10:00:54.294Z] 2023-04-25 10:00:54,220 [run_init] DEBUG init version:0.0.0 force:False [2023-04-25T10:00:54.294Z] 2023-04-25 10:00:54,220 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-modbus-go_PR-463/.semver [2023-04-25T10:00:54.294Z] 2023-04-25 10:00:54,221 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/xfoundry_device-modbus-go_PR-463/.semver [2023-04-25T10:00:54.294Z] 2023-04-25 10:00:54,221 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/xfoundry_device-modbus-go_PR-463/.semver'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-463, universal_newlines=False, shell=None, istream=None) [2023-04-25T10:00:55.244Z] 2023-04-25 10:00:54,984 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-modbus-go_PR-463/.git/info/exclude [2023-04-25T10:00:55.244Z] 2023-04-25 10:00:54,984 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-modbus-go_PR-463/.semver/PR-463 with force:False [2023-04-25T10:00:55.244Z] 2023-04-25 10:00:54,984 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-modbus-go_PR-463/.semver/PR-463 [2023-04-25T10:00:55.244Z] 2023-04-25 10:00:54,990 [execute] INFO git cat-file --batch-check [2023-04-25T10:00:55.244Z] 2023-04-25 10:00:54,992 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-463/.semver, universal_newlines=False, shell=None, istream=) [2023-04-25T10:00:55.244Z] 2023-04-25 10:00:54,999 [execute] INFO git cat-file --batch [2023-04-25T10:00:55.244Z] 2023-04-25 10:00:54,999 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-463/.semver, universal_newlines=False, shell=None, istream=) [2023-04-25T10:00:55.244Z] 2023-04-25 10:00:55,004 [read_version] DEBUG read version from /w/workspace/xfoundry_device-modbus-go_PR-463/.semver/PR-463 [2023-04-25T10:00:55.244Z] 0.0.0 [Pipeline] } [2023-04-25T10:00:55.267Z] $ docker exec --env ******** --env ******** 1ea088bd462b6ba30e50b8fd002b66dd1593e92f1b7966039119eca6e9194618 ssh-agent -k [2023-04-25T10:00:55.361Z] unset SSH_AUTH_SOCK; [2023-04-25T10:00:55.361Z] unset SSH_AGENT_PID; [2023-04-25T10:00:55.361Z] echo Agent pid 76 killed; [2023-04-25T10:00:55.373Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-04-25T10:00:55.819Z] + git semver [Pipeline] } [2023-04-25T10:00:56.099Z] $ docker stop --time=1 1ea088bd462b6ba30e50b8fd002b66dd1593e92f1b7966039119eca6e9194618 [2023-04-25T10:00:57.367Z] $ docker rm -f --volumes 1ea088bd462b6ba30e50b8fd002b66dd1593e92f1b7966039119eca6e9194618 [Pipeline] // withDockerContainer [Pipeline] sh [2023-04-25T10:00:57.774Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-04-25T10:00:58.041Z] Stashed 1 file(s) [Pipeline] echo [2023-04-25T10:00:58.058Z] [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-25T10:00:58.655Z] provisioning config files... [2023-04-25T10:00:58.665Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-463@tmp/config12305028796514123452tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-25T10:00:59.028Z] ---> docker-login.sh [2023-04-25T10:00:59.028Z] nexus3.edgexfoundry.org:10001 [2023-04-25T10:00:59.028Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-25T10:00:59.028Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-25T10:00:59.028Z] Configure a credential helper to remove this warning. See [2023-04-25T10:00:59.028Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-25T10:00:59.028Z] [2023-04-25T10:00:59.028Z] Login Succeeded [2023-04-25T10:00:59.028Z] nexus3.edgexfoundry.org:10002 [2023-04-25T10:00:59.028Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-25T10:00:59.028Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-25T10:00:59.028Z] Configure a credential helper to remove this warning. See [2023-04-25T10:00:59.028Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-25T10:00:59.028Z] [2023-04-25T10:00:59.028Z] Login Succeeded [2023-04-25T10:00:59.028Z] nexus3.edgexfoundry.org:10003 [2023-04-25T10:00:59.288Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-25T10:00:59.288Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-25T10:00:59.288Z] Configure a credential helper to remove this warning. See [2023-04-25T10:00:59.288Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-25T10:00:59.288Z] [2023-04-25T10:00:59.288Z] Login Succeeded [2023-04-25T10:00:59.288Z] nexus3.edgexfoundry.org:10004 [2023-04-25T10:00:59.288Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-25T10:00:59.288Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-25T10:00:59.288Z] Configure a credential helper to remove this warning. See [2023-04-25T10:00:59.288Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-25T10:00:59.288Z] [2023-04-25T10:00:59.288Z] Login Succeeded [2023-04-25T10:00:59.288Z] docker.io [2023-04-25T10:00:59.547Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-25T10:00:59.547Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-25T10:00:59.547Z] Configure a credential helper to remove this warning. See [2023-04-25T10:00:59.547Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-25T10:00:59.547Z] [2023-04-25T10:00:59.547Z] Login Succeeded [2023-04-25T10:00:59.547Z] ---> docker-login.sh ends [Pipeline] } [2023-04-25T10:00:59.577Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-04-25T10:00:59.777Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-25T10:00:59.817Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-25T10:00:59.919Z] ========================================================= [2023-04-25T10:00:59.919Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-04-25T10:00:59.919Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-25T10:01:00.439Z] + 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-25T10:01:00.440Z] Sending build context to Docker daemon 6.453MB [2023-04-25T10:01:00.440Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-04-25T10:01:00.440Z] Step 2/10 : FROM ${BASE} AS builder [2023-04-25T10:01:00.440Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-04-25T10:01:00.440Z] f56be85fc22e: Pulling fs layer [2023-04-25T10:01:00.440Z] 85791d961cd3: Pulling fs layer [2023-04-25T10:01:00.440Z] d694b5ae8c79: Pulling fs layer [2023-04-25T10:01:00.440Z] 9f32a84ed3da: Pulling fs layer [2023-04-25T10:01:00.440Z] 4d19c01a9841: Pulling fs layer [2023-04-25T10:01:00.440Z] 9325e15d5711: Pulling fs layer [2023-04-25T10:01:00.440Z] 556b6ee489ea: Pulling fs layer [2023-04-25T10:01:00.440Z] c5a4b2cf53e6: Pulling fs layer [2023-04-25T10:01:00.440Z] 4d19c01a9841: Waiting [2023-04-25T10:01:00.440Z] 9325e15d5711: Waiting [2023-04-25T10:01:00.440Z] 556b6ee489ea: Waiting [2023-04-25T10:01:00.440Z] 9f32a84ed3da: Waiting [2023-04-25T10:01:00.440Z] 85791d961cd3: Verifying Checksum [2023-04-25T10:01:00.440Z] 85791d961cd3: Download complete [2023-04-25T10:01:00.440Z] 9f32a84ed3da: Verifying Checksum [2023-04-25T10:01:00.440Z] 9f32a84ed3da: Download complete [2023-04-25T10:01:00.440Z] f56be85fc22e: Verifying Checksum [2023-04-25T10:01:00.440Z] f56be85fc22e: Download complete [2023-04-25T10:01:00.440Z] 4d19c01a9841: Download complete [2023-04-25T10:01:00.712Z] 9325e15d5711: Verifying Checksum [2023-04-25T10:01:00.712Z] 9325e15d5711: Download complete [2023-04-25T10:01:00.712Z] f56be85fc22e: Pull complete [2023-04-25T10:01:00.971Z] 85791d961cd3: Pull complete [2023-04-25T10:01:01.233Z] c5a4b2cf53e6: Verifying Checksum [2023-04-25T10:01:01.233Z] c5a4b2cf53e6: Download complete [2023-04-25T10:01:01.233Z] d694b5ae8c79: Verifying Checksum [2023-04-25T10:01:01.233Z] d694b5ae8c79: Download complete [2023-04-25T10:01:01.492Z] 556b6ee489ea: Verifying Checksum [2023-04-25T10:01:04.792Z] d694b5ae8c79: Pull complete [2023-04-25T10:01:04.792Z] 9f32a84ed3da: Pull complete [2023-04-25T10:01:04.792Z] 4d19c01a9841: Pull complete [2023-04-25T10:01:04.792Z] 9325e15d5711: Pull complete [2023-04-25T10:01:07.325Z] 556b6ee489ea: Pull complete [2023-04-25T10:01:07.900Z] c5a4b2cf53e6: Pull complete [2023-04-25T10:01:08.162Z] Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b [2023-04-25T10:01:08.162Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-04-25T10:01:08.162Z] ---> c4be618373d6 [2023-04-25T10:01:08.162Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2023-04-25T10:01:12.365Z] ---> Running in 7929b379cbe4 [2023-04-25T10:01:12.365Z] Removing intermediate container 7929b379cbe4 [2023-04-25T10:01:12.365Z] ---> 0f041e844858 [2023-04-25T10:01:12.365Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-25T10:01:12.365Z] ---> Running in e9ee5495ebd6 [2023-04-25T10:01:12.365Z] Removing intermediate container e9ee5495ebd6 [2023-04-25T10:01:12.365Z] ---> 0757da22dfcc [2023-04-25T10:01:12.365Z] Step 5/10 : RUN apk add --update --no-cache make git openssh [2023-04-25T10:01:12.365Z] ---> Running in 150ed4d39fa2 [2023-04-25T10:01:12.625Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-04-25T10:01:12.884Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-04-25T10:01:13.142Z] (1/8) Installing openssh-keygen (9.1_p1-r2) [2023-04-25T10:01:13.142Z] (2/8) Installing libedit (20221030.3.1-r0) [2023-04-25T10:01:13.142Z] (3/8) Installing openssh-client-common (9.1_p1-r2) [2023-04-25T10:01:13.142Z] (4/8) Installing openssh-client-default (9.1_p1-r2) [2023-04-25T10:01:13.142Z] (5/8) Installing openssh-sftp-server (9.1_p1-r2) [2023-04-25T10:01:13.142Z] (6/8) Installing openssh-server-common (9.1_p1-r2) [2023-04-25T10:01:13.142Z] (7/8) Installing openssh-server (9.1_p1-r2) [2023-04-25T10:01:13.142Z] (8/8) Installing openssh (9.1_p1-r2) [2023-04-25T10:01:13.142Z] Executing busybox-1.35.0-r29.trigger [2023-04-25T10:01:13.142Z] OK: 270 MiB in 61 packages [2023-04-25T10:01:13.470Z] Still waiting to schedule task [2023-04-25T10:01:13.471Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-04-25T10:01:13.712Z] Removing intermediate container 150ed4d39fa2 [2023-04-25T10:01:13.712Z] ---> 96d6a7d9f269 [2023-04-25T10:01:13.712Z] Step 6/10 : WORKDIR /device-modbus-go [2023-04-25T10:01:13.712Z] ---> Running in 54db5f39c570 [2023-04-25T10:01:13.712Z] Removing intermediate container 54db5f39c570 [2023-04-25T10:01:13.712Z] ---> 94f3630563d8 [2023-04-25T10:01:13.712Z] Step 7/10 : COPY go.mod vendor* ./ [2023-04-25T10:01:13.970Z] ---> 7de0d58925b4 [2023-04-25T10:01:13.970Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-25T10:01:13.970Z] ---> Running in 4e3736b2338a [2023-04-25T10:01:46.054Z] Removing intermediate container 4e3736b2338a [2023-04-25T10:01:46.054Z] ---> 3a710914746d [2023-04-25T10:01:46.054Z] Step 9/10 : COPY . . [2023-04-25T10:01:46.054Z] ---> f392ca3ffe36 [2023-04-25T10:01:46.054Z] Step 10/10 : RUN ${MAKE} [2023-04-25T10:01:46.054Z] ---> Running in ea67ebf0fba3 [2023-04-25T10:01:46.054Z] noop [2023-04-25T10:01:46.054Z] Removing intermediate container ea67ebf0fba3 [2023-04-25T10:01:46.054Z] ---> ab0882dbc5bb [2023-04-25T10:01:46.054Z] Successfully built ab0882dbc5bb [2023-04-25T10:01:46.054Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-25T10:01:46.531Z] + docker inspect -f . ci-base-image-x86_64 [2023-04-25T10:01:46.531Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-25T10:01:46.681Z] prd-ubuntu20.04-docker-8c-8g-10802 does not seem to be running inside a container [2023-04-25T10:01:46.725Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-463 -v /w/workspace/xfoundry_device-modbus-go_PR-463:/w/workspace/xfoundry_device-modbus-go_PR-463:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-463@tmp:/w/workspace/xfoundry_device-modbus-go_PR-463@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-04-25T10:01:47.068Z] $ docker top 468e5b7c97f37686a2d953334f07052083281dac0e64b6758d7115dc29cc8de8 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-25T10:01:47.454Z] + go version [2023-04-25T10:01:47.454Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-04-25T10:01:47.496Z] $ docker stop --time=1 468e5b7c97f37686a2d953334f07052083281dac0e64b6758d7115dc29cc8de8 [2023-04-25T10:01:48.789Z] $ docker rm -f --volumes 468e5b7c97f37686a2d953334f07052083281dac0e64b6758d7115dc29cc8de8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-25T10:01:49.517Z] + docker inspect -f . ci-base-image-x86_64 [2023-04-25T10:01:49.517Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-25T10:01:49.680Z] prd-ubuntu20.04-docker-8c-8g-10802 does not seem to be running inside a container [2023-04-25T10:01:49.722Z] $ 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-463 -v /w/workspace/xfoundry_device-modbus-go_PR-463:/w/workspace/xfoundry_device-modbus-go_PR-463:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-463@tmp:/w/workspace/xfoundry_device-modbus-go_PR-463@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-04-25T10:01:50.019Z] $ docker top d617056f58e378cab70b4dc169b3d475c2fc0a8255a72dcad1009451a5c87184 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-25T10:01:50.403Z] + git config --global --add safe.directory /w/workspace/xfoundry_device-modbus-go_PR-463 [Pipeline] fileExists [Pipeline] sh [2023-04-25T10:01:50.773Z] + make test [2023-04-25T10:01:50.773Z] go test ./... -coverprofile=coverage.out [2023-04-25T10:01:54.974Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2023-04-25T10:02:04.944Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2023-04-25T10:02:04.944Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.014s coverage: 47.4% of statements [2023-04-25T10:02:11.517Z] go vet ./... [2023-04-25T10:02:15.705Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-04-25T10:02:15.705Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-04-25T10:02:15.705Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-04-25T10:02:15.749Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-04-25T10:02:15.787Z] $ docker stop --time=1 d617056f58e378cab70b4dc169b3d475c2fc0a8255a72dcad1009451a5c87184 [2023-04-25T10:02:18.603Z] $ docker rm -f --volumes d617056f58e378cab70b4dc169b3d475c2fc0a8255a72dcad1009451a5c87184 [Pipeline] // withDockerContainer [Pipeline] sh [2023-04-25T10:02:19.141Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-04-25T10:02:19.208Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-04-25T10:02:19.871Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-04-25T10:02:20.182Z] + ls -al . [2023-04-25T10:02:20.182Z] total 180 [2023-04-25T10:02:20.182Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 25 10:01 . [2023-04-25T10:02:20.182Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 25 10:00 .. [2023-04-25T10:02:20.182Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 25 10:00 .dockerignore [2023-04-25T10:02:20.182Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 25 10:00 .git [2023-04-25T10:02:20.182Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 25 10:00 .github [2023-04-25T10:02:20.182Z] -rw-rw-r-- 1 jenkins jenkins 331 Apr 25 10:00 .gitignore [2023-04-25T10:02:20.182Z] -rw-rw-r-- 1 jenkins jenkins 41 Apr 25 10:00 .golangci.yml [2023-04-25T10:02:20.182Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 25 10:00 .semver [2023-04-25T10:02:20.182Z] -rw-rw-r-- 1 jenkins jenkins 10132 Apr 25 10:00 Attribution.txt [2023-04-25T10:02:20.182Z] -rw-rw-r-- 1 jenkins jenkins 11576 Apr 25 10:00 CHANGELOG.md [2023-04-25T10:02:20.182Z] -rw-rw-r-- 1 jenkins jenkins 1365 Apr 25 10:00 Dockerfile [2023-04-25T10:02:20.182Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 25 10:00 GOVERNANCE.md [2023-04-25T10:02:20.182Z] -rw-rw-r-- 1 jenkins jenkins 680 Apr 25 10:00 Jenkinsfile [2023-04-25T10:02:20.182Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 25 10:00 LICENSE [2023-04-25T10:02:20.182Z] -rw-rw-r-- 1 jenkins jenkins 1705 Apr 25 10:00 Makefile [2023-04-25T10:02:20.182Z] -rw-rw-r-- 1 jenkins jenkins 622 Apr 25 10:00 OWNERS.md [2023-04-25T10:02:20.182Z] -rw-rw-r-- 1 jenkins jenkins 4045 Apr 25 10:00 README.md [2023-04-25T10:02:20.182Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 25 10:00 VERSION [2023-04-25T10:02:20.182Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 25 10:00 bin [2023-04-25T10:02:20.182Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 25 10:00 cmd [2023-04-25T10:02:20.182Z] -rw-r--r-- 1 jenkins jenkins 24160 Apr 25 10:02 coverage.out [2023-04-25T10:02:20.182Z] -rw-rw-r-- 1 jenkins jenkins 3453 Apr 25 10:00 go.mod [2023-04-25T10:02:20.182Z] -rw-rw-r-- 1 jenkins jenkins 31785 Apr 25 10:00 go.sum [2023-04-25T10:02:20.182Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 25 10:00 internal [2023-04-25T10:02:20.182Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 25 10:00 simulator [2023-04-25T10:02:20.182Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 25 10:00 snap [2023-04-25T10:02:20.182Z] -rw-rw-r-- 1 jenkins jenkins 229 Apr 25 10:00 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-25T10:02:20.580Z] + 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=0b5b13a3222edb60829193d348ef91291a756800 --label arch=amd64 --label version=0.0.0 . [2023-04-25T10:02:20.580Z] Sending build context to Docker daemon 6.478MB [2023-04-25T10:02:20.580Z] Step 1/22 : ARG BASE=golang:1.20-alpine3.17 [2023-04-25T10:02:20.580Z] Step 2/22 : FROM ${BASE} AS builder [2023-04-25T10:02:20.580Z] ---> ab0882dbc5bb [2023-04-25T10:02:20.580Z] Step 3/22 : ARG ADD_BUILD_TAGS="" [2023-04-25T10:02:20.580Z] ---> Running in da56ae7ed453 [2023-04-25T10:02:20.840Z] Removing intermediate container da56ae7ed453 [2023-04-25T10:02:20.840Z] ---> 48ab17fbf015 [2023-04-25T10:02:20.840Z] Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-25T10:02:20.840Z] ---> Running in 4a5a409e742f [2023-04-25T10:02:20.840Z] Removing intermediate container 4a5a409e742f [2023-04-25T10:02:20.840Z] ---> 94e28549cee0 [2023-04-25T10:02:20.840Z] Step 5/22 : RUN apk add --update --no-cache make git openssh [2023-04-25T10:02:20.840Z] ---> Running in b0802908121e [2023-04-25T10:02:21.100Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-04-25T10:02:21.359Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-04-25T10:02:21.621Z] OK: 270 MiB in 61 packages [2023-04-25T10:02:21.882Z] Removing intermediate container b0802908121e [2023-04-25T10:02:21.882Z] ---> 7a85dd8aac50 [2023-04-25T10:02:21.882Z] Step 6/22 : WORKDIR /device-modbus-go [2023-04-25T10:02:21.882Z] ---> Running in c70303c88dd6 [2023-04-25T10:02:21.882Z] Removing intermediate container c70303c88dd6 [2023-04-25T10:02:21.882Z] ---> af21ff8c3e4c [2023-04-25T10:02:21.882Z] Step 7/22 : COPY go.mod vendor* ./ [2023-04-25T10:02:22.141Z] ---> 5ca3e8f7af76 [2023-04-25T10:02:22.141Z] Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-25T10:02:22.141Z] ---> Running in a0fa8fc5ab11 [2023-04-25T10:02:23.101Z] Removing intermediate container a0fa8fc5ab11 [2023-04-25T10:02:23.101Z] ---> d91507f81a05 [2023-04-25T10:02:23.101Z] Step 9/22 : COPY . . [2023-04-25T10:02:23.360Z] ---> da47b97716ca [2023-04-25T10:02:23.360Z] Step 10/22 : RUN ${MAKE} [2023-04-25T10:02:23.360Z] ---> Running in a00c92f0870d [2023-04-25T10:02:23.623Z] 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-25T10:02:41.700Z] Removing intermediate container a00c92f0870d [2023-04-25T10:02:41.700Z] ---> c2d48229e5d2 [2023-04-25T10:02:41.700Z] Step 11/22 : FROM alpine:3.17 [2023-04-25T10:02:41.959Z] 3.17: Pulling from library/alpine [2023-04-25T10:02:42.218Z] f56be85fc22e: Already exists [2023-04-25T10:02:42.218Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-04-25T10:02:42.218Z] Status: Downloaded newer image for alpine:3.17 [2023-04-25T10:02:42.218Z] ---> 9ed4aefc74f6 [2023-04-25T10:02:42.218Z] Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2023-04-25T10:02:42.218Z] ---> Running in baf65af443a7 [2023-04-25T10:02:42.476Z] Removing intermediate container baf65af443a7 [2023-04-25T10:02:42.476Z] ---> ab440949d38c [2023-04-25T10:02:42.476Z] Step 13/22 : RUN apk add --update --no-cache dumb-init [2023-04-25T10:02:42.476Z] ---> Running in 9db8fd61ba7d [2023-04-25T10:02:42.735Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-04-25T10:02:42.735Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-04-25T10:02:42.993Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-04-25T10:02:42.993Z] Executing busybox-1.35.0-r29.trigger [2023-04-25T10:02:42.993Z] OK: 7 MiB in 16 packages [2023-04-25T10:02:43.561Z] Removing intermediate container 9db8fd61ba7d [2023-04-25T10:02:43.561Z] ---> a041b7cea517 [2023-04-25T10:02:43.561Z] Step 14/22 : COPY --from=builder /device-modbus-go/cmd / [2023-04-25T10:02:44.244Z] ---> ad99fd8d5823 [2023-04-25T10:02:44.244Z] Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / [2023-04-25T10:02:44.244Z] ---> 083f73d217ae [2023-04-25T10:02:44.244Z] Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / [2023-04-25T10:02:44.504Z] ---> fdaba583a6c6 [2023-04-25T10:02:44.504Z] Step 17/22 : EXPOSE 59901 [2023-04-25T10:02:44.504Z] ---> Running in de3ef4ef60f7 [2023-04-25T10:02:44.504Z] Removing intermediate container de3ef4ef60f7 [2023-04-25T10:02:44.504Z] ---> e275b0d194c9 [2023-04-25T10:02:44.504Z] Step 18/22 : ENTRYPOINT ["/device-modbus"] [2023-04-25T10:02:44.504Z] ---> Running in 91776f07931e [2023-04-25T10:02:44.504Z] Removing intermediate container 91776f07931e [2023-04-25T10:02:44.504Z] ---> c27096037dce [2023-04-25T10:02:44.504Z] Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-04-25T10:02:44.763Z] ---> Running in 0bd127db66ff [2023-04-25T10:02:44.763Z] Removing intermediate container 0bd127db66ff [2023-04-25T10:02:44.763Z] ---> 4ca1e64e1698 [2023-04-25T10:02:44.763Z] Step 20/22 : LABEL arch=amd64 [2023-04-25T10:02:44.763Z] ---> Running in bfdd7e230555 [2023-04-25T10:02:44.763Z] Removing intermediate container bfdd7e230555 [2023-04-25T10:02:44.763Z] ---> 984536a51e0f [2023-04-25T10:02:44.764Z] Step 21/22 : LABEL git_sha=0b5b13a3222edb60829193d348ef91291a756800 [2023-04-25T10:02:44.764Z] ---> Running in f0bac7dd442c [2023-04-25T10:02:45.022Z] Removing intermediate container f0bac7dd442c [2023-04-25T10:02:45.022Z] ---> 7708f21b6d50 [2023-04-25T10:02:45.022Z] Step 22/22 : LABEL version=0.0.0 [2023-04-25T10:02:45.022Z] ---> Running in 6ff640503560 [2023-04-25T10:02:45.022Z] Removing intermediate container 6ff640503560 [2023-04-25T10:02:45.022Z] ---> 2101a81d628c [2023-04-25T10:02:45.022Z] [Warning] One or more build-args [ARCH] were not consumed [2023-04-25T10:02:45.022Z] Successfully built 2101a81d628c [2023-04-25T10:02:45.022Z] 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-25T10:02:45.914Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-25T10:02:45.914Z] [2023-04-25T10:02:45.914Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-25T10:02:46.290Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-25T10:02:46.290Z] latest: Pulling from edgex-lftools-log-publisher [2023-04-25T10:02:46.290Z] 5eb5b503b376: Pulling fs layer [2023-04-25T10:02:46.290Z] 5c69ac0246d0: Pulling fs layer [2023-04-25T10:02:46.290Z] ec43610c2a17: Pulling fs layer [2023-04-25T10:02:46.290Z] 3a2ae6a8a46f: Pulling fs layer [2023-04-25T10:02:46.290Z] 3a2ae6a8a46f: Waiting [2023-04-25T10:02:46.290Z] 33b1e0a273af: Pulling fs layer [2023-04-25T10:02:46.290Z] 5d3b04190fa2: Pulling fs layer [2023-04-25T10:02:46.290Z] 2f39f015ded8: Pulling fs layer [2023-04-25T10:02:46.290Z] 5d3b04190fa2: Waiting [2023-04-25T10:02:46.290Z] 33b1e0a273af: Waiting [2023-04-25T10:02:46.290Z] 2f39f015ded8: Waiting [2023-04-25T10:02:46.290Z] 5c69ac0246d0: Verifying Checksum [2023-04-25T10:02:46.290Z] 5c69ac0246d0: Download complete [2023-04-25T10:02:46.290Z] 33b1e0a273af: Verifying Checksum [2023-04-25T10:02:46.290Z] 33b1e0a273af: Download complete [2023-04-25T10:02:46.290Z] 5d3b04190fa2: Verifying Checksum [2023-04-25T10:02:46.290Z] 5d3b04190fa2: Download complete [2023-04-25T10:02:46.290Z] ec43610c2a17: Verifying Checksum [2023-04-25T10:02:46.290Z] ec43610c2a17: Download complete [2023-04-25T10:02:46.549Z] 5eb5b503b376: Verifying Checksum [2023-04-25T10:02:46.549Z] 5eb5b503b376: Download complete [2023-04-25T10:02:47.114Z] 2f39f015ded8: Download complete [2023-04-25T10:02:47.679Z] 5eb5b503b376: Pull complete [2023-04-25T10:02:47.939Z] 5c69ac0246d0: Pull complete [2023-04-25T10:02:48.069Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-10803 in /w/workspace/xfoundry_device-modbus-go_PR-463 [Pipeline] { [Pipeline] ws [2023-04-25T10:02:48.129Z] Running in /w/workspace/device-modbus-go/1 [Pipeline] { [Pipeline] checkout [2023-04-25T10:02:48.199Z] ec43610c2a17: Pull complete [2023-04-25T10:02:48.213Z] Selected Git installation does not exist. Using Default [2023-04-25T10:02:48.213Z] The recommended git tool is: NONE [2023-04-25T10:02:48.463Z] 3a2ae6a8a46f: Pull complete [2023-04-25T10:02:48.463Z] 33b1e0a273af: Pull complete [2023-04-25T10:02:48.722Z] 5d3b04190fa2: Pull complete [2023-04-25T10:02:52.914Z] 2f39f015ded8: Pull complete [2023-04-25T10:02:52.915Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-04-25T10:02:52.915Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-25T10:02:52.915Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-25T10:02:53.148Z] prd-ubuntu20.04-docker-8c-8g-10802 does not seem to be running inside a container [2023-04-25T10:02:53.186Z] $ 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-463 -v /w/workspace/xfoundry_device-modbus-go_PR-463:/w/workspace/xfoundry_device-modbus-go_PR-463:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-463@tmp:/w/workspace/xfoundry_device-modbus-go_PR-463@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-25T10:02:53.533Z] using credential edgex-jenkins-ssh [2023-04-25T10:02:53.548Z] Cloning the remote Git repository [2023-04-25T10:02:53.590Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2023-04-25T10:02:53.692Z] > git init /w/workspace/device-modbus-go/1 # timeout=10 [2023-04-25T10:02:53.849Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2023-04-25T10:02:53.850Z] > git --version # timeout=10 [2023-04-25T10:02:53.869Z] > git --version # 'git version 2.25.1' [2023-04-25T10:02:53.872Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-04-25T10:02:54.011Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-04-25T10:02:56.574Z] $ docker top ea22d29e9ecd5b571b3ca7d35c10b50461f7f98edb3d62ba5bfccb122d0865e3 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-25T10:02:57.038Z] ---> job-cost.sh [2023-04-25T10:02:57.039Z] lf-activate-venv: SKIPPING [2023-04-25T10:02:57.039Z] INFO: No Stack... [2023-04-25T10:02:56.475Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2023-04-25T10:02:56.512Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-04-25T10:02:57.606Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-04-25T10:02:57.866Z] INFO: Archiving Costs [Pipeline] sh [2023-04-25T10:02:58.078Z] Merging remotes/origin/main commit c33ceb1bf79f75a5c87c27297619a12eadfcf214 into PR head commit 0b5b13a3222edb60829193d348ef91291a756800 [2023-04-25T10:02:58.193Z] + cat /w/workspace/xfoundry_device-modbus-go_PR-463/archives/cost.csv [2023-04-25T10:02:58.193Z] + cut -d, -f6 [Pipeline] lock [2023-04-25T10:02:58.236Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-463-1-stack-cost] [2023-04-25T10:02:58.241Z] Resource [jenkins-edgexfoundry-device-modbus-go-PR-463-1-stack-cost] did not exist. Created. [2023-04-25T10:02:58.241Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-463-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-04-25T10:02:58.386Z] Merge succeeded, producing 0b5b13a3222edb60829193d348ef91291a756800 [2023-04-25T10:02:58.386Z] Checking out Revision 0b5b13a3222edb60829193d348ef91291a756800 (PR-463) [2023-04-25T10:02:57.415Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2023-04-25T10:02:57.464Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2023-04-25T10:02:57.465Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-04-25T10:02:57.483Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/463/head:refs/remotes/origin/PR-463 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-04-25T10:02:58.091Z] > git config core.sparsecheckout # timeout=10 [2023-04-25T10:02:58.179Z] > git checkout -f 0b5b13a3222edb60829193d348ef91291a756800 # timeout=10 [2023-04-25T10:02:58.278Z] > git remote # timeout=10 [2023-04-25T10:02:58.296Z] > git config --get remote.origin.url # timeout=10 [2023-04-25T10:02:58.325Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-04-25T10:02:58.339Z] > git merge c33ceb1bf79f75a5c87c27297619a12eadfcf214 # timeout=10 [2023-04-25T10:02:58.366Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-04-25T10:02:58.392Z] > git config core.sparsecheckout # timeout=10 [2023-04-25T10:02:58.418Z] > git checkout -f 0b5b13a3222edb60829193d348ef91291a756800 # timeout=10 [2023-04-25T10:02:58.637Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-04-25T10:02:58.690Z] Stashed 1 file(s) [Pipeline] } [2023-04-25T10:02:58.717Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-463-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-04-25T10:02:58.797Z] $ docker stop --time=1 ea22d29e9ecd5b571b3ca7d35c10b50461f7f98edb3d62ba5bfccb122d0865e3 [2023-04-25T10:02:59.957Z] $ docker rm -f --volumes ea22d29e9ecd5b571b3ca7d35c10b50461f7f98edb3d62ba5bfccb122d0865e3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-04-25T10:03:01.889Z] Commit message: "build(snap): Upgrade snap base to core22, remove deprecated plug" [2023-04-25T10:03:01.936Z] > git --version # timeout=10 [2023-04-25T10:03:01.945Z] > git --version # 'git version 2.25.1' [2023-04-25T10:03:01.959Z] fatal: bad object 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-04-25T10:03:03.141Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-04-25T10:03:03.141Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-04-25T10:03:03.141Z] Dload Upload Total Spent Left Speed [2023-04-25T10:03:03.141Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 75005 0 --:--:-- --:--:-- --:--:-- 75449 [Pipeline] sh [2023-04-25T10:03:03.886Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-04-25T10:03:04.233Z] + sudo tee /etc/docker/daemon.new [2023-04-25T10:03:04.233Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-04-25T10:03:04.233Z] { [2023-04-25T10:03:04.233Z] "registry-mirrors": [ [2023-04-25T10:03:04.233Z] "https://nexus3.edgexfoundry.org:10001" [2023-04-25T10:03:04.233Z] ], [2023-04-25T10:03:04.233Z] "bip": "10.250.0.254/24", [2023-04-25T10:03:04.233Z] "hosts": [ [2023-04-25T10:03:04.233Z] "tcp://0.0.0.0:5555", [2023-04-25T10:03:04.233Z] "unix:///var/run/docker.sock" [2023-04-25T10:03:04.233Z] ], [2023-04-25T10:03:04.233Z] "mtu": 1458, [2023-04-25T10:03:04.233Z] "selinux-enabled": true, [2023-04-25T10:03:04.233Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-04-25T10:03:04.233Z] } [Pipeline] sh [2023-04-25T10:03:04.582Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-04-25T10:03:04.937Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-25T10:03:27.135Z] provisioning config files... [2023-04-25T10:03:27.170Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/1@tmp/config2397103830575186790tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-25T10:03:27.581Z] ---> docker-login.sh [2023-04-25T10:03:27.582Z] nexus3.edgexfoundry.org:10001 [2023-04-25T10:03:27.855Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-25T10:03:28.128Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-25T10:03:28.128Z] Configure a credential helper to remove this warning. See [2023-04-25T10:03:28.128Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-25T10:03:28.128Z] [2023-04-25T10:03:28.128Z] Login Succeeded [2023-04-25T10:03:28.128Z] nexus3.edgexfoundry.org:10002 [2023-04-25T10:03:28.399Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-25T10:03:28.399Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-25T10:03:28.399Z] Configure a credential helper to remove this warning. See [2023-04-25T10:03:28.399Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-25T10:03:28.399Z] [2023-04-25T10:03:28.399Z] Login Succeeded [2023-04-25T10:03:28.399Z] nexus3.edgexfoundry.org:10003 [2023-04-25T10:03:28.672Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-25T10:03:28.948Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-25T10:03:28.948Z] Configure a credential helper to remove this warning. See [2023-04-25T10:03:28.948Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-25T10:03:28.948Z] [2023-04-25T10:03:28.948Z] Login Succeeded [2023-04-25T10:03:28.948Z] nexus3.edgexfoundry.org:10004 [2023-04-25T10:03:29.219Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-25T10:03:29.219Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-25T10:03:29.219Z] Configure a credential helper to remove this warning. See [2023-04-25T10:03:29.219Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-25T10:03:29.219Z] [2023-04-25T10:03:29.219Z] Login Succeeded [2023-04-25T10:03:29.219Z] docker.io [2023-04-25T10:03:29.491Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-25T10:03:29.762Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-25T10:03:29.762Z] Configure a credential helper to remove this warning. See [2023-04-25T10:03:29.762Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-25T10:03:29.762Z] [2023-04-25T10:03:29.762Z] Login Succeeded [2023-04-25T10:03:29.762Z] ---> docker-login.sh ends [Pipeline] } [2023-04-25T10:03:29.794Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-04-25T10:03:30.213Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-25T10:03:30.251Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-25T10:03:30.292Z] ========================================================= [2023-04-25T10:03:30.292Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-04-25T10:03:30.292Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-25T10:03:30.811Z] + 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-25T10:03:31.081Z] Sending build context to Docker daemon 3.37MB [2023-04-25T10:03:31.081Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-04-25T10:03:31.081Z] Step 2/10 : FROM ${BASE} AS builder [2023-04-25T10:03:31.355Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-04-25T10:03:31.355Z] c41833b44d91: Pulling fs layer [2023-04-25T10:03:31.355Z] ed15518f5707: Pulling fs layer [2023-04-25T10:03:31.355Z] feae8fd75edb: Pulling fs layer [2023-04-25T10:03:31.355Z] 242c74f7c9fa: Pulling fs layer [2023-04-25T10:03:31.355Z] 3cdef696dda3: Pulling fs layer [2023-04-25T10:03:31.355Z] 2ced38df9373: Pulling fs layer [2023-04-25T10:03:31.355Z] 58f1dce35555: Pulling fs layer [2023-04-25T10:03:31.355Z] 242c74f7c9fa: Waiting [2023-04-25T10:03:31.355Z] 2ced38df9373: Waiting [2023-04-25T10:03:31.355Z] 58f1dce35555: Waiting [2023-04-25T10:03:31.355Z] 3cdef696dda3: Waiting [2023-04-25T10:03:31.355Z] ed15518f5707: Download complete [2023-04-25T10:03:31.355Z] 242c74f7c9fa: Verifying Checksum [2023-04-25T10:03:31.355Z] 242c74f7c9fa: Download complete [2023-04-25T10:03:31.355Z] 3cdef696dda3: Verifying Checksum [2023-04-25T10:03:31.355Z] 3cdef696dda3: Download complete [2023-04-25T10:03:31.355Z] c41833b44d91: Verifying Checksum [2023-04-25T10:03:31.355Z] c41833b44d91: Download complete [2023-04-25T10:03:32.353Z] c41833b44d91: Pull complete [2023-04-25T10:03:32.946Z] 58f1dce35555: Verifying Checksum [2023-04-25T10:03:32.946Z] 58f1dce35555: Download complete [2023-04-25T10:03:32.946Z] ed15518f5707: Pull complete [2023-04-25T10:03:33.920Z] 2ced38df9373: Verifying Checksum [2023-04-25T10:03:33.920Z] 2ced38df9373: Download complete [2023-04-25T10:03:33.920Z] feae8fd75edb: Verifying Checksum [2023-04-25T10:03:33.920Z] feae8fd75edb: Download complete [2023-04-25T10:03:46.276Z] feae8fd75edb: Pull complete [2023-04-25T10:03:46.276Z] 242c74f7c9fa: Pull complete [2023-04-25T10:03:46.276Z] 3cdef696dda3: Pull complete [2023-04-25T10:03:52.942Z] 2ced38df9373: Pull complete [2023-04-25T10:03:54.909Z] 58f1dce35555: Pull complete [2023-04-25T10:03:54.909Z] Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e [2023-04-25T10:03:54.909Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-04-25T10:03:54.909Z] ---> fadd8f120f05 [2023-04-25T10:03:54.909Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2023-04-25T10:03:56.861Z] ---> Running in 571f132a89bd [2023-04-25T10:03:56.861Z] Removing intermediate container 571f132a89bd [2023-04-25T10:03:56.861Z] ---> fa5deac344f5 [2023-04-25T10:03:56.861Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-25T10:03:56.861Z] ---> Running in 7090ccba06b8 [2023-04-25T10:03:57.130Z] Removing intermediate container 7090ccba06b8 [2023-04-25T10:03:57.130Z] ---> 24c552372059 [2023-04-25T10:03:57.130Z] Step 5/10 : RUN apk add --update --no-cache make git openssh [2023-04-25T10:03:57.130Z] ---> Running in 143a19b1d8c9 [2023-04-25T10:03:58.543Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-04-25T10:03:59.126Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-04-25T10:03:59.710Z] (1/8) Installing openssh-keygen (9.1_p1-r2) [2023-04-25T10:03:59.978Z] (2/8) Installing libedit (20221030.3.1-r0) [2023-04-25T10:03:59.979Z] (3/8) Installing openssh-client-common (9.1_p1-r2) [2023-04-25T10:03:59.979Z] (4/8) Installing openssh-client-default (9.1_p1-r2) [2023-04-25T10:03:59.979Z] (5/8) Installing openssh-sftp-server (9.1_p1-r2) [2023-04-25T10:04:00.253Z] (6/8) Installing openssh-server-common (9.1_p1-r2) [2023-04-25T10:04:00.253Z] (7/8) Installing openssh-server (9.1_p1-r2) [2023-04-25T10:04:00.253Z] (8/8) Installing openssh (9.1_p1-r2) [2023-04-25T10:04:00.253Z] Executing busybox-1.35.0-r29.trigger [2023-04-25T10:04:00.253Z] OK: 270 MiB in 61 packages [2023-04-25T10:04:01.669Z] Removing intermediate container 143a19b1d8c9 [2023-04-25T10:04:01.670Z] ---> 7a7a93c82231 [2023-04-25T10:04:01.670Z] Step 6/10 : WORKDIR /device-modbus-go [2023-04-25T10:04:01.670Z] ---> Running in c845dc6ac0b7 [2023-04-25T10:04:01.670Z] Removing intermediate container c845dc6ac0b7 [2023-04-25T10:04:01.670Z] ---> 35deb098b473 [2023-04-25T10:04:01.670Z] Step 7/10 : COPY go.mod vendor* ./ [2023-04-25T10:04:05.943Z] ---> f4253c817048 [2023-04-25T10:04:05.943Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-25T10:04:05.943Z] ---> Running in 1f1ea09ab5c2 [2023-04-25T10:05:13.812Z] Removing intermediate container 1f1ea09ab5c2 [2023-04-25T10:05:13.812Z] ---> 19add73bd625 [2023-04-25T10:05:13.812Z] Step 9/10 : COPY . . [2023-04-25T10:05:13.812Z] ---> ff2ac1ed3578 [2023-04-25T10:05:13.812Z] Step 10/10 : RUN ${MAKE} [2023-04-25T10:05:13.812Z] ---> Running in b353408e9f8f [2023-04-25T10:05:13.812Z] noop [2023-04-25T10:05:13.812Z] Removing intermediate container b353408e9f8f [2023-04-25T10:05:13.812Z] ---> 963f503aae19 [2023-04-25T10:05:13.812Z] Successfully built 963f503aae19 [2023-04-25T10:05:13.812Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-25T10:05:14.296Z] + docker inspect -f . ci-base-image-arm64 [2023-04-25T10:05:14.296Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-25T10:05:14.582Z] prd-ubuntu20.04-docker-arm64-4c-16g-10803 does not seem to be running inside a container [2023-04-25T10:05:14.653Z] $ 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-25T10:05:15.778Z] $ docker top 9598506410bdc0cf32785efb0d8b84a8c0ad15a572e41aec15bda304ab0a4eaf -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-25T10:05:16.628Z] + go version [2023-04-25T10:05:16.628Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-04-25T10:05:16.674Z] $ docker stop --time=1 9598506410bdc0cf32785efb0d8b84a8c0ad15a572e41aec15bda304ab0a4eaf [2023-04-25T10:05:18.258Z] $ docker rm -f --volumes 9598506410bdc0cf32785efb0d8b84a8c0ad15a572e41aec15bda304ab0a4eaf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-25T10:05:19.005Z] + docker inspect -f . ci-base-image-arm64 [2023-04-25T10:05:19.005Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-25T10:05:19.246Z] prd-ubuntu20.04-docker-arm64-4c-16g-10803 does not seem to be running inside a container [2023-04-25T10:05:19.321Z] $ 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-25T10:05:20.407Z] $ docker top 79170b368b86ab436a712898dde4b43f10823d44e9d20bf366d2f56500b4ccd9 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-25T10:05:20.926Z] + git config --global --add safe.directory /w/workspace/device-modbus-go/1 [Pipeline] fileExists [Pipeline] sh [2023-04-25T10:05:21.316Z] + make test [2023-04-25T10:05:21.316Z] go test ./... -coverprofile=coverage.out [2023-04-25T10:05:53.546Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2023-04-25T10:07:45.204Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2023-04-25T10:07:45.788Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.073s coverage: 47.4% of statements [2023-04-25T10:07:46.758Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-04-25T10:07:46.758Z] go vet ./... [2023-04-25T10:08:19.024Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-04-25T10:08:19.024Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-04-25T10:08:19.024Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-04-25T10:08:19.093Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-04-25T10:08:19.134Z] $ docker stop --time=1 79170b368b86ab436a712898dde4b43f10823d44e9d20bf366d2f56500b4ccd9 [2023-04-25T10:08:22.021Z] $ docker rm -f --volumes 79170b368b86ab436a712898dde4b43f10823d44e9d20bf366d2f56500b4ccd9 [Pipeline] // withDockerContainer [Pipeline] sh [2023-04-25T10:08:23.208Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-04-25T10:08:23.244Z] Warning: overwriting stash ‘coverage-report’ [2023-04-25T10:08:23.678Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-04-25T10:08:24.261Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-04-25T10:08:24.594Z] + ls -al . [2023-04-25T10:08:24.594Z] total 176 [2023-04-25T10:08:24.594Z] drwxrwxr-x 9 jenkins jenkins 4096 Apr 25 10:05 . [2023-04-25T10:08:24.594Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 25 10:02 .. [2023-04-25T10:08:24.594Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 25 10:02 .dockerignore [2023-04-25T10:08:24.594Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 25 10:02 .git [2023-04-25T10:08:24.594Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 25 10:02 .github [2023-04-25T10:08:24.594Z] -rw-rw-r-- 1 jenkins jenkins 331 Apr 25 10:02 .gitignore [2023-04-25T10:08:24.594Z] -rw-rw-r-- 1 jenkins jenkins 41 Apr 25 10:02 .golangci.yml [2023-04-25T10:08:24.594Z] -rw-rw-r-- 1 jenkins jenkins 10132 Apr 25 10:02 Attribution.txt [2023-04-25T10:08:24.594Z] -rw-rw-r-- 1 jenkins jenkins 11576 Apr 25 10:02 CHANGELOG.md [2023-04-25T10:08:24.594Z] -rw-rw-r-- 1 jenkins jenkins 1365 Apr 25 10:02 Dockerfile [2023-04-25T10:08:24.594Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 25 10:02 GOVERNANCE.md [2023-04-25T10:08:24.594Z] -rw-rw-r-- 1 jenkins jenkins 680 Apr 25 10:02 Jenkinsfile [2023-04-25T10:08:24.594Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 25 10:02 LICENSE [2023-04-25T10:08:24.594Z] -rw-rw-r-- 1 jenkins jenkins 1705 Apr 25 10:02 Makefile [2023-04-25T10:08:24.594Z] -rw-rw-r-- 1 jenkins jenkins 622 Apr 25 10:02 OWNERS.md [2023-04-25T10:08:24.594Z] -rw-rw-r-- 1 jenkins jenkins 4045 Apr 25 10:02 README.md [2023-04-25T10:08:24.594Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 25 10:00 VERSION [2023-04-25T10:08:24.594Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 25 10:02 bin [2023-04-25T10:08:24.594Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 25 10:02 cmd [2023-04-25T10:08:24.594Z] -rw-r--r-- 1 jenkins jenkins 24160 Apr 25 10:07 coverage.out [2023-04-25T10:08:24.594Z] -rw-rw-r-- 1 jenkins jenkins 3453 Apr 25 10:02 go.mod [2023-04-25T10:08:24.594Z] -rw-rw-r-- 1 jenkins jenkins 31785 Apr 25 10:02 go.sum [2023-04-25T10:08:24.594Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 25 10:02 internal [2023-04-25T10:08:24.594Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 25 10:02 simulator [2023-04-25T10:08:24.594Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 25 10:02 snap [2023-04-25T10:08:24.594Z] -rw-rw-r-- 1 jenkins jenkins 229 Apr 25 10:02 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-25T10:08:25.008Z] + 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=0b5b13a3222edb60829193d348ef91291a756800 --label arch=arm64 --label version=0.0.0 . [2023-04-25T10:08:25.278Z] Sending build context to Docker daemon 3.396MB [2023-04-25T10:08:25.278Z] Step 1/22 : ARG BASE=golang:1.20-alpine3.17 [2023-04-25T10:08:25.278Z] Step 2/22 : FROM ${BASE} AS builder [2023-04-25T10:08:25.278Z] ---> 963f503aae19 [2023-04-25T10:08:25.278Z] Step 3/22 : ARG ADD_BUILD_TAGS="" [2023-04-25T10:08:25.546Z] ---> Running in 5ac516b84e5a [2023-04-25T10:08:25.814Z] Removing intermediate container 5ac516b84e5a [2023-04-25T10:08:25.814Z] ---> dfbb530bd5d3 [2023-04-25T10:08:25.814Z] Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-25T10:08:25.814Z] ---> Running in 57993604358d [2023-04-25T10:08:26.090Z] Removing intermediate container 57993604358d [2023-04-25T10:08:26.090Z] ---> a5fea259d404 [2023-04-25T10:08:26.090Z] Step 5/22 : RUN apk add --update --no-cache make git openssh [2023-04-25T10:08:26.090Z] ---> Running in 5d4c0564bff3 [2023-04-25T10:08:27.059Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-04-25T10:08:27.645Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-04-25T10:08:29.061Z] OK: 270 MiB in 61 packages [2023-04-25T10:08:29.649Z] Removing intermediate container 5d4c0564bff3 [2023-04-25T10:08:29.649Z] ---> 6f3658abf908 [2023-04-25T10:08:29.649Z] Step 6/22 : WORKDIR /device-modbus-go [2023-04-25T10:08:29.649Z] ---> Running in 889ff8610580 [2023-04-25T10:08:29.916Z] Removing intermediate container 889ff8610580 [2023-04-25T10:08:29.916Z] ---> 7cd070803886 [2023-04-25T10:08:29.916Z] Step 7/22 : COPY go.mod vendor* ./ [2023-04-25T10:08:30.504Z] ---> 082349da5f0e [2023-04-25T10:08:30.504Z] Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-25T10:08:30.504Z] ---> Running in 716af7c5974c [2023-04-25T10:08:33.090Z] Removing intermediate container 716af7c5974c [2023-04-25T10:08:33.090Z] ---> 59ec463cfff9 [2023-04-25T10:08:33.090Z] Step 9/22 : COPY . . [2023-04-25T10:08:35.037Z] ---> d3b2c188e22a [2023-04-25T10:08:35.037Z] Step 10/22 : RUN ${MAKE} [2023-04-25T10:08:35.037Z] ---> Running in 1247ab5a88d8 [2023-04-25T10:08:36.002Z] 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-25T10:10:42.669Z] Removing intermediate container 1247ab5a88d8 [2023-04-25T10:10:42.669Z] ---> 00bd1d338cb7 [2023-04-25T10:10:42.669Z] Step 11/22 : FROM alpine:3.17 [2023-04-25T10:10:42.669Z] 3.17: Pulling from library/alpine [2023-04-25T10:10:42.669Z] c41833b44d91: Already exists [2023-04-25T10:10:42.669Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-04-25T10:10:42.669Z] Status: Downloaded newer image for alpine:3.17 [2023-04-25T10:10:42.669Z] ---> 51e60588ff2c [2023-04-25T10:10:42.669Z] Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2023-04-25T10:10:42.669Z] ---> Running in 12d6a18369ff [2023-04-25T10:10:42.669Z] Removing intermediate container 12d6a18369ff [2023-04-25T10:10:42.669Z] ---> 6d9fecda12f1 [2023-04-25T10:10:42.669Z] Step 13/22 : RUN apk add --update --no-cache dumb-init [2023-04-25T10:10:42.669Z] ---> Running in eb29e0f842d5 [2023-04-25T10:10:42.669Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-04-25T10:10:42.669Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-04-25T10:10:42.669Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-04-25T10:10:42.669Z] Executing busybox-1.35.0-r29.trigger [2023-04-25T10:10:42.669Z] OK: 8 MiB in 16 packages [2023-04-25T10:10:42.669Z] Removing intermediate container eb29e0f842d5 [2023-04-25T10:10:42.669Z] ---> 9fa48a98b601 [2023-04-25T10:10:42.669Z] Step 14/22 : COPY --from=builder /device-modbus-go/cmd / [2023-04-25T10:10:43.253Z] ---> 85c97e02e93d [2023-04-25T10:10:43.253Z] Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / [2023-04-25T10:10:43.837Z] ---> 7d8d1f6b8726 [2023-04-25T10:10:43.837Z] Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / [2023-04-25T10:10:44.107Z] ---> 285999c81397 [2023-04-25T10:10:44.107Z] Step 17/22 : EXPOSE 59901 [2023-04-25T10:10:44.384Z] ---> Running in 68109c85181c [2023-04-25T10:10:44.653Z] Removing intermediate container 68109c85181c [2023-04-25T10:10:44.654Z] ---> b8193e5fc31a [2023-04-25T10:10:44.654Z] Step 18/22 : ENTRYPOINT ["/device-modbus"] [2023-04-25T10:10:44.654Z] ---> Running in 8d5d9b1fae1b [2023-04-25T10:10:44.923Z] Removing intermediate container 8d5d9b1fae1b [2023-04-25T10:10:44.923Z] ---> e13cd69c6798 [2023-04-25T10:10:44.923Z] Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-04-25T10:10:44.923Z] ---> Running in a74fbe78ebf1 [2023-04-25T10:10:45.191Z] Removing intermediate container a74fbe78ebf1 [2023-04-25T10:10:45.191Z] ---> 2a1745977b59 [2023-04-25T10:10:45.191Z] Step 20/22 : LABEL arch=arm64 [2023-04-25T10:10:45.460Z] ---> Running in dc0aacf487e6 [2023-04-25T10:10:45.729Z] Removing intermediate container dc0aacf487e6 [2023-04-25T10:10:45.729Z] ---> d9b774732528 [2023-04-25T10:10:45.729Z] Step 21/22 : LABEL git_sha=0b5b13a3222edb60829193d348ef91291a756800 [2023-04-25T10:10:45.729Z] ---> Running in ee011ac5555d [2023-04-25T10:10:45.999Z] Removing intermediate container ee011ac5555d [2023-04-25T10:10:45.999Z] ---> ad28f47c2d24 [2023-04-25T10:10:45.999Z] Step 22/22 : LABEL version=0.0.0 [2023-04-25T10:10:45.999Z] ---> Running in 52b3316f8f51 [2023-04-25T10:10:46.267Z] Removing intermediate container 52b3316f8f51 [2023-04-25T10:10:46.267Z] ---> b7bca029eb04 [2023-04-25T10:10:46.267Z] [Warning] One or more build-args [ARCH] were not consumed [2023-04-25T10:10:46.267Z] Successfully built b7bca029eb04 [2023-04-25T10:10:46.267Z] 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-25T10:10:47.040Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-25T10:10:47.040Z] [2023-04-25T10:10:47.040Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-25T10:10:47.444Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-25T10:10:48.407Z] arm64: Pulling from edgex-lftools-log-publisher [2023-04-25T10:10:48.407Z] 8998bd30e6a1: Pulling fs layer [2023-04-25T10:10:48.407Z] 04944245beec: Pulling fs layer [2023-04-25T10:10:48.407Z] 699f458cf7ca: Pulling fs layer [2023-04-25T10:10:48.407Z] 765212b225bb: Pulling fs layer [2023-04-25T10:10:48.407Z] f23df028b6ca: Pulling fs layer [2023-04-25T10:10:48.407Z] d65c8cfc05b1: Pulling fs layer [2023-04-25T10:10:48.407Z] 2437ff75d9bd: Pulling fs layer [2023-04-25T10:10:48.407Z] 765212b225bb: Waiting [2023-04-25T10:10:48.407Z] f23df028b6ca: Waiting [2023-04-25T10:10:48.407Z] d65c8cfc05b1: Waiting [2023-04-25T10:10:48.407Z] 2437ff75d9bd: Waiting [2023-04-25T10:10:48.407Z] 04944245beec: Verifying Checksum [2023-04-25T10:10:48.407Z] 04944245beec: Download complete [2023-04-25T10:10:48.407Z] 765212b225bb: Download complete [2023-04-25T10:10:48.677Z] f23df028b6ca: Verifying Checksum [2023-04-25T10:10:48.677Z] f23df028b6ca: Download complete [2023-04-25T10:10:48.677Z] d65c8cfc05b1: Download complete [2023-04-25T10:10:48.677Z] 699f458cf7ca: Verifying Checksum [2023-04-25T10:10:48.677Z] 699f458cf7ca: Download complete [2023-04-25T10:10:49.260Z] 8998bd30e6a1: Verifying Checksum [2023-04-25T10:10:49.260Z] 8998bd30e6a1: Download complete [2023-04-25T10:10:51.308Z] 2437ff75d9bd: Verifying Checksum [2023-04-25T10:10:51.308Z] 2437ff75d9bd: Download complete [2023-04-25T10:10:53.302Z] 8998bd30e6a1: Pull complete [2023-04-25T10:10:53.576Z] 04944245beec: Pull complete [2023-04-25T10:10:54.999Z] 699f458cf7ca: Pull complete [2023-04-25T10:10:55.265Z] 765212b225bb: Pull complete [2023-04-25T10:10:55.847Z] f23df028b6ca: Pull complete [2023-04-25T10:10:56.115Z] d65c8cfc05b1: Pull complete [2023-04-25T10:11:11.096Z] 2437ff75d9bd: Pull complete [2023-04-25T10:11:11.096Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-04-25T10:11:11.096Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-25T10:11:11.096Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-25T10:11:11.409Z] prd-ubuntu20.04-docker-arm64-4c-16g-10803 does not seem to be running inside a container [2023-04-25T10:11:11.483Z] $ 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-25T10:11:13.803Z] $ docker top 18d5453cc4c98f54d68679b6003d4724e197200c606e018d7977b7dbcbce6aca -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-25T10:11:14.370Z] ---> job-cost.sh [2023-04-25T10:11:14.635Z] lf-activate-venv: SKIPPING [2023-04-25T10:11:14.635Z] INFO: No Stack... [2023-04-25T10:11:15.214Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-04-25T10:11:15.793Z] INFO: Archiving Costs [Pipeline] sh [2023-04-25T10:11:16.218Z] + cat /w/workspace/device-modbus-go/1/archives/cost.csv [2023-04-25T10:11:16.219Z] + cut -d, -f6 [Pipeline] lock [2023-04-25T10:11:16.569Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-463-1-stack-cost] [2023-04-25T10:11:16.574Z] Resource [jenkins-edgexfoundry-device-modbus-go-PR-463-1-stack-cost] did not exist. Created. [2023-04-25T10:11:16.574Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-463-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-04-25T10:11:16.994Z] /w/workspace/device-modbus-go/1@tmp/durable-4d3befd2/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-04-25T10:11:17.354Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-04-25T10:11:17.391Z] Warning: overwriting stash ‘stack-cost’ [2023-04-25T10:11:17.437Z] Stashed 1 file(s) [Pipeline] } [2023-04-25T10:11:17.452Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-463-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-04-25T10:11:17.554Z] $ docker stop --time=1 18d5453cc4c98f54d68679b6003d4724e197200c606e018d7977b7dbcbce6aca [2023-04-25T10:11:19.057Z] $ docker rm -f --volumes 18d5453cc4c98f54d68679b6003d4724e197200c606e018d7977b7dbcbce6aca [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-25T10:11:20.037Z] provisioning config files... [2023-04-25T10:11:20.047Z] copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-463@tmp/config9723096676594005267tmp [Pipeline] { [Pipeline] sh [2023-04-25T10:11:20.379Z] + set +x [2023-04-25T10:11:20.379Z] + curl -s https://codecov.io/bash [2023-04-25T10:11:20.379Z] + bash -s -- [2023-04-25T10:11:20.379Z] [2023-04-25T10:11:20.379Z] _____ _ [2023-04-25T10:11:20.379Z] / ____| | | [2023-04-25T10:11:20.379Z] | | ___ __| | ___ ___ _____ __ [2023-04-25T10:11:20.379Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-04-25T10:11:20.379Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-04-25T10:11:20.379Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-04-25T10:11:20.379Z] Bash-1.0.6 [2023-04-25T10:11:20.379Z] [2023-04-25T10:11:20.379Z] [2023-04-25T10:11:20.379Z] ==> git version 2.25.1 found [2023-04-25T10:11:20.379Z] ==> 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-25T10:11:20.379Z] Release-Date: 2020-01-08 [2023-04-25T10:11:20.379Z] 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-25T10:11:20.379Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-04-25T10:11:20.379Z] ==> Jenkins CI detected. [2023-04-25T10:11:20.379Z] current dir:  /w/workspace/xfoundry_device-modbus-go_PR-463 [2023-04-25T10:11:20.379Z] project root: . [2023-04-25T10:11:20.379Z] --> token set from env [2023-04-25T10:11:20.379Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-04-25T10:11:20.379Z] ==> Running gcov in . (disable via -X gcov) [2023-04-25T10:11:20.379Z] ==> Python coveragepy not found [2023-04-25T10:11:20.379Z] ==> Searching for coverage reports in: [2023-04-25T10:11:20.379Z] + . [2023-04-25T10:11:20.642Z] -> Found 1 reports [2023-04-25T10:11:20.642Z] ==> Detecting git/mercurial file structure [2023-04-25T10:11:20.642Z] ==> Reading reports [2023-04-25T10:11:20.642Z] + ./coverage.out bytes=24160 [2023-04-25T10:11:20.642Z] ==> Appending adjustments [2023-04-25T10:11:20.642Z] https://docs.codecov.io/docs/fixing-reports [2023-04-25T10:11:20.642Z] + Found adjustments [2023-04-25T10:11:20.642Z] ==> Gzipping contents [2023-04-25T10:11:20.642Z] 4.0K /tmp/codecov.fjcAaY.gz [2023-04-25T10:11:20.642Z] ==> Uploading reports [2023-04-25T10:11:20.642Z] url: https://codecov.io [2023-04-25T10:11:20.642Z] query: branch=PR-463&commit=0b5b13a3222edb60829193d348ef91291a756800&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-463%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=463&job=&cmd_args= [2023-04-25T10:11:20.642Z] -> Pinging Codecov [2023-04-25T10:11:20.642Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3a8d40b1-de00-4649-bfd4-bdc8ed99ae89&branch=PR-463&commit=0b5b13a3222edb60829193d348ef91291a756800&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-463%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=463&job=&cmd_args= [2023-04-25T10:11:20.904Z] -> Uploading to [2023-04-25T10:11:20.904Z] https://storage.googleapis.com/codecov/v4/raw/2023-04-25/55DBCA73C666E3227836607328DD7E49/0b5b13a3222edb60829193d348ef91291a756800/bbf7184c-93e4-4b20-9fb5-d5a2ebdc397f.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230425%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230425T101120Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=b572e8c98317e904efec01033fcda4261d82ff29ba5929f426927550b68aa722 [2023-04-25T10:11:20.904Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-04-25T10:11:20.904Z] Dload Upload Total Spent Left Speed [2023-04-25T10:11:21.172Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3924 0 0 100 3924 0 15951 --:--:-- --:--:-- --:--:-- 15951 [2023-04-25T10:11:21.172Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/0b5b13a3222edb60829193d348ef91291a756800 [Pipeline] } [2023-04-25T10:11:21.201Z] 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-25T10:11:23.026Z] + [ -d /w/workspace/xfoundry_device-modbus-go_PR-463/archives ] [2023-04-25T10:11:23.026Z] + ls -al /w/workspace/xfoundry_device-modbus-go_PR-463/archives [2023-04-25T10:11:23.027Z] total 16 [2023-04-25T10:11:23.027Z] drwxr-xr-x 3 root root 4096 Apr 25 10:02 . [2023-04-25T10:11:23.027Z] drwxrwxr-x 11 jenkins jenkins 4096 Apr 25 10:02 .. [2023-04-25T10:11:23.027Z] drwxr-xr-x 2 root root 4096 Apr 25 10:02 cost [2023-04-25T10:11:23.027Z] -rw-r--r-- 1 root root 88 Apr 25 10:02 cost.csv [2023-04-25T10:11:23.027Z] + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-463/archives [2023-04-25T10:11:23.027Z] + ls -al /w/workspace/xfoundry_device-modbus-go_PR-463/archives [2023-04-25T10:11:23.027Z] total 16 [2023-04-25T10:11:23.027Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 25 10:02 . [2023-04-25T10:11:23.027Z] drwxrwxr-x 11 jenkins jenkins 4096 Apr 25 10:02 .. [2023-04-25T10:11:23.027Z] drwxr-xr-x 2 jenkins jenkins 4096 Apr 25 10:02 cost [2023-04-25T10:11:23.027Z] -rw-r--r-- 1 jenkins jenkins 88 Apr 25 10:02 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-04-25T10:11:23.357Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-25T10:11:24.241Z] ---> package-listing.sh [2023-04-25T10:11:24.241Z] ++ facter osfamily [2023-04-25T10:11:24.241Z] ++ tr '[:upper:]' '[:lower:]' [2023-04-25T10:11:24.500Z] + OS_FAMILY=debian [2023-04-25T10:11:24.500Z] + workspace=/w/workspace/xfoundry_device-modbus-go_PR-463 [2023-04-25T10:11:24.500Z] + START_PACKAGES=/tmp/packages_start.txt [2023-04-25T10:11:24.500Z] + END_PACKAGES=/tmp/packages_end.txt [2023-04-25T10:11:24.500Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-04-25T10:11:24.500Z] + PACKAGES=/tmp/packages_start.txt [2023-04-25T10:11:24.500Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-463 ']' [2023-04-25T10:11:24.500Z] + PACKAGES=/tmp/packages_end.txt [2023-04-25T10:11:24.500Z] + case "${OS_FAMILY}" in [2023-04-25T10:11:24.500Z] + dpkg -l [2023-04-25T10:11:24.500Z] + grep '^ii' [2023-04-25T10:11:24.500Z] + '[' -f /tmp/packages_start.txt ']' [2023-04-25T10:11:24.500Z] + '[' -f /tmp/packages_end.txt ']' [2023-04-25T10:11:24.500Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-04-25T10:11:24.500Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-463 ']' [2023-04-25T10:11:24.500Z] + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-463/archives/ [2023-04-25T10:11:24.500Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-463/archives/ [Pipeline] echo [2023-04-25T10:11:24.532Z] 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-463/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-04-25T10:11:24.825Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-25T10:11:25.457Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-25T10:11:25.458Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-25T10:11:25.616Z] prd-ubuntu20.04-docker-8c-8g-10802 does not seem to be running inside a container [2023-04-25T10:11:25.660Z] $ 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-463/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-463 -v /w/workspace/xfoundry_device-modbus-go_PR-463:/w/workspace/xfoundry_device-modbus-go_PR-463:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-463@tmp:/w/workspace/xfoundry_device-modbus-go_PR-463@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-04-25T10:11:25.841Z] $ docker top 7f7bbe56573d15501eee9a218e1d8a373ab0508d559a2ab44dedd0d031601f29 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-25T10:11:26.219Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-04-25T10:11:26.529Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-04-25T10:11:26.845Z] + ls /var/log/sa-host [2023-04-25T10:11:26.845Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-25T10:11:27.082Z] provisioning config files... [2023-04-25T10:11:27.093Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-463@tmp/config6586245133744000939tmp [Pipeline] { [Pipeline] echo [2023-04-25T10:11:27.137Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-25T10:11:27.450Z] ---> create-netrc.sh [Pipeline] } [2023-04-25T10:11:27.480Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-04-25T10:11:27.873Z] ---> python-tools-install.sh [Pipeline] echo [2023-04-25T10:11:27.904Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-25T10:11:28.216Z] ---> sudo-logs.sh [2023-04-25T10:11:28.216Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-04-25T10:11:28.310Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-25T10:11:28.621Z] ---> job-cost.sh [2023-04-25T10:11:28.621Z] lf-activate-venv: SKIPPING [2023-04-25T10:11:28.621Z] DEBUG: total: 0.2199999988079071 [2023-04-25T10:11:28.621Z] INFO: Retrieving Stack Cost... [2023-04-25T10:11:29.188Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-04-25T10:11:29.447Z] INFO: Archiving Costs [Pipeline] echo [2023-04-25T10:11:29.487Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-25T10:11:29.796Z] ---> logs-deploy.sh [2023-04-25T10:11:29.796Z] lf-activate-venv: SKIPPING [2023-04-25T10:11:29.796Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-463/1 [2023-04-25T10:11:29.796Z] INFO: archiving workspace using pattern(s): [2023-04-25T10:11:30.732Z] Archives upload complete. [2023-04-25T10:11:30.732Z] INFO: archiving logs to Nexus