Pull request #497 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 6ccb6e6b255d38d4204eb6b52887c54b90775ace+d21f7114bade91926d0e99e1f605d1c822a787f1 (525556aace4808a99d501ee9041e211a592cccaf) 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-ssh17067575964982984714.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision a0327f913308fcf13875ae7a2d6e6099471c5ff1 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh10957845159609578692.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision a0327f913308fcf13875ae7a2d6e6099471c5ff1 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-497/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-497/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh4682276726155560418.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-497/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh522868797485578496.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision a0327f913308fcf13875ae7a2d6e6099471c5ff1 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f a0327f913308fcf13875ae7a2d6e6099471c5ff1 # timeout=10 Commit message: "fix: dry-run use case (#441)" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh10922432725488612270.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-497/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-497/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh17458681470429037494.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object a0327f913308fcf13875ae7a2d6e6099471c5ff1 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-modbus-go, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-modbus-go-settings PROJECT: device-modbus-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-modbus DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-5319 in /w/workspace/xfoundry_device-modbus-go_PR-497 [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-497 # 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/497/head:refs/remotes/origin/PR-497 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit d21f7114bade91926d0e99e1f605d1c822a787f1 into PR head commit 6ccb6e6b255d38d4204eb6b52887c54b90775ace Merge succeeded, producing 6ccb6e6b255d38d4204eb6b52887c54b90775ace Checking out Revision 6ccb6e6b255d38d4204eb6b52887c54b90775ace (PR-497) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object a0327f913308fcf13875ae7a2d6e6099471c5ff1 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-09-05T06:01:08.403Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-09-05T06:01:08.586Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-09-05T06:01:08.704Z] ========================================================= [2023-09-05T06:01:08.704Z] EdgeX Global Pipelines Version Info [2023-09-05T06:01:08.704Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git config core.sparsecheckout # timeout=10 > git checkout -f 6ccb6e6b255d38d4204eb6b52887c54b90775ace # 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 d21f7114bade91926d0e99e1f605d1c822a787f1 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 6ccb6e6b255d38d4204eb6b52887c54b90775ace # timeout=10 [2023-09-05T06:01:09.440Z] ------------------- [2023-09-05T06:01:09.440Z] stable info: [2023-09-05T06:01:09.440Z] ------------------- [2023-09-05T06:01:09.440Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-09-05T06:01:09.440Z] Commit SHA: a0327f913308fcf13875ae7a2d6e6099471c5ff1 [2023-09-05T06:01:09.440Z] Message: update stable to v1.0.253 [2023-09-05T06:01:10.029Z] ------------------- [2023-09-05T06:01:10.029Z] experimental info: [2023-09-05T06:01:10.029Z] ------------------- [2023-09-05T06:01:10.029Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-09-05T06:01:10.029Z] Commit SHA: a0327f913308fcf13875ae7a2d6e6099471c5ff1 [2023-09-05T06:01:10.029Z] Message: update experimental to v1.0.253 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-09-05T06:01:10.365Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo [2023-09-05T06:01:10.407Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo [2023-09-05T06:01:10.450Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-09-05T06:01:10.495Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-09-05T06:01:10.542Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-09-05T06:01:10.578Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-09-05T06:01:10.617Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-09-05T06:01:10.662Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-09-05T06:01:10.705Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-09-05T06:01:10.745Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-09-05T06:01:10.787Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-09-05T06:01:10.827Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo [2023-09-05T06:01:10.868Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-09-05T06:01:10.912Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-09-05T06:01:10.960Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-09-05T06:01:11.003Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-09-05T06:01:11.053Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-09-05T06:01:11.093Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-09-05T06:01:11.132Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-09-05T06:01:11.175Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-09-05T06:01:11.215Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-09-05T06:01:11.256Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-09-05T06:01:11.305Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-09-05T06:01:11.345Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-09-05T06:01:11.383Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-09-05T06:01:11.421Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-09-05T06:01:11.462Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-09-05T06:01:11.502Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-497 [Pipeline] echo [2023-09-05T06:01:11.555Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-497 [Pipeline] echo [2023-09-05T06:01:11.592Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-497 [Pipeline] echo [2023-09-05T06:01:11.627Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 6ccb6e6b255d38d4204eb6b52887c54b90775ace [Pipeline] echo [2023-09-05T06:01:11.666Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 6ccb6e6 [Pipeline] echo [2023-09-05T06:01:11.711Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-05T06:01:11.822Z] provisioning config files... [2023-09-05T06:01:11.845Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-497@tmp/config9690431793911366215tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-05T06:01:12.224Z] ---> docker-login.sh [2023-09-05T06:01:12.224Z] nexus3.edgexfoundry.org:10001 [2023-09-05T06:01:12.485Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-05T06:01:12.745Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-05T06:01:12.745Z] Configure a credential helper to remove this warning. See [2023-09-05T06:01:12.745Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-05T06:01:12.745Z] [2023-09-05T06:01:12.745Z] Login Succeeded [2023-09-05T06:01:12.745Z] nexus3.edgexfoundry.org:10002 [2023-09-05T06:01:12.745Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-05T06:01:12.745Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-05T06:01:12.745Z] Configure a credential helper to remove this warning. See [2023-09-05T06:01:12.745Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-05T06:01:12.745Z] [2023-09-05T06:01:12.745Z] Login Succeeded [2023-09-05T06:01:12.745Z] nexus3.edgexfoundry.org:10003 [2023-09-05T06:01:13.006Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-05T06:01:13.006Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-05T06:01:13.006Z] Configure a credential helper to remove this warning. See [2023-09-05T06:01:13.006Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-05T06:01:13.006Z] [2023-09-05T06:01:13.006Z] Login Succeeded [2023-09-05T06:01:13.006Z] nexus3.edgexfoundry.org:10004 [2023-09-05T06:01:13.006Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-05T06:01:13.006Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-05T06:01:13.006Z] Configure a credential helper to remove this warning. See [2023-09-05T06:01:13.006Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-05T06:01:13.006Z] [2023-09-05T06:01:13.006Z] Login Succeeded [2023-09-05T06:01:13.006Z] docker.io [2023-09-05T06:01:13.006Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-05T06:01:13.266Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-05T06:01:13.266Z] Configure a credential helper to remove this warning. See [2023-09-05T06:01:13.266Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-05T06:01:13.266Z] [2023-09-05T06:01:13.266Z] Login Succeeded [2023-09-05T06:01:13.266Z] ---> docker-login.sh ends [Pipeline] } [2023-09-05T06:01:13.295Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-09-05T06:01:13.938Z] + git rev-list -1 --merges 6ccb6e6b255d38d4204eb6b52887c54b90775ace~1..6ccb6e6b255d38d4204eb6b52887c54b90775ace [Pipeline] echo [2023-09-05T06:01:14.006Z] -----------> git rev-list -1 --merges 6ccb6e6b255d38d4204eb6b52887c54b90775ace~1..6ccb6e6b255d38d4204eb6b52887c54b90775ace 6ccb6e6b255d38d4204eb6b52887c54b90775ace [false] [Pipeline] sh [2023-09-05T06:01:14.320Z] + git log --format=format:%s -1 6ccb6e6b255d38d4204eb6b52887c54b90775ace [Pipeline] echo [2023-09-05T06:01:14.357Z] ========================================================= [2023-09-05T06:01:14.357Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-09-05T06:01:14.357Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-05T06:01:14.789Z] + git log --format=format:%s -1 6ccb6e6b255d38d4204eb6b52887c54b90775ace [Pipeline] echo [2023-09-05T06:01:14.827Z] [semverPrep] GIT_COMMIT: 6ccb6e6b255d38d4204eb6b52887c54b90775ace, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo [2023-09-05T06:01:14.863Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-09-05T06:01:15.265Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-09-05T06:01:15.266Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-09-05T06:01:15.266Z] + [ -e /tmp/ssh_known_hosts ] [2023-09-05T06:01:15.266Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-09-05T06:01:15.266Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-09-05T06:01:15.266Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-09-05T06:01:15.266Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-05T06:01:15.768Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-05T06:01:15.768Z] [2023-09-05T06:01:15.768Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-05T06:01:16.149Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-05T06:01:16.149Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-09-05T06:01:16.149Z] b85a868b505f: Pulling fs layer [2023-09-05T06:01:16.149Z] e2be974225ed: Pulling fs layer [2023-09-05T06:01:16.149Z] 339a4e72a1f5: Pulling fs layer [2023-09-05T06:01:16.149Z] 988bab9f4d93: Pulling fs layer [2023-09-05T06:01:16.149Z] 1469e6f7b9e6: Pulling fs layer [2023-09-05T06:01:16.149Z] eaf3925da568: Pulling fs layer [2023-09-05T06:01:16.149Z] bab4dde63d76: Pulling fs layer [2023-09-05T06:01:16.149Z] bde34c3a00c8: Pulling fs layer [2023-09-05T06:01:16.149Z] b352a97aabf1: Pulling fs layer [2023-09-05T06:01:16.149Z] 4872d77fe225: Pulling fs layer [2023-09-05T06:01:16.149Z] 5851b861e8e6: Pulling fs layer [2023-09-05T06:01:16.149Z] 988bab9f4d93: Waiting [2023-09-05T06:01:16.149Z] 1469e6f7b9e6: Waiting [2023-09-05T06:01:16.149Z] eaf3925da568: Waiting [2023-09-05T06:01:16.149Z] bab4dde63d76: Waiting [2023-09-05T06:01:16.149Z] bde34c3a00c8: Waiting [2023-09-05T06:01:16.149Z] b352a97aabf1: Waiting [2023-09-05T06:01:16.149Z] 4872d77fe225: Waiting [2023-09-05T06:01:16.149Z] 5851b861e8e6: Waiting [2023-09-05T06:01:16.149Z] e2be974225ed: Verifying Checksum [2023-09-05T06:01:16.149Z] e2be974225ed: Download complete [2023-09-05T06:01:16.149Z] 988bab9f4d93: Download complete [2023-09-05T06:01:16.149Z] 1469e6f7b9e6: Verifying Checksum [2023-09-05T06:01:16.149Z] 1469e6f7b9e6: Download complete [2023-09-05T06:01:16.409Z] 339a4e72a1f5: Verifying Checksum [2023-09-05T06:01:16.409Z] 339a4e72a1f5: Download complete [2023-09-05T06:01:16.409Z] bde34c3a00c8: Download complete [2023-09-05T06:01:16.409Z] b352a97aabf1: Download complete [2023-09-05T06:01:16.409Z] 4872d77fe225: Verifying Checksum [2023-09-05T06:01:16.409Z] 4872d77fe225: Download complete [2023-09-05T06:01:16.409Z] 5851b861e8e6: Download complete [2023-09-05T06:01:16.409Z] b85a868b505f: Verifying Checksum [2023-09-05T06:01:16.409Z] b85a868b505f: Download complete [2023-09-05T06:01:16.668Z] bab4dde63d76: Verifying Checksum [2023-09-05T06:01:16.668Z] bab4dde63d76: Download complete [2023-09-05T06:01:17.609Z] b85a868b505f: Pull complete [2023-09-05T06:01:17.870Z] e2be974225ed: Pull complete [2023-09-05T06:01:18.439Z] 339a4e72a1f5: Pull complete [2023-09-05T06:01:18.439Z] 988bab9f4d93: Pull complete [2023-09-05T06:01:18.698Z] 1469e6f7b9e6: Pull complete [2023-09-05T06:01:18.698Z] eaf3925da568: Pull complete [2023-09-05T06:01:20.613Z] bab4dde63d76: Pull complete [2023-09-05T06:01:20.613Z] bde34c3a00c8: Pull complete [2023-09-05T06:01:20.872Z] b352a97aabf1: Pull complete [2023-09-05T06:01:20.872Z] 4872d77fe225: Pull complete [2023-09-05T06:01:20.872Z] 5851b861e8e6: Pull complete [2023-09-05T06:01:20.872Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-09-05T06:01:20.872Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-05T06:01:20.872Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-05T06:01:21.122Z] prd-ubuntu20.04-docker-8c-8g-5319 does not seem to be running inside a container [2023-09-05T06:01:21.157Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-497 -v /w/workspace/xfoundry_device-modbus-go_PR-497:/w/workspace/xfoundry_device-modbus-go_PR-497:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-497@tmp:/w/workspace/xfoundry_device-modbus-go_PR-497@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-09-05T06:01:24.059Z] $ docker top d5cb9111b2b2aec9d4e86ad04b1dab51a1f9dc3183986c4340d7f52068aca8f9 -eo pid,comm [2023-09-05T06:01:24.124Z] 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-09-05T06:01:24.124Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-09-05T06:01:24.250Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-05T06:01:24.250Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-05T06:01:24.365Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-05T06:01:24.370Z] $ docker exec d5cb9111b2b2aec9d4e86ad04b1dab51a1f9dc3183986c4340d7f52068aca8f9 ssh-agent [2023-09-05T06:01:24.472Z] SSH_AUTH_SOCK=/tmp/ssh-J1hcqPfNP64W/agent.32 [2023-09-05T06:01:24.472Z] SSH_AGENT_PID=38 [2023-09-05T06:01:24.479Z] Running ssh-add (command line suppressed) [2023-09-05T06:01:24.587Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-497@tmp/private_key_17214871390769123329.key (/w/workspace/xfoundry_device-modbus-go_PR-497@tmp/private_key_17214871390769123329.key) [2023-09-05T06:01:24.601Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-05T06:01:24.945Z] + git tag --points-at HEAD [Pipeline] } [2023-09-05T06:01:24.969Z] $ docker exec --env ******** --env ******** d5cb9111b2b2aec9d4e86ad04b1dab51a1f9dc3183986c4340d7f52068aca8f9 ssh-agent -k [2023-09-05T06:01:25.059Z] unset SSH_AUTH_SOCK; [2023-09-05T06:01:25.061Z] unset SSH_AGENT_PID; [2023-09-05T06:01:25.061Z] echo Agent pid 38 killed; [2023-09-05T06:01:25.073Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-09-05T06:01:25.157Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-05T06:01:25.157Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-05T06:01:25.270Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-05T06:01:25.275Z] $ docker exec d5cb9111b2b2aec9d4e86ad04b1dab51a1f9dc3183986c4340d7f52068aca8f9 ssh-agent [2023-09-05T06:01:25.382Z] SSH_AUTH_SOCK=/tmp/ssh-BNj95XvpH0Hm/agent.70 [2023-09-05T06:01:25.382Z] SSH_AGENT_PID=76 [2023-09-05T06:01:25.387Z] Running ssh-add (command line suppressed) [2023-09-05T06:01:25.497Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-497@tmp/private_key_3682306498864911466.key (/w/workspace/xfoundry_device-modbus-go_PR-497@tmp/private_key_3682306498864911466.key) [2023-09-05T06:01:25.510Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-05T06:01:25.837Z] + git semver init [2023-09-05T06:01:26.097Z] 2023-09-05 06:01:26,018 [run_init] DEBUG init version:0.0.0 force:False [2023-09-05T06:01:26.097Z] 2023-09-05 06:01:26,018 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-modbus-go_PR-497/.semver [2023-09-05T06:01:26.097Z] 2023-09-05 06:01:26,019 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/xfoundry_device-modbus-go_PR-497/.semver [2023-09-05T06:01:26.097Z] 2023-09-05 06:01:26,019 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/xfoundry_device-modbus-go_PR-497/.semver'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-497, universal_newlines=False, shell=None, istream=None) [2023-09-05T06:01:27.031Z] 2023-09-05 06:01:26,803 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-modbus-go_PR-497/.git/info/exclude [2023-09-05T06:01:27.031Z] 2023-09-05 06:01:26,804 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-modbus-go_PR-497/.semver/PR-497 with force:False [2023-09-05T06:01:27.031Z] 2023-09-05 06:01:26,804 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-modbus-go_PR-497/.semver/PR-497 [2023-09-05T06:01:27.031Z] 2023-09-05 06:01:26,808 [execute] INFO git cat-file --batch-check [2023-09-05T06:01:27.031Z] 2023-09-05 06:01:26,809 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-497/.semver, universal_newlines=False, shell=None, istream=) [2023-09-05T06:01:27.031Z] 2023-09-05 06:01:26,815 [execute] INFO git cat-file --batch [2023-09-05T06:01:27.031Z] 2023-09-05 06:01:26,815 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-497/.semver, universal_newlines=False, shell=None, istream=) [2023-09-05T06:01:27.031Z] 2023-09-05 06:01:26,820 [read_version] DEBUG read version from /w/workspace/xfoundry_device-modbus-go_PR-497/.semver/PR-497 [2023-09-05T06:01:27.031Z] 0.0.0 [Pipeline] } [2023-09-05T06:01:27.061Z] $ docker exec --env ******** --env ******** d5cb9111b2b2aec9d4e86ad04b1dab51a1f9dc3183986c4340d7f52068aca8f9 ssh-agent -k [2023-09-05T06:01:27.164Z] unset SSH_AUTH_SOCK; [2023-09-05T06:01:27.165Z] unset SSH_AGENT_PID; [2023-09-05T06:01:27.165Z] echo Agent pid 76 killed; [2023-09-05T06:01:27.174Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-09-05T06:01:27.609Z] + git semver [Pipeline] } [2023-09-05T06:01:27.895Z] $ docker stop --time=1 d5cb9111b2b2aec9d4e86ad04b1dab51a1f9dc3183986c4340d7f52068aca8f9 [2023-09-05T06:01:29.227Z] $ docker rm -f --volumes d5cb9111b2b2aec9d4e86ad04b1dab51a1f9dc3183986c4340d7f52068aca8f9 [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-05T06:01:29.653Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-09-05T06:01:29.918Z] Stashed 1 file(s) [Pipeline] echo [2023-09-05T06:01:29.935Z] [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-09-05T06:01:30.547Z] provisioning config files... [2023-09-05T06:01:30.556Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-497@tmp/config15741965707673416263tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-05T06:01:30.907Z] ---> docker-login.sh [2023-09-05T06:01:30.907Z] nexus3.edgexfoundry.org:10001 [2023-09-05T06:01:30.907Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-05T06:01:30.907Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-05T06:01:30.907Z] Configure a credential helper to remove this warning. See [2023-09-05T06:01:30.907Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-05T06:01:30.907Z] [2023-09-05T06:01:30.907Z] Login Succeeded [2023-09-05T06:01:30.907Z] nexus3.edgexfoundry.org:10002 [2023-09-05T06:01:30.907Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-05T06:01:30.907Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-05T06:01:30.907Z] Configure a credential helper to remove this warning. See [2023-09-05T06:01:30.907Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-05T06:01:30.907Z] [2023-09-05T06:01:30.907Z] Login Succeeded [2023-09-05T06:01:30.907Z] nexus3.edgexfoundry.org:10003 [2023-09-05T06:01:31.167Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-05T06:01:31.167Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-05T06:01:31.167Z] Configure a credential helper to remove this warning. See [2023-09-05T06:01:31.167Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-05T06:01:31.167Z] [2023-09-05T06:01:31.167Z] Login Succeeded [2023-09-05T06:01:31.167Z] nexus3.edgexfoundry.org:10004 [2023-09-05T06:01:31.167Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-05T06:01:31.167Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-05T06:01:31.167Z] Configure a credential helper to remove this warning. See [2023-09-05T06:01:31.167Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-05T06:01:31.167Z] [2023-09-05T06:01:31.167Z] Login Succeeded [2023-09-05T06:01:31.167Z] docker.io [2023-09-05T06:01:31.426Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-05T06:01:31.685Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-05T06:01:31.685Z] Configure a credential helper to remove this warning. See [2023-09-05T06:01:31.685Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-05T06:01:31.685Z] [2023-09-05T06:01:31.685Z] Login Succeeded [2023-09-05T06:01:31.685Z] ---> docker-login.sh ends [Pipeline] } [2023-09-05T06:01:31.714Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-09-05T06:01:31.915Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-05T06:01:31.952Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-05T06:01:31.987Z] ========================================================= [2023-09-05T06:01:31.987Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-09-05T06:01:31.987Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-05T06:01:32.457Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-09-05T06:01:32.457Z] Sending build context to Docker daemon 6.423MB [2023-09-05T06:01:32.457Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-09-05T06:01:32.457Z] Step 2/10 : FROM ${BASE} AS builder [2023-09-05T06:01:32.457Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-09-05T06:01:32.457Z] 4db1b89c0bd1: Pulling fs layer [2023-09-05T06:01:32.457Z] 6911f1a30b25: Pulling fs layer [2023-09-05T06:01:32.457Z] e194b8c5c2a9: Pulling fs layer [2023-09-05T06:01:32.457Z] 6863d3e3a2b1: Pulling fs layer [2023-09-05T06:01:32.457Z] ec0bb842ea78: Pulling fs layer [2023-09-05T06:01:32.457Z] 40a00589a448: Pulling fs layer [2023-09-05T06:01:32.457Z] 6863d3e3a2b1: Waiting [2023-09-05T06:01:32.457Z] ec0bb842ea78: Waiting [2023-09-05T06:01:32.457Z] 6c08303d61cc: Pulling fs layer [2023-09-05T06:01:32.457Z] 798269fcf238: Pulling fs layer [2023-09-05T06:01:32.457Z] 798269fcf238: Waiting [2023-09-05T06:01:32.457Z] 6c08303d61cc: Waiting [2023-09-05T06:01:32.457Z] 40a00589a448: Waiting [2023-09-05T06:01:32.457Z] 6911f1a30b25: Verifying Checksum [2023-09-05T06:01:32.457Z] 6911f1a30b25: Download complete [2023-09-05T06:01:32.457Z] 6863d3e3a2b1: Verifying Checksum [2023-09-05T06:01:32.457Z] 6863d3e3a2b1: Download complete [2023-09-05T06:01:32.719Z] ec0bb842ea78: Verifying Checksum [2023-09-05T06:01:32.719Z] ec0bb842ea78: Download complete [2023-09-05T06:01:32.719Z] 4db1b89c0bd1: Verifying Checksum [2023-09-05T06:01:32.719Z] 4db1b89c0bd1: Download complete [2023-09-05T06:01:32.719Z] 40a00589a448: Verifying Checksum [2023-09-05T06:01:32.719Z] 40a00589a448: Download complete [2023-09-05T06:01:32.719Z] 4db1b89c0bd1: Pull complete [2023-09-05T06:01:32.982Z] 6911f1a30b25: Pull complete [2023-09-05T06:01:33.241Z] 798269fcf238: Download complete [2023-09-05T06:01:33.241Z] e194b8c5c2a9: Verifying Checksum [2023-09-05T06:01:33.241Z] e194b8c5c2a9: Download complete [2023-09-05T06:01:33.498Z] 6c08303d61cc: Verifying Checksum [2023-09-05T06:01:33.498Z] 6c08303d61cc: Download complete [2023-09-05T06:01:36.776Z] e194b8c5c2a9: Pull complete [2023-09-05T06:01:36.776Z] 6863d3e3a2b1: Pull complete [2023-09-05T06:01:36.776Z] ec0bb842ea78: Pull complete [2023-09-05T06:01:37.034Z] 40a00589a448: Pull complete [2023-09-05T06:01:39.565Z] 6c08303d61cc: Pull complete [2023-09-05T06:01:40.498Z] 798269fcf238: Pull complete [2023-09-05T06:01:40.498Z] Digest: sha256:68752d3c5041900b879808a9c232fa800f64c2352b9991beceed63c007ae5301 [2023-09-05T06:01:40.498Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-09-05T06:01:40.498Z] ---> ec979cd7f677 [2023-09-05T06:01:40.498Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2023-09-05T06:01:45.364Z] Still waiting to schedule task [2023-09-05T06:01:45.365Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-09-05T06:01:45.786Z] ---> Running in 6e4f6b87b4f3 [2023-09-05T06:01:45.786Z] Removing intermediate container 6e4f6b87b4f3 [2023-09-05T06:01:45.786Z] ---> b4e39161aa03 [2023-09-05T06:01:45.786Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-09-05T06:01:45.786Z] ---> Running in 2ba214945f01 [2023-09-05T06:01:45.786Z] Removing intermediate container 2ba214945f01 [2023-09-05T06:01:45.786Z] ---> e831ac2326ac [2023-09-05T06:01:45.786Z] Step 5/10 : RUN apk add --update --no-cache make git openssh [2023-09-05T06:01:45.786Z] ---> Running in bd59db10e777 [2023-09-05T06:01:45.786Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-09-05T06:01:46.045Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-09-05T06:01:46.304Z] (1/8) Installing openssh-keygen (9.1_p1-r4) [2023-09-05T06:01:46.304Z] (2/8) Installing libedit (20221030.3.1-r0) [2023-09-05T06:01:46.304Z] (3/8) Installing openssh-client-common (9.1_p1-r4) [2023-09-05T06:01:46.304Z] (4/8) Installing openssh-client-default (9.1_p1-r4) [2023-09-05T06:01:46.304Z] (5/8) Installing openssh-sftp-server (9.1_p1-r4) [2023-09-05T06:01:46.304Z] (6/8) Installing openssh-server-common (9.1_p1-r4) [2023-09-05T06:01:46.304Z] (7/8) Installing openssh-server (9.1_p1-r4) [2023-09-05T06:01:46.304Z] (8/8) Installing openssh (9.1_p1-r4) [2023-09-05T06:01:46.304Z] Executing busybox-1.35.0-r29.trigger [2023-09-05T06:01:46.304Z] OK: 270 MiB in 61 packages [2023-09-05T06:01:46.872Z] Removing intermediate container bd59db10e777 [2023-09-05T06:01:46.872Z] ---> 9bf60da6d28b [2023-09-05T06:01:46.872Z] Step 6/10 : WORKDIR /device-modbus-go [2023-09-05T06:01:46.872Z] ---> Running in 6683289f6075 [2023-09-05T06:01:46.872Z] Removing intermediate container 6683289f6075 [2023-09-05T06:01:46.872Z] ---> ed5b0a8ebed7 [2023-09-05T06:01:46.872Z] Step 7/10 : COPY go.mod vendor* ./ [2023-09-05T06:01:47.131Z] ---> bae625c28c70 [2023-09-05T06:01:47.132Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-05T06:01:47.132Z] ---> Running in 117b163bb700 [2023-09-05T06:02:34.018Z] Removing intermediate container 117b163bb700 [2023-09-05T06:02:34.018Z] ---> 40a741a69b40 [2023-09-05T06:02:34.018Z] Step 9/10 : COPY . . [2023-09-05T06:02:34.018Z] ---> 84407e44b7e7 [2023-09-05T06:02:34.018Z] Step 10/10 : RUN ${MAKE} [2023-09-05T06:02:34.018Z] ---> Running in abc3e0d2afa1 [2023-09-05T06:02:34.018Z] noop [2023-09-05T06:02:34.018Z] Removing intermediate container abc3e0d2afa1 [2023-09-05T06:02:34.018Z] ---> 8514bf838e74 [2023-09-05T06:02:34.018Z] Successfully built 8514bf838e74 [2023-09-05T06:02:34.018Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-05T06:02:34.471Z] + docker inspect -f . ci-base-image-x86_64 [2023-09-05T06:02:34.471Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-05T06:02:34.624Z] prd-ubuntu20.04-docker-8c-8g-5319 does not seem to be running inside a container [2023-09-05T06:02:34.655Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-497 -v /w/workspace/xfoundry_device-modbus-go_PR-497:/w/workspace/xfoundry_device-modbus-go_PR-497:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-497@tmp:/w/workspace/xfoundry_device-modbus-go_PR-497@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-09-05T06:02:34.987Z] $ docker top 985985c3f9b7b998c556c61832df5b0252f7a7e7a4ca70e0a4fe2f6faac831e9 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-05T06:02:35.383Z] + go version [2023-09-05T06:02:35.383Z] go version go1.20.6 linux/amd64 [Pipeline] } [2023-09-05T06:02:35.418Z] $ docker stop --time=1 985985c3f9b7b998c556c61832df5b0252f7a7e7a4ca70e0a4fe2f6faac831e9 [2023-09-05T06:02:36.683Z] $ docker rm -f --volumes 985985c3f9b7b998c556c61832df5b0252f7a7e7a4ca70e0a4fe2f6faac831e9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-05T06:02:37.403Z] + docker inspect -f . ci-base-image-x86_64 [2023-09-05T06:02:37.403Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-05T06:02:37.565Z] prd-ubuntu20.04-docker-8c-8g-5319 does not seem to be running inside a container [2023-09-05T06:02:37.601Z] $ 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-497 -v /w/workspace/xfoundry_device-modbus-go_PR-497:/w/workspace/xfoundry_device-modbus-go_PR-497:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-497@tmp:/w/workspace/xfoundry_device-modbus-go_PR-497@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-09-05T06:02:37.952Z] $ docker top c245e8e616c38593118b6c31aac6fde6bbc247d4c808f98d8b1c63271af4d978 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-05T06:02:38.343Z] + git config --global --add safe.directory /w/workspace/xfoundry_device-modbus-go_PR-497 [Pipeline] fileExists [Pipeline] sh [2023-09-05T06:02:38.702Z] + make test [2023-09-05T06:02:38.702Z] go test ./... -coverprofile=coverage.out [2023-09-05T06:02:43.968Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2023-09-05T06:02:53.945Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2023-09-05T06:02:53.945Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.015s coverage: 47.9% of statements [2023-09-05T06:03:00.500Z] go vet ./... [2023-09-05T06:03:04.684Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-09-05T06:03:04.684Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-09-05T06:03:04.684Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-09-05T06:03:04.727Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-09-05T06:03:04.759Z] $ docker stop --time=1 c245e8e616c38593118b6c31aac6fde6bbc247d4c808f98d8b1c63271af4d978 [2023-09-05T06:03:09.151Z] $ docker rm -f --volumes c245e8e616c38593118b6c31aac6fde6bbc247d4c808f98d8b1c63271af4d978 [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-05T06:03:09.787Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-09-05T06:03:09.857Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-09-05T06:03:10.583Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-09-05T06:03:10.899Z] + ls -al . [2023-09-05T06:03:10.899Z] total 192 [2023-09-05T06:03:10.899Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 5 06:02 . [2023-09-05T06:03:10.899Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 5 06:01 .. [2023-09-05T06:03:10.899Z] -rw-rw-r-- 1 jenkins jenkins 140 Sep 5 06:01 .dockerignore [2023-09-05T06:03:10.899Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 5 06:01 .git [2023-09-05T06:03:10.899Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 5 06:01 .github [2023-09-05T06:03:10.899Z] -rw-rw-r-- 1 jenkins jenkins 331 Sep 5 06:01 .gitignore [2023-09-05T06:03:10.899Z] -rw-rw-r-- 1 jenkins jenkins 41 Sep 5 06:01 .golangci.yml [2023-09-05T06:03:10.899Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 5 06:01 .semver [2023-09-05T06:03:10.899Z] -rw-rw-r-- 1 jenkins jenkins 11101 Sep 5 06:01 Attribution.txt [2023-09-05T06:03:10.899Z] -rw-rw-r-- 1 jenkins jenkins 14764 Sep 5 06:01 CHANGELOG.md [2023-09-05T06:03:10.899Z] -rw-rw-r-- 1 jenkins jenkins 1365 Sep 5 06:01 Dockerfile [2023-09-05T06:03:10.899Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 5 06:01 GOVERNANCE.md [2023-09-05T06:03:10.899Z] -rw-rw-r-- 1 jenkins jenkins 680 Sep 5 06:01 Jenkinsfile [2023-09-05T06:03:10.899Z] -rw-rw-r-- 1 jenkins jenkins 11340 Sep 5 06:01 LICENSE [2023-09-05T06:03:10.899Z] -rw-rw-r-- 1 jenkins jenkins 1936 Sep 5 06:01 Makefile [2023-09-05T06:03:10.899Z] -rw-rw-r-- 1 jenkins jenkins 622 Sep 5 06:01 OWNERS.md [2023-09-05T06:03:10.899Z] -rw-rw-r-- 1 jenkins jenkins 4578 Sep 5 06:01 README.md [2023-09-05T06:03:10.899Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 5 06:01 VERSION [2023-09-05T06:03:10.899Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 5 06:01 bin [2023-09-05T06:03:10.899Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 5 06:01 cmd [2023-09-05T06:03:10.899Z] -rw-r--r-- 1 jenkins jenkins 24334 Sep 5 06:02 coverage.out [2023-09-05T06:03:10.899Z] -rw-rw-r-- 1 jenkins jenkins 3940 Sep 5 06:01 go.mod [2023-09-05T06:03:10.899Z] -rw-rw-r-- 1 jenkins jenkins 34434 Sep 5 06:01 go.sum [2023-09-05T06:03:10.899Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 5 06:01 internal [2023-09-05T06:03:10.899Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 5 06:01 simulator [2023-09-05T06:03:10.899Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 5 06:01 snap [2023-09-05T06:03:10.899Z] -rw-rw-r-- 1 jenkins jenkins 229 Sep 5 06:01 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-05T06:03:11.345Z] + 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=6ccb6e6b255d38d4204eb6b52887c54b90775ace --label arch=amd64 --label version=0.0.0 . [2023-09-05T06:03:11.345Z] Sending build context to Docker daemon 6.448MB [2023-09-05T06:03:11.345Z] Step 1/22 : ARG BASE=golang:1.20-alpine3.17 [2023-09-05T06:03:11.345Z] Step 2/22 : FROM ${BASE} AS builder [2023-09-05T06:03:11.345Z] ---> 8514bf838e74 [2023-09-05T06:03:11.345Z] Step 3/22 : ARG ADD_BUILD_TAGS="" [2023-09-05T06:03:11.603Z] ---> Running in a5f5cc26312d [2023-09-05T06:03:11.603Z] Removing intermediate container a5f5cc26312d [2023-09-05T06:03:11.603Z] ---> c00868b6c09c [2023-09-05T06:03:11.603Z] Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-09-05T06:03:11.603Z] ---> Running in 2fa3fd5dd466 [2023-09-05T06:03:11.603Z] Removing intermediate container 2fa3fd5dd466 [2023-09-05T06:03:11.603Z] ---> cf1a98db0d25 [2023-09-05T06:03:11.603Z] Step 5/22 : RUN apk add --update --no-cache make git openssh [2023-09-05T06:03:11.603Z] ---> Running in 61b04598b091 [2023-09-05T06:03:11.701Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-5320 in /w/workspace/xfoundry_device-modbus-go_PR-497 [Pipeline] { [Pipeline] ws [2023-09-05T06:03:11.760Z] Running in /w/workspace/device-modbus-go/1 [Pipeline] { [Pipeline] checkout [2023-09-05T06:03:11.836Z] Selected Git installation does not exist. Using Default [2023-09-05T06:03:11.836Z] The recommended git tool is: NONE [2023-09-05T06:03:11.861Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-09-05T06:03:15.152Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-09-05T06:03:15.152Z] OK: 270 MiB in 61 packages [2023-09-05T06:03:15.410Z] Removing intermediate container 61b04598b091 [2023-09-05T06:03:15.410Z] ---> cc61387c420d [2023-09-05T06:03:15.410Z] Step 6/22 : WORKDIR /device-modbus-go [2023-09-05T06:03:15.410Z] ---> Running in 6d8c237ca667 [2023-09-05T06:03:15.410Z] Removing intermediate container 6d8c237ca667 [2023-09-05T06:03:15.410Z] ---> 0a5400f599b5 [2023-09-05T06:03:15.410Z] Step 7/22 : COPY go.mod vendor* ./ [2023-09-05T06:03:15.410Z] ---> bf9fbc849042 [2023-09-05T06:03:15.410Z] Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-05T06:03:15.410Z] ---> Running in 20ee00d5e642 [2023-09-05T06:03:16.458Z] Removing intermediate container 20ee00d5e642 [2023-09-05T06:03:16.458Z] ---> 1373ee2f7735 [2023-09-05T06:03:16.458Z] Step 9/22 : COPY . . [2023-09-05T06:03:16.717Z] ---> d0597e671ea6 [2023-09-05T06:03:16.718Z] Step 10/22 : RUN ${MAKE} [2023-09-05T06:03:16.718Z] ---> Running in 8cb87ae435b9 [2023-09-05T06:03:16.928Z] using credential edgex-jenkins-ssh [2023-09-05T06:03:16.942Z] Cloning the remote Git repository [2023-09-05T06:03:16.976Z] 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.18" -trimpath -mod=readonly -o cmd/device-modbus ./cmd [2023-09-05T06:03:16.986Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2023-09-05T06:03:17.072Z] > git init /w/workspace/device-modbus-go/1 # timeout=10 [2023-09-05T06:03:17.208Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2023-09-05T06:03:17.209Z] > git --version # timeout=10 [2023-09-05T06:03:17.231Z] > git --version # 'git version 2.25.1' [2023-09-05T06:03:17.233Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-09-05T06:03:17.389Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-09-05T06:03:18.451Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2023-09-05T06:03:18.474Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-09-05T06:03:19.815Z] Merging remotes/origin/main commit d21f7114bade91926d0e99e1f605d1c822a787f1 into PR head commit 6ccb6e6b255d38d4204eb6b52887c54b90775ace [2023-09-05T06:03:20.076Z] Merge succeeded, producing 6ccb6e6b255d38d4204eb6b52887c54b90775ace [2023-09-05T06:03:20.076Z] Checking out Revision 6ccb6e6b255d38d4204eb6b52887c54b90775ace (PR-497) [2023-09-05T06:03:20.500Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" [2023-09-05T06:03:20.545Z] > git --version # timeout=10 [2023-09-05T06:03:20.563Z] > git --version # 'git version 2.25.1' [2023-09-05T06:03:20.577Z] fatal: bad object a0327f913308fcf13875ae7a2d6e6099471c5ff1 [2023-09-05T06:03:19.309Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2023-09-05T06:03:19.354Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2023-09-05T06:03:19.354Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-09-05T06:03:19.369Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/497/head:refs/remotes/origin/PR-497 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-09-05T06:03:19.832Z] > git config core.sparsecheckout # timeout=10 [2023-09-05T06:03:19.897Z] > git checkout -f 6ccb6e6b255d38d4204eb6b52887c54b90775ace # timeout=10 [2023-09-05T06:03:19.990Z] > git remote # timeout=10 [2023-09-05T06:03:20.006Z] > git config --get remote.origin.url # timeout=10 [2023-09-05T06:03:20.027Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-09-05T06:03:20.040Z] > git merge d21f7114bade91926d0e99e1f605d1c822a787f1 # timeout=10 [2023-09-05T06:03:20.062Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-09-05T06:03:20.082Z] > git config core.sparsecheckout # timeout=10 [2023-09-05T06:03:20.095Z] > git checkout -f 6ccb6e6b255d38d4204eb6b52887c54b90775ace # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-05T06:03:21.691Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-09-05T06:03:21.691Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-09-05T06:03:21.691Z] Dload Upload Total Spent Left Speed [2023-09-05T06:03:21.691Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 99k 0 --:--:-- --:--:-- --:--:-- 100k [Pipeline] sh [2023-09-05T06:03:22.260Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-09-05T06:03:22.606Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-09-05T06:03:22.606Z] + sudo tee /etc/docker/daemon.new [2023-09-05T06:03:22.606Z] { [2023-09-05T06:03:22.606Z] "registry-mirrors": [ [2023-09-05T06:03:22.606Z] "https://nexus3.edgexfoundry.org:10001" [2023-09-05T06:03:22.606Z] ], [2023-09-05T06:03:22.606Z] "bip": "10.250.0.254/24", [2023-09-05T06:03:22.606Z] "hosts": [ [2023-09-05T06:03:22.607Z] "tcp://0.0.0.0:5555", [2023-09-05T06:03:22.607Z] "unix:///var/run/docker.sock" [2023-09-05T06:03:22.607Z] ], [2023-09-05T06:03:22.607Z] "mtu": 1458, [2023-09-05T06:03:22.607Z] "selinux-enabled": true, [2023-09-05T06:03:22.607Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-09-05T06:03:22.607Z] } [Pipeline] sh [2023-09-05T06:03:22.954Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-09-05T06:03:23.302Z] + sudo service docker restart [2023-09-05T06:03:38.912Z] Removing intermediate container 8cb87ae435b9 [2023-09-05T06:03:38.912Z] ---> 9b51d036d8b9 [2023-09-05T06:03:38.912Z] Step 11/22 : FROM alpine:3.17 [2023-09-05T06:03:38.912Z] 3.17: Pulling from library/alpine [2023-09-05T06:03:38.912Z] 9398808236ff: Pulling fs layer [2023-09-05T06:03:38.912Z] 9398808236ff: Verifying Checksum [2023-09-05T06:03:38.912Z] 9398808236ff: Download complete [2023-09-05T06:03:38.912Z] 9398808236ff: Pull complete [2023-09-05T06:03:38.912Z] Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc [2023-09-05T06:03:38.912Z] Status: Downloaded newer image for alpine:3.17 [2023-09-05T06:03:38.912Z] ---> 1e0b8b5322fc [2023-09-05T06:03:38.912Z] Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2023-09-05T06:03:38.912Z] ---> Running in 3e7e1597b8b8 [2023-09-05T06:03:38.912Z] Removing intermediate container 3e7e1597b8b8 [2023-09-05T06:03:38.912Z] ---> 7050626adebf [2023-09-05T06:03:38.912Z] Step 13/22 : RUN apk add --update --no-cache dumb-init [2023-09-05T06:03:38.912Z] ---> Running in 2c1e7dba4278 [2023-09-05T06:03:38.912Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-09-05T06:03:38.912Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-09-05T06:03:38.912Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-09-05T06:03:38.912Z] Executing busybox-1.35.0-r29.trigger [2023-09-05T06:03:38.912Z] OK: 7 MiB in 16 packages [2023-09-05T06:03:38.912Z] Removing intermediate container 2c1e7dba4278 [2023-09-05T06:03:38.912Z] ---> ec709459a7af [2023-09-05T06:03:38.912Z] Step 14/22 : COPY --from=builder /device-modbus-go/cmd / [2023-09-05T06:03:40.291Z] ---> 2d63bff65e4e [2023-09-05T06:03:40.291Z] Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / [2023-09-05T06:03:40.291Z] ---> ffdc20904922 [2023-09-05T06:03:40.291Z] Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / [2023-09-05T06:03:40.291Z] ---> b9f04f8a3f06 [2023-09-05T06:03:40.291Z] Step 17/22 : EXPOSE 59901 [2023-09-05T06:03:40.291Z] ---> Running in f631bfbbfb0f [2023-09-05T06:03:40.291Z] Removing intermediate container f631bfbbfb0f [2023-09-05T06:03:40.291Z] ---> 1eb2d8ce755a [2023-09-05T06:03:40.291Z] Step 18/22 : ENTRYPOINT ["/device-modbus"] [2023-09-05T06:03:40.291Z] ---> Running in 06e50511993a [2023-09-05T06:03:40.550Z] Removing intermediate container 06e50511993a [2023-09-05T06:03:40.550Z] ---> 4fa1d5a9394e [2023-09-05T06:03:40.550Z] Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-09-05T06:03:40.550Z] ---> Running in 7934229d534f [2023-09-05T06:03:40.550Z] Removing intermediate container 7934229d534f [2023-09-05T06:03:40.550Z] ---> 2fae28d989b0 [2023-09-05T06:03:40.550Z] Step 20/22 : LABEL arch=amd64 [2023-09-05T06:03:40.550Z] ---> Running in b46ba064db30 [2023-09-05T06:03:40.550Z] Removing intermediate container b46ba064db30 [2023-09-05T06:03:40.550Z] ---> 829d7c9e31f4 [2023-09-05T06:03:40.550Z] Step 21/22 : LABEL git_sha=6ccb6e6b255d38d4204eb6b52887c54b90775ace [2023-09-05T06:03:40.550Z] ---> Running in 7eca22c33c88 [2023-09-05T06:03:40.809Z] Removing intermediate container 7eca22c33c88 [2023-09-05T06:03:40.809Z] ---> 91ba170bf692 [2023-09-05T06:03:40.809Z] Step 22/22 : LABEL version=0.0.0 [2023-09-05T06:03:40.809Z] ---> Running in 21990d85e3a8 [2023-09-05T06:03:40.809Z] Removing intermediate container 21990d85e3a8 [2023-09-05T06:03:40.809Z] ---> a6630e34df83 [2023-09-05T06:03:40.809Z] [Warning] One or more build-args [ARCH] were not consumed [2023-09-05T06:03:40.809Z] Successfully built a6630e34df83 [2023-09-05T06:03:40.809Z] 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 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-05T06:03:41.608Z] provisioning config files... [2023-09-05T06:03:41.630Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/1@tmp/config12426802596907858914tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-05T06:03:41.713Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-05T06:03:41.713Z] [2023-09-05T06:03:41.713Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-05T06:03:42.018Z] ---> docker-login.sh [2023-09-05T06:03:42.018Z] nexus3.edgexfoundry.org:10001 [2023-09-05T06:03:42.174Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-05T06:03:42.174Z] latest: Pulling from edgex-lftools-log-publisher [2023-09-05T06:03:42.174Z] 5eb5b503b376: Pulling fs layer [2023-09-05T06:03:42.174Z] 5c69ac0246d0: Pulling fs layer [2023-09-05T06:03:42.174Z] ec43610c2a17: Pulling fs layer [2023-09-05T06:03:42.174Z] 3a2ae6a8a46f: Pulling fs layer [2023-09-05T06:03:42.174Z] 33b1e0a273af: Pulling fs layer [2023-09-05T06:03:42.174Z] 5d3b04190fa2: Pulling fs layer [2023-09-05T06:03:42.174Z] 2f39f015ded8: Pulling fs layer [2023-09-05T06:03:42.174Z] 3a2ae6a8a46f: Waiting [2023-09-05T06:03:42.174Z] 33b1e0a273af: Waiting [2023-09-05T06:03:42.174Z] 5c69ac0246d0: Download complete [2023-09-05T06:03:42.174Z] 3a2ae6a8a46f: Verifying Checksum [2023-09-05T06:03:42.174Z] 3a2ae6a8a46f: Download complete [2023-09-05T06:03:42.174Z] 33b1e0a273af: Verifying Checksum [2023-09-05T06:03:42.174Z] 33b1e0a273af: Download complete [2023-09-05T06:03:42.174Z] 5d3b04190fa2: Verifying Checksum [2023-09-05T06:03:42.174Z] 5d3b04190fa2: Download complete [2023-09-05T06:03:42.174Z] ec43610c2a17: Verifying Checksum [2023-09-05T06:03:42.174Z] ec43610c2a17: Download complete [2023-09-05T06:03:42.287Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-05T06:03:42.432Z] 5eb5b503b376: Verifying Checksum [2023-09-05T06:03:42.432Z] 5eb5b503b376: Download complete [2023-09-05T06:03:42.557Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-05T06:03:42.557Z] Configure a credential helper to remove this warning. See [2023-09-05T06:03:42.557Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-05T06:03:42.557Z] [2023-09-05T06:03:42.557Z] Login Succeeded [2023-09-05T06:03:42.557Z] nexus3.edgexfoundry.org:10002 [2023-09-05T06:03:42.825Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-05T06:03:42.825Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-05T06:03:42.825Z] Configure a credential helper to remove this warning. See [2023-09-05T06:03:42.825Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-05T06:03:42.825Z] [2023-09-05T06:03:42.825Z] Login Succeeded [2023-09-05T06:03:42.825Z] nexus3.edgexfoundry.org:10003 [2023-09-05T06:03:42.997Z] 2f39f015ded8: Download complete [2023-09-05T06:03:43.094Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-05T06:03:43.094Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-05T06:03:43.094Z] Configure a credential helper to remove this warning. See [2023-09-05T06:03:43.094Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-05T06:03:43.094Z] [2023-09-05T06:03:43.094Z] Login Succeeded [2023-09-05T06:03:43.094Z] nexus3.edgexfoundry.org:10004 [2023-09-05T06:03:43.363Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-05T06:03:43.563Z] 5eb5b503b376: Pull complete [2023-09-05T06:03:43.563Z] 5c69ac0246d0: Pull complete [2023-09-05T06:03:43.633Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-05T06:03:43.634Z] Configure a credential helper to remove this warning. See [2023-09-05T06:03:43.634Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-05T06:03:43.634Z] [2023-09-05T06:03:43.634Z] Login Succeeded [2023-09-05T06:03:43.634Z] docker.io [2023-09-05T06:03:43.900Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-05T06:03:44.129Z] ec43610c2a17: Pull complete [2023-09-05T06:03:44.129Z] 3a2ae6a8a46f: Pull complete [2023-09-05T06:03:44.166Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-05T06:03:44.166Z] Configure a credential helper to remove this warning. See [2023-09-05T06:03:44.166Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-05T06:03:44.166Z] [2023-09-05T06:03:44.166Z] Login Succeeded [2023-09-05T06:03:44.166Z] ---> docker-login.sh ends [Pipeline] } [2023-09-05T06:03:44.197Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [2023-09-05T06:03:44.386Z] 33b1e0a273af: Pull complete [2023-09-05T06:03:44.386Z] 5d3b04190fa2: Pull complete [Pipeline] echo [2023-09-05T06:03:44.555Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-05T06:03:44.594Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-05T06:03:44.630Z] ========================================================= [2023-09-05T06:03:44.630Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-09-05T06:03:44.630Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-05T06:03:45.138Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-09-05T06:03:45.404Z] Sending build context to Docker daemon 3.333MB [2023-09-05T06:03:45.404Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-09-05T06:03:45.404Z] Step 2/10 : FROM ${BASE} AS builder [2023-09-05T06:03:45.673Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-09-05T06:03:45.673Z] edb6bdbacee9: Pulling fs layer [2023-09-05T06:03:45.673Z] 5f9638ab2659: Pulling fs layer [2023-09-05T06:03:45.673Z] 8d51d6327a98: Pulling fs layer [2023-09-05T06:03:45.673Z] 8b374f2dd631: Pulling fs layer [2023-09-05T06:03:45.673Z] ec14aa9079de: Pulling fs layer [2023-09-05T06:03:45.673Z] 2f466654f4bb: Pulling fs layer [2023-09-05T06:03:45.673Z] 554e91adad29: Pulling fs layer [2023-09-05T06:03:45.673Z] 554e91adad29: Waiting [2023-09-05T06:03:45.673Z] ec14aa9079de: Waiting [2023-09-05T06:03:45.673Z] 2f466654f4bb: Waiting [2023-09-05T06:03:45.673Z] 8b374f2dd631: Waiting [2023-09-05T06:03:45.673Z] 5f9638ab2659: Download complete [2023-09-05T06:03:45.673Z] 8b374f2dd631: Verifying Checksum [2023-09-05T06:03:45.673Z] 8b374f2dd631: Download complete [2023-09-05T06:03:45.673Z] ec14aa9079de: Verifying Checksum [2023-09-05T06:03:45.673Z] ec14aa9079de: Download complete [2023-09-05T06:03:45.673Z] edb6bdbacee9: Verifying Checksum [2023-09-05T06:03:45.673Z] edb6bdbacee9: Download complete [2023-09-05T06:03:46.657Z] edb6bdbacee9: Pull complete [2023-09-05T06:03:46.926Z] 554e91adad29: Verifying Checksum [2023-09-05T06:03:47.195Z] 5f9638ab2659: Pull complete [2023-09-05T06:03:48.176Z] 8d51d6327a98: Verifying Checksum [2023-09-05T06:03:48.176Z] 8d51d6327a98: Download complete [2023-09-05T06:03:48.176Z] 2f466654f4bb: Verifying Checksum [2023-09-05T06:03:48.176Z] 2f466654f4bb: Download complete [2023-09-05T06:03:48.570Z] 2f39f015ded8: Pull complete [2023-09-05T06:03:48.570Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-09-05T06:03:48.570Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-05T06:03:48.570Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-05T06:03:48.805Z] prd-ubuntu20.04-docker-8c-8g-5319 does not seem to be running inside a container [2023-09-05T06:03:48.838Z] $ 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-497 -v /w/workspace/xfoundry_device-modbus-go_PR-497:/w/workspace/xfoundry_device-modbus-go_PR-497:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-497@tmp:/w/workspace/xfoundry_device-modbus-go_PR-497@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-09-05T06:03:53.074Z] $ docker top 19947886c60ec5384e688966ed392d0adb6e2cf71db1c7d9caa6c58635ae6ef3 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-05T06:03:53.540Z] ---> job-cost.sh [2023-09-05T06:03:53.540Z] lf-activate-venv: SKIPPING [2023-09-05T06:03:53.540Z] INFO: No Stack... [2023-09-05T06:03:54.919Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-09-05T06:03:55.179Z] INFO: Archiving Costs [Pipeline] sh [2023-09-05T06:03:55.509Z] + cat /w/workspace/xfoundry_device-modbus-go_PR-497/archives/cost.csv [2023-09-05T06:03:55.509Z] + cut -d, -f6 [Pipeline] lock [2023-09-05T06:03:55.552Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-497-1-stack-cost] [2023-09-05T06:03:55.558Z] Resource [jenkins-edgexfoundry-device-modbus-go-PR-497-1-stack-cost] did not exist. Created. [2023-09-05T06:03:55.558Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-497-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-09-05T06:03:55.952Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-09-05T06:03:56.011Z] Stashed 1 file(s) [Pipeline] } [2023-09-05T06:03:56.044Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-497-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-09-05T06:03:56.136Z] $ docker stop --time=1 19947886c60ec5384e688966ed392d0adb6e2cf71db1c7d9caa6c58635ae6ef3 [2023-09-05T06:03:57.304Z] $ docker rm -f --volumes 19947886c60ec5384e688966ed392d0adb6e2cf71db1c7d9caa6c58635ae6ef3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-09-05T06:04:00.603Z] 8d51d6327a98: Pull complete [2023-09-05T06:04:00.603Z] 8b374f2dd631: Pull complete [2023-09-05T06:04:00.603Z] ec14aa9079de: Pull complete [2023-09-05T06:04:05.956Z] 2f466654f4bb: Pull complete [2023-09-05T06:04:08.547Z] 554e91adad29: Pull complete [2023-09-05T06:04:08.547Z] Digest: sha256:f4f79e0ab507ec6f613cbb0f842a80f635fe1a72038f554d66df6ea3828f3663 [2023-09-05T06:04:08.547Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-09-05T06:04:08.547Z] ---> 1e15ea492957 [2023-09-05T06:04:08.547Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2023-09-05T06:04:10.517Z] ---> Running in 72d8b4ab53c6 [2023-09-05T06:04:10.517Z] Removing intermediate container 72d8b4ab53c6 [2023-09-05T06:04:10.517Z] ---> bc53b465c4e2 [2023-09-05T06:04:10.517Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-09-05T06:04:10.517Z] ---> Running in 06d9fcbaf7ec [2023-09-05T06:04:10.784Z] Removing intermediate container 06d9fcbaf7ec [2023-09-05T06:04:10.784Z] ---> db815475c1b5 [2023-09-05T06:04:10.784Z] Step 5/10 : RUN apk add --update --no-cache make git openssh [2023-09-05T06:04:11.057Z] ---> Running in e15c408c556b [2023-09-05T06:04:12.018Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-09-05T06:04:12.602Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-09-05T06:04:13.563Z] (1/8) Installing openssh-keygen (9.1_p1-r4) [2023-09-05T06:04:13.563Z] (2/8) Installing libedit (20221030.3.1-r0) [2023-09-05T06:04:13.563Z] (3/8) Installing openssh-client-common (9.1_p1-r4) [2023-09-05T06:04:13.840Z] (4/8) Installing openssh-client-default (9.1_p1-r4) [2023-09-05T06:04:13.840Z] (5/8) Installing openssh-sftp-server (9.1_p1-r4) [2023-09-05T06:04:13.840Z] (6/8) Installing openssh-server-common (9.1_p1-r4) [2023-09-05T06:04:13.840Z] (7/8) Installing openssh-server (9.1_p1-r4) [2023-09-05T06:04:13.840Z] (8/8) Installing openssh (9.1_p1-r4) [2023-09-05T06:04:13.840Z] Executing busybox-1.35.0-r29.trigger [2023-09-05T06:04:13.840Z] OK: 270 MiB in 61 packages [2023-09-05T06:04:14.800Z] Removing intermediate container e15c408c556b [2023-09-05T06:04:14.800Z] ---> a881ad50dc7b [2023-09-05T06:04:14.800Z] Step 6/10 : WORKDIR /device-modbus-go [2023-09-05T06:04:14.800Z] ---> Running in e5892259535a [2023-09-05T06:04:15.384Z] Removing intermediate container e5892259535a [2023-09-05T06:04:15.384Z] ---> a12cd4d5db60 [2023-09-05T06:04:15.384Z] Step 7/10 : COPY go.mod vendor* ./ [2023-09-05T06:04:15.662Z] ---> 821d04f423a0 [2023-09-05T06:04:15.662Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-05T06:04:15.662Z] ---> Running in 87e1c3c50053 [2023-09-05T06:05:23.542Z] Removing intermediate container 87e1c3c50053 [2023-09-05T06:05:23.542Z] ---> 1e9e442fc2e4 [2023-09-05T06:05:23.542Z] Step 9/10 : COPY . . [2023-09-05T06:05:23.542Z] ---> 26f42a09a1c3 [2023-09-05T06:05:23.542Z] Step 10/10 : RUN ${MAKE} [2023-09-05T06:05:23.542Z] ---> Running in 26e582cd05bb [2023-09-05T06:05:23.542Z] noop [2023-09-05T06:05:23.542Z] Removing intermediate container 26e582cd05bb [2023-09-05T06:05:23.542Z] ---> e5fbbb6648ed [2023-09-05T06:05:23.542Z] Successfully built e5fbbb6648ed [2023-09-05T06:05:23.542Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-05T06:05:24.022Z] + docker inspect -f . ci-base-image-arm64 [2023-09-05T06:05:24.022Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-05T06:05:24.288Z] prd-ubuntu20.04-docker-arm64-4c-16g-5320 does not seem to be running inside a container [2023-09-05T06:05:24.361Z] $ 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-09-05T06:05:27.269Z] $ docker top 43fa42862223a8bb4153205f16240b9f183e8048188f826b55f6b45582865831 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-05T06:05:28.125Z] + go version [2023-09-05T06:05:28.125Z] go version go1.20.6 linux/arm64 [Pipeline] } [2023-09-05T06:05:28.164Z] $ docker stop --time=1 43fa42862223a8bb4153205f16240b9f183e8048188f826b55f6b45582865831 [2023-09-05T06:05:29.765Z] $ docker rm -f --volumes 43fa42862223a8bb4153205f16240b9f183e8048188f826b55f6b45582865831 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-05T06:05:30.626Z] + docker inspect -f . ci-base-image-arm64 [2023-09-05T06:05:30.626Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-05T06:05:30.872Z] prd-ubuntu20.04-docker-arm64-4c-16g-5320 does not seem to be running inside a container [2023-09-05T06:05:30.932Z] $ 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-09-05T06:05:32.030Z] $ docker top f4da191918589d3395923c98db875c2d9cda4461cac77909e36bdc3cb9255d2a -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-05T06:05:32.581Z] + git config --global --add safe.directory /w/workspace/device-modbus-go/1 [Pipeline] fileExists [Pipeline] sh [2023-09-05T06:05:33.227Z] + make test [2023-09-05T06:05:33.227Z] go test ./... -coverprofile=coverage.out [2023-09-05T06:06:05.456Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2023-09-05T06:07:57.126Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2023-09-05T06:07:57.126Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.076s coverage: 47.9% of statements [2023-09-05T06:07:57.126Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-09-05T06:07:57.126Z] go vet ./... [2023-09-05T06:08:29.399Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-09-05T06:08:29.399Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-09-05T06:08:29.399Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-09-05T06:08:29.435Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-09-05T06:08:29.468Z] $ docker stop --time=1 f4da191918589d3395923c98db875c2d9cda4461cac77909e36bdc3cb9255d2a [2023-09-05T06:08:31.213Z] $ docker rm -f --volumes f4da191918589d3395923c98db875c2d9cda4461cac77909e36bdc3cb9255d2a [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-05T06:08:32.392Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-09-05T06:08:32.425Z] Warning: overwriting stash ‘coverage-report’ [2023-09-05T06:08:32.831Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-05T06:08:33.422Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-09-05T06:08:33.759Z] + ls -al . [2023-09-05T06:08:33.759Z] total 188 [2023-09-05T06:08:33.759Z] drwxrwxr-x 9 jenkins jenkins 4096 Sep 5 06:05 . [2023-09-05T06:08:33.759Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 5 06:03 .. [2023-09-05T06:08:33.759Z] -rw-rw-r-- 1 jenkins jenkins 140 Sep 5 06:03 .dockerignore [2023-09-05T06:08:33.759Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 5 06:03 .git [2023-09-05T06:08:33.759Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 5 06:03 .github [2023-09-05T06:08:33.759Z] -rw-rw-r-- 1 jenkins jenkins 331 Sep 5 06:03 .gitignore [2023-09-05T06:08:33.759Z] -rw-rw-r-- 1 jenkins jenkins 41 Sep 5 06:03 .golangci.yml [2023-09-05T06:08:33.759Z] -rw-rw-r-- 1 jenkins jenkins 11101 Sep 5 06:03 Attribution.txt [2023-09-05T06:08:33.759Z] -rw-rw-r-- 1 jenkins jenkins 14764 Sep 5 06:03 CHANGELOG.md [2023-09-05T06:08:33.759Z] -rw-rw-r-- 1 jenkins jenkins 1365 Sep 5 06:03 Dockerfile [2023-09-05T06:08:33.759Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 5 06:03 GOVERNANCE.md [2023-09-05T06:08:33.759Z] -rw-rw-r-- 1 jenkins jenkins 680 Sep 5 06:03 Jenkinsfile [2023-09-05T06:08:33.759Z] -rw-rw-r-- 1 jenkins jenkins 11340 Sep 5 06:03 LICENSE [2023-09-05T06:08:33.759Z] -rw-rw-r-- 1 jenkins jenkins 1936 Sep 5 06:03 Makefile [2023-09-05T06:08:33.759Z] -rw-rw-r-- 1 jenkins jenkins 622 Sep 5 06:03 OWNERS.md [2023-09-05T06:08:33.759Z] -rw-rw-r-- 1 jenkins jenkins 4578 Sep 5 06:03 README.md [2023-09-05T06:08:33.759Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 5 06:01 VERSION [2023-09-05T06:08:33.759Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 5 06:03 bin [2023-09-05T06:08:33.759Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 5 06:03 cmd [2023-09-05T06:08:33.759Z] -rw-r--r-- 1 jenkins jenkins 24334 Sep 5 06:07 coverage.out [2023-09-05T06:08:33.759Z] -rw-rw-r-- 1 jenkins jenkins 3940 Sep 5 06:03 go.mod [2023-09-05T06:08:33.759Z] -rw-rw-r-- 1 jenkins jenkins 34434 Sep 5 06:03 go.sum [2023-09-05T06:08:33.759Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 5 06:03 internal [2023-09-05T06:08:33.759Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 5 06:03 simulator [2023-09-05T06:08:33.759Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 5 06:03 snap [2023-09-05T06:08:33.759Z] -rw-rw-r-- 1 jenkins jenkins 229 Sep 5 06:03 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-05T06:08:34.172Z] + 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=6ccb6e6b255d38d4204eb6b52887c54b90775ace --label arch=arm64 --label version=0.0.0 . [2023-09-05T06:08:34.440Z] Sending build context to Docker daemon 3.358MB [2023-09-05T06:08:34.440Z] Step 1/22 : ARG BASE=golang:1.20-alpine3.17 [2023-09-05T06:08:34.440Z] Step 2/22 : FROM ${BASE} AS builder [2023-09-05T06:08:34.440Z] ---> e5fbbb6648ed [2023-09-05T06:08:34.440Z] Step 3/22 : ARG ADD_BUILD_TAGS="" [2023-09-05T06:08:36.522Z] ---> Running in 29c68ddbf6e2 [2023-09-05T06:08:36.522Z] Removing intermediate container 29c68ddbf6e2 [2023-09-05T06:08:36.522Z] ---> 626c8e7b5d79 [2023-09-05T06:08:36.522Z] Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-09-05T06:08:36.522Z] ---> Running in b79faab0326a [2023-09-05T06:08:36.789Z] Removing intermediate container b79faab0326a [2023-09-05T06:08:36.789Z] ---> 5b5c2d8d93cd [2023-09-05T06:08:36.789Z] Step 5/22 : RUN apk add --update --no-cache make git openssh [2023-09-05T06:08:37.069Z] ---> Running in 4015dcec06de [2023-09-05T06:08:38.030Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-09-05T06:08:38.612Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-09-05T06:08:39.567Z] OK: 270 MiB in 61 packages [2023-09-05T06:08:40.532Z] Removing intermediate container 4015dcec06de [2023-09-05T06:08:40.532Z] ---> 995853de2c9b [2023-09-05T06:08:40.532Z] Step 6/22 : WORKDIR /device-modbus-go [2023-09-05T06:08:40.532Z] ---> Running in 9ba79afbb7bd [2023-09-05T06:08:40.802Z] Removing intermediate container 9ba79afbb7bd [2023-09-05T06:08:40.802Z] ---> ba5d86b6a80f [2023-09-05T06:08:40.802Z] Step 7/22 : COPY go.mod vendor* ./ [2023-09-05T06:08:41.069Z] ---> feb8933fbe2e [2023-09-05T06:08:41.069Z] Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-05T06:08:41.337Z] ---> Running in 02afb2cac22e [2023-09-05T06:08:43.283Z] Removing intermediate container 02afb2cac22e [2023-09-05T06:08:43.283Z] ---> 89d669178aac [2023-09-05T06:08:43.283Z] Step 9/22 : COPY . . [2023-09-05T06:08:43.865Z] ---> d416f658d083 [2023-09-05T06:08:43.865Z] Step 10/22 : RUN ${MAKE} [2023-09-05T06:08:44.133Z] ---> Running in ce18af98ad37 [2023-09-05T06:08:45.094Z] 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.18" -trimpath -mod=readonly -o cmd/device-modbus ./cmd [2023-09-05T06:10:51.785Z] Removing intermediate container ce18af98ad37 [2023-09-05T06:10:51.785Z] ---> 71dd93b8c498 [2023-09-05T06:10:51.785Z] Step 11/22 : FROM alpine:3.17 [2023-09-05T06:10:52.050Z] 3.17: Pulling from library/alpine [2023-09-05T06:10:52.050Z] 4060ece20d7a: Pulling fs layer [2023-09-05T06:10:52.316Z] 4060ece20d7a: Verifying Checksum [2023-09-05T06:10:52.316Z] 4060ece20d7a: Download complete [2023-09-05T06:10:52.899Z] 4060ece20d7a: Pull complete [2023-09-05T06:10:52.899Z] Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc [2023-09-05T06:10:52.899Z] Status: Downloaded newer image for alpine:3.17 [2023-09-05T06:10:52.899Z] ---> 8650cd65339b [2023-09-05T06:10:52.899Z] Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2023-09-05T06:10:53.177Z] ---> Running in 95232f17c53e [2023-09-05T06:10:53.177Z] Removing intermediate container 95232f17c53e [2023-09-05T06:10:53.177Z] ---> 559a328ab7e8 [2023-09-05T06:10:53.177Z] Step 13/22 : RUN apk add --update --no-cache dumb-init [2023-09-05T06:10:53.449Z] ---> Running in b9cff8af0606 [2023-09-05T06:10:54.409Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-09-05T06:10:54.675Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-09-05T06:10:55.643Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-09-05T06:10:55.643Z] Executing busybox-1.35.0-r29.trigger [2023-09-05T06:10:55.643Z] OK: 8 MiB in 16 packages [2023-09-05T06:10:56.602Z] Removing intermediate container b9cff8af0606 [2023-09-05T06:10:56.602Z] ---> ae1b5dedc8cd [2023-09-05T06:10:56.602Z] Step 14/22 : COPY --from=builder /device-modbus-go/cmd / [2023-09-05T06:10:58.009Z] ---> 304a3bfcdf18 [2023-09-05T06:10:58.009Z] Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / [2023-09-05T06:10:58.276Z] ---> 174084c28e35 [2023-09-05T06:10:58.276Z] Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / [2023-09-05T06:10:58.860Z] ---> 2088a3004d1e [2023-09-05T06:10:58.860Z] Step 17/22 : EXPOSE 59901 [2023-09-05T06:10:58.860Z] ---> Running in 10536d6a86bb [2023-09-05T06:10:59.125Z] Removing intermediate container 10536d6a86bb [2023-09-05T06:10:59.125Z] ---> a6b4e66214ad [2023-09-05T06:10:59.125Z] Step 18/22 : ENTRYPOINT ["/device-modbus"] [2023-09-05T06:10:59.125Z] ---> Running in de94495c93b6 [2023-09-05T06:10:59.392Z] Removing intermediate container de94495c93b6 [2023-09-05T06:10:59.392Z] ---> 90e77dc7ca0c [2023-09-05T06:10:59.392Z] Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-09-05T06:10:59.392Z] ---> Running in e2e1a6250484 [2023-09-05T06:10:59.659Z] Removing intermediate container e2e1a6250484 [2023-09-05T06:10:59.659Z] ---> f06960479365 [2023-09-05T06:10:59.659Z] Step 20/22 : LABEL arch=arm64 [2023-09-05T06:10:59.659Z] ---> Running in 4b2531ddcd4f [2023-09-05T06:10:59.928Z] Removing intermediate container 4b2531ddcd4f [2023-09-05T06:10:59.928Z] ---> 645190bd8726 [2023-09-05T06:10:59.928Z] Step 21/22 : LABEL git_sha=6ccb6e6b255d38d4204eb6b52887c54b90775ace [2023-09-05T06:11:00.196Z] ---> Running in 531f9dab244f [2023-09-05T06:11:00.196Z] Removing intermediate container 531f9dab244f [2023-09-05T06:11:00.196Z] ---> bf778cfa4fca [2023-09-05T06:11:00.196Z] Step 22/22 : LABEL version=0.0.0 [2023-09-05T06:11:00.462Z] ---> Running in 8d60e9b6b005 [2023-09-05T06:11:00.726Z] Removing intermediate container 8d60e9b6b005 [2023-09-05T06:11:00.726Z] ---> 40d210bd3854 [2023-09-05T06:11:00.726Z] [Warning] One or more build-args [ARCH] were not consumed [2023-09-05T06:11:00.726Z] Successfully built 40d210bd3854 [2023-09-05T06:11:00.726Z] 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-09-05T06:11:01.577Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-05T06:11:01.578Z] [2023-09-05T06:11:01.578Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-05T06:11:01.980Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-05T06:11:01.980Z] arm64: Pulling from edgex-lftools-log-publisher [2023-09-05T06:11:01.980Z] 8998bd30e6a1: Pulling fs layer [2023-09-05T06:11:01.980Z] 04944245beec: Pulling fs layer [2023-09-05T06:11:01.980Z] 699f458cf7ca: Pulling fs layer [2023-09-05T06:11:01.980Z] 765212b225bb: Pulling fs layer [2023-09-05T06:11:01.980Z] f23df028b6ca: Pulling fs layer [2023-09-05T06:11:01.980Z] d65c8cfc05b1: Pulling fs layer [2023-09-05T06:11:01.980Z] 2437ff75d9bd: Pulling fs layer [2023-09-05T06:11:01.980Z] d65c8cfc05b1: Waiting [2023-09-05T06:11:01.980Z] 2437ff75d9bd: Waiting [2023-09-05T06:11:01.980Z] 765212b225bb: Waiting [2023-09-05T06:11:01.980Z] f23df028b6ca: Waiting [2023-09-05T06:11:02.249Z] 04944245beec: Verifying Checksum [2023-09-05T06:11:02.249Z] 04944245beec: Download complete [2023-09-05T06:11:02.249Z] 765212b225bb: Verifying Checksum [2023-09-05T06:11:02.249Z] 765212b225bb: Download complete [2023-09-05T06:11:02.249Z] f23df028b6ca: Verifying Checksum [2023-09-05T06:11:02.249Z] f23df028b6ca: Download complete [2023-09-05T06:11:02.249Z] d65c8cfc05b1: Verifying Checksum [2023-09-05T06:11:02.249Z] d65c8cfc05b1: Download complete [2023-09-05T06:11:02.249Z] 699f458cf7ca: Verifying Checksum [2023-09-05T06:11:02.249Z] 699f458cf7ca: Download complete [2023-09-05T06:11:02.835Z] 8998bd30e6a1: Verifying Checksum [2023-09-05T06:11:02.835Z] 8998bd30e6a1: Download complete [2023-09-05T06:11:04.865Z] 2437ff75d9bd: Verifying Checksum [2023-09-05T06:11:04.865Z] 2437ff75d9bd: Download complete [2023-09-05T06:11:06.873Z] 8998bd30e6a1: Pull complete [2023-09-05T06:11:07.166Z] 04944245beec: Pull complete [2023-09-05T06:11:08.610Z] 699f458cf7ca: Pull complete [2023-09-05T06:11:08.610Z] 765212b225bb: Pull complete [2023-09-05T06:11:09.192Z] f23df028b6ca: Pull complete [2023-09-05T06:11:09.458Z] d65c8cfc05b1: Pull complete [2023-09-05T06:11:24.465Z] 2437ff75d9bd: Pull complete [2023-09-05T06:11:24.465Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-09-05T06:11:24.465Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-05T06:11:24.465Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-05T06:11:24.767Z] prd-ubuntu20.04-docker-arm64-4c-16g-5320 does not seem to be running inside a container [2023-09-05T06:11:24.829Z] $ 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-09-05T06:11:27.264Z] $ docker top d817a14c5dc91b565f9d0fdf560038204663a00c77c75d080f2a31fcd17a0019 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-05T06:11:28.155Z] ---> job-cost.sh [2023-09-05T06:11:28.155Z] lf-activate-venv: SKIPPING [2023-09-05T06:11:28.155Z] INFO: No Stack... [2023-09-05T06:11:28.419Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-09-05T06:11:29.372Z] INFO: Archiving Costs [Pipeline] sh [2023-09-05T06:11:29.714Z] + cat /w/workspace/device-modbus-go/1/archives/cost.csv [2023-09-05T06:11:29.984Z] + cut -d, -f6 [Pipeline] lock [2023-09-05T06:11:30.064Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-497-1-stack-cost] [2023-09-05T06:11:30.069Z] Resource [jenkins-edgexfoundry-device-modbus-go-PR-497-1-stack-cost] did not exist. Created. [2023-09-05T06:11:30.069Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-497-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-09-05T06:11:30.486Z] /w/workspace/device-modbus-go/1@tmp/durable-5d41687e/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-09-05T06:11:31.102Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-09-05T06:11:31.135Z] Warning: overwriting stash ‘stack-cost’ [2023-09-05T06:11:31.185Z] Stashed 1 file(s) [Pipeline] } [2023-09-05T06:11:31.200Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-497-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-09-05T06:11:31.293Z] $ docker stop --time=1 d817a14c5dc91b565f9d0fdf560038204663a00c77c75d080f2a31fcd17a0019 [2023-09-05T06:11:32.764Z] $ docker rm -f --volumes d817a14c5dc91b565f9d0fdf560038204663a00c77c75d080f2a31fcd17a0019 [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-09-05T06:11:33.776Z] provisioning config files... [2023-09-05T06:11:33.783Z] copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-497@tmp/config10963167588972973311tmp [Pipeline] { [Pipeline] sh [2023-09-05T06:11:34.120Z] + set +x [2023-09-05T06:11:34.120Z] + bash -s -- [2023-09-05T06:11:34.120Z] + curl -s https://codecov.io/bash [2023-09-05T06:11:34.120Z] [2023-09-05T06:11:34.120Z] _____ _ [2023-09-05T06:11:34.120Z] / ____| | | [2023-09-05T06:11:34.120Z] | | ___ __| | ___ ___ _____ __ [2023-09-05T06:11:34.120Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-09-05T06:11:34.120Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-09-05T06:11:34.120Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-09-05T06:11:34.120Z] Bash-1.0.6 [2023-09-05T06:11:34.120Z] [2023-09-05T06:11:34.120Z] [2023-09-05T06:11:34.120Z] ==> git version 2.25.1 found [2023-09-05T06:11:34.120Z] ==> 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-09-05T06:11:34.120Z] Release-Date: 2020-01-08 [2023-09-05T06:11:34.120Z] 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-09-05T06:11:34.120Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-09-05T06:11:34.120Z] ==> Jenkins CI detected. [2023-09-05T06:11:34.120Z] current dir:  /w/workspace/xfoundry_device-modbus-go_PR-497 [2023-09-05T06:11:34.121Z] project root: . [2023-09-05T06:11:34.121Z] --> token set from env [2023-09-05T06:11:34.121Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-09-05T06:11:34.121Z] ==> Running gcov in . (disable via -X gcov) [2023-09-05T06:11:34.121Z] ==> Python coveragepy not found [2023-09-05T06:11:34.121Z] ==> Searching for coverage reports in: [2023-09-05T06:11:34.121Z] + . [2023-09-05T06:11:34.121Z] -> Found 1 reports [2023-09-05T06:11:34.121Z] ==> Detecting git/mercurial file structure [2023-09-05T06:11:34.121Z] ==> Reading reports [2023-09-05T06:11:34.379Z] + ./coverage.out bytes=24334 [2023-09-05T06:11:34.379Z] ==> Appending adjustments [2023-09-05T06:11:34.379Z] https://docs.codecov.io/docs/fixing-reports [2023-09-05T06:11:34.379Z] + Found adjustments [2023-09-05T06:11:34.379Z] ==> Gzipping contents [2023-09-05T06:11:34.379Z] 4.0K /tmp/codecov.zkoxSG.gz [2023-09-05T06:11:34.379Z] ==> Uploading reports [2023-09-05T06:11:34.379Z] url: https://codecov.io [2023-09-05T06:11:34.379Z] query: branch=PR-497&commit=6ccb6e6b255d38d4204eb6b52887c54b90775ace&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-497%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=497&job=&cmd_args= [2023-09-05T06:11:34.379Z] -> Pinging Codecov [2023-09-05T06:11:34.379Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3a8d40b1-de00-4649-bfd4-bdc8ed99ae89&branch=PR-497&commit=6ccb6e6b255d38d4204eb6b52887c54b90775ace&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-497%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=497&job=&cmd_args= [2023-09-05T06:11:34.379Z] -> Uploading to [2023-09-05T06:11:34.379Z] https://storage.googleapis.com/codecov/v4/raw/2023-09-05/55DBCA73C666E3227836607328DD7E49/6ccb6e6b255d38d4204eb6b52887c54b90775ace/d540bec1-ec94-4b54-82c3-9d3eff0e8e2d.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230905%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230905T061134Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=b282a5d1950515255001686d1dd62a39a790254e848179a632aa112dbb7ffba1 [2023-09-05T06:11:34.638Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-09-05T06:11:34.638Z] Dload Upload Total Spent Left Speed [2023-09-05T06:11:34.638Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3974 0 0 100 3974 0 20484 --:--:-- --:--:-- --:--:-- 20590 [2023-09-05T06:11:34.638Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/6ccb6e6b255d38d4204eb6b52887c54b90775ace [Pipeline] } [2023-09-05T06:11:34.664Z] 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-09-05T06:11:36.549Z] + [ -d /w/workspace/xfoundry_device-modbus-go_PR-497/archives ] [2023-09-05T06:11:36.549Z] + ls -al /w/workspace/xfoundry_device-modbus-go_PR-497/archives [2023-09-05T06:11:36.549Z] total 16 [2023-09-05T06:11:36.549Z] drwxr-xr-x 3 root root 4096 Sep 5 06:03 . [2023-09-05T06:11:36.549Z] drwxrwxr-x 11 jenkins jenkins 4096 Sep 5 06:03 .. [2023-09-05T06:11:36.549Z] drwxr-xr-x 2 root root 4096 Sep 5 06:03 cost [2023-09-05T06:11:36.549Z] -rw-r--r-- 1 root root 88 Sep 5 06:03 cost.csv [2023-09-05T06:11:36.549Z] + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-497/archives [2023-09-05T06:11:36.549Z] + ls -al /w/workspace/xfoundry_device-modbus-go_PR-497/archives [2023-09-05T06:11:36.549Z] total 16 [2023-09-05T06:11:36.549Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 5 06:03 . [2023-09-05T06:11:36.549Z] drwxrwxr-x 11 jenkins jenkins 4096 Sep 5 06:03 .. [2023-09-05T06:11:36.549Z] drwxr-xr-x 2 jenkins jenkins 4096 Sep 5 06:03 cost [2023-09-05T06:11:36.549Z] -rw-r--r-- 1 jenkins jenkins 88 Sep 5 06:03 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-09-05T06:11:36.879Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-05T06:11:37.768Z] ---> package-listing.sh [2023-09-05T06:11:37.768Z] ++ facter osfamily [2023-09-05T06:11:37.768Z] ++ tr '[:upper:]' '[:lower:]' [2023-09-05T06:11:38.028Z] + OS_FAMILY=debian [2023-09-05T06:11:38.028Z] + workspace=/w/workspace/xfoundry_device-modbus-go_PR-497 [2023-09-05T06:11:38.028Z] + START_PACKAGES=/tmp/packages_start.txt [2023-09-05T06:11:38.028Z] + END_PACKAGES=/tmp/packages_end.txt [2023-09-05T06:11:38.028Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-09-05T06:11:38.028Z] + PACKAGES=/tmp/packages_start.txt [2023-09-05T06:11:38.028Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-497 ']' [2023-09-05T06:11:38.028Z] + PACKAGES=/tmp/packages_end.txt [2023-09-05T06:11:38.028Z] + case "${OS_FAMILY}" in [2023-09-05T06:11:38.028Z] + dpkg -l [2023-09-05T06:11:38.028Z] + grep '^ii' [2023-09-05T06:11:38.028Z] + '[' -f /tmp/packages_start.txt ']' [2023-09-05T06:11:38.028Z] + '[' -f /tmp/packages_end.txt ']' [2023-09-05T06:11:38.028Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-09-05T06:11:38.028Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-497 ']' [2023-09-05T06:11:38.028Z] + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-497/archives/ [2023-09-05T06:11:38.028Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-497/archives/ [Pipeline] echo [2023-09-05T06:11:38.061Z] 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-497/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-09-05T06:11:38.349Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-05T06:11:38.967Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-05T06:11:38.967Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-05T06:11:39.108Z] prd-ubuntu20.04-docker-8c-8g-5319 does not seem to be running inside a container [2023-09-05T06:11:39.136Z] $ 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-497/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-497 -v /w/workspace/xfoundry_device-modbus-go_PR-497:/w/workspace/xfoundry_device-modbus-go_PR-497:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-497@tmp:/w/workspace/xfoundry_device-modbus-go_PR-497@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-09-05T06:11:39.350Z] $ docker top 7bda44b8341457fd8bafc20ac902201eae0dd7e1a47322d93dfd22f9ce65685f -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-05T06:11:39.747Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-09-05T06:11:40.060Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-09-05T06:11:40.374Z] + ls /var/log/sa-host [2023-09-05T06:11:40.374Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-05T06:11:40.592Z] provisioning config files... [2023-09-05T06:11:40.601Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-497@tmp/config2360721275554263473tmp [Pipeline] { [Pipeline] echo [2023-09-05T06:11:40.659Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-05T06:11:40.973Z] ---> create-netrc.sh [Pipeline] } [2023-09-05T06:11:41.003Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-09-05T06:11:41.412Z] ---> python-tools-install.sh [Pipeline] echo [2023-09-05T06:11:41.445Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-05T06:11:41.755Z] ---> sudo-logs.sh [2023-09-05T06:11:41.755Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-09-05T06:11:41.849Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-05T06:11:42.158Z] ---> job-cost.sh [2023-09-05T06:11:42.159Z] lf-activate-venv: SKIPPING [2023-09-05T06:11:42.159Z] DEBUG: total: 0.2199999988079071 [2023-09-05T06:11:42.159Z] INFO: Retrieving Stack Cost... [2023-09-05T06:11:42.418Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-09-05T06:11:42.985Z] INFO: Archiving Costs [Pipeline] echo [2023-09-05T06:11:43.021Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-05T06:11:43.332Z] ---> logs-deploy.sh [2023-09-05T06:11:43.332Z] lf-activate-venv: SKIPPING [2023-09-05T06:11:43.332Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-497/1 [2023-09-05T06:11:43.332Z] INFO: archiving workspace using pattern(s): [2023-09-05T06:11:44.269Z] Archives upload complete. [2023-09-05T06:11:44.269Z] INFO: archiving logs to Nexus