Pull request #519 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from e2ff2043c21eae1b7948b2365d5c93f0134ee472+83e3636f3d0d9b10ed1b1a22d55c5d268cf4fa51 (2058a40d5f5fa93e3868cb169943f2f0d848fb18) 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-ssh17354859015905666322.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-ssh9174773360015374076.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-519/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-519/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6309252843427331338.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-519/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3365972602464400075.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-ssh3367594885739028529.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-519/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-519/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh11228865920254869804.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 Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-15629’ Running on prd-ubuntu20.04-docker-8c-8g-15648 in /w/workspace/xfoundry_device-modbus-go_PR-519 [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-519 # 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/519/head:refs/remotes/origin/PR-519 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 83e3636f3d0d9b10ed1b1a22d55c5d268cf4fa51 into PR head commit e2ff2043c21eae1b7948b2365d5c93f0134ee472 Merge succeeded, producing e2ff2043c21eae1b7948b2365d5c93f0134ee472 Checking out Revision e2ff2043c21eae1b7948b2365d5c93f0134ee472 (PR-519) Commit message: "build(deps): Bump github.com/nats-io/nkeys from 0.4.5 to 0.4.6" 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] { > git config core.sparsecheckout # timeout=10 > git checkout -f e2ff2043c21eae1b7948b2365d5c93f0134ee472 # 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 83e3636f3d0d9b10ed1b1a22d55c5d268cf4fa51 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e2ff2043c21eae1b7948b2365d5c93f0134ee472 # timeout=10 [Pipeline] timeout [2023-10-31T21:36:33.177Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-10-31T21:36:33.370Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-10-31T21:36:33.478Z] ========================================================= [2023-10-31T21:36:33.478Z] EdgeX Global Pipelines Version Info [2023-10-31T21:36:33.478Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-10-31T21:36:34.232Z] ------------------- [2023-10-31T21:36:34.232Z] stable info: [2023-10-31T21:36:34.232Z] ------------------- [2023-10-31T21:36:34.232Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-10-31T21:36:34.232Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-10-31T21:36:34.232Z] Message: update stable to v1.0.254 [2023-10-31T21:36:34.809Z] ------------------- [2023-10-31T21:36:34.809Z] experimental info: [2023-10-31T21:36:34.809Z] ------------------- [2023-10-31T21:36:34.809Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-10-31T21:36:34.809Z] Commit SHA: 05349e3f996d6f6d0c0ad3c2ccda408eae121119 [2023-10-31T21:36:34.809Z] Message: update experimental to v1.0.255 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-10-31T21:36:35.101Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo [2023-10-31T21:36:35.150Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo [2023-10-31T21:36:35.191Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-10-31T21:36:35.234Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-10-31T21:36:35.282Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-10-31T21:36:35.328Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2023-10-31T21:36:35.373Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-10-31T21:36:35.414Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-10-31T21:36:35.460Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-10-31T21:36:35.522Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-10-31T21:36:35.568Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-10-31T21:36:35.612Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo [2023-10-31T21:36:35.657Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-10-31T21:36:35.708Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-10-31T21:36:35.751Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-10-31T21:36:35.807Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-10-31T21:36:35.940Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-10-31T21:36:35.992Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-10-31T21:36:36.042Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-10-31T21:36:36.081Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-10-31T21:36:36.123Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-10-31T21:36:36.161Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-10-31T21:36:36.209Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-10-31T21:36:36.251Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-10-31T21:36:36.297Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-10-31T21:36:36.354Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-10-31T21:36:36.400Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-10-31T21:36:36.451Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-519 [Pipeline] echo [2023-10-31T21:36:36.506Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-519 [Pipeline] echo [2023-10-31T21:36:36.545Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-519 [Pipeline] echo [2023-10-31T21:36:36.594Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e2ff2043c21eae1b7948b2365d5c93f0134ee472 [Pipeline] echo [2023-10-31T21:36:36.632Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e2ff204 [Pipeline] echo [2023-10-31T21:36:36.682Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-10-31T21:36:36.815Z] provisioning config files... [2023-10-31T21:36:36.828Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-519@tmp/config12731220206915491009tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-31T21:36:37.191Z] ---> docker-login.sh [2023-10-31T21:36:37.191Z] nexus3.edgexfoundry.org:10001 [2023-10-31T21:36:37.453Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-31T21:36:37.453Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-31T21:36:37.453Z] Configure a credential helper to remove this warning. See [2023-10-31T21:36:37.453Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-31T21:36:37.453Z] [2023-10-31T21:36:37.453Z] Login Succeeded [2023-10-31T21:36:37.453Z] nexus3.edgexfoundry.org:10002 [2023-10-31T21:36:37.453Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-31T21:36:37.713Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-31T21:36:37.713Z] Configure a credential helper to remove this warning. See [2023-10-31T21:36:37.713Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-31T21:36:37.713Z] [2023-10-31T21:36:37.713Z] Login Succeeded [2023-10-31T21:36:37.713Z] nexus3.edgexfoundry.org:10003 [2023-10-31T21:36:37.713Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-31T21:36:37.713Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-31T21:36:37.713Z] Configure a credential helper to remove this warning. See [2023-10-31T21:36:37.713Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-31T21:36:37.713Z] [2023-10-31T21:36:37.713Z] Login Succeeded [2023-10-31T21:36:37.713Z] nexus3.edgexfoundry.org:10004 [2023-10-31T21:36:37.713Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-31T21:36:37.713Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-31T21:36:37.713Z] Configure a credential helper to remove this warning. See [2023-10-31T21:36:37.713Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-31T21:36:37.713Z] [2023-10-31T21:36:37.713Z] Login Succeeded [2023-10-31T21:36:37.713Z] docker.io [2023-10-31T21:36:37.971Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-31T21:36:38.236Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-31T21:36:38.236Z] Configure a credential helper to remove this warning. See [2023-10-31T21:36:38.236Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-31T21:36:38.236Z] [2023-10-31T21:36:38.236Z] Login Succeeded [2023-10-31T21:36:38.236Z] ---> docker-login.sh ends [Pipeline] } [2023-10-31T21:36:38.266Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-10-31T21:36:38.923Z] + git rev-list -1 --merges e2ff2043c21eae1b7948b2365d5c93f0134ee472~1..e2ff2043c21eae1b7948b2365d5c93f0134ee472 [Pipeline] echo [2023-10-31T21:36:38.996Z] -----------> git rev-list -1 --merges e2ff2043c21eae1b7948b2365d5c93f0134ee472~1..e2ff2043c21eae1b7948b2365d5c93f0134ee472 e2ff2043c21eae1b7948b2365d5c93f0134ee472 [false] [Pipeline] sh [2023-10-31T21:36:39.308Z] + git log --format=format:%s -1 e2ff2043c21eae1b7948b2365d5c93f0134ee472 [Pipeline] echo [2023-10-31T21:36:39.343Z] ========================================================= [2023-10-31T21:36:39.343Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-10-31T21:36:39.343Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-10-31T21:36:39.820Z] + git log --format=format:%s -1 e2ff2043c21eae1b7948b2365d5c93f0134ee472 [Pipeline] echo [2023-10-31T21:36:39.852Z] [semverPrep] GIT_COMMIT: e2ff2043c21eae1b7948b2365d5c93f0134ee472, Commit Message: build(deps): Bump github.com/nats-io/nkeys from 0.4.5 to 0.4.6 [Pipeline] echo [2023-10-31T21:36:39.878Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-10-31T21:36:40.274Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-10-31T21:36:40.274Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-10-31T21:36:40.274Z] + [ -e /tmp/ssh_known_hosts ] [2023-10-31T21:36:40.274Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-10-31T21:36:40.274Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-10-31T21:36:40.274Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-10-31T21:36:40.274Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-31T21:36:40.709Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-31T21:36:40.709Z] [2023-10-31T21:36:40.709Z] 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-31T21:36:41.093Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-31T21:36:41.093Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-10-31T21:36:41.093Z] b85a868b505f: Pulling fs layer [2023-10-31T21:36:41.093Z] e2be974225ed: Pulling fs layer [2023-10-31T21:36:41.093Z] 339a4e72a1f5: Pulling fs layer [2023-10-31T21:36:41.093Z] 988bab9f4d93: Pulling fs layer [2023-10-31T21:36:41.093Z] 1469e6f7b9e6: Pulling fs layer [2023-10-31T21:36:41.093Z] eaf3925da568: Pulling fs layer [2023-10-31T21:36:41.093Z] bab4dde63d76: Pulling fs layer [2023-10-31T21:36:41.093Z] bde34c3a00c8: Pulling fs layer [2023-10-31T21:36:41.093Z] b352a97aabf1: Pulling fs layer [2023-10-31T21:36:41.093Z] 4872d77fe225: Pulling fs layer [2023-10-31T21:36:41.093Z] 5851b861e8e6: Pulling fs layer [2023-10-31T21:36:41.093Z] 988bab9f4d93: Waiting [2023-10-31T21:36:41.093Z] 4872d77fe225: Waiting [2023-10-31T21:36:41.093Z] 5851b861e8e6: Waiting [2023-10-31T21:36:41.093Z] 1469e6f7b9e6: Waiting [2023-10-31T21:36:41.093Z] bde34c3a00c8: Waiting [2023-10-31T21:36:41.093Z] eaf3925da568: Waiting [2023-10-31T21:36:41.093Z] b352a97aabf1: Waiting [2023-10-31T21:36:41.093Z] bab4dde63d76: Waiting [2023-10-31T21:36:41.093Z] e2be974225ed: Verifying Checksum [2023-10-31T21:36:41.093Z] e2be974225ed: Download complete [2023-10-31T21:36:41.093Z] 988bab9f4d93: Verifying Checksum [2023-10-31T21:36:41.093Z] 988bab9f4d93: Download complete [2023-10-31T21:36:41.354Z] 1469e6f7b9e6: Verifying Checksum [2023-10-31T21:36:41.354Z] 1469e6f7b9e6: Download complete [2023-10-31T21:36:41.354Z] 339a4e72a1f5: Verifying Checksum [2023-10-31T21:36:41.354Z] 339a4e72a1f5: Download complete [2023-10-31T21:36:41.354Z] eaf3925da568: Verifying Checksum [2023-10-31T21:36:41.354Z] eaf3925da568: Download complete [2023-10-31T21:36:41.354Z] bde34c3a00c8: Verifying Checksum [2023-10-31T21:36:41.354Z] bde34c3a00c8: Download complete [2023-10-31T21:36:41.354Z] b352a97aabf1: Verifying Checksum [2023-10-31T21:36:41.354Z] b352a97aabf1: Download complete [2023-10-31T21:36:41.354Z] 4872d77fe225: Verifying Checksum [2023-10-31T21:36:41.354Z] 4872d77fe225: Download complete [2023-10-31T21:36:41.354Z] 5851b861e8e6: Download complete [2023-10-31T21:36:41.354Z] b85a868b505f: Verifying Checksum [2023-10-31T21:36:41.354Z] b85a868b505f: Download complete [2023-10-31T21:36:41.615Z] bab4dde63d76: Verifying Checksum [2023-10-31T21:36:41.615Z] bab4dde63d76: Download complete [2023-10-31T21:36:43.026Z] b85a868b505f: Pull complete [2023-10-31T21:36:43.026Z] e2be974225ed: Pull complete [2023-10-31T21:36:43.596Z] 339a4e72a1f5: Pull complete [2023-10-31T21:36:43.596Z] 988bab9f4d93: Pull complete [2023-10-31T21:36:43.855Z] 1469e6f7b9e6: Pull complete [2023-10-31T21:36:43.855Z] eaf3925da568: Pull complete [2023-10-31T21:36:45.767Z] bab4dde63d76: Pull complete [2023-10-31T21:36:45.767Z] bde34c3a00c8: Pull complete [2023-10-31T21:36:46.029Z] b352a97aabf1: Pull complete [2023-10-31T21:36:46.029Z] 4872d77fe225: Pull complete [2023-10-31T21:36:46.029Z] 5851b861e8e6: Pull complete [2023-10-31T21:36:46.029Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-10-31T21:36:46.029Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-31T21:36:46.289Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-31T21:36:46.570Z] prd-ubuntu20.04-docker-8c-8g-15648 does not seem to be running inside a container [2023-10-31T21:36:46.610Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-519 -v /w/workspace/xfoundry_device-modbus-go_PR-519:/w/workspace/xfoundry_device-modbus-go_PR-519:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-519@tmp:/w/workspace/xfoundry_device-modbus-go_PR-519@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-10-31T21:36:49.839Z] $ docker top 818fe958fd266ffc21a25cc6b8a88ee0f0edb7794a2154987f914346be5ba977 -eo pid,comm [2023-10-31T21:36:49.893Z] 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-31T21:36:49.893Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-10-31T21:36:50.032Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-10-31T21:36:50.032Z] [ssh-agent] Looking for ssh-agent implementation... [2023-10-31T21:36:50.157Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-10-31T21:36:50.163Z] $ docker exec 818fe958fd266ffc21a25cc6b8a88ee0f0edb7794a2154987f914346be5ba977 ssh-agent [2023-10-31T21:36:50.270Z] SSH_AUTH_SOCK=/tmp/ssh-8Cs905reIdTH/agent.33 [2023-10-31T21:36:50.270Z] SSH_AGENT_PID=39 [2023-10-31T21:36:50.276Z] Running ssh-add (command line suppressed) [2023-10-31T21:36:50.388Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-519@tmp/private_key_17939332363735728061.key (/w/workspace/xfoundry_device-modbus-go_PR-519@tmp/private_key_17939332363735728061.key) [2023-10-31T21:36:50.401Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-10-31T21:36:50.729Z] + git tag --points-at HEAD [Pipeline] } [2023-10-31T21:36:50.760Z] $ docker exec --env ******** --env ******** 818fe958fd266ffc21a25cc6b8a88ee0f0edb7794a2154987f914346be5ba977 ssh-agent -k [2023-10-31T21:36:50.866Z] unset SSH_AUTH_SOCK; [2023-10-31T21:36:50.866Z] unset SSH_AGENT_PID; [2023-10-31T21:36:50.866Z] echo Agent pid 39 killed; [2023-10-31T21:36:50.874Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-10-31T21:36:50.961Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-10-31T21:36:50.961Z] [ssh-agent] Looking for ssh-agent implementation... [2023-10-31T21:36:51.092Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-10-31T21:36:51.098Z] $ docker exec 818fe958fd266ffc21a25cc6b8a88ee0f0edb7794a2154987f914346be5ba977 ssh-agent [2023-10-31T21:36:51.207Z] SSH_AUTH_SOCK=/tmp/ssh-oOezSoNWSbMW/agent.71 [2023-10-31T21:36:51.207Z] SSH_AGENT_PID=77 [2023-10-31T21:36:51.212Z] Running ssh-add (command line suppressed) [2023-10-31T21:36:51.315Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-519@tmp/private_key_1484075614743633904.key (/w/workspace/xfoundry_device-modbus-go_PR-519@tmp/private_key_1484075614743633904.key) [2023-10-31T21:36:51.327Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-10-31T21:36:51.663Z] + git semver init [2023-10-31T21:36:51.925Z] 2023-10-31 21:36:51,865 [run_init] DEBUG init version:0.0.0 force:False [2023-10-31T21:36:51.925Z] 2023-10-31 21:36:51,865 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-modbus-go_PR-519/.semver [2023-10-31T21:36:51.925Z] 2023-10-31 21:36:51,866 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/xfoundry_device-modbus-go_PR-519/.semver [2023-10-31T21:36:51.925Z] 2023-10-31 21:36:51,866 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/xfoundry_device-modbus-go_PR-519/.semver'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-519, universal_newlines=False, shell=None, istream=None) [2023-10-31T21:36:52.866Z] 2023-10-31 21:36:52,752 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-modbus-go_PR-519/.git/info/exclude [2023-10-31T21:36:52.866Z] 2023-10-31 21:36:52,753 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-modbus-go_PR-519/.semver/PR-519 with force:False [2023-10-31T21:36:52.866Z] 2023-10-31 21:36:52,753 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-modbus-go_PR-519/.semver/PR-519 [2023-10-31T21:36:52.866Z] 2023-10-31 21:36:52,757 [execute] INFO git cat-file --batch-check [2023-10-31T21:36:52.866Z] 2023-10-31 21:36:52,758 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-519/.semver, universal_newlines=False, shell=None, istream=) [2023-10-31T21:36:52.866Z] 2023-10-31 21:36:52,765 [execute] INFO git cat-file --batch [2023-10-31T21:36:52.866Z] 2023-10-31 21:36:52,765 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-519/.semver, universal_newlines=False, shell=None, istream=) [2023-10-31T21:36:52.866Z] 2023-10-31 21:36:52,771 [read_version] DEBUG read version from /w/workspace/xfoundry_device-modbus-go_PR-519/.semver/PR-519 [2023-10-31T21:36:52.866Z] 0.0.0 [Pipeline] } [2023-10-31T21:36:52.897Z] $ docker exec --env ******** --env ******** 818fe958fd266ffc21a25cc6b8a88ee0f0edb7794a2154987f914346be5ba977 ssh-agent -k [2023-10-31T21:36:52.990Z] unset SSH_AUTH_SOCK; [2023-10-31T21:36:52.990Z] unset SSH_AGENT_PID; [2023-10-31T21:36:52.990Z] echo Agent pid 77 killed; [2023-10-31T21:36:52.998Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-10-31T21:36:53.427Z] + git semver [Pipeline] } [2023-10-31T21:36:53.709Z] $ docker stop --time=1 818fe958fd266ffc21a25cc6b8a88ee0f0edb7794a2154987f914346be5ba977 [2023-10-31T21:36:55.029Z] $ docker rm -f --volumes 818fe958fd266ffc21a25cc6b8a88ee0f0edb7794a2154987f914346be5ba977 [Pipeline] // withDockerContainer [Pipeline] sh [2023-10-31T21:36:55.446Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-10-31T21:36:55.724Z] Stashed 1 file(s) [Pipeline] echo [2023-10-31T21:36:55.807Z] [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-31T21:36:56.440Z] provisioning config files... [2023-10-31T21:36:56.452Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-519@tmp/config7608862843715817093tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-31T21:36:56.810Z] ---> docker-login.sh [2023-10-31T21:36:56.810Z] nexus3.edgexfoundry.org:10001 [2023-10-31T21:36:56.810Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-31T21:36:56.810Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-31T21:36:56.810Z] Configure a credential helper to remove this warning. See [2023-10-31T21:36:56.810Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-31T21:36:56.810Z] [2023-10-31T21:36:56.810Z] Login Succeeded [2023-10-31T21:36:56.810Z] nexus3.edgexfoundry.org:10002 [2023-10-31T21:36:56.810Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-31T21:36:56.810Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-31T21:36:56.810Z] Configure a credential helper to remove this warning. See [2023-10-31T21:36:56.810Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-31T21:36:56.810Z] [2023-10-31T21:36:56.810Z] Login Succeeded [2023-10-31T21:36:56.810Z] nexus3.edgexfoundry.org:10003 [2023-10-31T21:36:57.070Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-31T21:36:57.070Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-31T21:36:57.070Z] Configure a credential helper to remove this warning. See [2023-10-31T21:36:57.070Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-31T21:36:57.070Z] [2023-10-31T21:36:57.070Z] Login Succeeded [2023-10-31T21:36:57.070Z] nexus3.edgexfoundry.org:10004 [2023-10-31T21:36:57.070Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-31T21:36:57.070Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-31T21:36:57.070Z] Configure a credential helper to remove this warning. See [2023-10-31T21:36:57.070Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-31T21:36:57.070Z] [2023-10-31T21:36:57.070Z] Login Succeeded [2023-10-31T21:36:57.070Z] docker.io [2023-10-31T21:36:57.332Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-31T21:36:57.592Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-31T21:36:57.592Z] Configure a credential helper to remove this warning. See [2023-10-31T21:36:57.592Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-31T21:36:57.592Z] [2023-10-31T21:36:57.592Z] Login Succeeded [2023-10-31T21:36:57.592Z] ---> docker-login.sh ends [Pipeline] } [2023-10-31T21:36:57.619Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-10-31T21:36:57.828Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-31T21:36:57.869Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-31T21:36:57.909Z] ========================================================= [2023-10-31T21:36:57.909Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2023-10-31T21:36:57.909Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-31T21:36:58.408Z] + 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-31T21:36:58.408Z] Sending build context to Docker daemon 6.58MB [2023-10-31T21:36:58.408Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2023-10-31T21:36:58.408Z] Step 2/10 : FROM ${BASE} AS builder [2023-10-31T21:36:58.408Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2023-10-31T21:36:58.408Z] 7264a8db6415: Pulling fs layer [2023-10-31T21:36:58.408Z] c4d48a809fc2: Pulling fs layer [2023-10-31T21:36:58.408Z] 4f1c88b9dad5: Pulling fs layer [2023-10-31T21:36:58.408Z] ad3a456e5733: Pulling fs layer [2023-10-31T21:36:58.408Z] 33e27b845d1e: Pulling fs layer [2023-10-31T21:36:58.408Z] c68163c4e522: Pulling fs layer [2023-10-31T21:36:58.408Z] 50da416c3ac9: Pulling fs layer [2023-10-31T21:36:58.408Z] 23d2d4c4bb30: Pulling fs layer [2023-10-31T21:36:58.408Z] ad3a456e5733: Waiting [2023-10-31T21:36:58.408Z] 33e27b845d1e: Waiting [2023-10-31T21:36:58.408Z] c68163c4e522: Waiting [2023-10-31T21:36:58.408Z] 50da416c3ac9: Waiting [2023-10-31T21:36:58.408Z] 23d2d4c4bb30: Waiting [2023-10-31T21:36:58.408Z] c4d48a809fc2: Verifying Checksum [2023-10-31T21:36:58.408Z] c4d48a809fc2: Download complete [2023-10-31T21:36:58.408Z] ad3a456e5733: Verifying Checksum [2023-10-31T21:36:58.408Z] ad3a456e5733: Download complete [2023-10-31T21:36:58.408Z] 33e27b845d1e: Verifying Checksum [2023-10-31T21:36:58.408Z] 33e27b845d1e: Download complete [2023-10-31T21:36:58.670Z] 7264a8db6415: Download complete [2023-10-31T21:36:58.670Z] c68163c4e522: Verifying Checksum [2023-10-31T21:36:58.670Z] c68163c4e522: Download complete [2023-10-31T21:36:58.670Z] 7264a8db6415: Pull complete [2023-10-31T21:36:58.928Z] c4d48a809fc2: Pull complete [2023-10-31T21:36:58.928Z] 23d2d4c4bb30: Verifying Checksum [2023-10-31T21:36:58.928Z] 23d2d4c4bb30: Download complete [2023-10-31T21:36:59.189Z] 4f1c88b9dad5: Verifying Checksum [2023-10-31T21:36:59.189Z] 4f1c88b9dad5: Download complete [2023-10-31T21:36:59.448Z] 50da416c3ac9: Verifying Checksum [2023-10-31T21:36:59.448Z] 50da416c3ac9: Download complete [2023-10-31T21:37:02.729Z] 4f1c88b9dad5: Pull complete [2023-10-31T21:37:02.729Z] ad3a456e5733: Pull complete [2023-10-31T21:37:02.729Z] 33e27b845d1e: Pull complete [2023-10-31T21:37:02.729Z] c68163c4e522: Pull complete [2023-10-31T21:37:05.261Z] 50da416c3ac9: Pull complete [2023-10-31T21:37:05.829Z] 23d2d4c4bb30: Pull complete [2023-10-31T21:37:05.829Z] Digest: sha256:869f8081a9cc57a47d9be3c92245bb8518e7edea9beab93563b77b0fbed5fa8c [2023-10-31T21:37:05.829Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2023-10-31T21:37:05.829Z] ---> 0786185ac409 [2023-10-31T21:37:05.829Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2023-10-31T21:37:11.124Z] ---> Running in 7ec8d84c9635 [2023-10-31T21:37:11.124Z] Removing intermediate container 7ec8d84c9635 [2023-10-31T21:37:11.124Z] ---> 7677dd5d8d56 [2023-10-31T21:37:11.124Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-10-31T21:37:11.124Z] ---> Running in 138e5fc835f9 [2023-10-31T21:37:11.246Z] Still waiting to schedule task [2023-10-31T21:37:11.247Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-15630’ [2023-10-31T21:37:11.382Z] Removing intermediate container 138e5fc835f9 [2023-10-31T21:37:11.382Z] ---> df47c4fc801f [2023-10-31T21:37:11.382Z] Step 5/10 : RUN apk add --update --no-cache make git openssh [2023-10-31T21:37:11.382Z] ---> Running in 05f7040f36b2 [2023-10-31T21:37:11.642Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-10-31T21:37:11.642Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-10-31T21:37:12.207Z] (1/8) Installing openssh-keygen (9.3_p2-r0) [2023-10-31T21:37:12.207Z] (2/8) Installing libedit (20221030.3.1-r1) [2023-10-31T21:37:12.207Z] (3/8) Installing openssh-client-common (9.3_p2-r0) [2023-10-31T21:37:12.207Z] (4/8) Installing openssh-client-default (9.3_p2-r0) [2023-10-31T21:37:12.207Z] (5/8) Installing openssh-sftp-server (9.3_p2-r0) [2023-10-31T21:37:12.207Z] (6/8) Installing openssh-server-common (9.3_p2-r0) [2023-10-31T21:37:12.207Z] (7/8) Installing openssh-server (9.3_p2-r0) [2023-10-31T21:37:12.207Z] (8/8) Installing openssh (9.3_p2-r0) [2023-10-31T21:37:12.207Z] Executing busybox-1.36.1-r2.trigger [2023-10-31T21:37:12.207Z] OK: 270 MiB in 60 packages [2023-10-31T21:37:12.773Z] Removing intermediate container 05f7040f36b2 [2023-10-31T21:37:12.773Z] ---> 6cb95252a42a [2023-10-31T21:37:12.773Z] Step 6/10 : WORKDIR /device-modbus-go [2023-10-31T21:37:12.773Z] ---> Running in 854844421ab6 [2023-10-31T21:37:12.773Z] Removing intermediate container 854844421ab6 [2023-10-31T21:37:12.773Z] ---> c02d0441fa9e [2023-10-31T21:37:12.773Z] Step 7/10 : COPY go.mod vendor* ./ [2023-10-31T21:37:13.032Z] ---> 8d4d36bd1aba [2023-10-31T21:37:13.032Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-10-31T21:37:13.032Z] ---> Running in c3e399f2359f [2023-10-31T21:37:51.892Z] Removing intermediate container c3e399f2359f [2023-10-31T21:37:51.892Z] ---> ea2d7f0d6d2c [2023-10-31T21:37:51.892Z] Step 9/10 : COPY . . [2023-10-31T21:37:51.892Z] ---> 4051ac180bd9 [2023-10-31T21:37:51.892Z] Step 10/10 : RUN ${MAKE} [2023-10-31T21:37:51.892Z] ---> Running in 62eeaea81641 [2023-10-31T21:37:51.892Z] noop [2023-10-31T21:37:51.892Z] Removing intermediate container 62eeaea81641 [2023-10-31T21:37:51.892Z] ---> c1c99fec785d [2023-10-31T21:37:51.892Z] Successfully built c1c99fec785d [2023-10-31T21:37:51.892Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-31T21:37:52.371Z] + docker inspect -f . ci-base-image-x86_64 [2023-10-31T21:37:52.371Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-31T21:37:52.689Z] prd-ubuntu20.04-docker-8c-8g-15648 does not seem to be running inside a container [2023-10-31T21:37:52.725Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-519 -v /w/workspace/xfoundry_device-modbus-go_PR-519:/w/workspace/xfoundry_device-modbus-go_PR-519:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-519@tmp:/w/workspace/xfoundry_device-modbus-go_PR-519@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-10-31T21:37:53.158Z] $ docker top 682002ab51ecb981d7d54cef6b2eb01c391417820ea4b2f196ff5cc0941511cc -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-31T21:37:53.570Z] + go version [2023-10-31T21:37:53.571Z] go version go1.21.0 linux/amd64 [Pipeline] } [2023-10-31T21:37:53.605Z] $ docker stop --time=1 682002ab51ecb981d7d54cef6b2eb01c391417820ea4b2f196ff5cc0941511cc [2023-10-31T21:37:54.962Z] $ docker rm -f --volumes 682002ab51ecb981d7d54cef6b2eb01c391417820ea4b2f196ff5cc0941511cc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-31T21:37:55.715Z] + docker inspect -f . ci-base-image-x86_64 [2023-10-31T21:37:55.715Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-31T21:37:55.878Z] prd-ubuntu20.04-docker-8c-8g-15648 does not seem to be running inside a container [2023-10-31T21:37:55.915Z] $ 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-519 -v /w/workspace/xfoundry_device-modbus-go_PR-519:/w/workspace/xfoundry_device-modbus-go_PR-519:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-519@tmp:/w/workspace/xfoundry_device-modbus-go_PR-519@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-10-31T21:37:56.238Z] $ docker top 841f583dfefea86df84d68bb7c3a3ea16e10d1c74653578e429f52a10a773789 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-31T21:37:56.638Z] + git config --global --add safe.directory /w/workspace/xfoundry_device-modbus-go_PR-519 [Pipeline] fileExists [Pipeline] sh [2023-10-31T21:37:57.024Z] + make test [2023-10-31T21:37:57.024Z] go test ./... -coverprofile=coverage.out [2023-10-31T21:37:58.411Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2023-10-31T21:38:08.588Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2023-10-31T21:38:08.588Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.014s coverage: 47.9% of statements [2023-10-31T21:38:15.153Z] go vet ./... [2023-10-31T21:38:18.433Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-10-31T21:38:18.433Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-10-31T21:38:18.433Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-10-31T21:38:18.483Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-10-31T21:38:18.514Z] $ docker stop --time=1 841f583dfefea86df84d68bb7c3a3ea16e10d1c74653578e429f52a10a773789 [2023-10-31T21:38:22.188Z] $ docker rm -f --volumes 841f583dfefea86df84d68bb7c3a3ea16e10d1c74653578e429f52a10a773789 [Pipeline] // withDockerContainer [Pipeline] sh [2023-10-31T21:38:22.730Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-10-31T21:38:22.817Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-10-31T21:38:23.441Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-10-31T21:38:23.764Z] + ls -al . [2023-10-31T21:38:23.764Z] total 188 [2023-10-31T21:38:23.764Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 31 21:37 . [2023-10-31T21:38:23.764Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 31 21:36 .. [2023-10-31T21:38:23.764Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 31 21:36 .dockerignore [2023-10-31T21:38:23.764Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 31 21:38 .git [2023-10-31T21:38:23.764Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 31 21:36 .github [2023-10-31T21:38:23.764Z] -rw-rw-r-- 1 jenkins jenkins 266 Oct 31 21:36 .gitignore [2023-10-31T21:38:23.764Z] -rw-rw-r-- 1 jenkins jenkins 41 Oct 31 21:36 .golangci.yml [2023-10-31T21:38:23.764Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 31 21:36 .semver [2023-10-31T21:38:23.764Z] -rw-rw-r-- 1 jenkins jenkins 11101 Oct 31 21:36 Attribution.txt [2023-10-31T21:38:23.764Z] -rw-rw-r-- 1 jenkins jenkins 14764 Oct 31 21:36 CHANGELOG.md [2023-10-31T21:38:23.764Z] -rw-rw-r-- 1 jenkins jenkins 1365 Oct 31 21:36 Dockerfile [2023-10-31T21:38:23.764Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 31 21:36 GOVERNANCE.md [2023-10-31T21:38:23.764Z] -rw-rw-r-- 1 jenkins jenkins 658 Oct 31 21:36 Jenkinsfile [2023-10-31T21:38:23.764Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 31 21:36 LICENSE [2023-10-31T21:38:23.764Z] -rw-rw-r-- 1 jenkins jenkins 1936 Oct 31 21:36 Makefile [2023-10-31T21:38:23.764Z] -rw-rw-r-- 1 jenkins jenkins 622 Oct 31 21:36 OWNERS.md [2023-10-31T21:38:23.764Z] -rw-rw-r-- 1 jenkins jenkins 4463 Oct 31 21:36 README.md [2023-10-31T21:38:23.764Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 31 21:36 VERSION [2023-10-31T21:38:23.764Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 31 21:36 bin [2023-10-31T21:38:23.764Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 31 21:36 cmd [2023-10-31T21:38:23.764Z] -rw-r--r-- 1 jenkins jenkins 24334 Oct 31 21:38 coverage.out [2023-10-31T21:38:23.764Z] -rw-rw-r-- 1 jenkins jenkins 3942 Oct 31 21:36 go.mod [2023-10-31T21:38:23.764Z] -rw-rw-r-- 1 jenkins jenkins 35436 Oct 31 21:36 go.sum [2023-10-31T21:38:23.764Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 31 21:36 internal [2023-10-31T21:38:23.764Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 31 21:36 simulator [2023-10-31T21:38:23.764Z] -rw-rw-r-- 1 jenkins jenkins 229 Oct 31 21:36 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-31T21:38:24.174Z] + 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=e2ff2043c21eae1b7948b2365d5c93f0134ee472 --label arch=amd64 --label version=0.0.0 . [2023-10-31T21:38:24.174Z] Sending build context to Docker daemon 6.605MB [2023-10-31T21:38:24.174Z] Step 1/22 : ARG BASE=golang:1.21-alpine3.18 [2023-10-31T21:38:24.174Z] Step 2/22 : FROM ${BASE} AS builder [2023-10-31T21:38:24.174Z] ---> c1c99fec785d [2023-10-31T21:38:24.174Z] Step 3/22 : ARG ADD_BUILD_TAGS="" [2023-10-31T21:38:24.435Z] ---> Running in 4ddba017e638 [2023-10-31T21:38:24.435Z] Removing intermediate container 4ddba017e638 [2023-10-31T21:38:24.435Z] ---> 0c375d8cad1d [2023-10-31T21:38:24.435Z] Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-10-31T21:38:24.435Z] ---> Running in ea3475344538 [2023-10-31T21:38:24.435Z] Removing intermediate container ea3475344538 [2023-10-31T21:38:24.435Z] ---> c4d1241d1a55 [2023-10-31T21:38:24.435Z] Step 5/22 : RUN apk add --update --no-cache make git openssh [2023-10-31T21:38:24.694Z] ---> Running in 486b2af36cfc [2023-10-31T21:38:24.953Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-10-31T21:38:24.953Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-10-31T21:38:25.523Z] OK: 270 MiB in 60 packages [2023-10-31T21:38:25.791Z] Removing intermediate container 486b2af36cfc [2023-10-31T21:38:25.791Z] ---> 1a9487aaa195 [2023-10-31T21:38:25.791Z] Step 6/22 : WORKDIR /device-modbus-go [2023-10-31T21:38:25.791Z] ---> Running in e5b88d7af21c [2023-10-31T21:38:25.791Z] Removing intermediate container e5b88d7af21c [2023-10-31T21:38:25.791Z] ---> d075a770c929 [2023-10-31T21:38:25.791Z] Step 7/22 : COPY go.mod vendor* ./ [2023-10-31T21:38:26.053Z] ---> 78bb2cf762a7 [2023-10-31T21:38:26.053Z] Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-10-31T21:38:26.053Z] ---> Running in 549ef762e671 [2023-10-31T21:38:26.622Z] Removing intermediate container 549ef762e671 [2023-10-31T21:38:26.622Z] ---> af10ef465b69 [2023-10-31T21:38:26.622Z] Step 9/22 : COPY . . [2023-10-31T21:38:26.882Z] ---> 93f7ef729fd7 [2023-10-31T21:38:26.882Z] Step 10/22 : RUN ${MAKE} [2023-10-31T21:38:27.142Z] ---> Running in cf7fa7637423 [2023-10-31T21:38:27.402Z] 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-31T21:38:49.599Z] Removing intermediate container cf7fa7637423 [2023-10-31T21:38:49.599Z] ---> 67162390fdba [2023-10-31T21:38:49.599Z] Step 11/22 : FROM alpine:3.18 [2023-10-31T21:38:49.599Z] 3.18: Pulling from library/alpine [2023-10-31T21:38:49.599Z] 96526aa774ef: Pulling fs layer [2023-10-31T21:38:49.599Z] 96526aa774ef: Verifying Checksum [2023-10-31T21:38:49.599Z] 96526aa774ef: Download complete [2023-10-31T21:38:49.599Z] 96526aa774ef: Pull complete [2023-10-31T21:38:49.599Z] Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 [2023-10-31T21:38:49.599Z] Status: Downloaded newer image for alpine:3.18 [2023-10-31T21:38:49.599Z] ---> 8ca4688f4f35 [2023-10-31T21:38:49.599Z] Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2023-10-31T21:38:49.599Z] ---> Running in 2a58a005fc15 [2023-10-31T21:38:49.599Z] Removing intermediate container 2a58a005fc15 [2023-10-31T21:38:49.599Z] ---> 6b9cea17d52a [2023-10-31T21:38:49.599Z] Step 13/22 : RUN apk add --update --no-cache dumb-init [2023-10-31T21:38:49.599Z] ---> Running in 9e6e8ee6c019 [2023-10-31T21:38:49.599Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-10-31T21:38:49.599Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-10-31T21:38:49.599Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-10-31T21:38:49.599Z] Executing busybox-1.36.1-r2.trigger [2023-10-31T21:38:49.599Z] OK: 7 MiB in 16 packages [2023-10-31T21:38:49.888Z] Removing intermediate container 9e6e8ee6c019 [2023-10-31T21:38:49.888Z] ---> ef52f0d85e32 [2023-10-31T21:38:49.888Z] Step 14/22 : COPY --from=builder /device-modbus-go/cmd / [2023-10-31T21:38:50.843Z] ---> e462cd5e6d92 [2023-10-31T21:38:50.843Z] Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / [2023-10-31T21:38:50.843Z] ---> f3da3d7a2381 [2023-10-31T21:38:50.843Z] Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / [2023-10-31T21:38:52.318Z] ---> 9a572f4c1bdc [2023-10-31T21:38:52.318Z] Step 17/22 : EXPOSE 59901 [2023-10-31T21:38:52.318Z] ---> Running in d1717ae19474 [2023-10-31T21:38:52.318Z] Removing intermediate container d1717ae19474 [2023-10-31T21:38:52.318Z] ---> b3a76f0ab4ab [2023-10-31T21:38:52.318Z] Step 18/22 : ENTRYPOINT ["/device-modbus"] [2023-10-31T21:38:52.318Z] ---> Running in 4681c51276f4 [2023-10-31T21:38:52.318Z] Removing intermediate container 4681c51276f4 [2023-10-31T21:38:52.318Z] ---> e43981c0ffaf [2023-10-31T21:38:52.318Z] Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-10-31T21:38:52.318Z] ---> Running in 41f5d6cefc92 [2023-10-31T21:38:52.318Z] Removing intermediate container 41f5d6cefc92 [2023-10-31T21:38:52.318Z] ---> a3001e04cd97 [2023-10-31T21:38:52.318Z] Step 20/22 : LABEL arch=amd64 [2023-10-31T21:38:52.580Z] ---> Running in 3e2591972777 [2023-10-31T21:38:52.580Z] Removing intermediate container 3e2591972777 [2023-10-31T21:38:52.580Z] ---> 76eba92fea97 [2023-10-31T21:38:52.580Z] Step 21/22 : LABEL git_sha=e2ff2043c21eae1b7948b2365d5c93f0134ee472 [2023-10-31T21:38:52.580Z] ---> Running in f2e9fe28d1bb [2023-10-31T21:38:52.580Z] Removing intermediate container f2e9fe28d1bb [2023-10-31T21:38:52.580Z] ---> f3b4e6b6b32b [2023-10-31T21:38:52.580Z] Step 22/22 : LABEL version=0.0.0 [2023-10-31T21:38:52.580Z] ---> Running in 192d3e748106 [2023-10-31T21:38:52.844Z] Removing intermediate container 192d3e748106 [2023-10-31T21:38:52.844Z] ---> 817d0bb1de52 [2023-10-31T21:38:52.844Z] [Warning] One or more build-args [ARCH] were not consumed [2023-10-31T21:38:52.844Z] Successfully built 817d0bb1de52 [2023-10-31T21:38:52.844Z] 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-31T21:38:54.156Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-31T21:38:54.156Z] [2023-10-31T21:38:54.156Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-31T21:38:54.812Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-31T21:38:55.075Z] latest: Pulling from edgex-lftools-log-publisher [2023-10-31T21:38:55.075Z] 5eb5b503b376: Pulling fs layer [2023-10-31T21:38:55.075Z] 5c69ac0246d0: Pulling fs layer [2023-10-31T21:38:55.075Z] ec43610c2a17: Pulling fs layer [2023-10-31T21:38:55.075Z] 3a2ae6a8a46f: Pulling fs layer [2023-10-31T21:38:55.075Z] 33b1e0a273af: Pulling fs layer [2023-10-31T21:38:55.075Z] 5d3b04190fa2: Pulling fs layer [2023-10-31T21:38:55.075Z] 2f39f015ded8: Pulling fs layer [2023-10-31T21:38:55.075Z] 33b1e0a273af: Waiting [2023-10-31T21:38:55.075Z] 5d3b04190fa2: Waiting [2023-10-31T21:38:55.075Z] 2f39f015ded8: Waiting [2023-10-31T21:38:55.075Z] 3a2ae6a8a46f: Waiting [2023-10-31T21:38:55.075Z] 5c69ac0246d0: Download complete [2023-10-31T21:38:55.075Z] 3a2ae6a8a46f: Verifying Checksum [2023-10-31T21:38:55.075Z] 3a2ae6a8a46f: Download complete [2023-10-31T21:38:55.075Z] 33b1e0a273af: Verifying Checksum [2023-10-31T21:38:55.075Z] 33b1e0a273af: Download complete [2023-10-31T21:38:55.075Z] ec43610c2a17: Verifying Checksum [2023-10-31T21:38:55.075Z] ec43610c2a17: Download complete [2023-10-31T21:38:55.075Z] 5d3b04190fa2: Download complete [2023-10-31T21:38:55.336Z] 5eb5b503b376: Verifying Checksum [2023-10-31T21:38:55.336Z] 5eb5b503b376: Download complete [2023-10-31T21:38:55.907Z] 2f39f015ded8: Download complete [2023-10-31T21:38:56.474Z] 5eb5b503b376: Pull complete [2023-10-31T21:38:56.474Z] 5c69ac0246d0: Pull complete [2023-10-31T21:38:57.042Z] ec43610c2a17: Pull complete [2023-10-31T21:38:57.042Z] 3a2ae6a8a46f: Pull complete [2023-10-31T21:38:57.042Z] 33b1e0a273af: Pull complete [2023-10-31T21:38:57.312Z] 5d3b04190fa2: Pull complete [2023-10-31T21:39:01.547Z] 2f39f015ded8: Pull complete [2023-10-31T21:39:01.547Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-10-31T21:39:01.547Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-31T21:39:01.547Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-31T21:39:01.828Z] prd-ubuntu20.04-docker-8c-8g-15648 does not seem to be running inside a container [2023-10-31T21:39:01.865Z] $ 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-519 -v /w/workspace/xfoundry_device-modbus-go_PR-519:/w/workspace/xfoundry_device-modbus-go_PR-519:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-519@tmp:/w/workspace/xfoundry_device-modbus-go_PR-519@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-10-31T21:39:07.759Z] $ docker top d1c97b2f88812a2ec1cd46d1f4a718ea522150c11edd67ec17a93f4da60a0f81 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-31T21:39:08.236Z] ---> job-cost.sh [2023-10-31T21:39:08.236Z] lf-activate-venv: SKIPPING [2023-10-31T21:39:08.236Z] INFO: No Stack... [2023-10-31T21:39:08.495Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-10-31T21:39:08.760Z] INFO: Archiving Costs [Pipeline] sh [2023-10-31T21:39:09.076Z] + + cat /w/workspace/xfoundry_device-modbus-go_PR-519/archives/cost.csv [2023-10-31T21:39:09.076Z] cut -d, -f6 [Pipeline] lock [2023-10-31T21:39:09.135Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-519-1-stack-cost] [2023-10-31T21:39:09.140Z] Resource [jenkins-edgexfoundry-device-modbus-go-PR-519-1-stack-cost] did not exist. Created. [2023-10-31T21:39:09.141Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-519-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-10-31T21:39:09.625Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-10-31T21:39:09.672Z] Stashed 1 file(s) [Pipeline] } [2023-10-31T21:39:09.710Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-519-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-10-31T21:39:09.803Z] $ docker stop --time=1 d1c97b2f88812a2ec1cd46d1f4a718ea522150c11edd67ec17a93f4da60a0f81 [2023-10-31T21:39:10.954Z] $ docker rm -f --volumes d1c97b2f88812a2ec1cd46d1f4a718ea522150c11edd67ec17a93f4da60a0f81 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-10-31T21:39:53.987Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-15658 in /w/workspace/xfoundry_device-modbus-go_PR-519 [Pipeline] { [Pipeline] ws [2023-10-31T21:39:54.049Z] Running in /w/workspace/device-modbus-go/1 [Pipeline] { [Pipeline] checkout [2023-10-31T21:39:54.131Z] Selected Git installation does not exist. Using Default [2023-10-31T21:39:54.131Z] The recommended git tool is: NONE [2023-10-31T21:40:01.412Z] using credential edgex-jenkins-ssh [2023-10-31T21:40:01.431Z] Cloning the remote Git repository [2023-10-31T21:40:01.506Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2023-10-31T21:40:01.656Z] > git init /w/workspace/device-modbus-go/1 # timeout=10 [2023-10-31T21:40:01.861Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2023-10-31T21:40:01.863Z] > git --version # timeout=10 [2023-10-31T21:40:01.892Z] > git --version # 'git version 2.25.1' [2023-10-31T21:40:01.895Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-10-31T21:40:02.084Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-10-31T21:40:04.416Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2023-10-31T21:40:04.443Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-10-31T21:40:05.603Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2023-10-31T21:40:05.653Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2023-10-31T21:40:05.654Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-10-31T21:40:05.674Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/519/head:refs/remotes/origin/PR-519 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-10-31T21:40:06.281Z] Merging remotes/origin/main commit 83e3636f3d0d9b10ed1b1a22d55c5d268cf4fa51 into PR head commit e2ff2043c21eae1b7948b2365d5c93f0134ee472 [2023-10-31T21:40:06.658Z] Merge succeeded, producing e2ff2043c21eae1b7948b2365d5c93f0134ee472 [2023-10-31T21:40:06.659Z] Checking out Revision e2ff2043c21eae1b7948b2365d5c93f0134ee472 (PR-519) [2023-10-31T21:40:07.339Z] Commit message: "build(deps): Bump github.com/nats-io/nkeys from 0.4.5 to 0.4.6" [2023-10-31T21:40:07.410Z] > git --version # timeout=10 [2023-10-31T21:40:07.424Z] > git --version # 'git version 2.25.1' [2023-10-31T21:40:07.442Z] fatal: bad object e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-10-31T21:40:06.305Z] > git config core.sparsecheckout # timeout=10 [2023-10-31T21:40:06.429Z] > git checkout -f e2ff2043c21eae1b7948b2365d5c93f0134ee472 # timeout=10 [2023-10-31T21:40:06.537Z] > git remote # timeout=10 [2023-10-31T21:40:06.566Z] > git config --get remote.origin.url # timeout=10 [2023-10-31T21:40:06.585Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-10-31T21:40:06.604Z] > git merge 83e3636f3d0d9b10ed1b1a22d55c5d268cf4fa51 # timeout=10 [2023-10-31T21:40:06.638Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-10-31T21:40:06.670Z] > git config core.sparsecheckout # timeout=10 [2023-10-31T21:40:06.696Z] > git checkout -f e2ff2043c21eae1b7948b2365d5c93f0134ee472 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-10-31T21:40:08.680Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-10-31T21:40:08.680Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-10-31T21:40:08.680Z] Dload Upload Total Spent Left Speed [2023-10-31T21:40:08.680Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 211k 0 --:--:-- --:--:-- --:--:-- 214k [Pipeline] sh [2023-10-31T21:40:09.527Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-10-31T21:40:09.883Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-10-31T21:40:09.883Z] + sudo tee /etc/docker/daemon.new [2023-10-31T21:40:09.883Z] { [2023-10-31T21:40:09.883Z] "registry-mirrors": [ [2023-10-31T21:40:09.883Z] "https://nexus3.edgexfoundry.org:10001" [2023-10-31T21:40:09.883Z] ], [2023-10-31T21:40:09.883Z] "bip": "10.250.0.254/24", [2023-10-31T21:40:09.883Z] "hosts": [ [2023-10-31T21:40:09.883Z] "tcp://0.0.0.0:5555", [2023-10-31T21:40:09.883Z] "unix:///var/run/docker.sock" [2023-10-31T21:40:09.883Z] ], [2023-10-31T21:40:09.883Z] "mtu": 1458, [2023-10-31T21:40:09.883Z] "selinux-enabled": true, [2023-10-31T21:40:09.883Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-10-31T21:40:09.883Z] } [Pipeline] sh [2023-10-31T21:40:10.255Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-10-31T21:40:10.643Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-10-31T21:40:29.085Z] provisioning config files... [2023-10-31T21:40:29.118Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/1@tmp/config2086625773939717725tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-31T21:40:29.550Z] ---> docker-login.sh [2023-10-31T21:40:29.550Z] nexus3.edgexfoundry.org:10001 [2023-10-31T21:40:30.146Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-31T21:40:30.419Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-31T21:40:30.419Z] Configure a credential helper to remove this warning. See [2023-10-31T21:40:30.419Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-31T21:40:30.419Z] [2023-10-31T21:40:30.419Z] Login Succeeded [2023-10-31T21:40:30.419Z] nexus3.edgexfoundry.org:10002 [2023-10-31T21:40:30.696Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-31T21:40:30.696Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-31T21:40:30.696Z] Configure a credential helper to remove this warning. See [2023-10-31T21:40:30.696Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-31T21:40:30.696Z] [2023-10-31T21:40:30.696Z] Login Succeeded [2023-10-31T21:40:30.970Z] nexus3.edgexfoundry.org:10003 [2023-10-31T21:40:31.245Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-31T21:40:31.245Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-31T21:40:31.245Z] Configure a credential helper to remove this warning. See [2023-10-31T21:40:31.245Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-31T21:40:31.245Z] [2023-10-31T21:40:31.245Z] Login Succeeded [2023-10-31T21:40:31.245Z] nexus3.edgexfoundry.org:10004 [2023-10-31T21:40:31.522Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-31T21:40:31.796Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-31T21:40:31.796Z] Configure a credential helper to remove this warning. See [2023-10-31T21:40:31.796Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-31T21:40:31.796Z] [2023-10-31T21:40:31.796Z] Login Succeeded [2023-10-31T21:40:31.796Z] docker.io [2023-10-31T21:40:32.067Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-31T21:40:32.381Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-31T21:40:32.381Z] Configure a credential helper to remove this warning. See [2023-10-31T21:40:32.381Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-31T21:40:32.381Z] [2023-10-31T21:40:32.381Z] Login Succeeded [2023-10-31T21:40:32.381Z] ---> docker-login.sh ends [Pipeline] } [2023-10-31T21:40:32.413Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-10-31T21:40:32.924Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-31T21:40:32.964Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-31T21:40:33.005Z] ========================================================= [2023-10-31T21:40:33.005Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2023-10-31T21:40:33.005Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-31T21:40:33.552Z] + 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-31T21:40:33.822Z] Sending build context to Docker daemon 3.408MB [2023-10-31T21:40:33.822Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2023-10-31T21:40:33.822Z] Step 2/10 : FROM ${BASE} AS builder [2023-10-31T21:40:34.411Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-10-31T21:40:34.411Z] 9fda8d8052c6: Pulling fs layer [2023-10-31T21:40:34.411Z] 5d54e960e981: Pulling fs layer [2023-10-31T21:40:34.411Z] c4a7e357bf2a: Pulling fs layer [2023-10-31T21:40:34.411Z] f0e02332f6b5: Pulling fs layer [2023-10-31T21:40:34.411Z] cefa15bbcfad: Pulling fs layer [2023-10-31T21:40:34.411Z] 17808c966233: Pulling fs layer [2023-10-31T21:40:34.411Z] f4c1fc716caa: Pulling fs layer [2023-10-31T21:40:34.411Z] cefa15bbcfad: Waiting [2023-10-31T21:40:34.411Z] 17808c966233: Waiting [2023-10-31T21:40:34.411Z] f0e02332f6b5: Waiting [2023-10-31T21:40:34.411Z] f4c1fc716caa: Waiting [2023-10-31T21:40:34.411Z] 5d54e960e981: Download complete [2023-10-31T21:40:34.411Z] f0e02332f6b5: Download complete [2023-10-31T21:40:34.739Z] cefa15bbcfad: Verifying Checksum [2023-10-31T21:40:34.739Z] cefa15bbcfad: Download complete [2023-10-31T21:40:34.739Z] 9fda8d8052c6: Download complete [2023-10-31T21:40:35.331Z] f4c1fc716caa: Verifying Checksum [2023-10-31T21:40:35.331Z] f4c1fc716caa: Download complete [2023-10-31T21:40:35.608Z] 9fda8d8052c6: Pull complete [2023-10-31T21:40:36.205Z] 5d54e960e981: Pull complete [2023-10-31T21:40:36.858Z] c4a7e357bf2a: Download complete [2023-10-31T21:40:38.314Z] 17808c966233: Verifying Checksum [2023-10-31T21:40:38.314Z] 17808c966233: Download complete [2023-10-31T21:40:53.442Z] c4a7e357bf2a: Pull complete [2023-10-31T21:40:53.442Z] f0e02332f6b5: Pull complete [2023-10-31T21:40:53.442Z] cefa15bbcfad: Pull complete [2023-10-31T21:41:01.908Z] 17808c966233: Pull complete [2023-10-31T21:41:02.881Z] f4c1fc716caa: Pull complete [2023-10-31T21:41:02.882Z] Digest: sha256:f9b5da702465edd0a2564459334de068a24595700ad6c8d0b85b07445f0b3000 [2023-10-31T21:41:02.882Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2023-10-31T21:41:02.882Z] ---> ea914061e18c [2023-10-31T21:41:02.882Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2023-10-31T21:41:04.168Z] ---> Running in f6ee850eb749 [2023-10-31T21:41:04.445Z] Removing intermediate container f6ee850eb749 [2023-10-31T21:41:04.445Z] ---> cbf7a2136062 [2023-10-31T21:41:04.445Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-10-31T21:41:04.445Z] ---> Running in a56ab49ff69b [2023-10-31T21:41:05.056Z] Removing intermediate container a56ab49ff69b [2023-10-31T21:41:05.056Z] ---> fbffedadc2eb [2023-10-31T21:41:05.056Z] Step 5/10 : RUN apk add --update --no-cache make git openssh [2023-10-31T21:41:05.056Z] ---> Running in 4950f71d02da [2023-10-31T21:41:06.524Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-10-31T21:41:06.801Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-10-31T21:41:08.227Z] (1/8) Installing openssh-keygen (9.3_p2-r0) [2023-10-31T21:41:08.227Z] (2/8) Installing libedit (20221030.3.1-r1) [2023-10-31T21:41:08.227Z] (3/8) Installing openssh-client-common (9.3_p2-r0) [2023-10-31T21:41:08.227Z] (4/8) Installing openssh-client-default (9.3_p2-r0) [2023-10-31T21:41:08.227Z] (5/8) Installing openssh-sftp-server (9.3_p2-r0) [2023-10-31T21:41:08.227Z] (6/8) Installing openssh-server-common (9.3_p2-r0) [2023-10-31T21:41:08.227Z] (7/8) Installing openssh-server (9.3_p2-r0) [2023-10-31T21:41:08.227Z] (8/8) Installing openssh (9.3_p2-r0) [2023-10-31T21:41:08.227Z] Executing busybox-1.36.1-r2.trigger [2023-10-31T21:41:08.227Z] OK: 272 MiB in 60 packages [2023-10-31T21:41:09.718Z] Removing intermediate container 4950f71d02da [2023-10-31T21:41:09.718Z] ---> 03c2d9d68d18 [2023-10-31T21:41:09.718Z] Step 6/10 : WORKDIR /device-modbus-go [2023-10-31T21:41:09.718Z] ---> Running in a498a65cef42 [2023-10-31T21:41:10.000Z] Removing intermediate container a498a65cef42 [2023-10-31T21:41:10.000Z] ---> e8d7d503b70c [2023-10-31T21:41:10.000Z] Step 7/10 : COPY go.mod vendor* ./ [2023-10-31T21:41:10.593Z] ---> 0bbe9a2a2b44 [2023-10-31T21:41:10.593Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-10-31T21:41:10.593Z] ---> Running in 675d7dc88ad8 [2023-10-31T21:42:32.624Z] Removing intermediate container 675d7dc88ad8 [2023-10-31T21:42:32.624Z] ---> 723193f2e377 [2023-10-31T21:42:32.624Z] Step 9/10 : COPY . . [2023-10-31T21:42:32.624Z] ---> 330b3f8dab36 [2023-10-31T21:42:32.624Z] Step 10/10 : RUN ${MAKE} [2023-10-31T21:42:32.624Z] ---> Running in 225d4f722b17 [2023-10-31T21:42:33.600Z] noop [2023-10-31T21:42:34.579Z] Removing intermediate container 225d4f722b17 [2023-10-31T21:42:34.580Z] ---> 71f1d479f4fc [2023-10-31T21:42:34.580Z] Successfully built 71f1d479f4fc [2023-10-31T21:42:34.580Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-31T21:42:35.115Z] + docker inspect -f . ci-base-image-arm64 [2023-10-31T21:42:35.115Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-31T21:42:35.462Z] prd-ubuntu20.04-docker-arm64-4c-16g-15658 does not seem to be running inside a container [2023-10-31T21:42:35.558Z] $ 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-31T21:42:37.016Z] $ docker top 5a42764d0b1e4e84a5c7c3ec57092e6e027077eb9a4c8e79ab8798778107aa4f -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-31T21:42:38.016Z] + go version [2023-10-31T21:42:38.016Z] go version go1.21.0 linux/arm64 [Pipeline] } [2023-10-31T21:42:38.057Z] $ docker stop --time=1 5a42764d0b1e4e84a5c7c3ec57092e6e027077eb9a4c8e79ab8798778107aa4f [2023-10-31T21:42:39.869Z] $ docker rm -f --volumes 5a42764d0b1e4e84a5c7c3ec57092e6e027077eb9a4c8e79ab8798778107aa4f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-31T21:42:40.831Z] + docker inspect -f . ci-base-image-arm64 [2023-10-31T21:42:40.831Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-31T21:42:41.164Z] prd-ubuntu20.04-docker-arm64-4c-16g-15658 does not seem to be running inside a container [2023-10-31T21:42:41.265Z] $ 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-31T21:42:46.783Z] $ docker top 0659e4c8ef97e871fe17b7a6af6fc1de065c5bee64fb44b623e3c549d8b117a5 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-31T21:42:47.724Z] + git config --global --add safe.directory /w/workspace/device-modbus-go/1 [Pipeline] fileExists [Pipeline] sh [2023-10-31T21:42:48.453Z] + make test [2023-10-31T21:42:48.453Z] go test ./... -coverprofile=coverage.out [2023-10-31T21:42:53.857Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2023-10-31T21:45:15.677Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2023-10-31T21:45:15.677Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.071s coverage: 47.9% of statements [2023-10-31T21:45:15.677Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-10-31T21:45:15.677Z] go vet ./... [2023-10-31T21:45:37.809Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-10-31T21:45:37.809Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-10-31T21:45:37.809Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-10-31T21:45:38.436Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-10-31T21:45:38.477Z] $ docker stop --time=1 0659e4c8ef97e871fe17b7a6af6fc1de065c5bee64fb44b623e3c549d8b117a5 [2023-10-31T21:45:40.507Z] $ docker rm -f --volumes 0659e4c8ef97e871fe17b7a6af6fc1de065c5bee64fb44b623e3c549d8b117a5 [Pipeline] // withDockerContainer [Pipeline] sh [2023-10-31T21:45:41.970Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-10-31T21:45:42.007Z] Warning: overwriting stash ‘coverage-report’ [2023-10-31T21:45:42.674Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-10-31T21:45:43.327Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-10-31T21:45:43.682Z] + ls -al . [2023-10-31T21:45:43.682Z] total 184 [2023-10-31T21:45:43.682Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 31 21:42 . [2023-10-31T21:45:43.682Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 31 21:40 .. [2023-10-31T21:45:43.682Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 31 21:40 .dockerignore [2023-10-31T21:45:43.682Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 31 21:40 .git [2023-10-31T21:45:43.682Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 31 21:40 .github [2023-10-31T21:45:43.682Z] -rw-rw-r-- 1 jenkins jenkins 266 Oct 31 21:40 .gitignore [2023-10-31T21:45:43.682Z] -rw-rw-r-- 1 jenkins jenkins 41 Oct 31 21:40 .golangci.yml [2023-10-31T21:45:43.682Z] -rw-rw-r-- 1 jenkins jenkins 11101 Oct 31 21:40 Attribution.txt [2023-10-31T21:45:43.682Z] -rw-rw-r-- 1 jenkins jenkins 14764 Oct 31 21:40 CHANGELOG.md [2023-10-31T21:45:43.682Z] -rw-rw-r-- 1 jenkins jenkins 1365 Oct 31 21:40 Dockerfile [2023-10-31T21:45:43.682Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 31 21:40 GOVERNANCE.md [2023-10-31T21:45:43.682Z] -rw-rw-r-- 1 jenkins jenkins 658 Oct 31 21:40 Jenkinsfile [2023-10-31T21:45:43.682Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 31 21:40 LICENSE [2023-10-31T21:45:43.682Z] -rw-rw-r-- 1 jenkins jenkins 1936 Oct 31 21:40 Makefile [2023-10-31T21:45:43.682Z] -rw-rw-r-- 1 jenkins jenkins 622 Oct 31 21:40 OWNERS.md [2023-10-31T21:45:43.682Z] -rw-rw-r-- 1 jenkins jenkins 4463 Oct 31 21:40 README.md [2023-10-31T21:45:43.682Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 31 21:36 VERSION [2023-10-31T21:45:43.682Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 31 21:40 bin [2023-10-31T21:45:43.682Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 31 21:40 cmd [2023-10-31T21:45:43.682Z] -rw-r--r-- 1 jenkins jenkins 24334 Oct 31 21:45 coverage.out [2023-10-31T21:45:43.682Z] -rw-rw-r-- 1 jenkins jenkins 3942 Oct 31 21:40 go.mod [2023-10-31T21:45:43.682Z] -rw-rw-r-- 1 jenkins jenkins 35436 Oct 31 21:40 go.sum [2023-10-31T21:45:43.682Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 31 21:40 internal [2023-10-31T21:45:43.682Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 31 21:40 simulator [2023-10-31T21:45:43.682Z] -rw-rw-r-- 1 jenkins jenkins 229 Oct 31 21:40 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-31T21:45:44.117Z] + 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=e2ff2043c21eae1b7948b2365d5c93f0134ee472 --label arch=arm64 --label version=0.0.0 . [2023-10-31T21:45:44.388Z] Sending build context to Docker daemon 3.433MB [2023-10-31T21:45:44.388Z] Step 1/22 : ARG BASE=golang:1.21-alpine3.18 [2023-10-31T21:45:44.388Z] Step 2/22 : FROM ${BASE} AS builder [2023-10-31T21:45:44.388Z] ---> 71f1d479f4fc [2023-10-31T21:45:44.388Z] Step 3/22 : ARG ADD_BUILD_TAGS="" [2023-10-31T21:45:45.385Z] ---> Running in 3ca0e4f41a60 [2023-10-31T21:45:45.659Z] Removing intermediate container 3ca0e4f41a60 [2023-10-31T21:45:45.659Z] ---> f83606c6e78a [2023-10-31T21:45:45.659Z] Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-10-31T21:45:45.659Z] ---> Running in b0e7928dc90f [2023-10-31T21:45:46.254Z] Removing intermediate container b0e7928dc90f [2023-10-31T21:45:46.254Z] ---> 7b418daf9e18 [2023-10-31T21:45:46.254Z] Step 5/22 : RUN apk add --update --no-cache make git openssh [2023-10-31T21:45:46.254Z] ---> Running in e6a2877604f2 [2023-10-31T21:45:47.685Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-10-31T21:45:47.960Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-10-31T21:45:49.936Z] OK: 272 MiB in 60 packages [2023-10-31T21:45:50.909Z] Removing intermediate container e6a2877604f2 [2023-10-31T21:45:50.909Z] ---> 6f5a83229d83 [2023-10-31T21:45:50.909Z] Step 6/22 : WORKDIR /device-modbus-go [2023-10-31T21:45:50.909Z] ---> Running in 0d57ab9ef261 [2023-10-31T21:45:51.185Z] Removing intermediate container 0d57ab9ef261 [2023-10-31T21:45:51.185Z] ---> 475f0981cdb2 [2023-10-31T21:45:51.185Z] Step 7/22 : COPY go.mod vendor* ./ [2023-10-31T21:45:51.785Z] ---> c1d0d00cac42 [2023-10-31T21:45:51.785Z] Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-10-31T21:45:52.063Z] ---> Running in bcc2c8361569 [2023-10-31T21:45:54.697Z] Removing intermediate container bcc2c8361569 [2023-10-31T21:45:54.697Z] ---> 60239e5be4cf [2023-10-31T21:45:54.697Z] Step 9/22 : COPY . . [2023-10-31T21:45:55.300Z] ---> 4fdc3a1aed97 [2023-10-31T21:45:55.300Z] Step 10/22 : RUN ${MAKE} [2023-10-31T21:45:55.300Z] ---> Running in a9b6b4370a5e [2023-10-31T21:45:56.745Z] 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-31T21:48:33.569Z] Removing intermediate container a9b6b4370a5e [2023-10-31T21:48:33.569Z] ---> 53c632967a54 [2023-10-31T21:48:33.569Z] Step 11/22 : FROM alpine:3.18 [2023-10-31T21:48:33.569Z] 3.18: Pulling from library/alpine [2023-10-31T21:48:33.569Z] 579b34f0a95b: Pulling fs layer [2023-10-31T21:48:33.569Z] 579b34f0a95b: Verifying Checksum [2023-10-31T21:48:33.569Z] 579b34f0a95b: Download complete [2023-10-31T21:48:33.569Z] 579b34f0a95b: Pull complete [2023-10-31T21:48:33.569Z] Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 [2023-10-31T21:48:33.569Z] Status: Downloaded newer image for alpine:3.18 [2023-10-31T21:48:33.569Z] ---> 3cc203321400 [2023-10-31T21:48:33.569Z] Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2023-10-31T21:48:33.569Z] ---> Running in c3967ade78ff [2023-10-31T21:48:33.569Z] Removing intermediate container c3967ade78ff [2023-10-31T21:48:33.569Z] ---> 6b746e63d5e2 [2023-10-31T21:48:33.569Z] Step 13/22 : RUN apk add --update --no-cache dumb-init [2023-10-31T21:48:33.569Z] ---> Running in b41b9aa66587 [2023-10-31T21:48:33.569Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-10-31T21:48:33.569Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-10-31T21:48:33.569Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-10-31T21:48:33.569Z] Executing busybox-1.36.1-r2.trigger [2023-10-31T21:48:33.569Z] OK: 8 MiB in 16 packages [2023-10-31T21:48:33.569Z] Removing intermediate container b41b9aa66587 [2023-10-31T21:48:33.569Z] ---> 7afe4bb62196 [2023-10-31T21:48:33.569Z] Step 14/22 : COPY --from=builder /device-modbus-go/cmd / [2023-10-31T21:48:33.569Z] ---> 051d23638f72 [2023-10-31T21:48:33.569Z] Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / [2023-10-31T21:48:33.569Z] ---> 6120e44e43bc [2023-10-31T21:48:33.569Z] Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / [2023-10-31T21:48:33.569Z] ---> 1ffe5c5a1df5 [2023-10-31T21:48:33.569Z] Step 17/22 : EXPOSE 59901 [2023-10-31T21:48:33.569Z] ---> Running in 0c2675bbda90 [2023-10-31T21:48:33.569Z] Removing intermediate container 0c2675bbda90 [2023-10-31T21:48:33.569Z] ---> d02e1b95b97c [2023-10-31T21:48:33.569Z] Step 18/22 : ENTRYPOINT ["/device-modbus"] [2023-10-31T21:48:33.569Z] ---> Running in 55cc8257636f [2023-10-31T21:48:33.569Z] Removing intermediate container 55cc8257636f [2023-10-31T21:48:33.569Z] ---> cf36df0bd409 [2023-10-31T21:48:33.569Z] Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-10-31T21:48:33.569Z] ---> Running in 2ee57e7dd7de [2023-10-31T21:48:33.569Z] Removing intermediate container 2ee57e7dd7de [2023-10-31T21:48:33.569Z] ---> 0452fe803cbf [2023-10-31T21:48:33.569Z] Step 20/22 : LABEL arch=arm64 [2023-10-31T21:48:33.569Z] ---> Running in 83cf4dbf4cd8 [2023-10-31T21:48:33.569Z] Removing intermediate container 83cf4dbf4cd8 [2023-10-31T21:48:33.569Z] ---> 13be8630b6cc [2023-10-31T21:48:33.569Z] Step 21/22 : LABEL git_sha=e2ff2043c21eae1b7948b2365d5c93f0134ee472 [2023-10-31T21:48:33.569Z] ---> Running in ba942ecf50a3 [2023-10-31T21:48:33.569Z] Removing intermediate container ba942ecf50a3 [2023-10-31T21:48:33.569Z] ---> 6fadaeda3c2a [2023-10-31T21:48:33.569Z] Step 22/22 : LABEL version=0.0.0 [2023-10-31T21:48:33.846Z] ---> Running in f40093cb41e3 [2023-10-31T21:48:34.116Z] Removing intermediate container f40093cb41e3 [2023-10-31T21:48:34.116Z] ---> 22686999885e [2023-10-31T21:48:34.116Z] [Warning] One or more build-args [ARCH] were not consumed [2023-10-31T21:48:34.390Z] Successfully built 22686999885e [2023-10-31T21:48:34.390Z] 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-31T21:48:35.273Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-10-31T21:48:35.273Z] [2023-10-31T21:48:35.273Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-31T21:48:35.702Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-10-31T21:48:35.973Z] arm64: Pulling from edgex-lftools-log-publisher [2023-10-31T21:48:35.973Z] 8998bd30e6a1: Pulling fs layer [2023-10-31T21:48:35.973Z] 04944245beec: Pulling fs layer [2023-10-31T21:48:35.973Z] 699f458cf7ca: Pulling fs layer [2023-10-31T21:48:35.974Z] 765212b225bb: Pulling fs layer [2023-10-31T21:48:35.974Z] f23df028b6ca: Pulling fs layer [2023-10-31T21:48:35.974Z] d65c8cfc05b1: Pulling fs layer [2023-10-31T21:48:35.974Z] 2437ff75d9bd: Pulling fs layer [2023-10-31T21:48:35.974Z] f23df028b6ca: Waiting [2023-10-31T21:48:35.974Z] d65c8cfc05b1: Waiting [2023-10-31T21:48:35.974Z] 2437ff75d9bd: Waiting [2023-10-31T21:48:35.974Z] 765212b225bb: Waiting [2023-10-31T21:48:35.974Z] 04944245beec: Verifying Checksum [2023-10-31T21:48:35.974Z] 04944245beec: Download complete [2023-10-31T21:48:35.974Z] 765212b225bb: Verifying Checksum [2023-10-31T21:48:35.974Z] 765212b225bb: Download complete [2023-10-31T21:48:36.249Z] f23df028b6ca: Download complete [2023-10-31T21:48:36.249Z] d65c8cfc05b1: Verifying Checksum [2023-10-31T21:48:36.249Z] d65c8cfc05b1: Download complete [2023-10-31T21:48:36.249Z] 699f458cf7ca: Download complete [2023-10-31T21:48:36.840Z] 8998bd30e6a1: Verifying Checksum [2023-10-31T21:48:36.840Z] 8998bd30e6a1: Download complete [2023-10-31T21:48:39.434Z] 2437ff75d9bd: Verifying Checksum [2023-10-31T21:48:39.434Z] 2437ff75d9bd: Download complete [2023-10-31T21:48:42.796Z] 8998bd30e6a1: Pull complete [2023-10-31T21:48:43.387Z] 04944245beec: Pull complete [2023-10-31T21:48:44.804Z] 699f458cf7ca: Pull complete [2023-10-31T21:48:45.075Z] 765212b225bb: Pull complete [2023-10-31T21:48:46.035Z] f23df028b6ca: Pull complete [2023-10-31T21:48:46.353Z] d65c8cfc05b1: Pull complete [2023-10-31T21:49:04.665Z] 2437ff75d9bd: Pull complete [2023-10-31T21:49:04.665Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-10-31T21:49:04.665Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-10-31T21:49:04.665Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-31T21:49:05.074Z] prd-ubuntu20.04-docker-arm64-4c-16g-15658 does not seem to be running inside a container [2023-10-31T21:49:05.153Z] $ 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-31T21:49:08.352Z] $ docker top 6fa829103a30c9d44f2eb55298e06cfcffacd844195eff67150e325928b6df5a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-31T21:49:09.299Z] ---> job-cost.sh [2023-10-31T21:49:09.299Z] lf-activate-venv: SKIPPING [2023-10-31T21:49:09.299Z] INFO: No Stack... [2023-10-31T21:49:09.890Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-10-31T21:49:10.865Z] INFO: Archiving Costs [Pipeline] sh [2023-10-31T21:49:11.614Z] + cat /w/workspace/device-modbus-go/1/archives/cost.csv [2023-10-31T21:49:11.615Z] + cut -d, -f6 [Pipeline] lock [2023-10-31T21:49:11.728Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-519-1-stack-cost] [2023-10-31T21:49:11.734Z] Resource [jenkins-edgexfoundry-device-modbus-go-PR-519-1-stack-cost] did not exist. Created. [2023-10-31T21:49:11.734Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-519-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-10-31T21:49:12.483Z] /w/workspace/device-modbus-go/1@tmp/durable-91dcad27/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-10-31T21:49:13.212Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-10-31T21:49:13.264Z] Warning: overwriting stash ‘stack-cost’ [2023-10-31T21:49:13.337Z] Stashed 1 file(s) [Pipeline] } [2023-10-31T21:49:13.352Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-519-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-10-31T21:49:13.442Z] $ docker stop --time=1 6fa829103a30c9d44f2eb55298e06cfcffacd844195eff67150e325928b6df5a [2023-10-31T21:49:15.056Z] $ docker rm -f --volumes 6fa829103a30c9d44f2eb55298e06cfcffacd844195eff67150e325928b6df5a [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-31T21:49:16.206Z] provisioning config files... [2023-10-31T21:49:16.217Z] copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-519@tmp/config11212427986363276365tmp [Pipeline] { [Pipeline] sh [2023-10-31T21:49:16.558Z] + set +x [2023-10-31T21:49:16.558Z] + + bash -s -- [2023-10-31T21:49:16.558Z] curl -s https://codecov.io/bash [2023-10-31T21:49:16.558Z] [2023-10-31T21:49:16.558Z] _____ _ [2023-10-31T21:49:16.558Z] / ____| | | [2023-10-31T21:49:16.558Z] | | ___ __| | ___ ___ _____ __ [2023-10-31T21:49:16.558Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-10-31T21:49:16.558Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-10-31T21:49:16.558Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-10-31T21:49:16.558Z] Bash-1.0.6 [2023-10-31T21:49:16.558Z] [2023-10-31T21:49:16.558Z] [2023-10-31T21:49:16.558Z] ==> git version 2.25.1 found [2023-10-31T21:49:16.558Z] ==> 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-31T21:49:16.558Z] Release-Date: 2020-01-08 [2023-10-31T21:49:16.558Z] 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-31T21:49:16.558Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-10-31T21:49:16.558Z] ==> Jenkins CI detected. [2023-10-31T21:49:16.559Z] current dir:  /w/workspace/xfoundry_device-modbus-go_PR-519 [2023-10-31T21:49:16.559Z] project root: . [2023-10-31T21:49:16.559Z] --> token set from env [2023-10-31T21:49:16.559Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-10-31T21:49:16.559Z] ==> Running gcov in . (disable via -X gcov) [2023-10-31T21:49:16.559Z] ==> Python coveragepy not found [2023-10-31T21:49:16.559Z] ==> Searching for coverage reports in: [2023-10-31T21:49:16.559Z] + . [2023-10-31T21:49:16.559Z] -> Found 1 reports [2023-10-31T21:49:16.559Z] ==> Detecting git/mercurial file structure [2023-10-31T21:49:16.559Z] ==> Reading reports [2023-10-31T21:49:16.819Z] + ./coverage.out bytes=24334 [2023-10-31T21:49:16.819Z] ==> Appending adjustments [2023-10-31T21:49:16.819Z] https://docs.codecov.io/docs/fixing-reports [2023-10-31T21:49:16.819Z] + Found adjustments [2023-10-31T21:49:16.819Z] ==> Gzipping contents [2023-10-31T21:49:16.819Z] 4.0K /tmp/codecov.VZmePa.gz [2023-10-31T21:49:16.819Z] ==> Uploading reports [2023-10-31T21:49:16.819Z] url: https://codecov.io [2023-10-31T21:49:16.819Z] query: branch=PR-519&commit=e2ff2043c21eae1b7948b2365d5c93f0134ee472&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-519%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=519&job=&cmd_args= [2023-10-31T21:49:16.819Z] -> Pinging Codecov [2023-10-31T21:49:16.819Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3a8d40b1-de00-4649-bfd4-bdc8ed99ae89&branch=PR-519&commit=e2ff2043c21eae1b7948b2365d5c93f0134ee472&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-519%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=519&job=&cmd_args= [2023-10-31T21:49:16.819Z] -> Uploading to [2023-10-31T21:49:16.819Z] https://storage.googleapis.com/codecov/v4/raw/2023-10-31/55DBCA73C666E3227836607328DD7E49/e2ff2043c21eae1b7948b2365d5c93f0134ee472/1d305928-6639-45c0-88a5-dc5048ca5c5e.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231031%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231031T214916Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=201e85629b7809a715be6c01b10297f08c831033a5d3feeca2a1f1600ee7a3a9 [2023-10-31T21:49:16.819Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-10-31T21:49:16.819Z] Dload Upload Total Spent Left Speed [2023-10-31T21:49:17.081Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3806 0 0 100 3806 0 18748 --:--:-- --:--:-- --:--:-- 18656 100 3806 0 0 100 3806 0 15346 --:--:-- --:--:-- --:--:-- 15285 [2023-10-31T21:49:17.081Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/e2ff2043c21eae1b7948b2365d5c93f0134ee472 [Pipeline] } [2023-10-31T21:49:17.112Z] 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-31T21:49:19.173Z] + [ -d /w/workspace/xfoundry_device-modbus-go_PR-519/archives ] [2023-10-31T21:49:19.173Z] + ls -al /w/workspace/xfoundry_device-modbus-go_PR-519/archives [2023-10-31T21:49:19.173Z] total 16 [2023-10-31T21:49:19.173Z] drwxr-xr-x 3 root root 4096 Oct 31 21:39 . [2023-10-31T21:49:19.173Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 31 21:39 .. [2023-10-31T21:49:19.173Z] drwxr-xr-x 2 root root 4096 Oct 31 21:39 cost [2023-10-31T21:49:19.173Z] -rw-r--r-- 1 root root 88 Oct 31 21:39 cost.csv [2023-10-31T21:49:19.173Z] + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-519/archives [2023-10-31T21:49:19.173Z] + ls -al /w/workspace/xfoundry_device-modbus-go_PR-519/archives [2023-10-31T21:49:19.173Z] total 16 [2023-10-31T21:49:19.173Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 31 21:39 . [2023-10-31T21:49:19.173Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 31 21:39 .. [2023-10-31T21:49:19.173Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 31 21:39 cost [2023-10-31T21:49:19.173Z] -rw-r--r-- 1 jenkins jenkins 88 Oct 31 21:39 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-10-31T21:49:19.514Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-31T21:49:20.432Z] ---> package-listing.sh [2023-10-31T21:49:20.432Z] ++ facter osfamily [2023-10-31T21:49:20.432Z] ++ tr '[:upper:]' '[:lower:]' [2023-10-31T21:49:20.692Z] + OS_FAMILY=debian [2023-10-31T21:49:20.692Z] + workspace=/w/workspace/xfoundry_device-modbus-go_PR-519 [2023-10-31T21:49:20.692Z] + START_PACKAGES=/tmp/packages_start.txt [2023-10-31T21:49:20.692Z] + END_PACKAGES=/tmp/packages_end.txt [2023-10-31T21:49:20.692Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-10-31T21:49:20.692Z] + PACKAGES=/tmp/packages_start.txt [2023-10-31T21:49:20.692Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-519 ']' [2023-10-31T21:49:20.692Z] + PACKAGES=/tmp/packages_end.txt [2023-10-31T21:49:20.692Z] + case "${OS_FAMILY}" in [2023-10-31T21:49:20.692Z] + dpkg -l [2023-10-31T21:49:20.692Z] + grep '^ii' [2023-10-31T21:49:20.692Z] + '[' -f /tmp/packages_start.txt ']' [2023-10-31T21:49:20.692Z] + '[' -f /tmp/packages_end.txt ']' [2023-10-31T21:49:20.692Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-10-31T21:49:20.692Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-519 ']' [2023-10-31T21:49:20.692Z] + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-519/archives/ [2023-10-31T21:49:20.692Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-519/archives/ [Pipeline] echo [2023-10-31T21:49:20.727Z] 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-519/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-10-31T21:49:21.023Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-31T21:49:21.681Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-31T21:49:21.681Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-31T21:49:21.938Z] prd-ubuntu20.04-docker-8c-8g-15648 does not seem to be running inside a container [2023-10-31T21:49:21.972Z] $ 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-519/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-519 -v /w/workspace/xfoundry_device-modbus-go_PR-519:/w/workspace/xfoundry_device-modbus-go_PR-519:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-519@tmp:/w/workspace/xfoundry_device-modbus-go_PR-519@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-31T21:49:22.167Z] $ docker top caee3a28fc32bea02207afd76264b943642f4d5aa985ae4fd571091e5a7aef32 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-31T21:49:22.566Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-10-31T21:49:22.882Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-10-31T21:49:23.203Z] + ls /var/log/sa-host [2023-10-31T21:49:23.203Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-10-31T21:49:23.381Z] provisioning config files... [2023-10-31T21:49:23.389Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-519@tmp/config4662673179764910293tmp [Pipeline] { [Pipeline] echo [2023-10-31T21:49:23.465Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-31T21:49:23.782Z] ---> create-netrc.sh [Pipeline] } [2023-10-31T21:49:23.817Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-10-31T21:49:24.222Z] ---> python-tools-install.sh [Pipeline] echo [2023-10-31T21:49:24.268Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-31T21:49:24.583Z] ---> sudo-logs.sh [2023-10-31T21:49:24.583Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-10-31T21:49:24.672Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-31T21:49:25.018Z] ---> job-cost.sh [2023-10-31T21:49:25.018Z] lf-activate-venv: SKIPPING [2023-10-31T21:49:25.018Z] DEBUG: total: 0.2199999988079071 [2023-10-31T21:49:25.018Z] INFO: Retrieving Stack Cost... [2023-10-31T21:49:25.587Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-10-31T21:49:25.845Z] INFO: Archiving Costs [Pipeline] echo [2023-10-31T21:49:25.882Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-31T21:49:26.197Z] ---> logs-deploy.sh [2023-10-31T21:49:26.197Z] lf-activate-venv: SKIPPING [2023-10-31T21:49:26.197Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-519/1 [2023-10-31T21:49:26.197Z] INFO: archiving workspace using pattern(s): [2023-10-31T21:49:27.131Z] Archives upload complete. [2023-10-31T21:49:27.131Z] INFO: archiving logs to Nexus