Pull request #518 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 9bf573b780e6dea7386ff37d38ccb2ead6a32b20+556aa6930cf2f2a45b00f01e1ce4bcd5b7a62e31 (10779a2342972de225785b69a2119dbd4bcf767b) 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-ssh14428621110772742577.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision e143027787c0ac28563f7e92b6cefc600d3b7107 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh1273934326380029987.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision e143027787c0ac28563f7e92b6cefc600d3b7107 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-518/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-518/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8153835013094504980.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-518/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh13788064628673231613.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision e143027787c0ac28563f7e92b6cefc600d3b7107 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f e143027787c0ac28563f7e92b6cefc600d3b7107 # timeout=10 Commit message: "Merge pull request #442 from ernestojeda/golang-1.21" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh6507248390126841847.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-518/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-518/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh12030249560303843400.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object e143027787c0ac28563f7e92b6cefc600d3b7107 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-modbus-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-modbus-go-settings PROJECT: device-modbus-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-modbus DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Running on prd-ubuntu20.04-docker-8c-8g-12484 in /w/workspace/xfoundry_device-modbus-go_PR-518 [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-518 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/518/head:refs/remotes/origin/PR-518 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 556aa6930cf2f2a45b00f01e1ce4bcd5b7a62e31 into PR head commit 9bf573b780e6dea7386ff37d38ccb2ead6a32b20 Merge succeeded, producing 9bf573b780e6dea7386ff37d38ccb2ead6a32b20 Checking out Revision 9bf573b780e6dea7386ff37d38ccb2ead6a32b20 (PR-518) 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 e143027787c0ac28563f7e92b6cefc600d3b7107 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-10-27T05:04:16.646Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-10-27T05:04:16.800Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-10-27T05:04:16.897Z] ========================================================= [2023-10-27T05:04:16.897Z] EdgeX Global Pipelines Version Info [2023-10-27T05:04:16.897Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git config core.sparsecheckout # timeout=10 > git checkout -f 9bf573b780e6dea7386ff37d38ccb2ead6a32b20 # 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 556aa6930cf2f2a45b00f01e1ce4bcd5b7a62e31 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 9bf573b780e6dea7386ff37d38ccb2ead6a32b20 # timeout=10 [2023-10-27T05:04:17.641Z] ------------------- [2023-10-27T05:04:17.641Z] stable info: [2023-10-27T05:04:17.641Z] ------------------- [2023-10-27T05:04:17.641Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-10-27T05:04:17.641Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-10-27T05:04:17.641Z] Message: update stable to v1.0.254 [2023-10-27T05:04:18.212Z] ------------------- [2023-10-27T05:04:18.212Z] experimental info: [2023-10-27T05:04:18.212Z] ------------------- [2023-10-27T05:04:18.212Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-10-27T05:04:18.212Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-10-27T05:04:18.212Z] Message: update experimental to v1.0.254 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-10-27T05:04:18.475Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo [2023-10-27T05:04:18.511Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo [2023-10-27T05:04:18.546Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-10-27T05:04:18.583Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-10-27T05:04:18.619Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-10-27T05:04:18.654Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2023-10-27T05:04:18.699Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-10-27T05:04:18.742Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-10-27T05:04:18.780Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-10-27T05:04:18.815Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-10-27T05:04:18.864Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-10-27T05:04:18.898Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo [2023-10-27T05:04:18.939Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-10-27T05:04:18.984Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-10-27T05:04:19.025Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-10-27T05:04:19.067Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-10-27T05:04:19.112Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-10-27T05:04:19.157Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-10-27T05:04:19.200Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-10-27T05:04:19.244Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-10-27T05:04:19.288Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-10-27T05:04:19.334Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-10-27T05:04:19.376Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-10-27T05:04:19.420Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-10-27T05:04:19.463Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-10-27T05:04:19.508Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-10-27T05:04:19.551Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-10-27T05:04:19.590Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-518 [Pipeline] echo [2023-10-27T05:04:19.630Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-518 [Pipeline] echo [2023-10-27T05:04:19.670Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-518 [Pipeline] echo [2023-10-27T05:04:19.709Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 9bf573b780e6dea7386ff37d38ccb2ead6a32b20 [Pipeline] echo [2023-10-27T05:04:19.754Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 9bf573b [Pipeline] echo [2023-10-27T05:04:19.800Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-10-27T05:04:19.912Z] provisioning config files... [2023-10-27T05:04:19.928Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-518@tmp/config13555508319924239401tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-27T05:04:20.267Z] ---> docker-login.sh [2023-10-27T05:04:20.267Z] nexus3.edgexfoundry.org:10001 [2023-10-27T05:04:20.526Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-27T05:04:20.526Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-27T05:04:20.526Z] Configure a credential helper to remove this warning. See [2023-10-27T05:04:20.526Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-27T05:04:20.526Z] [2023-10-27T05:04:20.526Z] Login Succeeded [2023-10-27T05:04:20.526Z] nexus3.edgexfoundry.org:10002 [2023-10-27T05:04:20.787Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-27T05:04:20.787Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-27T05:04:20.787Z] Configure a credential helper to remove this warning. See [2023-10-27T05:04:20.787Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-27T05:04:20.787Z] [2023-10-27T05:04:20.787Z] Login Succeeded [2023-10-27T05:04:20.787Z] nexus3.edgexfoundry.org:10003 [2023-10-27T05:04:20.787Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-27T05:04:20.787Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-27T05:04:20.787Z] Configure a credential helper to remove this warning. See [2023-10-27T05:04:20.787Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-27T05:04:20.787Z] [2023-10-27T05:04:20.787Z] Login Succeeded [2023-10-27T05:04:20.787Z] nexus3.edgexfoundry.org:10004 [2023-10-27T05:04:20.787Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-27T05:04:21.047Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-27T05:04:21.047Z] Configure a credential helper to remove this warning. See [2023-10-27T05:04:21.047Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-27T05:04:21.047Z] [2023-10-27T05:04:21.047Z] Login Succeeded [2023-10-27T05:04:21.047Z] docker.io [2023-10-27T05:04:21.047Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-27T05:04:21.307Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-27T05:04:21.307Z] Configure a credential helper to remove this warning. See [2023-10-27T05:04:21.307Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-27T05:04:21.307Z] [2023-10-27T05:04:21.307Z] Login Succeeded [2023-10-27T05:04:21.307Z] ---> docker-login.sh ends [Pipeline] } [2023-10-27T05:04:21.334Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-10-27T05:04:22.079Z] + git rev-list -1 --merges 9bf573b780e6dea7386ff37d38ccb2ead6a32b20~1..9bf573b780e6dea7386ff37d38ccb2ead6a32b20 [Pipeline] echo [2023-10-27T05:04:22.130Z] -----------> git rev-list -1 --merges 9bf573b780e6dea7386ff37d38ccb2ead6a32b20~1..9bf573b780e6dea7386ff37d38ccb2ead6a32b20 9bf573b780e6dea7386ff37d38ccb2ead6a32b20 [false] [Pipeline] sh [2023-10-27T05:04:22.438Z] + git log --format=format:%s -1 9bf573b780e6dea7386ff37d38ccb2ead6a32b20 [Pipeline] echo [2023-10-27T05:04:22.477Z] ========================================================= [2023-10-27T05:04:22.477Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-10-27T05:04:22.477Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-10-27T05:04:22.915Z] + git log --format=format:%s -1 9bf573b780e6dea7386ff37d38ccb2ead6a32b20 [Pipeline] echo [2023-10-27T05:04:22.943Z] [semverPrep] GIT_COMMIT: 9bf573b780e6dea7386ff37d38ccb2ead6a32b20, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo [2023-10-27T05:04:22.972Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-10-27T05:04:23.468Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-10-27T05:04:23.468Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-10-27T05:04:23.468Z] + [ -e /tmp/ssh_known_hosts ] [2023-10-27T05:04:23.468Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-10-27T05:04:23.468Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-10-27T05:04:23.468Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-10-27T05:04:23.468Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-27T05:04:23.894Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-27T05:04:23.894Z] [2023-10-27T05:04:23.894Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-27T05:04:24.261Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-27T05:04:24.261Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-10-27T05:04:24.261Z] b85a868b505f: Pulling fs layer [2023-10-27T05:04:24.261Z] e2be974225ed: Pulling fs layer [2023-10-27T05:04:24.261Z] 339a4e72a1f5: Pulling fs layer [2023-10-27T05:04:24.261Z] 988bab9f4d93: Pulling fs layer [2023-10-27T05:04:24.261Z] 1469e6f7b9e6: Pulling fs layer [2023-10-27T05:04:24.261Z] eaf3925da568: Pulling fs layer [2023-10-27T05:04:24.261Z] bab4dde63d76: Pulling fs layer [2023-10-27T05:04:24.261Z] bde34c3a00c8: Pulling fs layer [2023-10-27T05:04:24.261Z] b352a97aabf1: Pulling fs layer [2023-10-27T05:04:24.261Z] 988bab9f4d93: Waiting [2023-10-27T05:04:24.261Z] 1469e6f7b9e6: Waiting [2023-10-27T05:04:24.261Z] eaf3925da568: Waiting [2023-10-27T05:04:24.261Z] bde34c3a00c8: Waiting [2023-10-27T05:04:24.261Z] 4872d77fe225: Pulling fs layer [2023-10-27T05:04:24.261Z] 5851b861e8e6: Pulling fs layer [2023-10-27T05:04:24.261Z] b352a97aabf1: Waiting [2023-10-27T05:04:24.261Z] 4872d77fe225: Waiting [2023-10-27T05:04:24.261Z] 5851b861e8e6: Waiting [2023-10-27T05:04:24.261Z] e2be974225ed: Verifying Checksum [2023-10-27T05:04:24.261Z] e2be974225ed: Download complete [2023-10-27T05:04:24.261Z] 988bab9f4d93: Download complete [2023-10-27T05:04:24.530Z] 1469e6f7b9e6: Verifying Checksum [2023-10-27T05:04:24.530Z] 1469e6f7b9e6: Download complete [2023-10-27T05:04:24.530Z] eaf3925da568: Download complete [2023-10-27T05:04:24.530Z] 339a4e72a1f5: Verifying Checksum [2023-10-27T05:04:24.530Z] 339a4e72a1f5: Download complete [2023-10-27T05:04:24.530Z] bde34c3a00c8: Verifying Checksum [2023-10-27T05:04:24.530Z] bde34c3a00c8: Download complete [2023-10-27T05:04:24.530Z] b352a97aabf1: Verifying Checksum [2023-10-27T05:04:24.530Z] b352a97aabf1: Download complete [2023-10-27T05:04:24.530Z] 4872d77fe225: Verifying Checksum [2023-10-27T05:04:24.530Z] 4872d77fe225: Download complete [2023-10-27T05:04:24.530Z] 5851b861e8e6: Verifying Checksum [2023-10-27T05:04:24.530Z] 5851b861e8e6: Download complete [2023-10-27T05:04:24.530Z] b85a868b505f: Download complete [2023-10-27T05:04:24.791Z] bab4dde63d76: Verifying Checksum [2023-10-27T05:04:24.791Z] bab4dde63d76: Download complete [2023-10-27T05:04:25.734Z] b85a868b505f: Pull complete [2023-10-27T05:04:25.992Z] e2be974225ed: Pull complete [2023-10-27T05:04:26.257Z] 339a4e72a1f5: Pull complete [2023-10-27T05:04:26.516Z] 988bab9f4d93: Pull complete [2023-10-27T05:04:26.774Z] 1469e6f7b9e6: Pull complete [2023-10-27T05:04:26.774Z] eaf3925da568: Pull complete [2023-10-27T05:04:28.680Z] bab4dde63d76: Pull complete [2023-10-27T05:04:28.680Z] bde34c3a00c8: Pull complete [2023-10-27T05:04:28.680Z] b352a97aabf1: Pull complete [2023-10-27T05:04:28.940Z] 4872d77fe225: Pull complete [2023-10-27T05:04:28.940Z] 5851b861e8e6: Pull complete [2023-10-27T05:04:28.940Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-10-27T05:04:28.940Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-27T05:04:28.940Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-27T05:04:29.173Z] prd-ubuntu20.04-docker-8c-8g-12484 does not seem to be running inside a container [2023-10-27T05:04:29.212Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-518 -v /w/workspace/xfoundry_device-modbus-go_PR-518:/w/workspace/xfoundry_device-modbus-go_PR-518:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-518@tmp:/w/workspace/xfoundry_device-modbus-go_PR-518@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-10-27T05:04:32.336Z] $ docker top 87b577a2c1f305c5e27e78bd609c1e535934e5167466cc4fae3a8a1f5c96007c -eo pid,comm [2023-10-27T05:04:32.381Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-10-27T05:04:32.381Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-10-27T05:04:32.518Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-10-27T05:04:32.518Z] [ssh-agent] Looking for ssh-agent implementation... [2023-10-27T05:04:32.632Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-10-27T05:04:32.641Z] $ docker exec 87b577a2c1f305c5e27e78bd609c1e535934e5167466cc4fae3a8a1f5c96007c ssh-agent [2023-10-27T05:04:32.753Z] SSH_AUTH_SOCK=/tmp/ssh-z8C4LY7Ifb7j/agent.33 [2023-10-27T05:04:32.753Z] SSH_AGENT_PID=39 [2023-10-27T05:04:32.762Z] Running ssh-add (command line suppressed) [2023-10-27T05:04:32.867Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-518@tmp/private_key_16358041481407208331.key (/w/workspace/xfoundry_device-modbus-go_PR-518@tmp/private_key_16358041481407208331.key) [2023-10-27T05:04:32.874Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-10-27T05:04:33.202Z] + git tag --points-at HEAD [Pipeline] } [2023-10-27T05:04:33.233Z] $ docker exec --env ******** --env ******** 87b577a2c1f305c5e27e78bd609c1e535934e5167466cc4fae3a8a1f5c96007c ssh-agent -k [2023-10-27T05:04:33.342Z] unset SSH_AUTH_SOCK; [2023-10-27T05:04:33.342Z] unset SSH_AGENT_PID; [2023-10-27T05:04:33.343Z] echo Agent pid 39 killed; [2023-10-27T05:04:33.348Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-10-27T05:04:33.436Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-10-27T05:04:33.436Z] [ssh-agent] Looking for ssh-agent implementation... [2023-10-27T05:04:33.548Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-10-27T05:04:33.556Z] $ docker exec 87b577a2c1f305c5e27e78bd609c1e535934e5167466cc4fae3a8a1f5c96007c ssh-agent [2023-10-27T05:04:33.653Z] SSH_AUTH_SOCK=/tmp/ssh-p5NlsGv2NwQl/agent.71 [2023-10-27T05:04:33.653Z] SSH_AGENT_PID=77 [2023-10-27T05:04:33.658Z] Running ssh-add (command line suppressed) [2023-10-27T05:04:33.757Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-518@tmp/private_key_7822916495896281700.key (/w/workspace/xfoundry_device-modbus-go_PR-518@tmp/private_key_7822916495896281700.key) [2023-10-27T05:04:33.765Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-10-27T05:04:34.085Z] + git semver init [2023-10-27T05:04:34.345Z] 2023-10-27 05:04:34,274 [run_init] DEBUG init version:0.0.0 force:False [2023-10-27T05:04:34.345Z] 2023-10-27 05:04:34,275 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-modbus-go_PR-518/.semver [2023-10-27T05:04:34.345Z] 2023-10-27 05:04:34,275 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/xfoundry_device-modbus-go_PR-518/.semver [2023-10-27T05:04:34.345Z] 2023-10-27 05:04:34,275 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/xfoundry_device-modbus-go_PR-518/.semver'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-518, universal_newlines=False, shell=None, istream=None) [2023-10-27T05:04:35.280Z] 2023-10-27 05:04:35,167 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-modbus-go_PR-518/.git/info/exclude [2023-10-27T05:04:35.280Z] 2023-10-27 05:04:35,168 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-modbus-go_PR-518/.semver/PR-518 with force:False [2023-10-27T05:04:35.280Z] 2023-10-27 05:04:35,168 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-modbus-go_PR-518/.semver/PR-518 [2023-10-27T05:04:35.280Z] 2023-10-27 05:04:35,173 [execute] INFO git cat-file --batch-check [2023-10-27T05:04:35.281Z] 2023-10-27 05:04:35,174 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-518/.semver, universal_newlines=False, shell=None, istream=) [2023-10-27T05:04:35.281Z] 2023-10-27 05:04:35,181 [execute] INFO git cat-file --batch [2023-10-27T05:04:35.281Z] 2023-10-27 05:04:35,181 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-518/.semver, universal_newlines=False, shell=None, istream=) [2023-10-27T05:04:35.281Z] 2023-10-27 05:04:35,187 [read_version] DEBUG read version from /w/workspace/xfoundry_device-modbus-go_PR-518/.semver/PR-518 [2023-10-27T05:04:35.281Z] 0.0.0 [Pipeline] } [2023-10-27T05:04:35.315Z] $ docker exec --env ******** --env ******** 87b577a2c1f305c5e27e78bd609c1e535934e5167466cc4fae3a8a1f5c96007c ssh-agent -k [2023-10-27T05:04:35.430Z] unset SSH_AUTH_SOCK; [2023-10-27T05:04:35.430Z] unset SSH_AGENT_PID; [2023-10-27T05:04:35.431Z] echo Agent pid 77 killed; [2023-10-27T05:04:35.432Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-10-27T05:04:35.846Z] + git semver [Pipeline] } [2023-10-27T05:04:36.133Z] $ docker stop --time=1 87b577a2c1f305c5e27e78bd609c1e535934e5167466cc4fae3a8a1f5c96007c [2023-10-27T05:04:37.431Z] $ docker rm -f --volumes 87b577a2c1f305c5e27e78bd609c1e535934e5167466cc4fae3a8a1f5c96007c [Pipeline] // withDockerContainer [Pipeline] sh [2023-10-27T05:04:37.853Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-10-27T05:04:38.106Z] Stashed 1 file(s) [Pipeline] echo [2023-10-27T05:04:38.124Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-10-27T05:04:38.721Z] provisioning config files... [2023-10-27T05:04:38.730Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-518@tmp/config11765650771945174911tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-27T05:04:39.139Z] ---> docker-login.sh [2023-10-27T05:04:39.140Z] nexus3.edgexfoundry.org:10001 [2023-10-27T05:04:39.140Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-27T05:04:39.140Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-27T05:04:39.140Z] Configure a credential helper to remove this warning. See [2023-10-27T05:04:39.140Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-27T05:04:39.140Z] [2023-10-27T05:04:39.140Z] Login Succeeded [2023-10-27T05:04:39.140Z] nexus3.edgexfoundry.org:10002 [2023-10-27T05:04:39.140Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-27T05:04:39.140Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-27T05:04:39.140Z] Configure a credential helper to remove this warning. See [2023-10-27T05:04:39.140Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-27T05:04:39.140Z] [2023-10-27T05:04:39.140Z] Login Succeeded [2023-10-27T05:04:39.140Z] nexus3.edgexfoundry.org:10003 [2023-10-27T05:04:39.400Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-27T05:04:39.400Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-27T05:04:39.400Z] Configure a credential helper to remove this warning. See [2023-10-27T05:04:39.400Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-27T05:04:39.400Z] [2023-10-27T05:04:39.400Z] Login Succeeded [2023-10-27T05:04:39.400Z] nexus3.edgexfoundry.org:10004 [2023-10-27T05:04:39.400Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-27T05:04:39.400Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-27T05:04:39.400Z] Configure a credential helper to remove this warning. See [2023-10-27T05:04:39.400Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-27T05:04:39.400Z] [2023-10-27T05:04:39.400Z] Login Succeeded [2023-10-27T05:04:39.400Z] docker.io [2023-10-27T05:04:39.400Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-27T05:04:39.678Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-27T05:04:39.678Z] Configure a credential helper to remove this warning. See [2023-10-27T05:04:39.678Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-27T05:04:39.678Z] [2023-10-27T05:04:39.678Z] Login Succeeded [2023-10-27T05:04:39.678Z] ---> docker-login.sh ends [Pipeline] } [2023-10-27T05:04:39.706Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-10-27T05:04:39.904Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-27T05:04:39.938Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-27T05:04:39.972Z] ========================================================= [2023-10-27T05:04:39.972Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2023-10-27T05:04:39.972Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-27T05:04:40.446Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2023-10-27T05:04:40.447Z] Sending build context to Docker daemon 6.548MB [2023-10-27T05:04:40.447Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2023-10-27T05:04:40.447Z] Step 2/10 : FROM ${BASE} AS builder [2023-10-27T05:04:40.447Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2023-10-27T05:04:40.447Z] 7264a8db6415: Pulling fs layer [2023-10-27T05:04:40.447Z] c4d48a809fc2: Pulling fs layer [2023-10-27T05:04:40.447Z] 4f1c88b9dad5: Pulling fs layer [2023-10-27T05:04:40.447Z] ad3a456e5733: Pulling fs layer [2023-10-27T05:04:40.447Z] 33e27b845d1e: Pulling fs layer [2023-10-27T05:04:40.447Z] c68163c4e522: Pulling fs layer [2023-10-27T05:04:40.447Z] 50da416c3ac9: Pulling fs layer [2023-10-27T05:04:40.447Z] 23d2d4c4bb30: Pulling fs layer [2023-10-27T05:04:40.447Z] ad3a456e5733: Waiting [2023-10-27T05:04:40.447Z] 33e27b845d1e: Waiting [2023-10-27T05:04:40.447Z] c68163c4e522: Waiting [2023-10-27T05:04:40.447Z] 50da416c3ac9: Waiting [2023-10-27T05:04:40.447Z] 23d2d4c4bb30: Waiting [2023-10-27T05:04:40.447Z] c4d48a809fc2: Verifying Checksum [2023-10-27T05:04:40.447Z] c4d48a809fc2: Download complete [2023-10-27T05:04:40.447Z] ad3a456e5733: Download complete [2023-10-27T05:04:40.447Z] 33e27b845d1e: Verifying Checksum [2023-10-27T05:04:40.447Z] 33e27b845d1e: Download complete [2023-10-27T05:04:40.447Z] 7264a8db6415: Download complete [2023-10-27T05:04:40.708Z] c68163c4e522: Verifying Checksum [2023-10-27T05:04:40.708Z] c68163c4e522: Download complete [2023-10-27T05:04:40.708Z] 7264a8db6415: Pull complete [2023-10-27T05:04:40.708Z] 23d2d4c4bb30: Verifying Checksum [2023-10-27T05:04:40.708Z] 23d2d4c4bb30: Download complete [2023-10-27T05:04:40.965Z] c4d48a809fc2: Pull complete [2023-10-27T05:04:40.965Z] 4f1c88b9dad5: Verifying Checksum [2023-10-27T05:04:40.965Z] 4f1c88b9dad5: Download complete [2023-10-27T05:04:41.222Z] 50da416c3ac9: Verifying Checksum [2023-10-27T05:04:41.222Z] 50da416c3ac9: Download complete [2023-10-27T05:04:43.754Z] 4f1c88b9dad5: Pull complete [2023-10-27T05:04:44.013Z] ad3a456e5733: Pull complete [2023-10-27T05:04:44.014Z] 33e27b845d1e: Pull complete [2023-10-27T05:04:44.014Z] c68163c4e522: Pull complete [2023-10-27T05:04:46.566Z] 50da416c3ac9: Pull complete [2023-10-27T05:04:46.566Z] 23d2d4c4bb30: Pull complete [2023-10-27T05:04:46.566Z] Digest: sha256:869f8081a9cc57a47d9be3c92245bb8518e7edea9beab93563b77b0fbed5fa8c [2023-10-27T05:04:46.566Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2023-10-27T05:04:46.566Z] ---> 0786185ac409 [2023-10-27T05:04:46.566Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2023-10-27T05:04:50.759Z] ---> Running in fd9f1f04ea15 [2023-10-27T05:04:50.759Z] Removing intermediate container fd9f1f04ea15 [2023-10-27T05:04:50.759Z] ---> 8b4cb3933af0 [2023-10-27T05:04:50.759Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-10-27T05:04:50.759Z] ---> Running in 91b6e7652f0a [2023-10-27T05:04:50.759Z] Removing intermediate container 91b6e7652f0a [2023-10-27T05:04:50.759Z] ---> 25b05c2394a9 [2023-10-27T05:04:50.759Z] Step 5/10 : RUN apk add --update --no-cache make git openssh [2023-10-27T05:04:50.759Z] ---> Running in c69b890ca557 [2023-10-27T05:04:51.017Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-10-27T05:04:51.017Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-10-27T05:04:51.276Z] (1/8) Installing openssh-keygen (9.3_p2-r0) [2023-10-27T05:04:51.276Z] (2/8) Installing libedit (20221030.3.1-r1) [2023-10-27T05:04:51.276Z] (3/8) Installing openssh-client-common (9.3_p2-r0) [2023-10-27T05:04:51.537Z] (4/8) Installing openssh-client-default (9.3_p2-r0) [2023-10-27T05:04:51.537Z] (5/8) Installing openssh-sftp-server (9.3_p2-r0) [2023-10-27T05:04:51.537Z] (6/8) Installing openssh-server-common (9.3_p2-r0) [2023-10-27T05:04:51.537Z] (7/8) Installing openssh-server (9.3_p2-r0) [2023-10-27T05:04:51.537Z] (8/8) Installing openssh (9.3_p2-r0) [2023-10-27T05:04:51.537Z] Executing busybox-1.36.1-r2.trigger [2023-10-27T05:04:51.537Z] OK: 270 MiB in 60 packages [2023-10-27T05:04:52.104Z] Removing intermediate container c69b890ca557 [2023-10-27T05:04:52.104Z] ---> 0b8ad8b0c19c [2023-10-27T05:04:52.104Z] Step 6/10 : WORKDIR /device-modbus-go [2023-10-27T05:04:52.104Z] ---> Running in 28f0a341aa20 [2023-10-27T05:04:52.104Z] Removing intermediate container 28f0a341aa20 [2023-10-27T05:04:52.104Z] ---> 267e634c6a7e [2023-10-27T05:04:52.104Z] Step 7/10 : COPY go.mod vendor* ./ [2023-10-27T05:04:52.362Z] ---> 4627e68f444d [2023-10-27T05:04:52.362Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-10-27T05:04:52.362Z] ---> Running in e2e84a24f326 [2023-10-27T05:04:53.533Z] Still waiting to schedule task [2023-10-27T05:04:53.534Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-10-27T05:05:48.608Z] Removing intermediate container e2e84a24f326 [2023-10-27T05:05:48.608Z] ---> 3f395d45391d [2023-10-27T05:05:48.608Z] Step 9/10 : COPY . . [2023-10-27T05:05:48.608Z] ---> 5312d0e67b36 [2023-10-27T05:05:48.608Z] Step 10/10 : RUN ${MAKE} [2023-10-27T05:05:48.608Z] ---> Running in ae8a1d757d92 [2023-10-27T05:05:48.608Z] noop [2023-10-27T05:05:48.608Z] Removing intermediate container ae8a1d757d92 [2023-10-27T05:05:48.608Z] ---> 4f27d88710f7 [2023-10-27T05:05:48.608Z] Successfully built 4f27d88710f7 [2023-10-27T05:05:48.608Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-27T05:05:49.047Z] + docker inspect -f . ci-base-image-x86_64 [2023-10-27T05:05:49.047Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-27T05:05:49.192Z] prd-ubuntu20.04-docker-8c-8g-12484 does not seem to be running inside a container [2023-10-27T05:05:49.224Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-518 -v /w/workspace/xfoundry_device-modbus-go_PR-518:/w/workspace/xfoundry_device-modbus-go_PR-518:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-518@tmp:/w/workspace/xfoundry_device-modbus-go_PR-518@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-10-27T05:05:49.562Z] $ docker top bd970e7a9b0f2128ce4e748035e8b17a566d3fca4490b12a2eecc15c2393ef0b -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-27T05:05:49.938Z] + go version [2023-10-27T05:05:49.938Z] go version go1.21.0 linux/amd64 [Pipeline] } [2023-10-27T05:05:49.981Z] $ docker stop --time=1 bd970e7a9b0f2128ce4e748035e8b17a566d3fca4490b12a2eecc15c2393ef0b [2023-10-27T05:05:51.266Z] $ docker rm -f --volumes bd970e7a9b0f2128ce4e748035e8b17a566d3fca4490b12a2eecc15c2393ef0b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-27T05:05:51.963Z] + docker inspect -f . ci-base-image-x86_64 [2023-10-27T05:05:51.963Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-27T05:05:52.112Z] prd-ubuntu20.04-docker-8c-8g-12484 does not seem to be running inside a container [2023-10-27T05:05:52.151Z] $ 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-518 -v /w/workspace/xfoundry_device-modbus-go_PR-518:/w/workspace/xfoundry_device-modbus-go_PR-518:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-518@tmp:/w/workspace/xfoundry_device-modbus-go_PR-518@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-10-27T05:05:52.429Z] $ docker top 19d30c0a8c610b00d107b2a18c107f6f28bc09d09753a4fd838a62cfa815eaac -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-27T05:05:52.804Z] + git config --global --add safe.directory /w/workspace/xfoundry_device-modbus-go_PR-518 [Pipeline] fileExists [Pipeline] sh [2023-10-27T05:05:53.166Z] + make test [2023-10-27T05:05:53.166Z] go test ./... -coverprofile=coverage.out [2023-10-27T05:05:54.540Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2023-10-27T05:06:04.500Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2023-10-27T05:06:04.500Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.015s coverage: 47.9% of statements [2023-10-27T05:06:11.054Z] go vet ./... [2023-10-27T05:06:14.330Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-10-27T05:06:14.330Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-10-27T05:06:14.330Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-10-27T05:06:14.615Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-10-27T05:06:14.652Z] $ docker stop --time=1 19d30c0a8c610b00d107b2a18c107f6f28bc09d09753a4fd838a62cfa815eaac [2023-10-27T05:06:17.878Z] $ docker rm -f --volumes 19d30c0a8c610b00d107b2a18c107f6f28bc09d09753a4fd838a62cfa815eaac [Pipeline] // withDockerContainer [Pipeline] sh [2023-10-27T05:06:18.412Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-10-27T05:06:18.503Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-10-27T05:06:19.113Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-10-27T05:06:19.420Z] + ls -al . [2023-10-27T05:06:19.420Z] total 188 [2023-10-27T05:06:19.420Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 27 05:05 . [2023-10-27T05:06:19.420Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 27 05:04 .. [2023-10-27T05:06:19.420Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 27 05:04 .dockerignore [2023-10-27T05:06:19.421Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 27 05:06 .git [2023-10-27T05:06:19.421Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 27 05:04 .github [2023-10-27T05:06:19.421Z] -rw-rw-r-- 1 jenkins jenkins 266 Oct 27 05:04 .gitignore [2023-10-27T05:06:19.421Z] -rw-rw-r-- 1 jenkins jenkins 41 Oct 27 05:04 .golangci.yml [2023-10-27T05:06:19.421Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 27 05:04 .semver [2023-10-27T05:06:19.421Z] -rw-rw-r-- 1 jenkins jenkins 11101 Oct 27 05:04 Attribution.txt [2023-10-27T05:06:19.421Z] -rw-rw-r-- 1 jenkins jenkins 14764 Oct 27 05:04 CHANGELOG.md [2023-10-27T05:06:19.421Z] -rw-rw-r-- 1 jenkins jenkins 1365 Oct 27 05:04 Dockerfile [2023-10-27T05:06:19.421Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 27 05:04 GOVERNANCE.md [2023-10-27T05:06:19.421Z] -rw-rw-r-- 1 jenkins jenkins 658 Oct 27 05:04 Jenkinsfile [2023-10-27T05:06:19.421Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 27 05:04 LICENSE [2023-10-27T05:06:19.421Z] -rw-rw-r-- 1 jenkins jenkins 1936 Oct 27 05:04 Makefile [2023-10-27T05:06:19.421Z] -rw-rw-r-- 1 jenkins jenkins 622 Oct 27 05:04 OWNERS.md [2023-10-27T05:06:19.421Z] -rw-rw-r-- 1 jenkins jenkins 4463 Oct 27 05:04 README.md [2023-10-27T05:06:19.421Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 27 05:04 VERSION [2023-10-27T05:06:19.421Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 27 05:04 bin [2023-10-27T05:06:19.421Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 27 05:04 cmd [2023-10-27T05:06:19.421Z] -rw-r--r-- 1 jenkins jenkins 24334 Oct 27 05:06 coverage.out [2023-10-27T05:06:19.421Z] -rw-rw-r-- 1 jenkins jenkins 3942 Oct 27 05:04 go.mod [2023-10-27T05:06:19.421Z] -rw-rw-r-- 1 jenkins jenkins 35436 Oct 27 05:04 go.sum [2023-10-27T05:06:19.421Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 27 05:04 internal [2023-10-27T05:06:19.421Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 27 05:04 simulator [2023-10-27T05:06:19.421Z] -rw-rw-r-- 1 jenkins jenkins 229 Oct 27 05:04 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-27T05:06:19.817Z] + 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=9bf573b780e6dea7386ff37d38ccb2ead6a32b20 --label arch=amd64 --label version=0.0.0 . [2023-10-27T05:06:19.817Z] Sending build context to Docker daemon 6.574MB [2023-10-27T05:06:19.817Z] Step 1/22 : ARG BASE=golang:1.21-alpine3.18 [2023-10-27T05:06:19.817Z] Step 2/22 : FROM ${BASE} AS builder [2023-10-27T05:06:19.817Z] ---> 4f27d88710f7 [2023-10-27T05:06:19.817Z] Step 3/22 : ARG ADD_BUILD_TAGS="" [2023-10-27T05:06:20.076Z] ---> Running in 4b91e84ab84c [2023-10-27T05:06:20.076Z] Removing intermediate container 4b91e84ab84c [2023-10-27T05:06:20.076Z] ---> 91f66674f913 [2023-10-27T05:06:20.076Z] Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-10-27T05:06:20.076Z] ---> Running in bca9dc9bd7d7 [2023-10-27T05:06:20.076Z] Removing intermediate container bca9dc9bd7d7 [2023-10-27T05:06:20.076Z] ---> 9d2006121a9f [2023-10-27T05:06:20.076Z] Step 5/22 : RUN apk add --update --no-cache make git openssh [2023-10-27T05:06:20.076Z] ---> Running in 5681a13ae16d [2023-10-27T05:06:20.335Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-10-27T05:06:20.593Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-10-27T05:06:20.852Z] OK: 270 MiB in 60 packages [2023-10-27T05:06:21.111Z] Removing intermediate container 5681a13ae16d [2023-10-27T05:06:21.111Z] ---> 0391c6df41bb [2023-10-27T05:06:21.111Z] Step 6/22 : WORKDIR /device-modbus-go [2023-10-27T05:06:21.111Z] ---> Running in 461bd038664c [2023-10-27T05:06:21.111Z] Removing intermediate container 461bd038664c [2023-10-27T05:06:21.111Z] ---> 120941b47262 [2023-10-27T05:06:21.111Z] Step 7/22 : COPY go.mod vendor* ./ [2023-10-27T05:06:21.369Z] ---> 1a21397f1686 [2023-10-27T05:06:21.369Z] Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-10-27T05:06:21.369Z] ---> Running in a60352fe794c [2023-10-27T05:06:21.935Z] Removing intermediate container a60352fe794c [2023-10-27T05:06:21.935Z] ---> c87122e2e0de [2023-10-27T05:06:21.935Z] Step 9/22 : COPY . . [2023-10-27T05:06:22.502Z] ---> 1a06872ca58b [2023-10-27T05:06:22.502Z] Step 10/22 : RUN ${MAKE} [2023-10-27T05:06:22.502Z] ---> Running in 4b1f026cdf72 [2023-10-27T05:06:22.760Z] 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.37" -trimpath -mod=readonly -o cmd/device-modbus ./cmd [2023-10-27T05:06:40.834Z] Removing intermediate container 4b1f026cdf72 [2023-10-27T05:06:40.834Z] ---> 0b5eac876765 [2023-10-27T05:06:40.834Z] Step 11/22 : FROM alpine:3.18 [2023-10-27T05:06:41.092Z] 3.18: Pulling from library/alpine [2023-10-27T05:06:41.092Z] 96526aa774ef: Pulling fs layer [2023-10-27T05:06:41.350Z] 96526aa774ef: Verifying Checksum [2023-10-27T05:06:41.350Z] 96526aa774ef: Download complete [2023-10-27T05:06:41.608Z] 96526aa774ef: Pull complete [2023-10-27T05:06:41.608Z] Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 [2023-10-27T05:06:41.608Z] Status: Downloaded newer image for alpine:3.18 [2023-10-27T05:06:41.608Z] ---> 8ca4688f4f35 [2023-10-27T05:06:41.608Z] Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2023-10-27T05:06:41.608Z] ---> Running in 28b0d4bd6914 [2023-10-27T05:06:41.866Z] Removing intermediate container 28b0d4bd6914 [2023-10-27T05:06:41.866Z] ---> 95db4a09c3a0 [2023-10-27T05:06:41.866Z] Step 13/22 : RUN apk add --update --no-cache dumb-init [2023-10-27T05:06:41.866Z] ---> Running in b5415a6b4627 [2023-10-27T05:06:42.124Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-10-27T05:06:42.124Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-10-27T05:06:42.382Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-10-27T05:06:42.382Z] Executing busybox-1.36.1-r2.trigger [2023-10-27T05:06:42.641Z] OK: 7 MiB in 16 packages [2023-10-27T05:06:42.900Z] Removing intermediate container b5415a6b4627 [2023-10-27T05:06:42.900Z] ---> ef7bf69606ea [2023-10-27T05:06:42.900Z] Step 14/22 : COPY --from=builder /device-modbus-go/cmd / [2023-10-27T05:06:43.833Z] ---> 4ce8db85e57f [2023-10-27T05:06:43.833Z] Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / [2023-10-27T05:06:43.833Z] ---> d2fef27cfee4 [2023-10-27T05:06:43.833Z] Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / [2023-10-27T05:06:44.092Z] ---> 0cabdd904d7f [2023-10-27T05:06:44.092Z] Step 17/22 : EXPOSE 59901 [2023-10-27T05:06:44.092Z] ---> Running in 72e67da03bec [2023-10-27T05:06:44.092Z] Removing intermediate container 72e67da03bec [2023-10-27T05:06:44.092Z] ---> 02eb9e10b148 [2023-10-27T05:06:44.092Z] Step 18/22 : ENTRYPOINT ["/device-modbus"] [2023-10-27T05:06:44.092Z] ---> Running in e792fa5ecf1e [2023-10-27T05:06:44.092Z] Removing intermediate container e792fa5ecf1e [2023-10-27T05:06:44.092Z] ---> bdba55c31a7b [2023-10-27T05:06:44.092Z] Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-10-27T05:06:44.092Z] ---> Running in b690bae808f1 [2023-10-27T05:06:44.351Z] Removing intermediate container b690bae808f1 [2023-10-27T05:06:44.351Z] ---> 84295b22b93c [2023-10-27T05:06:44.351Z] Step 20/22 : LABEL arch=amd64 [2023-10-27T05:06:44.351Z] ---> Running in d04745adc324 [2023-10-27T05:06:44.351Z] Removing intermediate container d04745adc324 [2023-10-27T05:06:44.351Z] ---> c6b24c6f23d3 [2023-10-27T05:06:44.351Z] Step 21/22 : LABEL git_sha=9bf573b780e6dea7386ff37d38ccb2ead6a32b20 [2023-10-27T05:06:44.351Z] ---> Running in 5eece689d4ae [2023-10-27T05:06:44.351Z] Removing intermediate container 5eece689d4ae [2023-10-27T05:06:44.351Z] ---> e16e467d774a [2023-10-27T05:06:44.351Z] Step 22/22 : LABEL version=0.0.0 [2023-10-27T05:06:44.351Z] ---> Running in 872683af67d7 [2023-10-27T05:06:44.610Z] Removing intermediate container 872683af67d7 [2023-10-27T05:06:44.610Z] ---> b907e9308b54 [2023-10-27T05:06:44.610Z] [Warning] One or more build-args [ARCH] were not consumed [2023-10-27T05:06:44.610Z] Successfully built b907e9308b54 [2023-10-27T05:06:44.610Z] Successfully tagged device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-27T05:06:45.461Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-27T05:06:45.461Z] [2023-10-27T05:06:45.461Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-27T05:06:45.835Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-27T05:06:45.835Z] latest: Pulling from edgex-lftools-log-publisher [2023-10-27T05:06:45.835Z] 5eb5b503b376: Pulling fs layer [2023-10-27T05:06:45.835Z] 5c69ac0246d0: Pulling fs layer [2023-10-27T05:06:45.835Z] ec43610c2a17: Pulling fs layer [2023-10-27T05:06:45.835Z] 3a2ae6a8a46f: Pulling fs layer [2023-10-27T05:06:45.835Z] 33b1e0a273af: Pulling fs layer [2023-10-27T05:06:45.835Z] 5d3b04190fa2: Pulling fs layer [2023-10-27T05:06:45.835Z] 2f39f015ded8: Pulling fs layer [2023-10-27T05:06:45.835Z] 33b1e0a273af: Waiting [2023-10-27T05:06:45.835Z] 3a2ae6a8a46f: Waiting [2023-10-27T05:06:45.835Z] 5d3b04190fa2: Waiting [2023-10-27T05:06:45.835Z] 2f39f015ded8: Waiting [2023-10-27T05:06:45.835Z] 5c69ac0246d0: Download complete [2023-10-27T05:06:45.835Z] 3a2ae6a8a46f: Verifying Checksum [2023-10-27T05:06:45.835Z] 3a2ae6a8a46f: Download complete [2023-10-27T05:06:45.835Z] 33b1e0a273af: Verifying Checksum [2023-10-27T05:06:45.835Z] 33b1e0a273af: Download complete [2023-10-27T05:06:45.836Z] 5d3b04190fa2: Verifying Checksum [2023-10-27T05:06:45.836Z] 5d3b04190fa2: Download complete [2023-10-27T05:06:46.094Z] ec43610c2a17: Verifying Checksum [2023-10-27T05:06:46.094Z] ec43610c2a17: Download complete [2023-10-27T05:06:46.094Z] 5eb5b503b376: Verifying Checksum [2023-10-27T05:06:46.094Z] 5eb5b503b376: Download complete [2023-10-27T05:06:46.660Z] 2f39f015ded8: Verifying Checksum [2023-10-27T05:06:46.660Z] 2f39f015ded8: Download complete [2023-10-27T05:06:49.047Z] 5eb5b503b376: Pull complete [2023-10-27T05:06:49.047Z] 5c69ac0246d0: Pull complete [2023-10-27T05:06:49.399Z] ec43610c2a17: Pull complete [2023-10-27T05:06:49.658Z] 3a2ae6a8a46f: Pull complete [2023-10-27T05:06:49.918Z] 33b1e0a273af: Pull complete [2023-10-27T05:06:49.918Z] 5d3b04190fa2: Pull complete [2023-10-27T05:06:54.115Z] 2f39f015ded8: Pull complete [2023-10-27T05:06:54.385Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-10-27T05:06:54.385Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-27T05:06:54.645Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-27T05:06:54.853Z] prd-ubuntu20.04-docker-8c-8g-12484 does not seem to be running inside a container [2023-10-27T05:06:54.910Z] $ 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-518 -v /w/workspace/xfoundry_device-modbus-go_PR-518:/w/workspace/xfoundry_device-modbus-go_PR-518:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-518@tmp:/w/workspace/xfoundry_device-modbus-go_PR-518@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-10-27T05:07:08.305Z] $ docker top 7d2344fa289c5cdc7f26f1762b9a1fd494c2e69973b0366b3996629f0dd717d7 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-27T05:07:08.713Z] ---> job-cost.sh [2023-10-27T05:07:08.713Z] lf-activate-venv: SKIPPING [2023-10-27T05:07:08.713Z] INFO: No Stack... [2023-10-27T05:07:08.971Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-10-27T05:07:09.229Z] INFO: Archiving Costs [Pipeline] sh [2023-10-27T05:07:09.538Z] + cat /w/workspace/xfoundry_device-modbus-go_PR-518/archives/cost.csv [2023-10-27T05:07:09.539Z] + cut -d, -f6 [Pipeline] lock [2023-10-27T05:07:09.576Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-518-1-stack-cost] [2023-10-27T05:07:09.581Z] Resource [jenkins-edgexfoundry-device-modbus-go-PR-518-1-stack-cost] did not exist. Created. [2023-10-27T05:07:09.581Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-518-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-10-27T05:07:09.969Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-10-27T05:07:10.014Z] Stashed 1 file(s) [Pipeline] } [2023-10-27T05:07:10.042Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-518-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-10-27T05:07:10.126Z] $ docker stop --time=1 7d2344fa289c5cdc7f26f1762b9a1fd494c2e69973b0366b3996629f0dd717d7 [2023-10-27T05:07:11.272Z] $ docker rm -f --volumes 7d2344fa289c5cdc7f26f1762b9a1fd494c2e69973b0366b3996629f0dd717d7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-10-27T05:08:32.783Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-12486 in /w/workspace/xfoundry_device-modbus-go_PR-518 [Pipeline] { [Pipeline] ws [2023-10-27T05:08:32.839Z] Running in /w/workspace/device-modbus-go/1 [Pipeline] { [Pipeline] checkout [2023-10-27T05:08:32.917Z] Selected Git installation does not exist. Using Default [2023-10-27T05:08:32.917Z] The recommended git tool is: NONE [2023-10-27T05:08:38.965Z] using credential edgex-jenkins-ssh [2023-10-27T05:08:38.987Z] Cloning the remote Git repository [2023-10-27T05:08:39.047Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2023-10-27T05:08:39.154Z] > git init /w/workspace/device-modbus-go/1 # timeout=10 [2023-10-27T05:08:39.331Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2023-10-27T05:08:39.332Z] > git --version # timeout=10 [2023-10-27T05:08:39.361Z] > git --version # 'git version 2.25.1' [2023-10-27T05:08:39.364Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-10-27T05:08:39.536Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-10-27T05:08:40.848Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2023-10-27T05:08:40.884Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-10-27T05:08:42.731Z] Merging remotes/origin/main commit 556aa6930cf2f2a45b00f01e1ce4bcd5b7a62e31 into PR head commit 9bf573b780e6dea7386ff37d38ccb2ead6a32b20 [2023-10-27T05:08:43.073Z] Merge succeeded, producing 9bf573b780e6dea7386ff37d38ccb2ead6a32b20 [2023-10-27T05:08:43.073Z] Checking out Revision 9bf573b780e6dea7386ff37d38ccb2ead6a32b20 (PR-518) [2023-10-27T05:08:42.029Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2023-10-27T05:08:42.089Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2023-10-27T05:08:42.090Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-10-27T05:08:42.118Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/518/head:refs/remotes/origin/PR-518 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-10-27T05:08:42.757Z] > git config core.sparsecheckout # timeout=10 [2023-10-27T05:08:42.847Z] > git checkout -f 9bf573b780e6dea7386ff37d38ccb2ead6a32b20 # timeout=10 [2023-10-27T05:08:42.951Z] > git remote # timeout=10 [2023-10-27T05:08:42.975Z] > git config --get remote.origin.url # timeout=10 [2023-10-27T05:08:42.998Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-10-27T05:08:43.021Z] > git merge 556aa6930cf2f2a45b00f01e1ce4bcd5b7a62e31 # timeout=10 [2023-10-27T05:08:43.054Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-10-27T05:08:43.085Z] > git config core.sparsecheckout # timeout=10 [2023-10-27T05:08:43.104Z] > git checkout -f 9bf573b780e6dea7386ff37d38ccb2ead6a32b20 # timeout=10 [2023-10-27T05:08:43.679Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" [2023-10-27T05:08:43.737Z] > git --version # timeout=10 [2023-10-27T05:08:43.752Z] > git --version # 'git version 2.25.1' [2023-10-27T05:08:43.769Z] fatal: bad object e143027787c0ac28563f7e92b6cefc600d3b7107 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-10-27T05:08:45.117Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-10-27T05:08:45.117Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-10-27T05:08:45.117Z] Dload Upload Total Spent Left Speed [2023-10-27T05:08:45.397Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 45216 0 --:--:-- --:--:-- --:--:-- 45377 [Pipeline] sh [2023-10-27T05:08:46.187Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-10-27T05:08:46.569Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-10-27T05:08:46.569Z] + sudo tee /etc/docker/daemon.new [2023-10-27T05:08:46.569Z] { [2023-10-27T05:08:46.569Z] "registry-mirrors": [ [2023-10-27T05:08:46.569Z] "https://nexus3.edgexfoundry.org:10001" [2023-10-27T05:08:46.569Z] ], [2023-10-27T05:08:46.569Z] "bip": "10.250.0.254/24", [2023-10-27T05:08:46.569Z] "hosts": [ [2023-10-27T05:08:46.569Z] "tcp://0.0.0.0:5555", [2023-10-27T05:08:46.569Z] "unix:///var/run/docker.sock" [2023-10-27T05:08:46.569Z] ], [2023-10-27T05:08:46.569Z] "mtu": 1458, [2023-10-27T05:08:46.569Z] "selinux-enabled": true, [2023-10-27T05:08:46.569Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-10-27T05:08:46.569Z] } [Pipeline] sh [2023-10-27T05:08:46.948Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-10-27T05:08:47.341Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-10-27T05:09:09.548Z] provisioning config files... [2023-10-27T05:09:09.574Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/1@tmp/config5868471476183817509tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-27T05:09:09.950Z] ---> docker-login.sh [2023-10-27T05:09:09.951Z] nexus3.edgexfoundry.org:10001 [2023-10-27T05:09:10.544Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-27T05:09:10.544Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-27T05:09:10.544Z] Configure a credential helper to remove this warning. See [2023-10-27T05:09:10.544Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-27T05:09:10.544Z] [2023-10-27T05:09:10.544Z] Login Succeeded [2023-10-27T05:09:10.544Z] nexus3.edgexfoundry.org:10002 [2023-10-27T05:09:11.135Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-27T05:09:11.135Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-27T05:09:11.135Z] Configure a credential helper to remove this warning. See [2023-10-27T05:09:11.135Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-27T05:09:11.135Z] [2023-10-27T05:09:11.135Z] Login Succeeded [2023-10-27T05:09:11.135Z] nexus3.edgexfoundry.org:10003 [2023-10-27T05:09:11.406Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-27T05:09:11.406Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-27T05:09:11.406Z] Configure a credential helper to remove this warning. See [2023-10-27T05:09:11.406Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-27T05:09:11.406Z] [2023-10-27T05:09:11.406Z] Login Succeeded [2023-10-27T05:09:11.406Z] nexus3.edgexfoundry.org:10004 [2023-10-27T05:09:11.680Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-27T05:09:11.953Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-27T05:09:11.953Z] Configure a credential helper to remove this warning. See [2023-10-27T05:09:11.953Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-27T05:09:11.953Z] [2023-10-27T05:09:11.953Z] Login Succeeded [2023-10-27T05:09:11.953Z] docker.io [2023-10-27T05:09:12.221Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-27T05:09:12.488Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-27T05:09:12.488Z] Configure a credential helper to remove this warning. See [2023-10-27T05:09:12.488Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-27T05:09:12.488Z] [2023-10-27T05:09:12.488Z] Login Succeeded [2023-10-27T05:09:12.488Z] ---> docker-login.sh ends [Pipeline] } [2023-10-27T05:09:12.519Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-10-27T05:09:13.070Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-27T05:09:13.102Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-27T05:09:13.132Z] ========================================================= [2023-10-27T05:09:13.132Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2023-10-27T05:09:13.132Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-27T05:09:13.738Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2023-10-27T05:09:14.017Z] Sending build context to Docker daemon 3.398MB [2023-10-27T05:09:14.017Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2023-10-27T05:09:14.017Z] Step 2/10 : FROM ${BASE} AS builder [2023-10-27T05:09:14.290Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-10-27T05:09:14.290Z] 9fda8d8052c6: Pulling fs layer [2023-10-27T05:09:14.290Z] 5d54e960e981: Pulling fs layer [2023-10-27T05:09:14.290Z] c4a7e357bf2a: Pulling fs layer [2023-10-27T05:09:14.290Z] f0e02332f6b5: Pulling fs layer [2023-10-27T05:09:14.290Z] cefa15bbcfad: Pulling fs layer [2023-10-27T05:09:14.290Z] 17808c966233: Pulling fs layer [2023-10-27T05:09:14.290Z] f4c1fc716caa: Pulling fs layer [2023-10-27T05:09:14.290Z] f0e02332f6b5: Waiting [2023-10-27T05:09:14.290Z] cefa15bbcfad: Waiting [2023-10-27T05:09:14.290Z] 17808c966233: Waiting [2023-10-27T05:09:14.290Z] f4c1fc716caa: Waiting [2023-10-27T05:09:14.290Z] 5d54e960e981: Verifying Checksum [2023-10-27T05:09:14.290Z] 5d54e960e981: Download complete [2023-10-27T05:09:14.290Z] f0e02332f6b5: Verifying Checksum [2023-10-27T05:09:14.290Z] f0e02332f6b5: Download complete [2023-10-27T05:09:14.290Z] cefa15bbcfad: Verifying Checksum [2023-10-27T05:09:14.290Z] cefa15bbcfad: Download complete [2023-10-27T05:09:14.562Z] 9fda8d8052c6: Verifying Checksum [2023-10-27T05:09:14.562Z] 9fda8d8052c6: Download complete [2023-10-27T05:09:14.839Z] f4c1fc716caa: Verifying Checksum [2023-10-27T05:09:14.839Z] f4c1fc716caa: Download complete [2023-10-27T05:09:15.434Z] 9fda8d8052c6: Pull complete [2023-10-27T05:09:16.025Z] 5d54e960e981: Pull complete [2023-10-27T05:09:16.612Z] c4a7e357bf2a: Verifying Checksum [2023-10-27T05:09:16.612Z] c4a7e357bf2a: Download complete [2023-10-27T05:09:17.580Z] 17808c966233: Verifying Checksum [2023-10-27T05:09:17.580Z] 17808c966233: Download complete [2023-10-27T05:09:29.929Z] c4a7e357bf2a: Pull complete [2023-10-27T05:09:29.929Z] f0e02332f6b5: Pull complete [2023-10-27T05:09:29.929Z] cefa15bbcfad: Pull complete [2023-10-27T05:09:40.069Z] 17808c966233: Pull complete [2023-10-27T05:09:40.069Z] f4c1fc716caa: Pull complete [2023-10-27T05:09:40.069Z] Digest: sha256:f9b5da702465edd0a2564459334de068a24595700ad6c8d0b85b07445f0b3000 [2023-10-27T05:09:40.069Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2023-10-27T05:09:40.069Z] ---> ea914061e18c [2023-10-27T05:09:40.069Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2023-10-27T05:09:41.482Z] ---> Running in 11e95a53def4 [2023-10-27T05:09:41.750Z] Removing intermediate container 11e95a53def4 [2023-10-27T05:09:41.750Z] ---> 10002a919801 [2023-10-27T05:09:41.750Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-10-27T05:09:42.020Z] ---> Running in 3df03d6d9684 [2023-10-27T05:09:42.290Z] Removing intermediate container 3df03d6d9684 [2023-10-27T05:09:42.290Z] ---> ba79c55e9335 [2023-10-27T05:09:42.290Z] Step 5/10 : RUN apk add --update --no-cache make git openssh [2023-10-27T05:09:42.290Z] ---> Running in 17dbec77fe31 [2023-10-27T05:09:43.728Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-10-27T05:09:43.997Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-10-27T05:09:45.410Z] (1/8) Installing openssh-keygen (9.3_p2-r0) [2023-10-27T05:09:45.410Z] (2/8) Installing libedit (20221030.3.1-r1) [2023-10-27T05:09:45.410Z] (3/8) Installing openssh-client-common (9.3_p2-r0) [2023-10-27T05:09:45.410Z] (4/8) Installing openssh-client-default (9.3_p2-r0) [2023-10-27T05:09:45.410Z] (5/8) Installing openssh-sftp-server (9.3_p2-r0) [2023-10-27T05:09:45.410Z] (6/8) Installing openssh-server-common (9.3_p2-r0) [2023-10-27T05:09:45.410Z] (7/8) Installing openssh-server (9.3_p2-r0) [2023-10-27T05:09:45.410Z] (8/8) Installing openssh (9.3_p2-r0) [2023-10-27T05:09:45.410Z] Executing busybox-1.36.1-r2.trigger [2023-10-27T05:09:45.410Z] OK: 272 MiB in 60 packages [2023-10-27T05:09:46.841Z] Removing intermediate container 17dbec77fe31 [2023-10-27T05:09:46.841Z] ---> 830a5e95d041 [2023-10-27T05:09:46.841Z] Step 6/10 : WORKDIR /device-modbus-go [2023-10-27T05:09:46.841Z] ---> Running in d2630e8437d4 [2023-10-27T05:09:47.120Z] Removing intermediate container d2630e8437d4 [2023-10-27T05:09:47.120Z] ---> 7fc0ea98ab9b [2023-10-27T05:09:47.120Z] Step 7/10 : COPY go.mod vendor* ./ [2023-10-27T05:09:47.719Z] ---> 481498137e29 [2023-10-27T05:09:47.719Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-10-27T05:09:47.719Z] ---> Running in ab920ba4dbf9 [2023-10-27T05:11:24.384Z] Removing intermediate container ab920ba4dbf9 [2023-10-27T05:11:24.384Z] ---> e2df816f2f91 [2023-10-27T05:11:24.384Z] Step 9/10 : COPY . . [2023-10-27T05:11:24.384Z] ---> 50345da94dac [2023-10-27T05:11:24.384Z] Step 10/10 : RUN ${MAKE} [2023-10-27T05:11:24.384Z] ---> Running in 7a07def96ff6 [2023-10-27T05:11:24.384Z] noop [2023-10-27T05:11:24.384Z] Removing intermediate container 7a07def96ff6 [2023-10-27T05:11:24.384Z] ---> e4369b306923 [2023-10-27T05:11:24.384Z] Successfully built e4369b306923 [2023-10-27T05:11:24.384Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-27T05:11:24.879Z] + docker inspect -f . ci-base-image-arm64 [2023-10-27T05:11:24.879Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-27T05:11:25.160Z] prd-ubuntu20.04-docker-arm64-4c-16g-12486 does not seem to be running inside a container [2023-10-27T05:11:25.234Z] $ 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-10-27T05:11:26.490Z] $ docker top 9c5d3c7d4e8fbf99a6636533da89565c818d27a9f32f3a73988f39ca135df0ea -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-27T05:11:27.380Z] + go version [2023-10-27T05:11:27.380Z] go version go1.21.0 linux/arm64 [Pipeline] } [2023-10-27T05:11:27.419Z] $ docker stop --time=1 9c5d3c7d4e8fbf99a6636533da89565c818d27a9f32f3a73988f39ca135df0ea [2023-10-27T05:11:29.084Z] $ docker rm -f --volumes 9c5d3c7d4e8fbf99a6636533da89565c818d27a9f32f3a73988f39ca135df0ea [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-27T05:11:29.957Z] + docker inspect -f . ci-base-image-arm64 [2023-10-27T05:11:29.957Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-27T05:11:30.282Z] prd-ubuntu20.04-docker-arm64-4c-16g-12486 does not seem to be running inside a container [2023-10-27T05:11:30.347Z] $ 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-10-27T05:11:31.554Z] $ docker top 33cadc151d9f74d00b2605d61c89bd69df4b2f2b16fc4f11eda230f4241fecdb -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-27T05:11:32.509Z] + git config --global --add safe.directory /w/workspace/device-modbus-go/1 [Pipeline] fileExists [Pipeline] sh [2023-10-27T05:11:33.208Z] + make test [2023-10-27T05:11:33.208Z] go test ./... -coverprofile=coverage.out [2023-10-27T05:11:37.482Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2023-10-27T05:13:29.168Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2023-10-27T05:13:29.168Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.109s coverage: 47.9% of statements [2023-10-27T05:13:29.168Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-10-27T05:13:29.168Z] go vet ./... [2023-10-27T05:13:47.386Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-10-27T05:13:47.386Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-10-27T05:13:47.386Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-10-27T05:13:47.422Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-10-27T05:13:47.459Z] $ docker stop --time=1 33cadc151d9f74d00b2605d61c89bd69df4b2f2b16fc4f11eda230f4241fecdb [2023-10-27T05:13:49.416Z] $ docker rm -f --volumes 33cadc151d9f74d00b2605d61c89bd69df4b2f2b16fc4f11eda230f4241fecdb [Pipeline] // withDockerContainer [Pipeline] sh [2023-10-27T05:13:50.707Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-10-27T05:13:50.746Z] Warning: overwriting stash ‘coverage-report’ [2023-10-27T05:13:51.239Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-10-27T05:13:51.839Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-10-27T05:13:52.198Z] + ls -al . [2023-10-27T05:13:52.198Z] total 184 [2023-10-27T05:13:52.198Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 27 05:11 . [2023-10-27T05:13:52.198Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 27 05:08 .. [2023-10-27T05:13:52.198Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 27 05:08 .dockerignore [2023-10-27T05:13:52.198Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 27 05:08 .git [2023-10-27T05:13:52.198Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 27 05:08 .github [2023-10-27T05:13:52.198Z] -rw-rw-r-- 1 jenkins jenkins 266 Oct 27 05:08 .gitignore [2023-10-27T05:13:52.198Z] -rw-rw-r-- 1 jenkins jenkins 41 Oct 27 05:08 .golangci.yml [2023-10-27T05:13:52.198Z] -rw-rw-r-- 1 jenkins jenkins 11101 Oct 27 05:08 Attribution.txt [2023-10-27T05:13:52.198Z] -rw-rw-r-- 1 jenkins jenkins 14764 Oct 27 05:08 CHANGELOG.md [2023-10-27T05:13:52.198Z] -rw-rw-r-- 1 jenkins jenkins 1365 Oct 27 05:08 Dockerfile [2023-10-27T05:13:52.198Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 27 05:08 GOVERNANCE.md [2023-10-27T05:13:52.198Z] -rw-rw-r-- 1 jenkins jenkins 658 Oct 27 05:08 Jenkinsfile [2023-10-27T05:13:52.198Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 27 05:08 LICENSE [2023-10-27T05:13:52.198Z] -rw-rw-r-- 1 jenkins jenkins 1936 Oct 27 05:08 Makefile [2023-10-27T05:13:52.198Z] -rw-rw-r-- 1 jenkins jenkins 622 Oct 27 05:08 OWNERS.md [2023-10-27T05:13:52.198Z] -rw-rw-r-- 1 jenkins jenkins 4463 Oct 27 05:08 README.md [2023-10-27T05:13:52.198Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 27 05:04 VERSION [2023-10-27T05:13:52.198Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 27 05:08 bin [2023-10-27T05:13:52.198Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 27 05:08 cmd [2023-10-27T05:13:52.198Z] -rw-r--r-- 1 jenkins jenkins 24334 Oct 27 05:13 coverage.out [2023-10-27T05:13:52.198Z] -rw-rw-r-- 1 jenkins jenkins 3942 Oct 27 05:08 go.mod [2023-10-27T05:13:52.198Z] -rw-rw-r-- 1 jenkins jenkins 35436 Oct 27 05:08 go.sum [2023-10-27T05:13:52.198Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 27 05:08 internal [2023-10-27T05:13:52.198Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 27 05:08 simulator [2023-10-27T05:13:52.198Z] -rw-rw-r-- 1 jenkins jenkins 229 Oct 27 05:08 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-27T05:13:52.614Z] + 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=9bf573b780e6dea7386ff37d38ccb2ead6a32b20 --label arch=arm64 --label version=0.0.0 . [2023-10-27T05:13:54.557Z] Sending build context to Docker daemon 3.423MB [2023-10-27T05:13:54.557Z] Step 1/22 : ARG BASE=golang:1.21-alpine3.18 [2023-10-27T05:13:54.557Z] Step 2/22 : FROM ${BASE} AS builder [2023-10-27T05:13:54.557Z] ---> e4369b306923 [2023-10-27T05:13:54.557Z] Step 3/22 : ARG ADD_BUILD_TAGS="" [2023-10-27T05:13:55.516Z] ---> Running in 210e891f16e7 [2023-10-27T05:13:55.787Z] Removing intermediate container 210e891f16e7 [2023-10-27T05:13:55.787Z] ---> 214e463c5f6e [2023-10-27T05:13:55.787Z] Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-10-27T05:13:55.788Z] ---> Running in 120f1a40f270 [2023-10-27T05:13:56.379Z] Removing intermediate container 120f1a40f270 [2023-10-27T05:13:56.379Z] ---> ba78bb0ce42a [2023-10-27T05:13:56.379Z] Step 5/22 : RUN apk add --update --no-cache make git openssh [2023-10-27T05:13:56.379Z] ---> Running in e56daddf189e [2023-10-27T05:13:58.349Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-10-27T05:13:58.349Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-10-27T05:13:59.761Z] OK: 272 MiB in 60 packages [2023-10-27T05:14:01.197Z] Removing intermediate container e56daddf189e [2023-10-27T05:14:01.197Z] ---> fa2e7e231b20 [2023-10-27T05:14:01.197Z] Step 6/22 : WORKDIR /device-modbus-go [2023-10-27T05:14:01.197Z] ---> Running in d7e2930b4196 [2023-10-27T05:14:01.465Z] Removing intermediate container d7e2930b4196 [2023-10-27T05:14:01.465Z] ---> 769c73d8c9c6 [2023-10-27T05:14:01.465Z] Step 7/22 : COPY go.mod vendor* ./ [2023-10-27T05:14:03.424Z] ---> af2ce96c132a [2023-10-27T05:14:03.424Z] Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-10-27T05:14:03.424Z] ---> Running in 2d58972c323d [2023-10-27T05:14:10.095Z] Removing intermediate container 2d58972c323d [2023-10-27T05:14:10.095Z] ---> a5d6dcac119c [2023-10-27T05:14:10.095Z] Step 9/22 : COPY . . [2023-10-27T05:14:10.684Z] ---> 7266019b7216 [2023-10-27T05:14:10.684Z] Step 10/22 : RUN ${MAKE} [2023-10-27T05:14:10.684Z] ---> Running in 3a0ed3f1d398 [2023-10-27T05:14:11.650Z] 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.37" -trimpath -mod=readonly -o cmd/device-modbus ./cmd [2023-10-27T05:16:03.418Z] Removing intermediate container 3a0ed3f1d398 [2023-10-27T05:16:03.418Z] ---> 113157910936 [2023-10-27T05:16:03.418Z] Step 11/22 : FROM alpine:3.18 [2023-10-27T05:16:03.418Z] 3.18: Pulling from library/alpine [2023-10-27T05:16:03.418Z] 579b34f0a95b: Pulling fs layer [2023-10-27T05:16:03.418Z] 579b34f0a95b: Verifying Checksum [2023-10-27T05:16:03.418Z] 579b34f0a95b: Download complete [2023-10-27T05:16:03.418Z] 579b34f0a95b: Pull complete [2023-10-27T05:16:03.418Z] Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 [2023-10-27T05:16:03.418Z] Status: Downloaded newer image for alpine:3.18 [2023-10-27T05:16:03.418Z] ---> 3cc203321400 [2023-10-27T05:16:03.418Z] Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2023-10-27T05:16:03.418Z] ---> Running in 437e61b741be [2023-10-27T05:16:03.418Z] Removing intermediate container 437e61b741be [2023-10-27T05:16:03.418Z] ---> d569bfb49e98 [2023-10-27T05:16:03.418Z] Step 13/22 : RUN apk add --update --no-cache dumb-init [2023-10-27T05:16:03.418Z] ---> Running in 792cab97f175 [2023-10-27T05:16:03.418Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-10-27T05:16:03.418Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-10-27T05:16:03.418Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-10-27T05:16:03.418Z] Executing busybox-1.36.1-r2.trigger [2023-10-27T05:16:03.418Z] OK: 8 MiB in 16 packages [2023-10-27T05:16:03.418Z] Removing intermediate container 792cab97f175 [2023-10-27T05:16:03.418Z] ---> 2a7674b49638 [2023-10-27T05:16:03.418Z] Step 14/22 : COPY --from=builder /device-modbus-go/cmd / [2023-10-27T05:16:04.376Z] ---> ca5f7f7d05e4 [2023-10-27T05:16:04.376Z] Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / [2023-10-27T05:16:04.642Z] ---> 28fcbb56d0e0 [2023-10-27T05:16:04.642Z] Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / [2023-10-27T05:16:05.225Z] ---> ab43689958e5 [2023-10-27T05:16:05.225Z] Step 17/22 : EXPOSE 59901 [2023-10-27T05:16:05.225Z] ---> Running in 191f97c38069 [2023-10-27T05:16:05.491Z] Removing intermediate container 191f97c38069 [2023-10-27T05:16:05.491Z] ---> c6dac4adc1eb [2023-10-27T05:16:05.491Z] Step 18/22 : ENTRYPOINT ["/device-modbus"] [2023-10-27T05:16:05.491Z] ---> Running in a1737e4db8c6 [2023-10-27T05:16:06.073Z] Removing intermediate container a1737e4db8c6 [2023-10-27T05:16:06.073Z] ---> 7a8685ba11f5 [2023-10-27T05:16:06.073Z] Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-10-27T05:16:06.073Z] ---> Running in 2322f27e67f3 [2023-10-27T05:16:06.344Z] Removing intermediate container 2322f27e67f3 [2023-10-27T05:16:06.344Z] ---> 00b6c354301e [2023-10-27T05:16:06.344Z] Step 20/22 : LABEL arch=arm64 [2023-10-27T05:16:06.344Z] ---> Running in f7235351671b [2023-10-27T05:16:06.613Z] Removing intermediate container f7235351671b [2023-10-27T05:16:06.613Z] ---> 0150d4c82f7e [2023-10-27T05:16:06.613Z] Step 21/22 : LABEL git_sha=9bf573b780e6dea7386ff37d38ccb2ead6a32b20 [2023-10-27T05:16:06.880Z] ---> Running in aada3c7a3e6f [2023-10-27T05:16:07.145Z] Removing intermediate container aada3c7a3e6f [2023-10-27T05:16:07.145Z] ---> 0e539187c161 [2023-10-27T05:16:07.145Z] Step 22/22 : LABEL version=0.0.0 [2023-10-27T05:16:07.145Z] ---> Running in 03be545420d3 [2023-10-27T05:16:07.409Z] Removing intermediate container 03be545420d3 [2023-10-27T05:16:07.410Z] ---> 5f1df3859fd0 [2023-10-27T05:16:07.410Z] [Warning] One or more build-args [ARCH] were not consumed [2023-10-27T05:16:07.410Z] Successfully built 5f1df3859fd0 [2023-10-27T05:16:07.410Z] Successfully tagged device-modbus-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-27T05:16:08.236Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-10-27T05:16:08.236Z] [2023-10-27T05:16:08.236Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-27T05:16:08.635Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-10-27T05:16:08.635Z] arm64: Pulling from edgex-lftools-log-publisher [2023-10-27T05:16:08.635Z] 8998bd30e6a1: Pulling fs layer [2023-10-27T05:16:08.635Z] 04944245beec: Pulling fs layer [2023-10-27T05:16:08.635Z] 699f458cf7ca: Pulling fs layer [2023-10-27T05:16:08.635Z] 765212b225bb: Pulling fs layer [2023-10-27T05:16:08.635Z] f23df028b6ca: Pulling fs layer [2023-10-27T05:16:08.635Z] d65c8cfc05b1: Pulling fs layer [2023-10-27T05:16:08.635Z] 2437ff75d9bd: Pulling fs layer [2023-10-27T05:16:08.635Z] f23df028b6ca: Waiting [2023-10-27T05:16:08.635Z] d65c8cfc05b1: Waiting [2023-10-27T05:16:08.635Z] 2437ff75d9bd: Waiting [2023-10-27T05:16:08.903Z] 04944245beec: Verifying Checksum [2023-10-27T05:16:08.903Z] 04944245beec: Download complete [2023-10-27T05:16:08.903Z] 765212b225bb: Verifying Checksum [2023-10-27T05:16:08.903Z] 765212b225bb: Download complete [2023-10-27T05:16:08.903Z] f23df028b6ca: Download complete [2023-10-27T05:16:08.903Z] d65c8cfc05b1: Verifying Checksum [2023-10-27T05:16:08.903Z] d65c8cfc05b1: Download complete [2023-10-27T05:16:09.171Z] 699f458cf7ca: Verifying Checksum [2023-10-27T05:16:09.171Z] 699f458cf7ca: Download complete [2023-10-27T05:16:09.438Z] 8998bd30e6a1: Download complete [2023-10-27T05:16:12.028Z] 2437ff75d9bd: Verifying Checksum [2023-10-27T05:16:12.028Z] 2437ff75d9bd: Download complete [2023-10-27T05:16:15.374Z] 8998bd30e6a1: Pull complete [2023-10-27T05:16:15.374Z] 04944245beec: Pull complete [2023-10-27T05:16:16.841Z] 699f458cf7ca: Pull complete [2023-10-27T05:16:17.120Z] 765212b225bb: Pull complete [2023-10-27T05:16:18.085Z] f23df028b6ca: Pull complete [2023-10-27T05:16:18.355Z] d65c8cfc05b1: Pull complete [2023-10-27T05:16:36.598Z] 2437ff75d9bd: Pull complete [2023-10-27T05:16:36.598Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-10-27T05:16:36.598Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-10-27T05:16:36.598Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-27T05:16:36.967Z] prd-ubuntu20.04-docker-arm64-4c-16g-12486 does not seem to be running inside a container [2023-10-27T05:16:37.040Z] $ 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-10-27T05:16:39.888Z] $ docker top 427ebccbc8c5f658f00c8c06b0afa698222c7067a7591727ee58057bad53e097 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-27T05:16:40.821Z] ---> job-cost.sh [2023-10-27T05:16:40.821Z] lf-activate-venv: SKIPPING [2023-10-27T05:16:40.821Z] INFO: No Stack... [2023-10-27T05:16:41.086Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-10-27T05:16:42.051Z] INFO: Archiving Costs [Pipeline] sh [2023-10-27T05:16:42.728Z] + + cut -d, -f6 [2023-10-27T05:16:42.728Z] cat /w/workspace/device-modbus-go/1/archives/cost.csv [Pipeline] lock [2023-10-27T05:16:42.817Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-518-1-stack-cost] [2023-10-27T05:16:42.821Z] Resource [jenkins-edgexfoundry-device-modbus-go-PR-518-1-stack-cost] did not exist. Created. [2023-10-27T05:16:42.821Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-518-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-10-27T05:16:43.569Z] /w/workspace/device-modbus-go/1@tmp/durable-fd2d85c1/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-10-27T05:16:44.243Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-10-27T05:16:44.281Z] Warning: overwriting stash ‘stack-cost’ [2023-10-27T05:16:44.352Z] Stashed 1 file(s) [Pipeline] } [2023-10-27T05:16:44.366Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-518-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-10-27T05:16:44.463Z] $ docker stop --time=1 427ebccbc8c5f658f00c8c06b0afa698222c7067a7591727ee58057bad53e097 [2023-10-27T05:16:46.003Z] $ docker rm -f --volumes 427ebccbc8c5f658f00c8c06b0afa698222c7067a7591727ee58057bad53e097 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2023-10-27T05:16:47.108Z] provisioning config files... [2023-10-27T05:16:47.115Z] copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-518@tmp/config12340933611024909748tmp [Pipeline] { [Pipeline] sh [2023-10-27T05:16:47.448Z] + set +x [2023-10-27T05:16:47.448Z] + bash -s -- [2023-10-27T05:16:47.448Z] + curl -s https://codecov.io/bash [2023-10-27T05:16:47.448Z] [2023-10-27T05:16:47.448Z] _____ _ [2023-10-27T05:16:47.448Z] / ____| | | [2023-10-27T05:16:47.448Z] | | ___ __| | ___ ___ _____ __ [2023-10-27T05:16:47.448Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-10-27T05:16:47.448Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-10-27T05:16:47.448Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-10-27T05:16:47.448Z] Bash-1.0.6 [2023-10-27T05:16:47.448Z] [2023-10-27T05:16:47.448Z] [2023-10-27T05:16:47.448Z] ==> git version 2.25.1 found [2023-10-27T05:16:47.448Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2023-10-27T05:16:47.448Z] Release-Date: 2020-01-08 [2023-10-27T05:16:47.448Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-10-27T05:16:47.448Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-10-27T05:16:47.448Z] ==> Jenkins CI detected. [2023-10-27T05:16:47.448Z] current dir:  /w/workspace/xfoundry_device-modbus-go_PR-518 [2023-10-27T05:16:47.448Z] project root: . [2023-10-27T05:16:47.448Z] --> token set from env [2023-10-27T05:16:47.448Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-10-27T05:16:47.448Z] ==> Running gcov in . (disable via -X gcov) [2023-10-27T05:16:47.448Z] ==> Python coveragepy not found [2023-10-27T05:16:47.448Z] ==> Searching for coverage reports in: [2023-10-27T05:16:47.448Z] + . [2023-10-27T05:16:47.448Z] -> Found 1 reports [2023-10-27T05:16:47.448Z] ==> Detecting git/mercurial file structure [2023-10-27T05:16:47.707Z] ==> Reading reports [2023-10-27T05:16:47.707Z] + ./coverage.out bytes=24334 [2023-10-27T05:16:47.707Z] ==> Appending adjustments [2023-10-27T05:16:47.707Z] https://docs.codecov.io/docs/fixing-reports [2023-10-27T05:16:47.707Z] + Found adjustments [2023-10-27T05:16:47.707Z] ==> Gzipping contents [2023-10-27T05:16:47.707Z] 4.0K /tmp/codecov.wykS6I.gz [2023-10-27T05:16:47.707Z] ==> Uploading reports [2023-10-27T05:16:47.707Z] url: https://codecov.io [2023-10-27T05:16:47.707Z] query: branch=PR-518&commit=9bf573b780e6dea7386ff37d38ccb2ead6a32b20&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-518%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=518&job=&cmd_args= [2023-10-27T05:16:47.707Z] -> Pinging Codecov [2023-10-27T05:16:47.707Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3a8d40b1-de00-4649-bfd4-bdc8ed99ae89&branch=PR-518&commit=9bf573b780e6dea7386ff37d38ccb2ead6a32b20&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-518%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=518&job=&cmd_args= [2023-10-27T05:16:47.966Z] -> Uploading to [2023-10-27T05:16:47.966Z] https://storage.googleapis.com/codecov/v4/raw/2023-10-27/55DBCA73C666E3227836607328DD7E49/9bf573b780e6dea7386ff37d38ccb2ead6a32b20/4b048af3-d7d3-4ce6-9c2b-20370f1b08c6.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231027%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231027T051647Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=8b26167bf2fcd71591da120cb5ad73013156ba251679fdc955ee3d4917b7413c [2023-10-27T05:16:47.966Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-10-27T05:16:47.966Z] Dload Upload Total Spent Left Speed [2023-10-27T05:16:48.225Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3806 0 0 100 3806 0 10721 --:--:-- --:--:-- --:--:-- 10721 [2023-10-27T05:16:48.225Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/9bf573b780e6dea7386ff37d38ccb2ead6a32b20 [Pipeline] } [2023-10-27T05:16:48.253Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-10-27T05:16:50.201Z] + [ -d /w/workspace/xfoundry_device-modbus-go_PR-518/archives ] [2023-10-27T05:16:50.201Z] + ls -al /w/workspace/xfoundry_device-modbus-go_PR-518/archives [2023-10-27T05:16:50.201Z] total 16 [2023-10-27T05:16:50.201Z] drwxr-xr-x 3 root root 4096 Oct 27 05:07 . [2023-10-27T05:16:50.201Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 27 05:07 .. [2023-10-27T05:16:50.201Z] drwxr-xr-x 2 root root 4096 Oct 27 05:07 cost [2023-10-27T05:16:50.201Z] -rw-r--r-- 1 root root 88 Oct 27 05:07 cost.csv [2023-10-27T05:16:50.201Z] + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-518/archives [2023-10-27T05:16:50.201Z] + ls -al /w/workspace/xfoundry_device-modbus-go_PR-518/archives [2023-10-27T05:16:50.201Z] total 16 [2023-10-27T05:16:50.201Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 27 05:07 . [2023-10-27T05:16:50.201Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 27 05:07 .. [2023-10-27T05:16:50.201Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 27 05:07 cost [2023-10-27T05:16:50.201Z] -rw-r--r-- 1 jenkins jenkins 88 Oct 27 05:07 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-10-27T05:16:50.567Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-27T05:16:51.457Z] ---> package-listing.sh [2023-10-27T05:16:51.458Z] ++ facter osfamily [2023-10-27T05:16:51.458Z] ++ tr '[:upper:]' '[:lower:]' [2023-10-27T05:16:51.717Z] + OS_FAMILY=debian [2023-10-27T05:16:51.717Z] + workspace=/w/workspace/xfoundry_device-modbus-go_PR-518 [2023-10-27T05:16:51.717Z] + START_PACKAGES=/tmp/packages_start.txt [2023-10-27T05:16:51.717Z] + END_PACKAGES=/tmp/packages_end.txt [2023-10-27T05:16:51.717Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-10-27T05:16:51.717Z] + PACKAGES=/tmp/packages_start.txt [2023-10-27T05:16:51.717Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-518 ']' [2023-10-27T05:16:51.717Z] + PACKAGES=/tmp/packages_end.txt [2023-10-27T05:16:51.717Z] + case "${OS_FAMILY}" in [2023-10-27T05:16:51.717Z] + dpkg -l [2023-10-27T05:16:51.717Z] + grep '^ii' [2023-10-27T05:16:51.717Z] + '[' -f /tmp/packages_start.txt ']' [2023-10-27T05:16:51.717Z] + '[' -f /tmp/packages_end.txt ']' [2023-10-27T05:16:51.717Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-10-27T05:16:51.717Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-518 ']' [2023-10-27T05:16:51.717Z] + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-518/archives/ [2023-10-27T05:16:51.717Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-518/archives/ [Pipeline] echo [2023-10-27T05:16:51.755Z] 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-518/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-10-27T05:16:52.048Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-27T05:16:52.674Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-27T05:16:52.674Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-27T05:16:52.820Z] prd-ubuntu20.04-docker-8c-8g-12484 does not seem to be running inside a container [2023-10-27T05:16:52.859Z] $ 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-518/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-518 -v /w/workspace/xfoundry_device-modbus-go_PR-518:/w/workspace/xfoundry_device-modbus-go_PR-518:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-518@tmp:/w/workspace/xfoundry_device-modbus-go_PR-518@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-10-27T05:16:53.069Z] $ docker top 2f79015624531f2da78883c5064f93618f55b3e7774c328beaafc732a305df54 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-27T05:16:53.455Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-10-27T05:16:53.765Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-10-27T05:16:54.076Z] + ls /var/log/sa-host [2023-10-27T05:16:54.076Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-10-27T05:16:54.294Z] provisioning config files... [2023-10-27T05:16:54.304Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-518@tmp/config5024726573949058226tmp [Pipeline] { [Pipeline] echo [2023-10-27T05:16:54.354Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-27T05:16:54.663Z] ---> create-netrc.sh [Pipeline] } [2023-10-27T05:16:54.690Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-10-27T05:16:55.108Z] ---> python-tools-install.sh [Pipeline] echo [2023-10-27T05:16:55.144Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-27T05:16:55.454Z] ---> sudo-logs.sh [2023-10-27T05:16:55.454Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-10-27T05:16:55.552Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-27T05:16:55.870Z] ---> job-cost.sh [2023-10-27T05:16:55.870Z] lf-activate-venv: SKIPPING [2023-10-27T05:16:55.870Z] DEBUG: total: 0.2199999988079071 [2023-10-27T05:16:55.870Z] INFO: Retrieving Stack Cost... [2023-10-27T05:16:56.130Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-10-27T05:16:56.698Z] INFO: Archiving Costs [Pipeline] echo [2023-10-27T05:16:56.733Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-27T05:16:57.051Z] ---> logs-deploy.sh [2023-10-27T05:16:57.051Z] lf-activate-venv: SKIPPING [2023-10-27T05:16:57.051Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-518/1 [2023-10-27T05:16:57.051Z] INFO: archiving workspace using pattern(s): [2023-10-27T05:16:57.991Z] Archives upload complete. [2023-10-27T05:16:57.991Z] INFO: archiving logs to Nexus