Pull request #496 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from d74e536f6a797e5c7976cf71ba04f8f0a645cff9+f93217a48f66f916d77da41a80c6f59472f374e0 (49190140bc114f6599687d741f1319b578a0db75) 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-ssh8942212169234399382.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision a0327f913308fcf13875ae7a2d6e6099471c5ff1 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-ssh12712904767333168224.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 a0327f913308fcf13875ae7a2d6e6099471c5ff1 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-496/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-496/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8829766101785955727.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-496/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17809140584160833349.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision a0327f913308fcf13875ae7a2d6e6099471c5ff1 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f a0327f913308fcf13875ae7a2d6e6099471c5ff1 # timeout=10 Commit message: "fix: dry-run use case (#441)" > 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-ssh6076985686120641987.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-496/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-496/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh1566381285967545549.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 a0327f913308fcf13875ae7a2d6e6099471c5ff1 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-4982 in /w/workspace/xfoundry_device-modbus-go_PR-496 [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-496 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit f93217a48f66f916d77da41a80c6f59472f374e0 into PR head commit d74e536f6a797e5c7976cf71ba04f8f0a645cff9 Merge succeeded, producing d74e536f6a797e5c7976cf71ba04f8f0a645cff9 Checking out Revision d74e536f6a797e5c7976cf71ba04f8f0a645cff9 (PR-496) > 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/496/head:refs/remotes/origin/PR-496 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d74e536f6a797e5c7976cf71ba04f8f0a645cff9 # 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 f93217a48f66f916d77da41a80c6f59472f374e0 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d74e536f6a797e5c7976cf71ba04f8f0a645cff9 # timeout=10 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object a0327f913308fcf13875ae7a2d6e6099471c5ff1 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-08-31T05:12:40.026Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-08-31T05:12:40.195Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-08-31T05:12:40.293Z] ========================================================= [2023-08-31T05:12:40.293Z] EdgeX Global Pipelines Version Info [2023-08-31T05:12:40.293Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-08-31T05:12:41.049Z] ------------------- [2023-08-31T05:12:41.049Z] stable info: [2023-08-31T05:12:41.049Z] ------------------- [2023-08-31T05:12:41.049Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-08-31T05:12:41.049Z] Commit SHA: a0327f913308fcf13875ae7a2d6e6099471c5ff1 [2023-08-31T05:12:41.049Z] Message: update stable to v1.0.253 [2023-08-31T05:12:41.629Z] ------------------- [2023-08-31T05:12:41.629Z] experimental info: [2023-08-31T05:12:41.629Z] ------------------- [2023-08-31T05:12:41.629Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-08-31T05:12:41.629Z] Commit SHA: a0327f913308fcf13875ae7a2d6e6099471c5ff1 [2023-08-31T05:12:41.629Z] Message: update experimental to v1.0.253 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-08-31T05:12:41.913Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo [2023-08-31T05:12:41.959Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo [2023-08-31T05:12:42.001Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-08-31T05:12:42.041Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-08-31T05:12:42.077Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-08-31T05:12:42.113Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-08-31T05:12:42.150Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-08-31T05:12:42.185Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-08-31T05:12:42.221Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-08-31T05:12:42.254Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-08-31T05:12:42.293Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-08-31T05:12:42.331Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo [2023-08-31T05:12:42.368Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-08-31T05:12:42.402Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-08-31T05:12:42.436Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-08-31T05:12:42.471Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-08-31T05:12:42.506Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-08-31T05:12:42.542Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-08-31T05:12:42.577Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-08-31T05:12:42.613Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-08-31T05:12:42.652Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-08-31T05:12:42.692Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-08-31T05:12:42.738Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-08-31T05:12:42.777Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-08-31T05:12:42.821Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-08-31T05:12:42.860Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-08-31T05:12:42.909Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-08-31T05:12:42.951Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-496 [Pipeline] echo [2023-08-31T05:12:42.997Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-496 [Pipeline] echo [2023-08-31T05:12:43.037Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-496 [Pipeline] echo [2023-08-31T05:12:43.080Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d74e536f6a797e5c7976cf71ba04f8f0a645cff9 [Pipeline] echo [2023-08-31T05:12:43.120Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d74e536 [Pipeline] echo [2023-08-31T05:12:43.162Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-08-31T05:12:43.283Z] provisioning config files... [2023-08-31T05:12:43.296Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-496@tmp/config5952316013251753872tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-31T05:12:43.647Z] ---> docker-login.sh [2023-08-31T05:12:43.647Z] nexus3.edgexfoundry.org:10001 [2023-08-31T05:12:43.907Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-31T05:12:43.907Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-31T05:12:43.907Z] Configure a credential helper to remove this warning. See [2023-08-31T05:12:43.907Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-31T05:12:43.907Z] [2023-08-31T05:12:43.907Z] Login Succeeded [2023-08-31T05:12:43.907Z] nexus3.edgexfoundry.org:10002 [2023-08-31T05:12:44.168Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-31T05:12:44.168Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-31T05:12:44.168Z] Configure a credential helper to remove this warning. See [2023-08-31T05:12:44.168Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-31T05:12:44.168Z] [2023-08-31T05:12:44.168Z] Login Succeeded [2023-08-31T05:12:44.168Z] nexus3.edgexfoundry.org:10003 [2023-08-31T05:12:44.168Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-31T05:12:44.168Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-31T05:12:44.168Z] Configure a credential helper to remove this warning. See [2023-08-31T05:12:44.168Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-31T05:12:44.168Z] [2023-08-31T05:12:44.168Z] Login Succeeded [2023-08-31T05:12:44.168Z] nexus3.edgexfoundry.org:10004 [2023-08-31T05:12:44.428Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-31T05:12:44.428Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-31T05:12:44.428Z] Configure a credential helper to remove this warning. See [2023-08-31T05:12:44.428Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-31T05:12:44.428Z] [2023-08-31T05:12:44.428Z] Login Succeeded [2023-08-31T05:12:44.428Z] docker.io [2023-08-31T05:12:44.428Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-31T05:12:44.688Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-31T05:12:44.688Z] Configure a credential helper to remove this warning. See [2023-08-31T05:12:44.688Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-31T05:12:44.688Z] [2023-08-31T05:12:44.688Z] Login Succeeded [2023-08-31T05:12:44.688Z] ---> docker-login.sh ends [Pipeline] } [2023-08-31T05:12:44.716Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-08-31T05:12:45.334Z] + git rev-list -1 --merges d74e536f6a797e5c7976cf71ba04f8f0a645cff9~1..d74e536f6a797e5c7976cf71ba04f8f0a645cff9 [Pipeline] echo [2023-08-31T05:12:45.391Z] -----------> git rev-list -1 --merges d74e536f6a797e5c7976cf71ba04f8f0a645cff9~1..d74e536f6a797e5c7976cf71ba04f8f0a645cff9 d74e536f6a797e5c7976cf71ba04f8f0a645cff9 [false] [Pipeline] sh [2023-08-31T05:12:45.701Z] + git log --format=format:%s -1 d74e536f6a797e5c7976cf71ba04f8f0a645cff9 [Pipeline] echo [2023-08-31T05:12:45.736Z] ========================================================= [2023-08-31T05:12:45.736Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-08-31T05:12:45.736Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-08-31T05:12:46.161Z] + git log --format=format:%s -1 d74e536f6a797e5c7976cf71ba04f8f0a645cff9 [Pipeline] echo [2023-08-31T05:12:46.195Z] [semverPrep] GIT_COMMIT: d74e536f6a797e5c7976cf71ba04f8f0a645cff9, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo [2023-08-31T05:12:46.224Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-08-31T05:12:46.638Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-08-31T05:12:46.639Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-08-31T05:12:46.639Z] + [ -e /tmp/ssh_known_hosts ] [2023-08-31T05:12:46.639Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-08-31T05:12:46.639Z] + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-08-31T05:12:46.639Z] sudo tee -a /etc/ssh/ssh_known_hosts [2023-08-31T05:12:46.639Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-31T05:12:47.147Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-31T05:12:47.148Z] [2023-08-31T05:12:47.148Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-31T05:12:47.535Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-31T05:12:47.535Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-08-31T05:12:47.535Z] b85a868b505f: Pulling fs layer [2023-08-31T05:12:47.535Z] e2be974225ed: Pulling fs layer [2023-08-31T05:12:47.535Z] 339a4e72a1f5: Pulling fs layer [2023-08-31T05:12:47.535Z] 988bab9f4d93: Pulling fs layer [2023-08-31T05:12:47.535Z] 1469e6f7b9e6: Pulling fs layer [2023-08-31T05:12:47.535Z] eaf3925da568: Pulling fs layer [2023-08-31T05:12:47.535Z] bab4dde63d76: Pulling fs layer [2023-08-31T05:12:47.535Z] bde34c3a00c8: Pulling fs layer [2023-08-31T05:12:47.535Z] b352a97aabf1: Pulling fs layer [2023-08-31T05:12:47.535Z] 4872d77fe225: Pulling fs layer [2023-08-31T05:12:47.535Z] 5851b861e8e6: Pulling fs layer [2023-08-31T05:12:47.535Z] 988bab9f4d93: Waiting [2023-08-31T05:12:47.535Z] 1469e6f7b9e6: Waiting [2023-08-31T05:12:47.535Z] eaf3925da568: Waiting [2023-08-31T05:12:47.535Z] bab4dde63d76: Waiting [2023-08-31T05:12:47.535Z] b352a97aabf1: Waiting [2023-08-31T05:12:47.535Z] 4872d77fe225: Waiting [2023-08-31T05:12:47.535Z] 5851b861e8e6: Waiting [2023-08-31T05:12:47.535Z] e2be974225ed: Verifying Checksum [2023-08-31T05:12:47.535Z] e2be974225ed: Download complete [2023-08-31T05:12:47.535Z] 988bab9f4d93: Verifying Checksum [2023-08-31T05:12:47.535Z] 988bab9f4d93: Download complete [2023-08-31T05:12:47.535Z] 1469e6f7b9e6: Verifying Checksum [2023-08-31T05:12:47.535Z] 1469e6f7b9e6: Download complete [2023-08-31T05:12:47.535Z] 339a4e72a1f5: Verifying Checksum [2023-08-31T05:12:47.535Z] 339a4e72a1f5: Download complete [2023-08-31T05:12:47.800Z] eaf3925da568: Download complete [2023-08-31T05:12:47.800Z] bde34c3a00c8: Verifying Checksum [2023-08-31T05:12:47.800Z] bde34c3a00c8: Download complete [2023-08-31T05:12:47.800Z] b352a97aabf1: Download complete [2023-08-31T05:12:47.800Z] 4872d77fe225: Verifying Checksum [2023-08-31T05:12:47.800Z] 4872d77fe225: Download complete [2023-08-31T05:12:47.800Z] 5851b861e8e6: Verifying Checksum [2023-08-31T05:12:47.800Z] 5851b861e8e6: Download complete [2023-08-31T05:12:47.800Z] b85a868b505f: Verifying Checksum [2023-08-31T05:12:47.800Z] b85a868b505f: Download complete [2023-08-31T05:12:48.059Z] bab4dde63d76: Verifying Checksum [2023-08-31T05:12:48.059Z] bab4dde63d76: Download complete [2023-08-31T05:12:48.996Z] b85a868b505f: Pull complete [2023-08-31T05:12:49.254Z] e2be974225ed: Pull complete [2023-08-31T05:12:49.515Z] 339a4e72a1f5: Pull complete [2023-08-31T05:12:49.776Z] 988bab9f4d93: Pull complete [2023-08-31T05:12:50.036Z] 1469e6f7b9e6: Pull complete [2023-08-31T05:12:50.036Z] eaf3925da568: Pull complete [2023-08-31T05:12:51.940Z] bab4dde63d76: Pull complete [2023-08-31T05:12:51.940Z] bde34c3a00c8: Pull complete [2023-08-31T05:12:51.940Z] b352a97aabf1: Pull complete [2023-08-31T05:12:51.940Z] 4872d77fe225: Pull complete [2023-08-31T05:12:51.940Z] 5851b861e8e6: Pull complete [2023-08-31T05:12:51.940Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-08-31T05:12:51.940Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-31T05:12:51.940Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-31T05:12:52.171Z] prd-ubuntu20.04-docker-8c-8g-4982 does not seem to be running inside a container [2023-08-31T05:12:52.208Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-496 -v /w/workspace/xfoundry_device-modbus-go_PR-496:/w/workspace/xfoundry_device-modbus-go_PR-496:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-496@tmp:/w/workspace/xfoundry_device-modbus-go_PR-496@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-08-31T05:12:55.110Z] $ docker top 27f6ecc13dd9a5538248ea927586e928854586a05b8d29d071e8c9baa8092982 -eo pid,comm [2023-08-31T05:12:55.167Z] 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-08-31T05:12:55.167Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-08-31T05:12:55.282Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-08-31T05:12:55.282Z] [ssh-agent] Looking for ssh-agent implementation... [2023-08-31T05:12:55.394Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-08-31T05:12:55.396Z] $ docker exec 27f6ecc13dd9a5538248ea927586e928854586a05b8d29d071e8c9baa8092982 ssh-agent [2023-08-31T05:12:55.501Z] SSH_AUTH_SOCK=/tmp/ssh-wCVnKZ0UcdPG/agent.34 [2023-08-31T05:12:55.501Z] SSH_AGENT_PID=40 [2023-08-31T05:12:55.508Z] Running ssh-add (command line suppressed) [2023-08-31T05:12:55.611Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-496@tmp/private_key_14705747467670007042.key (/w/workspace/xfoundry_device-modbus-go_PR-496@tmp/private_key_14705747467670007042.key) [2023-08-31T05:12:55.630Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-08-31T05:12:55.959Z] + git tag --points-at HEAD [Pipeline] } [2023-08-31T05:12:55.980Z] $ docker exec --env ******** --env ******** 27f6ecc13dd9a5538248ea927586e928854586a05b8d29d071e8c9baa8092982 ssh-agent -k [2023-08-31T05:12:56.074Z] unset SSH_AUTH_SOCK; [2023-08-31T05:12:56.075Z] unset SSH_AGENT_PID; [2023-08-31T05:12:56.075Z] echo Agent pid 40 killed; [2023-08-31T05:12:56.084Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-08-31T05:12:56.161Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-08-31T05:12:56.161Z] [ssh-agent] Looking for ssh-agent implementation... [2023-08-31T05:12:56.268Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-08-31T05:12:56.269Z] $ docker exec 27f6ecc13dd9a5538248ea927586e928854586a05b8d29d071e8c9baa8092982 ssh-agent [2023-08-31T05:12:56.379Z] SSH_AUTH_SOCK=/tmp/ssh-8lKtmpEskCEb/agent.72 [2023-08-31T05:12:56.379Z] SSH_AGENT_PID=78 [2023-08-31T05:12:56.384Z] Running ssh-add (command line suppressed) [2023-08-31T05:12:56.487Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-496@tmp/private_key_11891953796958654086.key (/w/workspace/xfoundry_device-modbus-go_PR-496@tmp/private_key_11891953796958654086.key) [2023-08-31T05:12:56.502Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-08-31T05:12:56.827Z] + git semver init [2023-08-31T05:12:57.086Z] 2023-08-31 05:12:57,015 [run_init] DEBUG init version:0.0.0 force:False [2023-08-31T05:12:57.086Z] 2023-08-31 05:12:57,016 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-modbus-go_PR-496/.semver [2023-08-31T05:12:57.086Z] 2023-08-31 05:12:57,016 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/xfoundry_device-modbus-go_PR-496/.semver [2023-08-31T05:12:57.086Z] 2023-08-31 05:12:57,017 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/xfoundry_device-modbus-go_PR-496/.semver'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-496, universal_newlines=False, shell=None, istream=None) [2023-08-31T05:12:58.036Z] 2023-08-31 05:12:57,824 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-modbus-go_PR-496/.git/info/exclude [2023-08-31T05:12:58.036Z] 2023-08-31 05:12:57,825 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-modbus-go_PR-496/.semver/PR-496 with force:False [2023-08-31T05:12:58.036Z] 2023-08-31 05:12:57,825 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-modbus-go_PR-496/.semver/PR-496 [2023-08-31T05:12:58.036Z] 2023-08-31 05:12:57,829 [execute] INFO git cat-file --batch-check [2023-08-31T05:12:58.036Z] 2023-08-31 05:12:57,829 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-496/.semver, universal_newlines=False, shell=None, istream=) [2023-08-31T05:12:58.036Z] 2023-08-31 05:12:57,836 [execute] INFO git cat-file --batch [2023-08-31T05:12:58.036Z] 2023-08-31 05:12:57,837 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-496/.semver, universal_newlines=False, shell=None, istream=) [2023-08-31T05:12:58.036Z] 2023-08-31 05:12:57,842 [read_version] DEBUG read version from /w/workspace/xfoundry_device-modbus-go_PR-496/.semver/PR-496 [2023-08-31T05:12:58.036Z] 0.0.0 [Pipeline] } [2023-08-31T05:12:58.057Z] $ docker exec --env ******** --env ******** 27f6ecc13dd9a5538248ea927586e928854586a05b8d29d071e8c9baa8092982 ssh-agent -k [2023-08-31T05:12:58.156Z] unset SSH_AUTH_SOCK; [2023-08-31T05:12:58.156Z] unset SSH_AGENT_PID; [2023-08-31T05:12:58.157Z] echo Agent pid 78 killed; [2023-08-31T05:12:58.166Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-08-31T05:12:58.591Z] + git semver [Pipeline] } [2023-08-31T05:12:58.879Z] $ docker stop --time=1 27f6ecc13dd9a5538248ea927586e928854586a05b8d29d071e8c9baa8092982 [2023-08-31T05:13:00.190Z] $ docker rm -f --volumes 27f6ecc13dd9a5538248ea927586e928854586a05b8d29d071e8c9baa8092982 [Pipeline] // withDockerContainer [Pipeline] sh [2023-08-31T05:13:00.611Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-08-31T05:13:00.882Z] Stashed 1 file(s) [Pipeline] echo [2023-08-31T05:13:00.895Z] [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-08-31T05:13:01.493Z] provisioning config files... [2023-08-31T05:13:01.502Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-496@tmp/config232453880133673975tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-31T05:13:01.861Z] ---> docker-login.sh [2023-08-31T05:13:01.861Z] nexus3.edgexfoundry.org:10001 [2023-08-31T05:13:01.861Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-31T05:13:01.861Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-31T05:13:01.861Z] Configure a credential helper to remove this warning. See [2023-08-31T05:13:01.861Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-31T05:13:01.861Z] [2023-08-31T05:13:01.861Z] Login Succeeded [2023-08-31T05:13:01.861Z] nexus3.edgexfoundry.org:10002 [2023-08-31T05:13:01.861Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-31T05:13:01.861Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-31T05:13:01.862Z] Configure a credential helper to remove this warning. See [2023-08-31T05:13:01.862Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-31T05:13:01.862Z] [2023-08-31T05:13:01.862Z] Login Succeeded [2023-08-31T05:13:01.862Z] nexus3.edgexfoundry.org:10003 [2023-08-31T05:13:02.121Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-31T05:13:02.121Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-31T05:13:02.121Z] Configure a credential helper to remove this warning. See [2023-08-31T05:13:02.121Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-31T05:13:02.121Z] [2023-08-31T05:13:02.121Z] Login Succeeded [2023-08-31T05:13:02.121Z] nexus3.edgexfoundry.org:10004 [2023-08-31T05:13:02.121Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-31T05:13:02.121Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-31T05:13:02.121Z] Configure a credential helper to remove this warning. See [2023-08-31T05:13:02.121Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-31T05:13:02.121Z] [2023-08-31T05:13:02.121Z] Login Succeeded [2023-08-31T05:13:02.121Z] docker.io [2023-08-31T05:13:02.381Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-31T05:13:02.381Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-31T05:13:02.381Z] Configure a credential helper to remove this warning. See [2023-08-31T05:13:02.381Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-31T05:13:02.381Z] [2023-08-31T05:13:02.381Z] Login Succeeded [2023-08-31T05:13:02.381Z] ---> docker-login.sh ends [Pipeline] } [2023-08-31T05:13:02.409Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-08-31T05:13:02.607Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-31T05:13:02.643Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-31T05:13:02.674Z] ========================================================= [2023-08-31T05:13:02.674Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-08-31T05:13:02.674Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-31T05:13:03.139Z] + 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-08-31T05:13:03.139Z] Sending build context to Docker daemon 6.418MB [2023-08-31T05:13:03.139Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-08-31T05:13:03.139Z] Step 2/10 : FROM ${BASE} AS builder [2023-08-31T05:13:03.139Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-08-31T05:13:03.139Z] 4db1b89c0bd1: Pulling fs layer [2023-08-31T05:13:03.139Z] 6911f1a30b25: Pulling fs layer [2023-08-31T05:13:03.139Z] e194b8c5c2a9: Pulling fs layer [2023-08-31T05:13:03.139Z] 6863d3e3a2b1: Pulling fs layer [2023-08-31T05:13:03.139Z] ec0bb842ea78: Pulling fs layer [2023-08-31T05:13:03.139Z] 40a00589a448: Pulling fs layer [2023-08-31T05:13:03.139Z] 6c08303d61cc: Pulling fs layer [2023-08-31T05:13:03.139Z] 798269fcf238: Pulling fs layer [2023-08-31T05:13:03.139Z] 6863d3e3a2b1: Waiting [2023-08-31T05:13:03.139Z] ec0bb842ea78: Waiting [2023-08-31T05:13:03.139Z] 40a00589a448: Waiting [2023-08-31T05:13:03.139Z] 6c08303d61cc: Waiting [2023-08-31T05:13:03.139Z] 798269fcf238: Waiting [2023-08-31T05:13:03.400Z] 6911f1a30b25: Verifying Checksum [2023-08-31T05:13:03.400Z] 6911f1a30b25: Download complete [2023-08-31T05:13:03.400Z] 6863d3e3a2b1: Verifying Checksum [2023-08-31T05:13:03.400Z] 6863d3e3a2b1: Download complete [2023-08-31T05:13:03.400Z] 4db1b89c0bd1: Verifying Checksum [2023-08-31T05:13:03.400Z] 4db1b89c0bd1: Download complete [2023-08-31T05:13:03.400Z] 40a00589a448: Verifying Checksum [2023-08-31T05:13:03.400Z] 40a00589a448: Download complete [2023-08-31T05:13:03.400Z] 4db1b89c0bd1: Pull complete [2023-08-31T05:13:03.664Z] 6911f1a30b25: Pull complete [2023-08-31T05:13:03.926Z] 798269fcf238: Download complete [2023-08-31T05:13:03.926Z] e194b8c5c2a9: Verifying Checksum [2023-08-31T05:13:03.926Z] e194b8c5c2a9: Download complete [2023-08-31T05:13:04.186Z] 6c08303d61cc: Verifying Checksum [2023-08-31T05:13:04.186Z] 6c08303d61cc: Download complete [2023-08-31T05:13:07.477Z] e194b8c5c2a9: Pull complete [2023-08-31T05:13:07.736Z] 6863d3e3a2b1: Pull complete [2023-08-31T05:13:07.736Z] ec0bb842ea78: Pull complete [2023-08-31T05:13:07.736Z] 40a00589a448: Pull complete [2023-08-31T05:13:10.266Z] 6c08303d61cc: Pull complete [2023-08-31T05:13:11.200Z] 798269fcf238: Pull complete [2023-08-31T05:13:11.200Z] Digest: sha256:68752d3c5041900b879808a9c232fa800f64c2352b9991beceed63c007ae5301 [2023-08-31T05:13:11.200Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-08-31T05:13:11.459Z] ---> ec979cd7f677 [2023-08-31T05:13:11.459Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2023-08-31T05:13:15.779Z] ---> Running in df31a3bf3be2 [2023-08-31T05:13:15.779Z] Removing intermediate container df31a3bf3be2 [2023-08-31T05:13:15.779Z] ---> 00ffaafbadae [2023-08-31T05:13:15.779Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-08-31T05:13:15.779Z] ---> Running in a88f9332e651 [2023-08-31T05:13:15.779Z] Removing intermediate container a88f9332e651 [2023-08-31T05:13:15.779Z] ---> eee2321ec9d8 [2023-08-31T05:13:15.779Z] Step 5/10 : RUN apk add --update --no-cache make git openssh [2023-08-31T05:13:16.038Z] ---> Running in 98d5bedf197b [2023-08-31T05:13:16.297Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-08-31T05:13:16.297Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-08-31T05:13:16.311Z] Still waiting to schedule task [2023-08-31T05:13:16.312Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-08-31T05:13:16.557Z] (1/8) Installing openssh-keygen (9.1_p1-r4) [2023-08-31T05:13:16.557Z] (2/8) Installing libedit (20221030.3.1-r0) [2023-08-31T05:13:16.557Z] (3/8) Installing openssh-client-common (9.1_p1-r4) [2023-08-31T05:13:16.557Z] (4/8) Installing openssh-client-default (9.1_p1-r4) [2023-08-31T05:13:16.557Z] (5/8) Installing openssh-sftp-server (9.1_p1-r4) [2023-08-31T05:13:16.557Z] (6/8) Installing openssh-server-common (9.1_p1-r4) [2023-08-31T05:13:16.557Z] (7/8) Installing openssh-server (9.1_p1-r4) [2023-08-31T05:13:16.557Z] (8/8) Installing openssh (9.1_p1-r4) [2023-08-31T05:13:16.557Z] Executing busybox-1.35.0-r29.trigger [2023-08-31T05:13:16.557Z] OK: 270 MiB in 61 packages [2023-08-31T05:13:17.127Z] Removing intermediate container 98d5bedf197b [2023-08-31T05:13:17.127Z] ---> c253dc9bb596 [2023-08-31T05:13:17.127Z] Step 6/10 : WORKDIR /device-modbus-go [2023-08-31T05:13:17.127Z] ---> Running in 30ce6b7ffdff [2023-08-31T05:13:17.127Z] Removing intermediate container 30ce6b7ffdff [2023-08-31T05:13:17.127Z] ---> e534c5b11cac [2023-08-31T05:13:17.127Z] Step 7/10 : COPY go.mod vendor* ./ [2023-08-31T05:13:17.386Z] ---> fec2d0fb5b8e [2023-08-31T05:13:17.386Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-08-31T05:13:17.386Z] ---> Running in f115b85ec00c [2023-08-31T05:14:13.674Z] Removing intermediate container f115b85ec00c [2023-08-31T05:14:13.674Z] ---> 2dd3f6959ac6 [2023-08-31T05:14:13.674Z] Step 9/10 : COPY . . [2023-08-31T05:14:13.674Z] ---> ce542829149a [2023-08-31T05:14:13.674Z] Step 10/10 : RUN ${MAKE} [2023-08-31T05:14:13.674Z] ---> Running in b4f4ce43b22d [2023-08-31T05:14:13.674Z] noop [2023-08-31T05:14:13.674Z] Removing intermediate container b4f4ce43b22d [2023-08-31T05:14:13.674Z] ---> e977e61fa4f0 [2023-08-31T05:14:13.674Z] Successfully built e977e61fa4f0 [2023-08-31T05:14:13.674Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-31T05:14:14.133Z] + docker inspect -f . ci-base-image-x86_64 [2023-08-31T05:14:14.133Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-31T05:14:14.273Z] prd-ubuntu20.04-docker-8c-8g-4982 does not seem to be running inside a container [2023-08-31T05:14:14.308Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-496 -v /w/workspace/xfoundry_device-modbus-go_PR-496:/w/workspace/xfoundry_device-modbus-go_PR-496:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-496@tmp:/w/workspace/xfoundry_device-modbus-go_PR-496@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-08-31T05:14:14.654Z] $ docker top 419f267686f7363648d15bb53bcb102c03891604e85855284307e73a366057be -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-31T05:14:15.028Z] + go version [2023-08-31T05:14:15.028Z] go version go1.20.6 linux/amd64 [Pipeline] } [2023-08-31T05:14:15.063Z] $ docker stop --time=1 419f267686f7363648d15bb53bcb102c03891604e85855284307e73a366057be [2023-08-31T05:14:16.318Z] $ docker rm -f --volumes 419f267686f7363648d15bb53bcb102c03891604e85855284307e73a366057be [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-31T05:14:17.029Z] + docker inspect -f . ci-base-image-x86_64 [2023-08-31T05:14:17.029Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-31T05:14:17.184Z] prd-ubuntu20.04-docker-8c-8g-4982 does not seem to be running inside a container [2023-08-31T05:14:17.220Z] $ 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-496 -v /w/workspace/xfoundry_device-modbus-go_PR-496:/w/workspace/xfoundry_device-modbus-go_PR-496:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-496@tmp:/w/workspace/xfoundry_device-modbus-go_PR-496@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-08-31T05:14:17.580Z] $ docker top e5e9e03d5d894e34273ebb1dffd1219d998deab63e9e7c4358b83b86a7485288 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-31T05:14:17.966Z] + git config --global --add safe.directory /w/workspace/xfoundry_device-modbus-go_PR-496 [Pipeline] fileExists [Pipeline] sh [2023-08-31T05:14:18.333Z] + make test [2023-08-31T05:14:18.333Z] go test ./... -coverprofile=coverage.out [2023-08-31T05:14:23.774Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2023-08-31T05:14:36.106Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2023-08-31T05:14:36.106Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.021s coverage: 47.9% of statements [2023-08-31T05:14:41.362Z] go vet ./... [2023-08-31T05:14:42.852Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-4983 in /w/workspace/xfoundry_device-modbus-go_PR-496 [Pipeline] { [Pipeline] ws [2023-08-31T05:14:42.908Z] Running in /w/workspace/device-modbus-go/1 [Pipeline] { [Pipeline] checkout [2023-08-31T05:14:42.993Z] Selected Git installation does not exist. Using Default [2023-08-31T05:14:42.993Z] The recommended git tool is: NONE [2023-08-31T05:14:46.638Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-08-31T05:14:46.638Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-08-31T05:14:46.638Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-08-31T05:14:46.677Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-08-31T05:14:46.715Z] $ docker stop --time=1 e5e9e03d5d894e34273ebb1dffd1219d998deab63e9e7c4358b83b86a7485288 [2023-08-31T05:14:47.982Z] using credential edgex-jenkins-ssh [2023-08-31T05:14:47.998Z] Cloning the remote Git repository [2023-08-31T05:14:48.038Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2023-08-31T05:14:48.133Z] > git init /w/workspace/device-modbus-go/1 # timeout=10 [2023-08-31T05:14:48.263Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2023-08-31T05:14:48.264Z] > git --version # timeout=10 [2023-08-31T05:14:48.284Z] > git --version # 'git version 2.25.1' [2023-08-31T05:14:48.286Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-08-31T05:14:48.424Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-08-31T05:14:50.313Z] $ docker rm -f --volumes e5e9e03d5d894e34273ebb1dffd1219d998deab63e9e7c4358b83b86a7485288 [2023-08-31T05:14:49.504Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2023-08-31T05:14:49.522Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-08-31T05:14:50.356Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2023-08-31T05:14:50.394Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2023-08-31T05:14:50.395Z] using GIT_SSH to set credentials SSH Credentials for GitHub [Pipeline] // withDockerContainer [Pipeline] sh [2023-08-31T05:14:50.837Z] + sudo chown -R jenkins:jenkins . [2023-08-31T05:14:50.854Z] Merging remotes/origin/main commit f93217a48f66f916d77da41a80c6f59472f374e0 into PR head commit d74e536f6a797e5c7976cf71ba04f8f0a645cff9 [Pipeline] stash [2023-08-31T05:14:50.905Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [2023-08-31T05:14:51.120Z] Merge succeeded, producing d74e536f6a797e5c7976cf71ba04f8f0a645cff9 [2023-08-31T05:14:51.120Z] Checking out Revision d74e536f6a797e5c7976cf71ba04f8f0a645cff9 (PR-496) [Pipeline] sh [2023-08-31T05:14:51.546Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" [2023-08-31T05:14:51.620Z] + sudo chown -R jenkins:jenkins . [2023-08-31T05:14:51.593Z] > git --version # timeout=10 [2023-08-31T05:14:51.605Z] > git --version # 'git version 2.25.1' [2023-08-31T05:14:51.622Z] fatal: bad object a0327f913308fcf13875ae7a2d6e6099471c5ff1 [Pipeline] sh [2023-08-31T05:14:50.415Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/496/head:refs/remotes/origin/PR-496 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-08-31T05:14:50.871Z] > git config core.sparsecheckout # timeout=10 [2023-08-31T05:14:50.937Z] > git checkout -f d74e536f6a797e5c7976cf71ba04f8f0a645cff9 # timeout=10 [2023-08-31T05:14:51.018Z] > git remote # timeout=10 [2023-08-31T05:14:51.039Z] > git config --get remote.origin.url # timeout=10 [2023-08-31T05:14:51.065Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-08-31T05:14:51.078Z] > git merge f93217a48f66f916d77da41a80c6f59472f374e0 # timeout=10 [2023-08-31T05:14:51.102Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-08-31T05:14:51.125Z] > git config core.sparsecheckout # timeout=10 [2023-08-31T05:14:51.139Z] > git checkout -f d74e536f6a797e5c7976cf71ba04f8f0a645cff9 # timeout=10 [2023-08-31T05:14:51.934Z] + ls -al . [2023-08-31T05:14:51.934Z] total 192 [2023-08-31T05:14:51.934Z] drwxrwxr-x 10 jenkins jenkins 4096 Aug 31 05:14 . [2023-08-31T05:14:51.934Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 31 05:12 .. [2023-08-31T05:14:51.934Z] -rw-rw-r-- 1 jenkins jenkins 140 Aug 31 05:12 .dockerignore [2023-08-31T05:14:51.934Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 31 05:12 .git [2023-08-31T05:14:51.934Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 31 05:12 .github [2023-08-31T05:14:51.934Z] -rw-rw-r-- 1 jenkins jenkins 331 Aug 31 05:12 .gitignore [2023-08-31T05:14:51.934Z] -rw-rw-r-- 1 jenkins jenkins 41 Aug 31 05:12 .golangci.yml [2023-08-31T05:14:51.934Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 31 05:12 .semver [2023-08-31T05:14:51.934Z] -rw-rw-r-- 1 jenkins jenkins 11101 Aug 31 05:12 Attribution.txt [2023-08-31T05:14:51.934Z] -rw-rw-r-- 1 jenkins jenkins 14764 Aug 31 05:12 CHANGELOG.md [2023-08-31T05:14:51.934Z] -rw-rw-r-- 1 jenkins jenkins 1365 Aug 31 05:12 Dockerfile [2023-08-31T05:14:51.934Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 31 05:12 GOVERNANCE.md [2023-08-31T05:14:51.934Z] -rw-rw-r-- 1 jenkins jenkins 680 Aug 31 05:12 Jenkinsfile [2023-08-31T05:14:51.934Z] -rw-rw-r-- 1 jenkins jenkins 11340 Aug 31 05:12 LICENSE [2023-08-31T05:14:51.934Z] -rw-rw-r-- 1 jenkins jenkins 1936 Aug 31 05:12 Makefile [2023-08-31T05:14:51.934Z] -rw-rw-r-- 1 jenkins jenkins 622 Aug 31 05:12 OWNERS.md [2023-08-31T05:14:51.934Z] -rw-rw-r-- 1 jenkins jenkins 4578 Aug 31 05:12 README.md [2023-08-31T05:14:51.934Z] -rw-rw-r-- 1 jenkins jenkins 5 Aug 31 05:13 VERSION [2023-08-31T05:14:51.934Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 31 05:12 bin [2023-08-31T05:14:51.934Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 31 05:12 cmd [2023-08-31T05:14:51.934Z] -rw-r--r-- 1 jenkins jenkins 24334 Aug 31 05:14 coverage.out [2023-08-31T05:14:51.934Z] -rw-rw-r-- 1 jenkins jenkins 3940 Aug 31 05:12 go.mod [2023-08-31T05:14:51.934Z] -rw-rw-r-- 1 jenkins jenkins 34434 Aug 31 05:12 go.sum [2023-08-31T05:14:51.934Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 31 05:12 internal [2023-08-31T05:14:51.934Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 31 05:12 simulator [2023-08-31T05:14:51.934Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 31 05:12 snap [2023-08-31T05:14:51.934Z] -rw-rw-r-- 1 jenkins jenkins 229 Aug 31 05:12 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-08-31T05:14:52.353Z] + 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=d74e536f6a797e5c7976cf71ba04f8f0a645cff9 --label arch=amd64 --label version=0.0.0 . [2023-08-31T05:14:52.353Z] Sending build context to Docker daemon 6.444MB [2023-08-31T05:14:52.353Z] Step 1/22 : ARG BASE=golang:1.20-alpine3.17 [2023-08-31T05:14:52.353Z] Step 2/22 : FROM ${BASE} AS builder [2023-08-31T05:14:52.353Z] ---> e977e61fa4f0 [2023-08-31T05:14:52.353Z] Step 3/22 : ARG ADD_BUILD_TAGS="" [2023-08-31T05:14:52.611Z] ---> Running in bb6f99580d31 [2023-08-31T05:14:52.611Z] Removing intermediate container bb6f99580d31 [2023-08-31T05:14:52.611Z] ---> d23489a7ac6f [2023-08-31T05:14:52.611Z] Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-08-31T05:14:52.611Z] ---> Running in 5bc88c0a18fd [2023-08-31T05:14:52.611Z] Removing intermediate container 5bc88c0a18fd [2023-08-31T05:14:52.611Z] ---> bb3e78ccf4af [2023-08-31T05:14:52.611Z] Step 5/22 : RUN apk add --update --no-cache make git openssh [2023-08-31T05:14:52.611Z] ---> Running in a904b65c13df [2023-08-31T05:14:52.801Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-08-31T05:14:52.801Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-08-31T05:14:52.801Z] Dload Upload Total Spent Left Speed [2023-08-31T05:14:52.801Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 95156 0 --:--:-- --:--:-- --:--:-- 95156 [Pipeline] sh [2023-08-31T05:14:53.177Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-08-31T05:14:53.177Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-08-31T05:14:53.411Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [2023-08-31T05:14:53.436Z] OK: 270 MiB in 61 packages [Pipeline] sh [2023-08-31T05:14:53.694Z] Removing intermediate container a904b65c13df [2023-08-31T05:14:53.694Z] ---> ec60306f73a1 [2023-08-31T05:14:53.694Z] Step 6/22 : WORKDIR /device-modbus-go [2023-08-31T05:14:53.694Z] ---> Running in c97167f180e9 [2023-08-31T05:14:53.764Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-08-31T05:14:53.765Z] + sudo tee /etc/docker/daemon.new [2023-08-31T05:14:53.765Z] { [2023-08-31T05:14:53.765Z] "registry-mirrors": [ [2023-08-31T05:14:53.765Z] "https://nexus3.edgexfoundry.org:10001" [2023-08-31T05:14:53.765Z] ], [2023-08-31T05:14:53.765Z] "bip": "10.250.0.254/24", [2023-08-31T05:14:53.765Z] "hosts": [ [2023-08-31T05:14:53.765Z] "tcp://0.0.0.0:5555", [2023-08-31T05:14:53.765Z] "unix:///var/run/docker.sock" [2023-08-31T05:14:53.765Z] ], [2023-08-31T05:14:53.765Z] "mtu": 1458, [2023-08-31T05:14:53.765Z] "selinux-enabled": true, [2023-08-31T05:14:53.765Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-08-31T05:14:53.765Z] } [Pipeline] sh [2023-08-31T05:14:53.956Z] Removing intermediate container c97167f180e9 [2023-08-31T05:14:53.956Z] ---> 3de4b5ecddfa [2023-08-31T05:14:53.956Z] Step 7/22 : COPY go.mod vendor* ./ [2023-08-31T05:14:53.956Z] ---> cb1f5fa303ca [2023-08-31T05:14:53.956Z] Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-08-31T05:14:53.956Z] ---> Running in 475d4ad38b93 [2023-08-31T05:14:54.109Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-08-31T05:14:54.455Z] + sudo service docker restart [2023-08-31T05:14:54.525Z] Removing intermediate container 475d4ad38b93 [2023-08-31T05:14:54.525Z] ---> a722b9d038e9 [2023-08-31T05:14:54.525Z] Step 9/22 : COPY . . [2023-08-31T05:14:55.091Z] ---> 76bbefd4c22c [2023-08-31T05:14:55.091Z] Step 10/22 : RUN ${MAKE} [2023-08-31T05:14:55.091Z] ---> Running in ba22d3005d06 [2023-08-31T05:14:55.348Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.17" -trimpath -mod=readonly -o cmd/device-modbus ./cmd [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-08-31T05:15:12.762Z] provisioning config files... [2023-08-31T05:15:12.783Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/1@tmp/config16214511669988515663tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-31T05:15:13.216Z] ---> docker-login.sh [2023-08-31T05:15:13.216Z] nexus3.edgexfoundry.org:10001 [2023-08-31T05:15:13.486Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-31T05:15:13.753Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-31T05:15:13.753Z] Configure a credential helper to remove this warning. See [2023-08-31T05:15:13.753Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-31T05:15:13.753Z] [2023-08-31T05:15:13.753Z] Login Succeeded [2023-08-31T05:15:13.753Z] nexus3.edgexfoundry.org:10002 [2023-08-31T05:15:14.022Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-31T05:15:14.022Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-31T05:15:14.022Z] Configure a credential helper to remove this warning. See [2023-08-31T05:15:14.022Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-31T05:15:14.022Z] [2023-08-31T05:15:14.022Z] Login Succeeded [2023-08-31T05:15:14.022Z] nexus3.edgexfoundry.org:10003 [2023-08-31T05:15:14.290Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-31T05:15:14.564Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-31T05:15:14.564Z] Configure a credential helper to remove this warning. See [2023-08-31T05:15:14.564Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-31T05:15:14.564Z] [2023-08-31T05:15:14.564Z] Login Succeeded [2023-08-31T05:15:14.564Z] nexus3.edgexfoundry.org:10004 [2023-08-31T05:15:14.564Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-31T05:15:14.835Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-31T05:15:14.835Z] Configure a credential helper to remove this warning. See [2023-08-31T05:15:14.835Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-31T05:15:14.835Z] [2023-08-31T05:15:14.835Z] Login Succeeded [2023-08-31T05:15:14.835Z] docker.io [2023-08-31T05:15:15.101Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-31T05:15:15.373Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-31T05:15:15.373Z] Configure a credential helper to remove this warning. See [2023-08-31T05:15:15.373Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-31T05:15:15.373Z] [2023-08-31T05:15:15.373Z] Login Succeeded [2023-08-31T05:15:15.373Z] ---> docker-login.sh ends [Pipeline] } [2023-08-31T05:15:15.407Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-08-31T05:15:15.797Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-31T05:15:15.833Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-31T05:15:15.866Z] ========================================================= [2023-08-31T05:15:15.866Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-08-31T05:15:15.866Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-31T05:15:16.365Z] + 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-08-31T05:15:16.633Z] Sending build context to Docker daemon 3.33MB [2023-08-31T05:15:16.633Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-08-31T05:15:16.633Z] Step 2/10 : FROM ${BASE} AS builder [2023-08-31T05:15:16.902Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-08-31T05:15:16.902Z] edb6bdbacee9: Pulling fs layer [2023-08-31T05:15:16.902Z] 5f9638ab2659: Pulling fs layer [2023-08-31T05:15:16.902Z] 8d51d6327a98: Pulling fs layer [2023-08-31T05:15:16.902Z] 8b374f2dd631: Pulling fs layer [2023-08-31T05:15:16.902Z] ec14aa9079de: Pulling fs layer [2023-08-31T05:15:16.902Z] 2f466654f4bb: Pulling fs layer [2023-08-31T05:15:16.902Z] 554e91adad29: Pulling fs layer [2023-08-31T05:15:16.902Z] ec14aa9079de: Waiting [2023-08-31T05:15:16.902Z] 2f466654f4bb: Waiting [2023-08-31T05:15:16.902Z] 554e91adad29: Waiting [2023-08-31T05:15:16.902Z] 8b374f2dd631: Waiting [2023-08-31T05:15:16.902Z] 5f9638ab2659: Verifying Checksum [2023-08-31T05:15:16.902Z] 5f9638ab2659: Download complete [2023-08-31T05:15:16.902Z] 8b374f2dd631: Verifying Checksum [2023-08-31T05:15:16.903Z] 8b374f2dd631: Download complete [2023-08-31T05:15:16.903Z] ec14aa9079de: Verifying Checksum [2023-08-31T05:15:16.903Z] ec14aa9079de: Download complete [2023-08-31T05:15:16.903Z] edb6bdbacee9: Verifying Checksum [2023-08-31T05:15:16.903Z] edb6bdbacee9: Download complete [2023-08-31T05:15:17.270Z] Removing intermediate container ba22d3005d06 [2023-08-31T05:15:17.270Z] ---> 69218af17e6d [2023-08-31T05:15:17.270Z] Step 11/22 : FROM alpine:3.17 [2023-08-31T05:15:17.270Z] 3.17: Pulling from library/alpine [2023-08-31T05:15:17.270Z] 9398808236ff: Pulling fs layer [2023-08-31T05:15:17.270Z] 9398808236ff: Verifying Checksum [2023-08-31T05:15:17.270Z] 9398808236ff: Download complete [2023-08-31T05:15:17.270Z] 9398808236ff: Pull complete [2023-08-31T05:15:17.270Z] Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc [2023-08-31T05:15:17.270Z] Status: Downloaded newer image for alpine:3.17 [2023-08-31T05:15:17.270Z] ---> 1e0b8b5322fc [2023-08-31T05:15:17.270Z] Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2023-08-31T05:15:17.270Z] ---> Running in bc1343f903a4 [2023-08-31T05:15:17.270Z] Removing intermediate container bc1343f903a4 [2023-08-31T05:15:17.270Z] ---> 92398eb0a58b [2023-08-31T05:15:17.270Z] Step 13/22 : RUN apk add --update --no-cache dumb-init [2023-08-31T05:15:17.270Z] ---> Running in 3b42bae6c8ae [2023-08-31T05:15:17.270Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-08-31T05:15:17.270Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-08-31T05:15:17.528Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-08-31T05:15:17.528Z] Executing busybox-1.35.0-r29.trigger [2023-08-31T05:15:17.528Z] OK: 7 MiB in 16 packages [2023-08-31T05:15:17.787Z] Removing intermediate container 3b42bae6c8ae [2023-08-31T05:15:17.787Z] ---> b5a6d4745475 [2023-08-31T05:15:17.787Z] Step 14/22 : COPY --from=builder /device-modbus-go/cmd / [2023-08-31T05:15:18.017Z] edb6bdbacee9: Pull complete [2023-08-31T05:15:18.613Z] 554e91adad29: Verifying Checksum [2023-08-31T05:15:18.613Z] 554e91adad29: Download complete [2023-08-31T05:15:18.613Z] 5f9638ab2659: Pull complete [2023-08-31T05:15:18.770Z] ---> fb4fa5d65eb8 [2023-08-31T05:15:18.770Z] Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / [2023-08-31T05:15:18.770Z] ---> dab33d8b8f83 [2023-08-31T05:15:18.770Z] Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / [2023-08-31T05:15:19.030Z] ---> e14ea25e179e [2023-08-31T05:15:19.030Z] Step 17/22 : EXPOSE 59901 [2023-08-31T05:15:19.030Z] ---> Running in 6cff01a63a58 [2023-08-31T05:15:19.030Z] Removing intermediate container 6cff01a63a58 [2023-08-31T05:15:19.030Z] ---> b04b7aa2fc60 [2023-08-31T05:15:19.030Z] Step 18/22 : ENTRYPOINT ["/device-modbus"] [2023-08-31T05:15:19.030Z] ---> Running in ae468b30f477 [2023-08-31T05:15:19.289Z] Removing intermediate container ae468b30f477 [2023-08-31T05:15:19.289Z] ---> 0019496e2e26 [2023-08-31T05:15:19.289Z] Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-08-31T05:15:19.289Z] ---> Running in 53c1eaf8586b [2023-08-31T05:15:19.289Z] Removing intermediate container 53c1eaf8586b [2023-08-31T05:15:19.289Z] ---> f832fdaa5e4b [2023-08-31T05:15:19.289Z] Step 20/22 : LABEL arch=amd64 [2023-08-31T05:15:19.289Z] ---> Running in 140ef99f6e13 [2023-08-31T05:15:19.289Z] Removing intermediate container 140ef99f6e13 [2023-08-31T05:15:19.289Z] ---> c4e2bda25dc6 [2023-08-31T05:15:19.289Z] Step 21/22 : LABEL git_sha=d74e536f6a797e5c7976cf71ba04f8f0a645cff9 [2023-08-31T05:15:19.289Z] ---> Running in cea90d3d2b01 [2023-08-31T05:15:19.548Z] Removing intermediate container cea90d3d2b01 [2023-08-31T05:15:19.548Z] ---> 96811f39ce3a [2023-08-31T05:15:19.548Z] Step 22/22 : LABEL version=0.0.0 [2023-08-31T05:15:19.548Z] ---> Running in 63479e0bcf9a [2023-08-31T05:15:19.548Z] Removing intermediate container 63479e0bcf9a [2023-08-31T05:15:19.548Z] ---> a109570a83c1 [2023-08-31T05:15:19.548Z] [Warning] One or more build-args [ARCH] were not consumed [2023-08-31T05:15:19.548Z] Successfully built a109570a83c1 [2023-08-31T05:15:19.548Z] Successfully tagged device-modbus:latest [2023-08-31T05:15:19.576Z] 2f466654f4bb: Verifying Checksum [2023-08-31T05:15:19.576Z] 8d51d6327a98: Verifying Checksum [2023-08-31T05:15:19.576Z] 8d51d6327a98: Download complete [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-08-31T05:15:20.432Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-31T05:15:20.432Z] [2023-08-31T05:15:20.432Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-31T05:15:20.798Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-31T05:15:20.798Z] latest: Pulling from edgex-lftools-log-publisher [2023-08-31T05:15:20.798Z] 5eb5b503b376: Pulling fs layer [2023-08-31T05:15:20.798Z] 5c69ac0246d0: Pulling fs layer [2023-08-31T05:15:20.798Z] ec43610c2a17: Pulling fs layer [2023-08-31T05:15:20.798Z] 3a2ae6a8a46f: Pulling fs layer [2023-08-31T05:15:20.798Z] 33b1e0a273af: Pulling fs layer [2023-08-31T05:15:20.798Z] 5d3b04190fa2: Pulling fs layer [2023-08-31T05:15:20.798Z] 2f39f015ded8: Pulling fs layer [2023-08-31T05:15:20.798Z] 5d3b04190fa2: Waiting [2023-08-31T05:15:20.798Z] 2f39f015ded8: Waiting [2023-08-31T05:15:20.798Z] 33b1e0a273af: Waiting [2023-08-31T05:15:20.798Z] 5c69ac0246d0: Download complete [2023-08-31T05:15:20.798Z] 3a2ae6a8a46f: Verifying Checksum [2023-08-31T05:15:20.798Z] 3a2ae6a8a46f: Download complete [2023-08-31T05:15:20.798Z] 33b1e0a273af: Verifying Checksum [2023-08-31T05:15:20.798Z] 33b1e0a273af: Download complete [2023-08-31T05:15:20.798Z] 5d3b04190fa2: Download complete [2023-08-31T05:15:20.798Z] ec43610c2a17: Download complete [2023-08-31T05:15:21.057Z] 5eb5b503b376: Verifying Checksum [2023-08-31T05:15:21.057Z] 5eb5b503b376: Download complete [2023-08-31T05:15:21.625Z] 2f39f015ded8: Download complete [2023-08-31T05:15:22.192Z] 5eb5b503b376: Pull complete [2023-08-31T05:15:22.451Z] 5c69ac0246d0: Pull complete [2023-08-31T05:15:23.016Z] ec43610c2a17: Pull complete [2023-08-31T05:15:23.016Z] 3a2ae6a8a46f: Pull complete [2023-08-31T05:15:23.276Z] 33b1e0a273af: Pull complete [2023-08-31T05:15:23.276Z] 5d3b04190fa2: Pull complete [2023-08-31T05:15:28.540Z] 2f39f015ded8: Pull complete [2023-08-31T05:15:28.540Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-08-31T05:15:28.540Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-31T05:15:28.540Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-31T05:15:32.012Z] 8d51d6327a98: Pull complete [2023-08-31T05:15:32.012Z] 8b374f2dd631: Pull complete [2023-08-31T05:15:32.012Z] ec14aa9079de: Pull complete [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-31T05:15:33.293Z] prd-ubuntu20.04-docker-8c-8g-4982 does not seem to be running inside a container [2023-08-31T05:15:33.330Z] $ 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-496 -v /w/workspace/xfoundry_device-modbus-go_PR-496:/w/workspace/xfoundry_device-modbus-go_PR-496:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-496@tmp:/w/workspace/xfoundry_device-modbus-go_PR-496@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-08-31T05:15:37.365Z] 2f466654f4bb: Pull complete [2023-08-31T05:15:38.217Z] $ docker top f12c8a131b11d6a7435eb083c5245abc0848dcf490ed934539c6c5fd40ae1909 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-31T05:15:38.698Z] ---> job-cost.sh [2023-08-31T05:15:38.698Z] lf-activate-venv: SKIPPING [2023-08-31T05:15:38.698Z] INFO: No Stack... [2023-08-31T05:15:38.957Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-08-31T05:15:39.216Z] INFO: Archiving Costs [Pipeline] sh [2023-08-31T05:15:39.535Z] + cat /w/workspace/xfoundry_device-modbus-go_PR-496/archives/cost.csv [2023-08-31T05:15:39.535Z] + cut -d, -f6 [Pipeline] lock [2023-08-31T05:15:39.577Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-496-1-stack-cost] [2023-08-31T05:15:39.581Z] Resource [jenkins-edgexfoundry-device-modbus-go-PR-496-1-stack-cost] did not exist. Created. [2023-08-31T05:15:39.581Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-496-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-08-31T05:15:39.976Z] 554e91adad29: Pull complete [2023-08-31T05:15:39.976Z] Digest: sha256:f4f79e0ab507ec6f613cbb0f842a80f635fe1a72038f554d66df6ea3828f3663 [2023-08-31T05:15:39.976Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-08-31T05:15:39.976Z] ---> 1e15ea492957 [2023-08-31T05:15:39.976Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2023-08-31T05:15:39.980Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-08-31T05:15:40.048Z] Stashed 1 file(s) [Pipeline] } [2023-08-31T05:15:40.077Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-496-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-08-31T05:15:40.161Z] $ docker stop --time=1 f12c8a131b11d6a7435eb083c5245abc0848dcf490ed934539c6c5fd40ae1909 [2023-08-31T05:15:41.325Z] $ docker rm -f --volumes f12c8a131b11d6a7435eb083c5245abc0848dcf490ed934539c6c5fd40ae1909 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-08-31T05:15:41.918Z] ---> Running in 627209ea2718 [2023-08-31T05:15:41.918Z] Removing intermediate container 627209ea2718 [2023-08-31T05:15:41.918Z] ---> 4e04a6bb4ba5 [2023-08-31T05:15:41.918Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-08-31T05:15:41.918Z] ---> Running in ced75e979e52 [2023-08-31T05:15:42.189Z] Removing intermediate container ced75e979e52 [2023-08-31T05:15:42.189Z] ---> e81f0ba66510 [2023-08-31T05:15:42.189Z] Step 5/10 : RUN apk add --update --no-cache make git openssh [2023-08-31T05:15:42.189Z] ---> Running in e778b0f774b2 [2023-08-31T05:15:43.602Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-08-31T05:15:43.869Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-08-31T05:15:45.278Z] (1/8) Installing openssh-keygen (9.1_p1-r4) [2023-08-31T05:15:45.278Z] (2/8) Installing libedit (20221030.3.1-r0) [2023-08-31T05:15:45.278Z] (3/8) Installing openssh-client-common (9.1_p1-r4) [2023-08-31T05:15:45.278Z] (4/8) Installing openssh-client-default (9.1_p1-r4) [2023-08-31T05:15:45.278Z] (5/8) Installing openssh-sftp-server (9.1_p1-r4) [2023-08-31T05:15:45.278Z] (6/8) Installing openssh-server-common (9.1_p1-r4) [2023-08-31T05:15:45.278Z] (7/8) Installing openssh-server (9.1_p1-r4) [2023-08-31T05:15:45.278Z] (8/8) Installing openssh (9.1_p1-r4) [2023-08-31T05:15:45.278Z] Executing busybox-1.35.0-r29.trigger [2023-08-31T05:15:45.278Z] OK: 270 MiB in 61 packages [2023-08-31T05:15:47.862Z] Removing intermediate container e778b0f774b2 [2023-08-31T05:15:47.862Z] ---> b1a2e765b719 [2023-08-31T05:15:47.863Z] Step 6/10 : WORKDIR /device-modbus-go [2023-08-31T05:15:47.863Z] ---> Running in 231e8f0d6dd5 [2023-08-31T05:15:48.130Z] Removing intermediate container 231e8f0d6dd5 [2023-08-31T05:15:48.130Z] ---> fbf8315795e5 [2023-08-31T05:15:48.130Z] Step 7/10 : COPY go.mod vendor* ./ [2023-08-31T05:15:48.732Z] ---> 5645c350ad80 [2023-08-31T05:15:48.732Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-08-31T05:15:48.732Z] ---> Running in 8100c4f3a9aa [2023-08-31T05:16:56.617Z] Removing intermediate container 8100c4f3a9aa [2023-08-31T05:16:56.617Z] ---> d96befdbf370 [2023-08-31T05:16:56.617Z] Step 9/10 : COPY . . [2023-08-31T05:16:56.617Z] ---> 13dd64f1c544 [2023-08-31T05:16:56.617Z] Step 10/10 : RUN ${MAKE} [2023-08-31T05:16:56.617Z] ---> Running in bd1a8a33ddac [2023-08-31T05:16:56.617Z] noop [2023-08-31T05:16:56.617Z] Removing intermediate container bd1a8a33ddac [2023-08-31T05:16:56.617Z] ---> 4c2239dfe28d [2023-08-31T05:16:56.617Z] Successfully built 4c2239dfe28d [2023-08-31T05:16:56.617Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-31T05:16:57.095Z] + docker inspect -f . ci-base-image-arm64 [2023-08-31T05:16:57.095Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-31T05:16:57.363Z] prd-ubuntu20.04-docker-arm64-4c-16g-4983 does not seem to be running inside a container [2023-08-31T05:16:57.430Z] $ 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 ******** ci-base-image-arm64 cat [2023-08-31T05:16:58.632Z] $ docker top 8f1502c099616dbe4c4b76641fb6fc50b0d113c6999082b9447beccc1442f8d3 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-31T05:16:59.501Z] + go version [2023-08-31T05:16:59.501Z] go version go1.20.6 linux/arm64 [Pipeline] } [2023-08-31T05:16:59.538Z] $ docker stop --time=1 8f1502c099616dbe4c4b76641fb6fc50b0d113c6999082b9447beccc1442f8d3 [2023-08-31T05:17:01.158Z] $ docker rm -f --volumes 8f1502c099616dbe4c4b76641fb6fc50b0d113c6999082b9447beccc1442f8d3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-31T05:17:01.997Z] + docker inspect -f . ci-base-image-arm64 [2023-08-31T05:17:01.997Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-31T05:17:02.249Z] prd-ubuntu20.04-docker-arm64-4c-16g-4983 does not seem to be running inside a container [2023-08-31T05:17:02.314Z] $ 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 ******** ci-base-image-arm64 cat [2023-08-31T05:17:03.461Z] $ docker top 36a893e13ab0c09abfaecb519929861a1e1314ae00835d9a3acf264e25a4a812 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-31T05:17:04.010Z] + git config --global --add safe.directory /w/workspace/device-modbus-go/1 [Pipeline] fileExists [Pipeline] sh [2023-08-31T05:17:04.404Z] + make test [2023-08-31T05:17:04.404Z] go test ./... -coverprofile=coverage.out [2023-08-31T05:17:36.637Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2023-08-31T05:19:28.346Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2023-08-31T05:19:31.689Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.074s coverage: 47.9% of statements [2023-08-31T05:19:32.281Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-08-31T05:19:32.282Z] go vet ./... [2023-08-31T05:19:58.987Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-08-31T05:19:58.987Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-08-31T05:19:58.987Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-08-31T05:19:59.029Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-08-31T05:19:59.067Z] $ docker stop --time=1 36a893e13ab0c09abfaecb519929861a1e1314ae00835d9a3acf264e25a4a812 [2023-08-31T05:20:01.301Z] $ docker rm -f --volumes 36a893e13ab0c09abfaecb519929861a1e1314ae00835d9a3acf264e25a4a812 [Pipeline] // withDockerContainer [Pipeline] sh [2023-08-31T05:20:02.445Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-08-31T05:20:02.476Z] Warning: overwriting stash ‘coverage-report’ [2023-08-31T05:20:02.891Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-08-31T05:20:03.444Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-08-31T05:20:03.777Z] + ls -al . [2023-08-31T05:20:03.777Z] total 188 [2023-08-31T05:20:03.777Z] drwxrwxr-x 9 jenkins jenkins 4096 Aug 31 05:17 . [2023-08-31T05:20:03.777Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 31 05:14 .. [2023-08-31T05:20:03.777Z] -rw-rw-r-- 1 jenkins jenkins 140 Aug 31 05:14 .dockerignore [2023-08-31T05:20:03.777Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 31 05:14 .git [2023-08-31T05:20:03.777Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 31 05:14 .github [2023-08-31T05:20:03.777Z] -rw-rw-r-- 1 jenkins jenkins 331 Aug 31 05:14 .gitignore [2023-08-31T05:20:03.777Z] -rw-rw-r-- 1 jenkins jenkins 41 Aug 31 05:14 .golangci.yml [2023-08-31T05:20:03.777Z] -rw-rw-r-- 1 jenkins jenkins 11101 Aug 31 05:14 Attribution.txt [2023-08-31T05:20:03.777Z] -rw-rw-r-- 1 jenkins jenkins 14764 Aug 31 05:14 CHANGELOG.md [2023-08-31T05:20:03.777Z] -rw-rw-r-- 1 jenkins jenkins 1365 Aug 31 05:14 Dockerfile [2023-08-31T05:20:03.777Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 31 05:14 GOVERNANCE.md [2023-08-31T05:20:03.777Z] -rw-rw-r-- 1 jenkins jenkins 680 Aug 31 05:14 Jenkinsfile [2023-08-31T05:20:03.777Z] -rw-rw-r-- 1 jenkins jenkins 11340 Aug 31 05:14 LICENSE [2023-08-31T05:20:03.777Z] -rw-rw-r-- 1 jenkins jenkins 1936 Aug 31 05:14 Makefile [2023-08-31T05:20:03.777Z] -rw-rw-r-- 1 jenkins jenkins 622 Aug 31 05:14 OWNERS.md [2023-08-31T05:20:03.777Z] -rw-rw-r-- 1 jenkins jenkins 4578 Aug 31 05:14 README.md [2023-08-31T05:20:03.777Z] -rw-rw-r-- 1 jenkins jenkins 5 Aug 31 05:13 VERSION [2023-08-31T05:20:03.777Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 31 05:14 bin [2023-08-31T05:20:03.777Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 31 05:14 cmd [2023-08-31T05:20:03.777Z] -rw-r--r-- 1 jenkins jenkins 24334 Aug 31 05:19 coverage.out [2023-08-31T05:20:03.777Z] -rw-rw-r-- 1 jenkins jenkins 3940 Aug 31 05:14 go.mod [2023-08-31T05:20:03.777Z] -rw-rw-r-- 1 jenkins jenkins 34434 Aug 31 05:14 go.sum [2023-08-31T05:20:03.777Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 31 05:14 internal [2023-08-31T05:20:03.777Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 31 05:14 simulator [2023-08-31T05:20:03.777Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 31 05:14 snap [2023-08-31T05:20:03.777Z] -rw-rw-r-- 1 jenkins jenkins 229 Aug 31 05:14 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-31T05:20:04.191Z] + 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=d74e536f6a797e5c7976cf71ba04f8f0a645cff9 --label arch=arm64 --label version=0.0.0 . [2023-08-31T05:20:04.467Z] Sending build context to Docker daemon 3.355MB [2023-08-31T05:20:04.467Z] Step 1/22 : ARG BASE=golang:1.20-alpine3.17 [2023-08-31T05:20:04.467Z] Step 2/22 : FROM ${BASE} AS builder [2023-08-31T05:20:04.467Z] ---> 4c2239dfe28d [2023-08-31T05:20:04.467Z] Step 3/22 : ARG ADD_BUILD_TAGS="" [2023-08-31T05:20:04.467Z] ---> Running in ea0604bf53e3 [2023-08-31T05:20:04.735Z] Removing intermediate container ea0604bf53e3 [2023-08-31T05:20:04.735Z] ---> bb4a201128b6 [2023-08-31T05:20:04.735Z] Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-08-31T05:20:05.002Z] ---> Running in cdc5b8dad3aa [2023-08-31T05:20:05.274Z] Removing intermediate container cdc5b8dad3aa [2023-08-31T05:20:05.274Z] ---> 1af209bc1dba [2023-08-31T05:20:05.274Z] Step 5/22 : RUN apk add --update --no-cache make git openssh [2023-08-31T05:20:05.274Z] ---> Running in 1133695272c3 [2023-08-31T05:20:06.232Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-08-31T05:20:06.814Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-08-31T05:20:07.771Z] OK: 270 MiB in 61 packages [2023-08-31T05:20:08.354Z] Removing intermediate container 1133695272c3 [2023-08-31T05:20:08.354Z] ---> 3d5c0ab13f31 [2023-08-31T05:20:08.354Z] Step 6/22 : WORKDIR /device-modbus-go [2023-08-31T05:20:08.354Z] ---> Running in 5f4a4490a2d5 [2023-08-31T05:20:08.622Z] Removing intermediate container 5f4a4490a2d5 [2023-08-31T05:20:08.622Z] ---> 0b781a8d961d [2023-08-31T05:20:08.622Z] Step 7/22 : COPY go.mod vendor* ./ [2023-08-31T05:20:09.209Z] ---> 195839ea6a8c [2023-08-31T05:20:09.209Z] Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-08-31T05:20:09.209Z] ---> Running in 770accdee1f8 [2023-08-31T05:20:11.152Z] Removing intermediate container 770accdee1f8 [2023-08-31T05:20:11.152Z] ---> 22aee9b023d8 [2023-08-31T05:20:11.152Z] Step 9/22 : COPY . . [2023-08-31T05:20:12.114Z] ---> 8fb20ab7b48a [2023-08-31T05:20:12.114Z] Step 10/22 : RUN ${MAKE} [2023-08-31T05:20:12.114Z] ---> Running in e3090554b98b [2023-08-31T05:20:13.076Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.17" -trimpath -mod=readonly -o cmd/device-modbus ./cmd [2023-08-31T05:22:19.718Z] Removing intermediate container e3090554b98b [2023-08-31T05:22:19.718Z] ---> 6a0d9d2607dd [2023-08-31T05:22:19.718Z] Step 11/22 : FROM alpine:3.17 [2023-08-31T05:22:19.718Z] 3.17: Pulling from library/alpine [2023-08-31T05:22:19.718Z] 4060ece20d7a: Pulling fs layer [2023-08-31T05:22:19.718Z] 4060ece20d7a: Verifying Checksum [2023-08-31T05:22:19.718Z] 4060ece20d7a: Download complete [2023-08-31T05:22:19.718Z] 4060ece20d7a: Pull complete [2023-08-31T05:22:19.718Z] Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc [2023-08-31T05:22:19.985Z] Status: Downloaded newer image for alpine:3.17 [2023-08-31T05:22:19.985Z] ---> 8650cd65339b [2023-08-31T05:22:19.985Z] Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2023-08-31T05:22:19.985Z] ---> Running in f8248dcf3d1c [2023-08-31T05:22:20.252Z] Removing intermediate container f8248dcf3d1c [2023-08-31T05:22:20.252Z] ---> 22e43f83c248 [2023-08-31T05:22:20.252Z] Step 13/22 : RUN apk add --update --no-cache dumb-init [2023-08-31T05:22:20.252Z] ---> Running in 06c96a72abd5 [2023-08-31T05:22:21.212Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-08-31T05:22:21.796Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-08-31T05:22:22.753Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-08-31T05:22:22.753Z] Executing busybox-1.35.0-r29.trigger [2023-08-31T05:22:22.753Z] OK: 8 MiB in 16 packages [2023-08-31T05:22:23.717Z] Removing intermediate container 06c96a72abd5 [2023-08-31T05:22:23.717Z] ---> 90a64e9b8f0d [2023-08-31T05:22:23.717Z] Step 14/22 : COPY --from=builder /device-modbus-go/cmd / [2023-08-31T05:22:25.124Z] ---> 84707a853efa [2023-08-31T05:22:25.124Z] Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / [2023-08-31T05:22:25.389Z] ---> 35636fa33348 [2023-08-31T05:22:25.389Z] Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / [2023-08-31T05:22:25.976Z] ---> ac91cc8d18c7 [2023-08-31T05:22:25.976Z] Step 17/22 : EXPOSE 59901 [2023-08-31T05:22:25.976Z] ---> Running in e5b94825da43 [2023-08-31T05:22:26.242Z] Removing intermediate container e5b94825da43 [2023-08-31T05:22:26.242Z] ---> c55de79eb02b [2023-08-31T05:22:26.242Z] Step 18/22 : ENTRYPOINT ["/device-modbus"] [2023-08-31T05:22:26.242Z] ---> Running in 257eeab8b860 [2023-08-31T05:22:26.509Z] Removing intermediate container 257eeab8b860 [2023-08-31T05:22:26.509Z] ---> 6de72dcae876 [2023-08-31T05:22:26.509Z] Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-08-31T05:22:26.509Z] ---> Running in 2f2db1aeacfe [2023-08-31T05:22:26.788Z] Removing intermediate container 2f2db1aeacfe [2023-08-31T05:22:26.788Z] ---> 9da547884733 [2023-08-31T05:22:26.788Z] Step 20/22 : LABEL arch=arm64 [2023-08-31T05:22:26.788Z] ---> Running in 500e749b8f4c [2023-08-31T05:22:29.366Z] Removing intermediate container 500e749b8f4c [2023-08-31T05:22:29.366Z] ---> 314bacb30443 [2023-08-31T05:22:29.366Z] Step 21/22 : LABEL git_sha=d74e536f6a797e5c7976cf71ba04f8f0a645cff9 [2023-08-31T05:22:29.634Z] ---> Running in 3e0940dc93a6 [2023-08-31T05:22:29.900Z] Removing intermediate container 3e0940dc93a6 [2023-08-31T05:22:29.900Z] ---> 9f82666cf39b [2023-08-31T05:22:29.900Z] Step 22/22 : LABEL version=0.0.0 [2023-08-31T05:22:29.900Z] ---> Running in e6580605ea33 [2023-08-31T05:22:30.166Z] Removing intermediate container e6580605ea33 [2023-08-31T05:22:30.166Z] ---> b57472f86f29 [2023-08-31T05:22:30.166Z] [Warning] One or more build-args [ARCH] were not consumed [2023-08-31T05:22:30.166Z] Successfully built b57472f86f29 [2023-08-31T05:22:30.166Z] 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-08-31T05:22:30.976Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-08-31T05:22:30.976Z] [2023-08-31T05:22:30.976Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-31T05:22:31.365Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-08-31T05:22:31.365Z] arm64: Pulling from edgex-lftools-log-publisher [2023-08-31T05:22:31.365Z] 8998bd30e6a1: Pulling fs layer [2023-08-31T05:22:31.365Z] 04944245beec: Pulling fs layer [2023-08-31T05:22:31.365Z] 699f458cf7ca: Pulling fs layer [2023-08-31T05:22:31.365Z] 765212b225bb: Pulling fs layer [2023-08-31T05:22:31.365Z] f23df028b6ca: Pulling fs layer [2023-08-31T05:22:31.365Z] d65c8cfc05b1: Pulling fs layer [2023-08-31T05:22:31.365Z] 2437ff75d9bd: Pulling fs layer [2023-08-31T05:22:31.365Z] f23df028b6ca: Waiting [2023-08-31T05:22:31.365Z] 765212b225bb: Waiting [2023-08-31T05:22:31.365Z] d65c8cfc05b1: Waiting [2023-08-31T05:22:31.365Z] 2437ff75d9bd: Waiting [2023-08-31T05:22:31.634Z] 04944245beec: Verifying Checksum [2023-08-31T05:22:31.634Z] 04944245beec: Download complete [2023-08-31T05:22:31.634Z] 765212b225bb: Verifying Checksum [2023-08-31T05:22:31.634Z] 765212b225bb: Download complete [2023-08-31T05:22:31.634Z] f23df028b6ca: Verifying Checksum [2023-08-31T05:22:31.634Z] f23df028b6ca: Download complete [2023-08-31T05:22:31.634Z] d65c8cfc05b1: Verifying Checksum [2023-08-31T05:22:31.634Z] d65c8cfc05b1: Download complete [2023-08-31T05:22:31.634Z] 699f458cf7ca: Verifying Checksum [2023-08-31T05:22:31.634Z] 699f458cf7ca: Download complete [2023-08-31T05:22:32.218Z] 8998bd30e6a1: Download complete [2023-08-31T05:22:34.162Z] 2437ff75d9bd: Verifying Checksum [2023-08-31T05:22:34.162Z] 2437ff75d9bd: Download complete [2023-08-31T05:22:36.102Z] 8998bd30e6a1: Pull complete [2023-08-31T05:22:36.370Z] 04944245beec: Pull complete [2023-08-31T05:22:37.895Z] 699f458cf7ca: Pull complete [2023-08-31T05:22:38.167Z] 765212b225bb: Pull complete [2023-08-31T05:22:38.776Z] f23df028b6ca: Pull complete [2023-08-31T05:22:39.059Z] d65c8cfc05b1: Pull complete [2023-08-31T05:22:54.145Z] 2437ff75d9bd: Pull complete [2023-08-31T05:22:54.145Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-08-31T05:22:54.145Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-08-31T05:22:54.145Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-31T05:22:54.455Z] prd-ubuntu20.04-docker-arm64-4c-16g-4983 does not seem to be running inside a container [2023-08-31T05:22:54.522Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-08-31T05:22:56.937Z] $ docker top c74899677b475d3436212e6a0dab9c07d7f5402a6e77ea3fac2826ccf0c5f542 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-31T05:22:57.818Z] ---> job-cost.sh [2023-08-31T05:22:57.818Z] lf-activate-venv: SKIPPING [2023-08-31T05:22:57.818Z] INFO: No Stack... [2023-08-31T05:22:58.086Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-08-31T05:22:59.038Z] INFO: Archiving Costs [Pipeline] sh [2023-08-31T05:22:59.374Z] + cat /w/workspace/device-modbus-go/1/archives/cost.csv [2023-08-31T05:22:59.375Z] + cut -d, -f6 [Pipeline] lock [2023-08-31T05:22:59.459Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-496-1-stack-cost] [2023-08-31T05:22:59.464Z] Resource [jenkins-edgexfoundry-device-modbus-go-PR-496-1-stack-cost] did not exist. Created. [2023-08-31T05:22:59.464Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-496-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-08-31T05:23:00.178Z] /w/workspace/device-modbus-go/1@tmp/durable-d0bc964f/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-08-31T05:23:00.521Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-08-31T05:23:00.560Z] Warning: overwriting stash ‘stack-cost’ [2023-08-31T05:23:00.609Z] Stashed 1 file(s) [Pipeline] } [2023-08-31T05:23:00.624Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-496-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-08-31T05:23:00.707Z] $ docker stop --time=1 c74899677b475d3436212e6a0dab9c07d7f5402a6e77ea3fac2826ccf0c5f542 [2023-08-31T05:23:02.204Z] $ docker rm -f --volumes c74899677b475d3436212e6a0dab9c07d7f5402a6e77ea3fac2826ccf0c5f542 [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-08-31T05:23:03.182Z] provisioning config files... [2023-08-31T05:23:03.188Z] copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-496@tmp/config1011330553644703800tmp [Pipeline] { [Pipeline] sh [2023-08-31T05:23:03.533Z] + set +x [2023-08-31T05:23:03.533Z] + curl -s https://codecov.io/bash [2023-08-31T05:23:03.533Z] + bash -s -- [2023-08-31T05:23:03.533Z] [2023-08-31T05:23:03.533Z] _____ _ [2023-08-31T05:23:03.533Z] / ____| | | [2023-08-31T05:23:03.533Z] | | ___ __| | ___ ___ _____ __ [2023-08-31T05:23:03.533Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-08-31T05:23:03.533Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-08-31T05:23:03.533Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-08-31T05:23:03.533Z] Bash-1.0.6 [2023-08-31T05:23:03.533Z] [2023-08-31T05:23:03.533Z] [2023-08-31T05:23:03.533Z] ==> git version 2.25.1 found [2023-08-31T05:23:03.533Z] ==> 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-08-31T05:23:03.533Z] Release-Date: 2020-01-08 [2023-08-31T05:23:03.533Z] 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-08-31T05:23:03.533Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-08-31T05:23:03.533Z] ==> Jenkins CI detected. [2023-08-31T05:23:03.533Z] current dir:  /w/workspace/xfoundry_device-modbus-go_PR-496 [2023-08-31T05:23:03.533Z] project root: . [2023-08-31T05:23:03.533Z] --> token set from env [2023-08-31T05:23:03.533Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-08-31T05:23:03.533Z] ==> Running gcov in . (disable via -X gcov) [2023-08-31T05:23:03.533Z] ==> Python coveragepy not found [2023-08-31T05:23:03.533Z] ==> Searching for coverage reports in: [2023-08-31T05:23:03.533Z] + . [2023-08-31T05:23:03.533Z] -> Found 1 reports [2023-08-31T05:23:03.533Z] ==> Detecting git/mercurial file structure [2023-08-31T05:23:03.793Z] ==> Reading reports [2023-08-31T05:23:03.793Z] + ./coverage.out bytes=24334 [2023-08-31T05:23:03.793Z] ==> Appending adjustments [2023-08-31T05:23:03.793Z] https://docs.codecov.io/docs/fixing-reports [2023-08-31T05:23:03.793Z] + Found adjustments [2023-08-31T05:23:03.793Z] ==> Gzipping contents [2023-08-31T05:23:03.793Z] 4.0K /tmp/codecov.d5eGrA.gz [2023-08-31T05:23:03.793Z] ==> Uploading reports [2023-08-31T05:23:03.793Z] url: https://codecov.io [2023-08-31T05:23:03.793Z] query: branch=PR-496&commit=d74e536f6a797e5c7976cf71ba04f8f0a645cff9&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-496%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=496&job=&cmd_args= [2023-08-31T05:23:03.793Z] -> Pinging Codecov [2023-08-31T05:23:03.793Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3a8d40b1-de00-4649-bfd4-bdc8ed99ae89&branch=PR-496&commit=d74e536f6a797e5c7976cf71ba04f8f0a645cff9&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-496%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=496&job=&cmd_args= [2023-08-31T05:23:04.052Z] -> Uploading to [2023-08-31T05:23:04.052Z] https://storage.googleapis.com/codecov/v4/raw/2023-08-31/55DBCA73C666E3227836607328DD7E49/d74e536f6a797e5c7976cf71ba04f8f0a645cff9/9d39a1ce-b968-4de4-a2e2-59731dba5468.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230831%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230831T052303Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=4cf53f827e4f8d2ad159e6ea8dbdc5fb31592212f6ef608fe18be6e66529b3d2 [2023-08-31T05:23:04.052Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-08-31T05:23:04.052Z] Dload Upload Total Spent Left Speed [2023-08-31T05:23:04.052Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3974 0 0 100 3974 0 21138 --:--:-- --:--:-- --:--:-- 21138 [2023-08-31T05:23:04.052Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/d74e536f6a797e5c7976cf71ba04f8f0a645cff9 [Pipeline] } [2023-08-31T05:23:04.079Z] 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-08-31T05:23:05.806Z] + [ -d /w/workspace/xfoundry_device-modbus-go_PR-496/archives ] [2023-08-31T05:23:05.807Z] + ls -al /w/workspace/xfoundry_device-modbus-go_PR-496/archives [2023-08-31T05:23:05.807Z] total 16 [2023-08-31T05:23:05.807Z] drwxr-xr-x 3 root root 4096 Aug 31 05:15 . [2023-08-31T05:23:05.807Z] drwxrwxr-x 11 jenkins jenkins 4096 Aug 31 05:15 .. [2023-08-31T05:23:05.807Z] drwxr-xr-x 2 root root 4096 Aug 31 05:15 cost [2023-08-31T05:23:05.807Z] -rw-r--r-- 1 root root 88 Aug 31 05:15 cost.csv [2023-08-31T05:23:05.807Z] + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-496/archives [2023-08-31T05:23:05.807Z] + ls -al /w/workspace/xfoundry_device-modbus-go_PR-496/archives [2023-08-31T05:23:05.807Z] total 16 [2023-08-31T05:23:05.807Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 31 05:15 . [2023-08-31T05:23:05.807Z] drwxrwxr-x 11 jenkins jenkins 4096 Aug 31 05:15 .. [2023-08-31T05:23:05.807Z] drwxr-xr-x 2 jenkins jenkins 4096 Aug 31 05:15 cost [2023-08-31T05:23:05.807Z] -rw-r--r-- 1 jenkins jenkins 88 Aug 31 05:15 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-08-31T05:23:06.132Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-31T05:23:07.021Z] ---> package-listing.sh [2023-08-31T05:23:07.022Z] ++ facter osfamily [2023-08-31T05:23:07.022Z] ++ tr '[:upper:]' '[:lower:]' [2023-08-31T05:23:07.281Z] + OS_FAMILY=debian [2023-08-31T05:23:07.281Z] + workspace=/w/workspace/xfoundry_device-modbus-go_PR-496 [2023-08-31T05:23:07.281Z] + START_PACKAGES=/tmp/packages_start.txt [2023-08-31T05:23:07.281Z] + END_PACKAGES=/tmp/packages_end.txt [2023-08-31T05:23:07.281Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-08-31T05:23:07.281Z] + PACKAGES=/tmp/packages_start.txt [2023-08-31T05:23:07.281Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-496 ']' [2023-08-31T05:23:07.281Z] + PACKAGES=/tmp/packages_end.txt [2023-08-31T05:23:07.281Z] + case "${OS_FAMILY}" in [2023-08-31T05:23:07.281Z] + dpkg -l [2023-08-31T05:23:07.281Z] + grep '^ii' [2023-08-31T05:23:07.281Z] + '[' -f /tmp/packages_start.txt ']' [2023-08-31T05:23:07.281Z] + '[' -f /tmp/packages_end.txt ']' [2023-08-31T05:23:07.281Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-08-31T05:23:07.281Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-496 ']' [2023-08-31T05:23:07.281Z] + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-496/archives/ [2023-08-31T05:23:07.281Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-496/archives/ [Pipeline] echo [2023-08-31T05:23:07.311Z] 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-496/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-08-31T05:23:07.603Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-31T05:23:08.223Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-31T05:23:08.223Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-31T05:23:08.356Z] prd-ubuntu20.04-docker-8c-8g-4982 does not seem to be running inside a container [2023-08-31T05:23:08.394Z] $ 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-496/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-496 -v /w/workspace/xfoundry_device-modbus-go_PR-496:/w/workspace/xfoundry_device-modbus-go_PR-496:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-496@tmp:/w/workspace/xfoundry_device-modbus-go_PR-496@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-08-31T05:23:08.571Z] $ docker top be8e7ab567d6ed94f358c69bb2478f78ed3dbdda843b4449f97bd526658d03de -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-31T05:23:08.948Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-08-31T05:23:09.258Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-08-31T05:23:09.569Z] + ls /var/log/sa-host [2023-08-31T05:23:09.569Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-08-31T05:23:09.826Z] provisioning config files... [2023-08-31T05:23:09.836Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-496@tmp/config15108847025189157557tmp [Pipeline] { [Pipeline] echo [2023-08-31T05:23:09.891Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-31T05:23:10.312Z] ---> create-netrc.sh [Pipeline] } [2023-08-31T05:23:10.339Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-08-31T05:23:10.744Z] ---> python-tools-install.sh [Pipeline] echo [2023-08-31T05:23:10.778Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-31T05:23:11.087Z] ---> sudo-logs.sh [2023-08-31T05:23:11.087Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-08-31T05:23:11.171Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-31T05:23:11.480Z] ---> job-cost.sh [2023-08-31T05:23:11.480Z] lf-activate-venv: SKIPPING [2023-08-31T05:23:11.480Z] DEBUG: total: 0.2199999988079071 [2023-08-31T05:23:11.480Z] INFO: Retrieving Stack Cost... [2023-08-31T05:23:12.048Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-08-31T05:23:12.308Z] INFO: Archiving Costs [Pipeline] echo [2023-08-31T05:23:12.340Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-31T05:23:12.648Z] ---> logs-deploy.sh [2023-08-31T05:23:12.648Z] lf-activate-venv: SKIPPING [2023-08-31T05:23:12.648Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-496/1 [2023-08-31T05:23:12.648Z] INFO: archiving workspace using pattern(s): [2023-08-31T05:23:13.586Z] Archives upload complete. [2023-08-31T05:23:13.586Z] INFO: archiving logs to Nexus