Pull request #569 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 75b0587f3cdc21a8298e8948d997cbf90c92cd6e+d9d7c9445bd01df0ee4a07f33637a5782cac6865 (07b744671c03b827b4272fc9f25d044cb9739243) 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-ssh5303773648160467213.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision f3350a1713306dce7682ed7e37d5774890d03277 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-ssh14585603427636073210.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 f3350a1713306dce7682ed7e37d5774890d03277 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-569/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-569/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7102676280997341390.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-569/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh16251400279593041081.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision f3350a1713306dce7682ed7e37d5774890d03277 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f f3350a1713306dce7682ed7e37d5774890d03277 # timeout=10 Commit message: "Merge pull request #455 from cherrycl/issue-452-3" > 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-ssh11183896806644349376.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-569/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-569/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh5513647952451307604.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 f3350a1713306dce7682ed7e37d5774890d03277 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-modbus-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-modbus-go-settings PROJECT: device-modbus-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-modbus DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-8901 in /w/workspace/xfoundry_device-modbus-go_PR-569 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git 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-569 # 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/569/head:refs/remotes/origin/PR-569 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit d9d7c9445bd01df0ee4a07f33637a5782cac6865 into PR head commit 75b0587f3cdc21a8298e8948d997cbf90c92cd6e Merge succeeded, producing 75b0587f3cdc21a8298e8948d997cbf90c92cd6e Checking out Revision 75b0587f3cdc21a8298e8948d997cbf90c92cd6e (PR-569) 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 f3350a1713306dce7682ed7e37d5774890d03277 > git config core.sparsecheckout # timeout=10 > git checkout -f 75b0587f3cdc21a8298e8948d997cbf90c92cd6e # 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 d9d7c9445bd01df0ee4a07f33637a5782cac6865 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 75b0587f3cdc21a8298e8948d997cbf90c92cd6e # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-08-28T05:17:13.439Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-08-28T05:17:13.648Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-08-28T05:17:13.777Z] ========================================================= [2024-08-28T05:17:13.777Z] EdgeX Global Pipelines Version Info [2024-08-28T05:17:13.777Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-08-28T05:17:14.558Z] ------------------- [2024-08-28T05:17:14.558Z] stable info: [2024-08-28T05:17:14.558Z] ------------------- [2024-08-28T05:17:14.558Z] Commited By: Cherry Wang cherry@iotechsys.com [2024-08-28T05:17:14.558Z] Commit SHA: f3350a1713306dce7682ed7e37d5774890d03277 [2024-08-28T05:17:14.558Z] Message: update stable to v1.0.263 [2024-08-28T05:17:15.129Z] ------------------- [2024-08-28T05:17:15.129Z] experimental info: [2024-08-28T05:17:15.129Z] ------------------- [2024-08-28T05:17:15.129Z] Commited By: Cherry Wang cherry@iotechsys.com [2024-08-28T05:17:15.129Z] Commit SHA: f3350a1713306dce7682ed7e37d5774890d03277 [2024-08-28T05:17:15.129Z] Message: update experimental to v1.0.263 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-08-28T05:17:15.337Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo [2024-08-28T05:17:15.398Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo [2024-08-28T05:17:15.453Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-08-28T05:17:15.513Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-08-28T05:17:15.579Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-08-28T05:17:15.642Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2024-08-28T05:17:15.703Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-08-28T05:17:15.760Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2024-08-28T05:17:15.824Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-08-28T05:17:15.886Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-08-28T05:17:15.944Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-08-28T05:17:16.002Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo [2024-08-28T05:17:16.067Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-08-28T05:17:16.135Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-08-28T05:17:16.194Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-08-28T05:17:16.255Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2024-08-28T05:17:16.308Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-08-28T05:17:16.370Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-08-28T05:17:16.429Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-08-28T05:17:16.484Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-08-28T05:17:16.540Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2024-08-28T05:17:16.601Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2024-08-28T05:17:16.658Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-08-28T05:17:16.720Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-08-28T05:17:16.775Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-08-28T05:17:16.834Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-08-28T05:17:16.895Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-08-28T05:17:16.953Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-569 [Pipeline] echo [2024-08-28T05:17:17.010Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-569 [Pipeline] echo [2024-08-28T05:17:17.182Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-569 [Pipeline] echo [2024-08-28T05:17:17.247Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 75b0587f3cdc21a8298e8948d997cbf90c92cd6e [Pipeline] echo [2024-08-28T05:17:17.308Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 75b0587 [Pipeline] echo [2024-08-28T05:17:17.370Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-08-28T05:17:17.532Z] provisioning config files... [2024-08-28T05:17:17.547Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-569@tmp/config1110289137946858734tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-08-28T05:17:17.954Z] ---> ****-login.sh [2024-08-28T05:17:17.955Z] nexus3.edgexfoundry.org:10001 [2024-08-28T05:17:18.216Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-28T05:17:18.216Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-28T05:17:18.216Z] Configure a credential helper to remove this warning. See [2024-08-28T05:17:18.216Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-28T05:17:18.216Z] [2024-08-28T05:17:18.216Z] Login Succeeded [2024-08-28T05:17:18.216Z] nexus3.edgexfoundry.org:10002 [2024-08-28T05:17:18.478Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-28T05:17:18.478Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-28T05:17:18.478Z] Configure a credential helper to remove this warning. See [2024-08-28T05:17:18.478Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-28T05:17:18.478Z] [2024-08-28T05:17:18.478Z] Login Succeeded [2024-08-28T05:17:18.478Z] nexus3.edgexfoundry.org:10003 [2024-08-28T05:17:18.478Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-28T05:17:18.478Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-28T05:17:18.478Z] Configure a credential helper to remove this warning. See [2024-08-28T05:17:18.478Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-28T05:17:18.478Z] [2024-08-28T05:17:18.478Z] Login Succeeded [2024-08-28T05:17:18.478Z] nexus3.edgexfoundry.org:10004 [2024-08-28T05:17:18.740Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-28T05:17:18.740Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-28T05:17:18.740Z] Configure a credential helper to remove this warning. See [2024-08-28T05:17:18.740Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-28T05:17:18.740Z] [2024-08-28T05:17:18.740Z] Login Succeeded [2024-08-28T05:17:18.740Z] ****.io [2024-08-28T05:17:18.740Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-28T05:17:19.000Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-28T05:17:19.000Z] Configure a credential helper to remove this warning. See [2024-08-28T05:17:19.000Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-28T05:17:19.000Z] [2024-08-28T05:17:19.000Z] Login Succeeded [2024-08-28T05:17:19.000Z] ---> ****-login.sh ends [Pipeline] } [2024-08-28T05:17:19.039Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-08-28T05:17:19.760Z] + git rev-list -1 --merges 75b0587f3cdc21a8298e8948d997cbf90c92cd6e~1..75b0587f3cdc21a8298e8948d997cbf90c92cd6e [Pipeline] echo [2024-08-28T05:17:19.812Z] -----------> git rev-list -1 --merges 75b0587f3cdc21a8298e8948d997cbf90c92cd6e~1..75b0587f3cdc21a8298e8948d997cbf90c92cd6e 75b0587f3cdc21a8298e8948d997cbf90c92cd6e [false] [Pipeline] sh [2024-08-28T05:17:20.135Z] + git log --format=format:%s -1 75b0587f3cdc21a8298e8948d997cbf90c92cd6e [Pipeline] echo [2024-08-28T05:17:20.179Z] ========================================================= [2024-08-28T05:17:20.179Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-08-28T05:17:20.179Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-08-28T05:17:20.648Z] + git log --format=format:%s -1 75b0587f3cdc21a8298e8948d997cbf90c92cd6e [Pipeline] echo [2024-08-28T05:17:20.687Z] [semverPrep] GIT_COMMIT: 75b0587f3cdc21a8298e8948d997cbf90c92cd6e, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo [2024-08-28T05:17:20.727Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-08-28T05:17:21.147Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-08-28T05:17:21.148Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-08-28T05:17:21.148Z] + [ -e /tmp/ssh_known_hosts ] [2024-08-28T05:17:21.148Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-08-28T05:17:21.148Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-08-28T05:17:21.148Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2024-08-28T05:17:21.148Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-28T05:17:21.667Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-08-28T05:17:21.667Z] [2024-08-28T05:17:21.667Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-28T05:17:22.071Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-08-28T05:17:22.071Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-08-28T05:17:22.071Z] b85a868b505f: Pulling fs layer [2024-08-28T05:17:22.071Z] e2be974225ed: Pulling fs layer [2024-08-28T05:17:22.071Z] 339a4e72a1f5: Pulling fs layer [2024-08-28T05:17:22.071Z] 988bab9f4d93: Pulling fs layer [2024-08-28T05:17:22.071Z] 1469e6f7b9e6: Pulling fs layer [2024-08-28T05:17:22.071Z] eaf3925da568: Pulling fs layer [2024-08-28T05:17:22.071Z] bab4dde63d76: Pulling fs layer [2024-08-28T05:17:22.071Z] bde34c3a00c8: Pulling fs layer [2024-08-28T05:17:22.071Z] b352a97aabf1: Pulling fs layer [2024-08-28T05:17:22.071Z] 4872d77fe225: Pulling fs layer [2024-08-28T05:17:22.071Z] 5851b861e8e6: Pulling fs layer [2024-08-28T05:17:22.071Z] 988bab9f4d93: Waiting [2024-08-28T05:17:22.071Z] 1469e6f7b9e6: Waiting [2024-08-28T05:17:22.071Z] bab4dde63d76: Waiting [2024-08-28T05:17:22.071Z] 5851b861e8e6: Waiting [2024-08-28T05:17:22.071Z] bde34c3a00c8: Waiting [2024-08-28T05:17:22.071Z] 4872d77fe225: Waiting [2024-08-28T05:17:22.071Z] eaf3925da568: Waiting [2024-08-28T05:17:22.071Z] b352a97aabf1: Waiting [2024-08-28T05:17:22.071Z] e2be974225ed: Verifying Checksum [2024-08-28T05:17:22.071Z] e2be974225ed: Download complete [2024-08-28T05:17:22.071Z] 988bab9f4d93: Verifying Checksum [2024-08-28T05:17:22.071Z] 988bab9f4d93: Download complete [2024-08-28T05:17:22.071Z] 1469e6f7b9e6: Verifying Checksum [2024-08-28T05:17:22.071Z] 1469e6f7b9e6: Download complete [2024-08-28T05:17:22.331Z] eaf3925da568: Verifying Checksum [2024-08-28T05:17:22.331Z] eaf3925da568: Download complete [2024-08-28T05:17:22.331Z] 339a4e72a1f5: Verifying Checksum [2024-08-28T05:17:22.331Z] 339a4e72a1f5: Download complete [2024-08-28T05:17:22.331Z] bde34c3a00c8: Verifying Checksum [2024-08-28T05:17:22.331Z] bde34c3a00c8: Download complete [2024-08-28T05:17:22.331Z] b352a97aabf1: Verifying Checksum [2024-08-28T05:17:22.331Z] b352a97aabf1: Download complete [2024-08-28T05:17:22.331Z] 4872d77fe225: Download complete [2024-08-28T05:17:22.331Z] 5851b861e8e6: Download complete [2024-08-28T05:17:22.331Z] b85a868b505f: Verifying Checksum [2024-08-28T05:17:22.331Z] b85a868b505f: Download complete [2024-08-28T05:17:22.589Z] bab4dde63d76: Verifying Checksum [2024-08-28T05:17:22.589Z] bab4dde63d76: Download complete [2024-08-28T05:17:23.528Z] b85a868b505f: Pull complete [2024-08-28T05:17:23.786Z] e2be974225ed: Pull complete [2024-08-28T05:17:24.047Z] 339a4e72a1f5: Pull complete [2024-08-28T05:17:24.306Z] 988bab9f4d93: Pull complete [2024-08-28T05:17:24.572Z] 1469e6f7b9e6: Pull complete [2024-08-28T05:17:24.572Z] eaf3925da568: Pull complete [2024-08-28T05:17:26.479Z] bab4dde63d76: Pull complete [2024-08-28T05:17:26.479Z] bde34c3a00c8: Pull complete [2024-08-28T05:17:26.479Z] b352a97aabf1: Pull complete [2024-08-28T05:17:26.479Z] 4872d77fe225: Pull complete [2024-08-28T05:17:26.739Z] 5851b861e8e6: Pull complete [2024-08-28T05:17:26.739Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-08-28T05:17:26.739Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-08-28T05:17:26.739Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-08-28T05:17:27.033Z] prd-ubuntu20.04-docker-8c-8g-8901 does not seem to be running inside a container [2024-08-28T05:17:27.058Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-569 -v /w/workspace/xfoundry_device-modbus-go_PR-569:/w/workspace/xfoundry_device-modbus-go_PR-569:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-569@tmp:/w/workspace/xfoundry_device-modbus-go_PR-569@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-08-28T05:17:28.317Z] $ docker top 93bdfb4fee6f9c32a6fc44915c9dceca90063c0a7bf9c6ccb5f396c33d5ac59f -eo pid,comm [2024-08-28T05:17:28.369Z] 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). [2024-08-28T05:17:28.369Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-08-28T05:17:28.531Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-08-28T05:17:28.531Z] [ssh-agent] Looking for ssh-agent implementation... [2024-08-28T05:17:28.642Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-08-28T05:17:28.643Z] $ docker exec 93bdfb4fee6f9c32a6fc44915c9dceca90063c0a7bf9c6ccb5f396c33d5ac59f ssh-agent [2024-08-28T05:17:28.755Z] SSH_AUTH_SOCK=/tmp/ssh-LD0ddxJamsSM/agent.32 [2024-08-28T05:17:28.755Z] SSH_AGENT_PID=38 [2024-08-28T05:17:28.761Z] Running ssh-add (command line suppressed) [2024-08-28T05:17:28.858Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-569@tmp/private_key_3129176060533251330.key (/w/workspace/xfoundry_device-modbus-go_PR-569@tmp/private_key_3129176060533251330.key) [2024-08-28T05:17:28.875Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-08-28T05:17:29.217Z] + git tag --points-at HEAD [Pipeline] } [2024-08-28T05:17:29.247Z] $ docker exec --env ******** --env ******** 93bdfb4fee6f9c32a6fc44915c9dceca90063c0a7bf9c6ccb5f396c33d5ac59f ssh-agent -k [2024-08-28T05:17:29.335Z] unset SSH_AUTH_SOCK; [2024-08-28T05:17:29.336Z] unset SSH_AGENT_PID; [2024-08-28T05:17:29.336Z] echo Agent pid 38 killed; [2024-08-28T05:17:29.347Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-08-28T05:17:29.449Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-08-28T05:17:29.449Z] [ssh-agent] Looking for ssh-agent implementation... [2024-08-28T05:17:29.544Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-08-28T05:17:29.545Z] $ docker exec 93bdfb4fee6f9c32a6fc44915c9dceca90063c0a7bf9c6ccb5f396c33d5ac59f ssh-agent [2024-08-28T05:17:29.646Z] SSH_AUTH_SOCK=/tmp/ssh-YqwYjHiKks1I/agent.71 [2024-08-28T05:17:29.646Z] SSH_AGENT_PID=77 [2024-08-28T05:17:29.650Z] Running ssh-add (command line suppressed) [2024-08-28T05:17:29.739Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-569@tmp/private_key_15870817185688137265.key (/w/workspace/xfoundry_device-modbus-go_PR-569@tmp/private_key_15870817185688137265.key) [2024-08-28T05:17:29.751Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-08-28T05:17:30.095Z] + git semver init [2024-08-28T05:17:30.352Z] 2024-08-28 05:17:30,260 [run_init] DEBUG init version:0.0.0 force:False [2024-08-28T05:17:30.352Z] 2024-08-28 05:17:30,261 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-modbus-go_PR-569/.semver [2024-08-28T05:17:30.352Z] 2024-08-28 05:17:30,261 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/xfoundry_device-modbus-go_PR-569/.semver [2024-08-28T05:17:30.352Z] 2024-08-28 05:17:30,261 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/xfoundry_device-modbus-go_PR-569/.semver'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-569, universal_newlines=False, shell=None, istream=None) [2024-08-28T05:17:31.729Z] 2024-08-28 05:17:31,310 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-modbus-go_PR-569/.git/info/exclude [2024-08-28T05:17:31.729Z] 2024-08-28 05:17:31,310 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-modbus-go_PR-569/.semver/PR-569 with force:False [2024-08-28T05:17:31.729Z] 2024-08-28 05:17:31,311 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-modbus-go_PR-569/.semver/PR-569 [2024-08-28T05:17:31.729Z] 2024-08-28 05:17:31,315 [execute] INFO git cat-file --batch-check [2024-08-28T05:17:31.729Z] 2024-08-28 05:17:31,316 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-569/.semver, universal_newlines=False, shell=None, istream=) [2024-08-28T05:17:31.729Z] 2024-08-28 05:17:31,321 [execute] INFO git cat-file --batch [2024-08-28T05:17:31.729Z] 2024-08-28 05:17:31,322 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-569/.semver, universal_newlines=False, shell=None, istream=) [2024-08-28T05:17:31.729Z] 2024-08-28 05:17:31,326 [read_version] DEBUG read version from /w/workspace/xfoundry_device-modbus-go_PR-569/.semver/PR-569 [2024-08-28T05:17:31.729Z] 0.0.0 [Pipeline] } [2024-08-28T05:17:31.755Z] $ docker exec --env ******** --env ******** 93bdfb4fee6f9c32a6fc44915c9dceca90063c0a7bf9c6ccb5f396c33d5ac59f ssh-agent -k [2024-08-28T05:17:31.847Z] unset SSH_AUTH_SOCK; [2024-08-28T05:17:31.847Z] unset SSH_AGENT_PID; [2024-08-28T05:17:31.848Z] echo Agent pid 77 killed; [2024-08-28T05:17:31.859Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-08-28T05:17:32.319Z] + git semver [Pipeline] } [2024-08-28T05:17:32.604Z] $ docker stop --time=1 93bdfb4fee6f9c32a6fc44915c9dceca90063c0a7bf9c6ccb5f396c33d5ac59f [2024-08-28T05:17:33.886Z] $ docker rm -f --volumes 93bdfb4fee6f9c32a6fc44915c9dceca90063c0a7bf9c6ccb5f396c33d5ac59f [Pipeline] // withDockerContainer [Pipeline] sh [2024-08-28T05:17:34.316Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-08-28T05:17:34.632Z] Stashed 1 file(s) [Pipeline] echo [2024-08-28T05:17:34.659Z] [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 [2024-08-28T05:17:35.391Z] provisioning config files... [2024-08-28T05:17:35.401Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-569@tmp/config7473740277774983059tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-08-28T05:17:35.779Z] ---> ****-login.sh [2024-08-28T05:17:35.779Z] nexus3.edgexfoundry.org:10001 [2024-08-28T05:17:35.779Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-28T05:17:35.779Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-28T05:17:35.779Z] Configure a credential helper to remove this warning. See [2024-08-28T05:17:35.779Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-28T05:17:35.779Z] [2024-08-28T05:17:35.779Z] Login Succeeded [2024-08-28T05:17:35.779Z] nexus3.edgexfoundry.org:10002 [2024-08-28T05:17:35.779Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-28T05:17:35.779Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-28T05:17:35.779Z] Configure a credential helper to remove this warning. See [2024-08-28T05:17:35.779Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-28T05:17:35.779Z] [2024-08-28T05:17:35.779Z] Login Succeeded [2024-08-28T05:17:35.779Z] nexus3.edgexfoundry.org:10003 [2024-08-28T05:17:36.038Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-28T05:17:36.038Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-28T05:17:36.038Z] Configure a credential helper to remove this warning. See [2024-08-28T05:17:36.038Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-28T05:17:36.038Z] [2024-08-28T05:17:36.038Z] Login Succeeded [2024-08-28T05:17:36.038Z] nexus3.edgexfoundry.org:10004 [2024-08-28T05:17:36.038Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-28T05:17:36.038Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-28T05:17:36.038Z] Configure a credential helper to remove this warning. See [2024-08-28T05:17:36.038Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-28T05:17:36.038Z] [2024-08-28T05:17:36.038Z] Login Succeeded [2024-08-28T05:17:36.038Z] ****.io [2024-08-28T05:17:36.297Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-28T05:17:36.297Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-28T05:17:36.298Z] Configure a credential helper to remove this warning. See [2024-08-28T05:17:36.298Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-28T05:17:36.298Z] [2024-08-28T05:17:36.298Z] Login Succeeded [2024-08-28T05:17:36.298Z] ---> ****-login.sh ends [Pipeline] } [2024-08-28T05:17:36.332Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-08-28T05:17:36.574Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-08-28T05:17:36.626Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-08-28T05:17:36.679Z] ========================================================= [2024-08-28T05:17:36.679Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2024-08-28T05:17:36.679Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-28T05:17:37.213Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2024-08-28T05:17:37.213Z] Sending build context to Docker daemon 17.92MB [2024-08-28T05:17:37.213Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2024-08-28T05:17:37.213Z] Step 2/10 : FROM ${BASE} AS builder [2024-08-28T05:17:37.213Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2024-08-28T05:17:37.213Z] 619be1103602: Pulling fs layer [2024-08-28T05:17:37.213Z] 7862e08f4a3e: Pulling fs layer [2024-08-28T05:17:37.213Z] 5df492c9dc93: Pulling fs layer [2024-08-28T05:17:37.213Z] 7629e6793208: Pulling fs layer [2024-08-28T05:17:37.213Z] 4f4fb700ef54: Pulling fs layer [2024-08-28T05:17:37.213Z] fb5054dd5b73: Pulling fs layer [2024-08-28T05:17:37.213Z] eeca6798cff9: Pulling fs layer [2024-08-28T05:17:37.213Z] aa269ceb94a6: Pulling fs layer [2024-08-28T05:17:37.213Z] ada007ff1a6a: Pulling fs layer [2024-08-28T05:17:37.213Z] fb5054dd5b73: Waiting [2024-08-28T05:17:37.213Z] eeca6798cff9: Waiting [2024-08-28T05:17:37.213Z] aa269ceb94a6: Waiting [2024-08-28T05:17:37.213Z] ada007ff1a6a: Waiting [2024-08-28T05:17:37.213Z] 7629e6793208: Waiting [2024-08-28T05:17:37.213Z] 4f4fb700ef54: Waiting [2024-08-28T05:17:37.472Z] 7862e08f4a3e: Verifying Checksum [2024-08-28T05:17:37.472Z] 7862e08f4a3e: Download complete [2024-08-28T05:17:37.472Z] 7629e6793208: Download complete [2024-08-28T05:17:37.472Z] 4f4fb700ef54: Download complete [2024-08-28T05:17:37.472Z] fb5054dd5b73: Verifying Checksum [2024-08-28T05:17:37.472Z] fb5054dd5b73: Download complete [2024-08-28T05:17:37.472Z] 619be1103602: Verifying Checksum [2024-08-28T05:17:37.472Z] 619be1103602: Download complete [2024-08-28T05:17:37.472Z] eeca6798cff9: Verifying Checksum [2024-08-28T05:17:37.472Z] eeca6798cff9: Download complete [2024-08-28T05:17:37.472Z] 619be1103602: Pull complete [2024-08-28T05:17:37.732Z] ada007ff1a6a: Verifying Checksum [2024-08-28T05:17:37.732Z] ada007ff1a6a: Download complete [2024-08-28T05:17:37.732Z] 7862e08f4a3e: Pull complete [2024-08-28T05:17:37.732Z] 5df492c9dc93: Verifying Checksum [2024-08-28T05:17:37.732Z] 5df492c9dc93: Download complete [2024-08-28T05:17:38.299Z] aa269ceb94a6: Verifying Checksum [2024-08-28T05:17:38.299Z] aa269ceb94a6: Download complete [2024-08-28T05:17:41.591Z] 5df492c9dc93: Pull complete [2024-08-28T05:17:41.591Z] 7629e6793208: Pull complete [2024-08-28T05:17:41.591Z] 4f4fb700ef54: Pull complete [2024-08-28T05:17:41.591Z] fb5054dd5b73: Pull complete [2024-08-28T05:17:41.591Z] eeca6798cff9: Pull complete [2024-08-28T05:17:44.128Z] aa269ceb94a6: Pull complete [2024-08-28T05:17:44.128Z] ada007ff1a6a: Pull complete [2024-08-28T05:17:44.128Z] Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 [2024-08-28T05:17:44.387Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2024-08-28T05:17:44.387Z] ---> f489d0715acc [2024-08-28T05:17:44.387Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2024-08-28T05:17:45.765Z] ---> Running in e40b4e2353e9 [2024-08-28T05:17:45.765Z] Removing intermediate container e40b4e2353e9 [2024-08-28T05:17:45.765Z] ---> 16395677473a [2024-08-28T05:17:45.765Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-08-28T05:17:45.765Z] ---> Running in bbf573571d9c [2024-08-28T05:17:46.025Z] Removing intermediate container bbf573571d9c [2024-08-28T05:17:46.025Z] ---> 0420ca0238e7 [2024-08-28T05:17:46.025Z] Step 5/10 : RUN apk add --update --no-cache make git openssh [2024-08-28T05:17:46.025Z] ---> Running in d63619b0fd11 [2024-08-28T05:17:46.285Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-08-28T05:17:46.285Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-08-28T05:17:46.545Z] (1/8) Installing openssh-keygen (9.3_p2-r2) [2024-08-28T05:17:46.805Z] (2/8) Installing libedit (20221030.3.1-r1) [2024-08-28T05:17:46.805Z] (3/8) Installing openssh-client-common (9.3_p2-r2) [2024-08-28T05:17:46.805Z] (4/8) Installing openssh-client-default (9.3_p2-r2) [2024-08-28T05:17:46.805Z] (5/8) Installing openssh-sftp-server (9.3_p2-r2) [2024-08-28T05:17:46.805Z] (6/8) Installing openssh-server-common (9.3_p2-r2) [2024-08-28T05:17:46.805Z] (7/8) Installing openssh-server (9.3_p2-r2) [2024-08-28T05:17:46.805Z] (8/8) Installing openssh (9.3_p2-r2) [2024-08-28T05:17:46.805Z] Executing busybox-1.36.1-r5.trigger [2024-08-28T05:17:46.805Z] OK: 270 MiB in 60 packages [2024-08-28T05:17:47.064Z] Removing intermediate container d63619b0fd11 [2024-08-28T05:17:47.064Z] ---> 45c0f338b3b7 [2024-08-28T05:17:47.064Z] Step 6/10 : WORKDIR /device-modbus-go [2024-08-28T05:17:47.064Z] ---> Running in 507cb214a58f [2024-08-28T05:17:47.322Z] Removing intermediate container 507cb214a58f [2024-08-28T05:17:47.322Z] ---> b005e30d9aa7 [2024-08-28T05:17:47.322Z] Step 7/10 : COPY go.mod vendor* ./ [2024-08-28T05:17:47.322Z] ---> b78a2c7d91fe [2024-08-28T05:17:47.322Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-08-28T05:17:47.322Z] ---> Running in 3b6041abc24d [2024-08-28T05:17:50.172Z] Still waiting to schedule task [2024-08-28T05:17:50.172Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2024-08-28T05:18:43.579Z] Removing intermediate container 3b6041abc24d [2024-08-28T05:18:43.579Z] ---> 64bee4316fdb [2024-08-28T05:18:43.579Z] Step 9/10 : COPY . . [2024-08-28T05:18:43.846Z] ---> 78c7abe5068c [2024-08-28T05:18:43.846Z] Step 10/10 : RUN ${MAKE} [2024-08-28T05:18:43.846Z] ---> Running in 306f9644c7fd [2024-08-28T05:18:44.112Z] noop [2024-08-28T05:18:44.482Z] Removing intermediate container 306f9644c7fd [2024-08-28T05:18:44.482Z] ---> 4299402ee7e4 [2024-08-28T05:18:44.482Z] Successfully built 4299402ee7e4 [2024-08-28T05:18:44.482Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-28T05:18:44.973Z] + docker inspect -f . ci-base-image-x86_64 [2024-08-28T05:18:44.973Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-08-28T05:18:45.161Z] prd-ubuntu20.04-docker-8c-8g-8901 does not seem to be running inside a container [2024-08-28T05:18:45.193Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-569 -v /w/workspace/xfoundry_device-modbus-go_PR-569:/w/workspace/xfoundry_device-modbus-go_PR-569:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-569@tmp:/w/workspace/xfoundry_device-modbus-go_PR-569@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-08-28T05:18:45.532Z] $ docker top 9574a2e726b35c3dd61405acdb37f89bd776d1999daf2265610258c82daa6c40 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-08-28T05:18:45.946Z] + go version [2024-08-28T05:18:45.946Z] go version go1.21.9 linux/amd64 [Pipeline] } [2024-08-28T05:18:45.985Z] $ docker stop --time=1 9574a2e726b35c3dd61405acdb37f89bd776d1999daf2265610258c82daa6c40 [2024-08-28T05:18:47.267Z] $ docker rm -f --volumes 9574a2e726b35c3dd61405acdb37f89bd776d1999daf2265610258c82daa6c40 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-28T05:18:48.066Z] + docker inspect -f . ci-base-image-x86_64 [2024-08-28T05:18:48.066Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-08-28T05:18:48.237Z] prd-ubuntu20.04-docker-8c-8g-8901 does not seem to be running inside a container [2024-08-28T05:18:48.266Z] $ 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-569 -v /w/workspace/xfoundry_device-modbus-go_PR-569:/w/workspace/xfoundry_device-modbus-go_PR-569:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-569@tmp:/w/workspace/xfoundry_device-modbus-go_PR-569@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-08-28T05:18:48.586Z] $ docker top 8667dc46d786e5ba4c3969c6af7a8832fd3012aa4e4b3dd1ef9f14a28d01c3b6 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-08-28T05:18:48.996Z] + git config --global --add safe.directory /w/workspace/xfoundry_device-modbus-go_PR-569 [Pipeline] fileExists [Pipeline] sh [2024-08-28T05:18:49.365Z] + make test [2024-08-28T05:18:49.365Z] go test ./... -coverprofile=coverage.out [2024-08-28T05:18:50.301Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2024-08-28T05:19:08.576Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2024-08-28T05:19:08.576Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.010s coverage: 47.9% of statements [2024-08-28T05:19:18.551Z] go vet ./... [2024-08-28T05:19:23.816Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-08-28T05:19:23.816Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-08-28T05:19:23.816Z] ./bin/test-attribution-txt.sh [2024-08-28T05:19:23.816Z] An attribution for github.com/panjf2000/ants/v2 is missing from Attribution.txt, please add [Pipeline] echo [2024-08-28T05:19:23.860Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-08-28T05:19:23.900Z] $ docker stop --time=1 8667dc46d786e5ba4c3969c6af7a8832fd3012aa4e4b3dd1ef9f14a28d01c3b6 [2024-08-28T05:19:25.997Z] $ docker rm -f --volumes 8667dc46d786e5ba4c3969c6af7a8832fd3012aa4e4b3dd1ef9f14a28d01c3b6 [Pipeline] // withDockerContainer [Pipeline] sh [2024-08-28T05:19:26.626Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-08-28T05:19:26.700Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2024-08-28T05:19:27.409Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-08-28T05:19:27.723Z] + ls -al . [2024-08-28T05:19:27.723Z] total 272 [2024-08-28T05:19:27.723Z] drwxrwxr-x 9 jenkins jenkins 4096 Aug 28 05:18 . [2024-08-28T05:19:27.723Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 28 05:17 .. [2024-08-28T05:19:27.723Z] -rw-rw-r-- 1 jenkins jenkins 140 Aug 28 05:17 .dockerignore [2024-08-28T05:19:27.723Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 28 05:19 .git [2024-08-28T05:19:27.723Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 28 05:17 .github [2024-08-28T05:19:27.723Z] -rw-rw-r-- 1 jenkins jenkins 266 Aug 28 05:17 .gitignore [2024-08-28T05:19:27.723Z] -rw-rw-r-- 1 jenkins jenkins 41 Aug 28 05:17 .golangci.yml [2024-08-28T05:19:27.723Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 28 05:17 .semver [2024-08-28T05:19:27.723Z] -rw-rw-r-- 1 jenkins jenkins 19432 Aug 28 05:17 Attribution.txt [2024-08-28T05:19:27.723Z] -rw-rw-r-- 1 jenkins jenkins 16388 Aug 28 05:17 CHANGELOG.md [2024-08-28T05:19:27.723Z] -rw-rw-r-- 1 jenkins jenkins 1474 Aug 28 05:17 Dockerfile [2024-08-28T05:19:27.723Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 28 05:17 GOVERNANCE.md [2024-08-28T05:19:27.723Z] -rw-rw-r-- 1 jenkins jenkins 658 Aug 28 05:17 Jenkinsfile [2024-08-28T05:19:27.723Z] -rw-rw-r-- 1 jenkins jenkins 11340 Aug 28 05:17 LICENSE [2024-08-28T05:19:27.723Z] -rw-rw-r-- 1 jenkins jenkins 1942 Aug 28 05:17 Makefile [2024-08-28T05:19:27.723Z] -rw-rw-r-- 1 jenkins jenkins 622 Aug 28 05:17 OWNERS.md [2024-08-28T05:19:27.723Z] -rw-rw-r-- 1 jenkins jenkins 4463 Aug 28 05:17 README.md [2024-08-28T05:19:27.723Z] -rw-rw-r-- 1 jenkins jenkins 5 Aug 28 05:17 VERSION [2024-08-28T05:19:27.723Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 28 05:17 bin [2024-08-28T05:19:27.723Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 28 05:17 cmd [2024-08-28T05:19:27.723Z] -rw-r--r-- 1 jenkins jenkins 24601 Aug 28 05:19 coverage.out [2024-08-28T05:19:27.723Z] -rw-rw-r-- 1 jenkins jenkins 7185 Aug 28 05:17 go.mod [2024-08-28T05:19:27.723Z] -rw-rw-r-- 1 jenkins jenkins 102015 Aug 28 05:17 go.sum [2024-08-28T05:19:27.723Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 28 05:17 internal [2024-08-28T05:19:27.723Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 28 05:17 simulator [2024-08-28T05:19:27.723Z] -rw-rw-r-- 1 jenkins jenkins 229 Aug 28 05:17 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-28T05:19:28.149Z] + 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=75b0587f3cdc21a8298e8948d997cbf90c92cd6e --label arch=amd64 --label version=0.0.0 . [2024-08-28T05:19:28.149Z] Sending build context to Docker daemon 17.94MB [2024-08-28T05:19:28.149Z] Step 1/23 : ARG BASE=golang:1.21-alpine3.18 [2024-08-28T05:19:28.149Z] Step 2/23 : FROM ${BASE} AS builder [2024-08-28T05:19:28.149Z] ---> 4299402ee7e4 [2024-08-28T05:19:28.149Z] Step 3/23 : ARG ADD_BUILD_TAGS="" [2024-08-28T05:19:28.149Z] ---> Running in a507b4306667 [2024-08-28T05:19:28.407Z] Removing intermediate container a507b4306667 [2024-08-28T05:19:28.407Z] ---> 825079be6770 [2024-08-28T05:19:28.407Z] Step 4/23 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-08-28T05:19:28.407Z] ---> Running in 60f510c8c11b [2024-08-28T05:19:28.407Z] Removing intermediate container 60f510c8c11b [2024-08-28T05:19:28.407Z] ---> e94542c3b376 [2024-08-28T05:19:28.407Z] Step 5/23 : RUN apk add --update --no-cache make git openssh [2024-08-28T05:19:28.407Z] ---> Running in 25a872da2aea [2024-08-28T05:19:28.665Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-08-28T05:19:28.923Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-08-28T05:19:29.182Z] OK: 270 MiB in 60 packages [2024-08-28T05:19:29.439Z] Removing intermediate container 25a872da2aea [2024-08-28T05:19:29.439Z] ---> 44eaba31d1d5 [2024-08-28T05:19:29.439Z] Step 6/23 : WORKDIR /device-modbus-go [2024-08-28T05:19:29.439Z] ---> Running in 9603f17fef46 [2024-08-28T05:19:29.439Z] Removing intermediate container 9603f17fef46 [2024-08-28T05:19:29.439Z] ---> 3b4d7d80109a [2024-08-28T05:19:29.439Z] Step 7/23 : COPY go.mod vendor* ./ [2024-08-28T05:19:29.696Z] ---> 7e5890200fbe [2024-08-28T05:19:29.696Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-08-28T05:19:29.696Z] ---> Running in 9cf05a979e63 [2024-08-28T05:19:30.260Z] Removing intermediate container 9cf05a979e63 [2024-08-28T05:19:30.260Z] ---> e19d1d5cd517 [2024-08-28T05:19:30.260Z] Step 9/23 : COPY . . [2024-08-28T05:19:30.824Z] ---> 444ce3365887 [2024-08-28T05:19:30.824Z] Step 10/23 : RUN ${MAKE} [2024-08-28T05:19:30.824Z] ---> Running in dcb4ca5ba1ea [2024-08-28T05:19:31.082Z] CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-modbus-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.34" -trimpath -mod=readonly -o cmd/device-modbus ./cmd [2024-08-28T05:19:36.586Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-8903 in /w/workspace/xfoundry_device-modbus-go_PR-569 [Pipeline] { [Pipeline] ws [2024-08-28T05:19:36.662Z] Running in /w/workspace/device-modbus-go/1 [Pipeline] { [Pipeline] checkout [2024-08-28T05:19:39.777Z] The recommended git tool is: git [2024-08-28T05:19:46.770Z] using credential edgex-jenkins-ssh [2024-08-28T05:19:46.792Z] Cloning the remote Git repository [2024-08-28T05:19:46.839Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2024-08-28T05:19:46.953Z] > git init /w/workspace/device-modbus-go/1 # timeout=10 [2024-08-28T05:19:47.231Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2024-08-28T05:19:47.232Z] > git --version # timeout=10 [2024-08-28T05:19:47.281Z] > git --version # 'git version 2.25.1' [2024-08-28T05:19:47.284Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-08-28T05:19:47.549Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-08-28T05:19:49.660Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2024-08-28T05:19:49.704Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-08-28T05:19:51.421Z] Merging remotes/origin/main commit d9d7c9445bd01df0ee4a07f33637a5782cac6865 into PR head commit 75b0587f3cdc21a8298e8948d997cbf90c92cd6e [2024-08-28T05:19:51.721Z] Merge succeeded, producing 75b0587f3cdc21a8298e8948d997cbf90c92cd6e [2024-08-28T05:19:51.722Z] Checking out Revision 75b0587f3cdc21a8298e8948d997cbf90c92cd6e (PR-569) [2024-08-28T05:19:50.734Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2024-08-28T05:19:50.804Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2024-08-28T05:19:50.805Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-08-28T05:19:50.835Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/569/head:refs/remotes/origin/PR-569 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2024-08-28T05:19:51.436Z] > git config core.sparsecheckout # timeout=10 [2024-08-28T05:19:51.496Z] > git checkout -f 75b0587f3cdc21a8298e8948d997cbf90c92cd6e # timeout=10 [2024-08-28T05:19:51.583Z] > git remote # timeout=10 [2024-08-28T05:19:51.600Z] > git config --get remote.origin.url # timeout=10 [2024-08-28T05:19:51.624Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-08-28T05:19:51.666Z] > git merge d9d7c9445bd01df0ee4a07f33637a5782cac6865 # timeout=10 [2024-08-28T05:19:51.703Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-08-28T05:19:51.726Z] > git config core.sparsecheckout # timeout=10 [2024-08-28T05:19:51.739Z] > git checkout -f 75b0587f3cdc21a8298e8948d997cbf90c92cd6e # timeout=10 [2024-08-28T05:19:52.323Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" [2024-08-28T05:19:52.367Z] > git --version # timeout=10 [2024-08-28T05:19:52.378Z] > git --version # 'git version 2.25.1' [2024-08-28T05:19:52.392Z] fatal: bad object f3350a1713306dce7682ed7e37d5774890d03277 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-08-28T05:19:57.317Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-08-28T05:19:57.317Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-08-28T05:19:57.317Z] Dload Upload Total Spent Left Speed [2024-08-28T05:19:57.317Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 103k 0 --:--:-- --:--:-- --:--:-- 103k [Pipeline] sh [2024-08-28T05:19:57.606Z] Removing intermediate container dcb4ca5ba1ea [2024-08-28T05:19:57.607Z] ---> 51bfc8dcc0b1 [2024-08-28T05:19:57.607Z] Step 11/23 : FROM alpine:3.18 [2024-08-28T05:19:57.607Z] 3.18: Pulling from library/alpine [2024-08-28T05:19:57.607Z] 930bdd4d222e: Pulling fs layer [2024-08-28T05:19:57.607Z] 930bdd4d222e: Download complete [2024-08-28T05:19:57.607Z] 930bdd4d222e: Pull complete [2024-08-28T05:19:57.607Z] Digest: sha256:5292533eb4efd4b5cf35e93b5a2b7d0e07ea193224c49446c7802c19ee4f2da5 [2024-08-28T05:19:57.607Z] Status: Downloaded newer image for alpine:3.18 [2024-08-28T05:19:57.607Z] ---> 18f865063206 [2024-08-28T05:19:57.607Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2024-08-28T05:19:57.607Z] ---> Running in fd5696930ff1 [2024-08-28T05:19:57.607Z] Removing intermediate container fd5696930ff1 [2024-08-28T05:19:57.607Z] ---> 338bab216195 [2024-08-28T05:19:57.607Z] Step 13/23 : RUN apk add --update --no-cache dumb-init [2024-08-28T05:19:57.607Z] ---> Running in 9d3f24ae05a5 [2024-08-28T05:19:57.607Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-08-28T05:19:57.607Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-08-28T05:19:57.607Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-08-28T05:19:57.607Z] Executing busybox-1.36.1-r7.trigger [2024-08-28T05:19:57.607Z] OK: 7 MiB in 16 packages [2024-08-28T05:19:57.607Z] Removing intermediate container 9d3f24ae05a5 [2024-08-28T05:19:57.607Z] ---> 2b8a43df5c4c [2024-08-28T05:19:57.607Z] Step 14/23 : RUN apk --no-cache upgrade [2024-08-28T05:19:57.607Z] ---> Running in de32595f9d26 [2024-08-28T05:19:57.607Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-08-28T05:19:57.684Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-08-28T05:19:57.865Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-08-28T05:19:57.866Z] OK: 7 MiB in 16 packages [2024-08-28T05:19:58.034Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2024-08-28T05:19:58.034Z] + sudo tee /etc/docker/daemon.new [2024-08-28T05:19:58.034Z] { [2024-08-28T05:19:58.034Z] "registry-mirrors": [ [2024-08-28T05:19:58.034Z] "https://nexus3.edgexfoundry.org:10001" [2024-08-28T05:19:58.034Z] ], [2024-08-28T05:19:58.034Z] "bip": "10.250.0.254/24", [2024-08-28T05:19:58.034Z] "hosts": [ [2024-08-28T05:19:58.034Z] "tcp://0.0.0.0:5555", [2024-08-28T05:19:58.034Z] "unix:///var/run/docker.sock" [2024-08-28T05:19:58.034Z] ], [2024-08-28T05:19:58.034Z] "mtu": 1458, [2024-08-28T05:19:58.034Z] "selinux-enabled": true, [2024-08-28T05:19:58.034Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-08-28T05:19:58.034Z] } [Pipeline] sh [2024-08-28T05:19:58.383Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-08-28T05:19:58.431Z] Removing intermediate container de32595f9d26 [2024-08-28T05:19:58.431Z] ---> 4cbaa9442e40 [2024-08-28T05:19:58.431Z] Step 15/23 : COPY --from=builder /device-modbus-go/cmd / [2024-08-28T05:19:58.689Z] ---> b5546e6e387e [2024-08-28T05:19:58.689Z] Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / [2024-08-28T05:19:58.736Z] + sudo service docker restart [2024-08-28T05:19:58.947Z] ---> 68d46ef6ae0e [2024-08-28T05:19:58.947Z] Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / [2024-08-28T05:19:58.947Z] ---> afb8546efc88 [2024-08-28T05:19:58.947Z] Step 18/23 : EXPOSE 59901 [2024-08-28T05:19:58.947Z] ---> Running in cd71a4fb728d [2024-08-28T05:19:58.947Z] Removing intermediate container cd71a4fb728d [2024-08-28T05:19:58.947Z] ---> f2c60b5addb2 [2024-08-28T05:19:58.947Z] Step 19/23 : ENTRYPOINT ["/device-modbus"] [2024-08-28T05:19:59.205Z] ---> Running in 5c9fc1f7212f [2024-08-28T05:19:59.205Z] Removing intermediate container 5c9fc1f7212f [2024-08-28T05:19:59.205Z] ---> ab105d839842 [2024-08-28T05:19:59.205Z] Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2024-08-28T05:19:59.205Z] ---> Running in 1ea0cf638b66 [2024-08-28T05:19:59.205Z] Removing intermediate container 1ea0cf638b66 [2024-08-28T05:19:59.205Z] ---> e0ad7117b46d [2024-08-28T05:19:59.205Z] Step 21/23 : LABEL arch=amd64 [2024-08-28T05:19:59.205Z] ---> Running in f41758630f4b [2024-08-28T05:19:59.463Z] Removing intermediate container f41758630f4b [2024-08-28T05:19:59.463Z] ---> 63ac02b44c0d [2024-08-28T05:19:59.463Z] Step 22/23 : LABEL git_sha=75b0587f3cdc21a8298e8948d997cbf90c92cd6e [2024-08-28T05:19:59.463Z] ---> Running in 95591dc33f9d [2024-08-28T05:19:59.463Z] Removing intermediate container 95591dc33f9d [2024-08-28T05:19:59.463Z] ---> a23eb009f911 [2024-08-28T05:19:59.463Z] Step 23/23 : LABEL version=0.0.0 [2024-08-28T05:19:59.463Z] ---> Running in ab92418dbb15 [2024-08-28T05:19:59.463Z] Removing intermediate container ab92418dbb15 [2024-08-28T05:19:59.463Z] ---> a2b84b61926b [2024-08-28T05:19:59.463Z] [Warning] One or more build-args [ARCH] were not consumed [2024-08-28T05:19:59.463Z] Successfully built a2b84b61926b [2024-08-28T05:19:59.463Z] 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] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-28T05:20:00.458Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-08-28T05:20:00.458Z] [2024-08-28T05:20:00.458Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-28T05:20:00.851Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-08-28T05:20:00.852Z] latest: Pulling from edgex-lftools-log-publisher [2024-08-28T05:20:00.852Z] 5eb5b503b376: Pulling fs layer [2024-08-28T05:20:00.852Z] 5c69ac0246d0: Pulling fs layer [2024-08-28T05:20:00.852Z] ec43610c2a17: Pulling fs layer [2024-08-28T05:20:00.852Z] 3a2ae6a8a46f: Pulling fs layer [2024-08-28T05:20:00.852Z] 33b1e0a273af: Pulling fs layer [2024-08-28T05:20:00.852Z] 5d3b04190fa2: Pulling fs layer [2024-08-28T05:20:00.852Z] 2f39f015ded8: Pulling fs layer [2024-08-28T05:20:00.852Z] 33b1e0a273af: Waiting [2024-08-28T05:20:00.852Z] 5d3b04190fa2: Waiting [2024-08-28T05:20:00.852Z] 2f39f015ded8: Waiting [2024-08-28T05:20:00.852Z] 5c69ac0246d0: Download complete [2024-08-28T05:20:00.852Z] 3a2ae6a8a46f: Verifying Checksum [2024-08-28T05:20:00.852Z] 3a2ae6a8a46f: Download complete [2024-08-28T05:20:00.852Z] 33b1e0a273af: Verifying Checksum [2024-08-28T05:20:00.852Z] 33b1e0a273af: Download complete [2024-08-28T05:20:00.852Z] 5d3b04190fa2: Verifying Checksum [2024-08-28T05:20:00.852Z] 5d3b04190fa2: Download complete [2024-08-28T05:20:00.852Z] ec43610c2a17: Verifying Checksum [2024-08-28T05:20:00.852Z] ec43610c2a17: Download complete [2024-08-28T05:20:01.115Z] 5eb5b503b376: Verifying Checksum [2024-08-28T05:20:01.115Z] 5eb5b503b376: Download complete [2024-08-28T05:20:01.683Z] 2f39f015ded8: Download complete [2024-08-28T05:20:02.248Z] 5eb5b503b376: Pull complete [2024-08-28T05:20:02.248Z] 5c69ac0246d0: Pull complete [2024-08-28T05:20:02.812Z] ec43610c2a17: Pull complete [2024-08-28T05:20:02.812Z] 3a2ae6a8a46f: Pull complete [2024-08-28T05:20:03.069Z] 33b1e0a273af: Pull complete [2024-08-28T05:20:03.069Z] 5d3b04190fa2: Pull complete [2024-08-28T05:20:07.248Z] 2f39f015ded8: Pull complete [2024-08-28T05:20:07.248Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-08-28T05:20:07.248Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-08-28T05:20:07.248Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-08-28T05:20:07.493Z] prd-ubuntu20.04-docker-8c-8g-8901 does not seem to be running inside a container [2024-08-28T05:20:07.515Z] $ 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-569 -v /w/workspace/xfoundry_device-modbus-go_PR-569:/w/workspace/xfoundry_device-modbus-go_PR-569:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-569@tmp:/w/workspace/xfoundry_device-modbus-go_PR-569@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-08-28T05:20:09.000Z] $ docker top 5675c1a327c17bc58becc3a9eeb136e9452224ff05cf7bc52fbcde0c643d2ca9 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-08-28T05:20:09.492Z] ---> job-cost.sh [2024-08-28T05:20:09.492Z] lf-activate-venv: SKIPPING [2024-08-28T05:20:09.492Z] INFO: No Stack... [2024-08-28T05:20:09.755Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-08-28T05:20:10.015Z] INFO: Archiving Costs [Pipeline] sh [2024-08-28T05:20:10.353Z] + cat /w/workspace/xfoundry_device-modbus-go_PR-569/archives/cost.csv [2024-08-28T05:20:10.353Z] + cut -d, -f6 [Pipeline] lock [2024-08-28T05:20:10.403Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-modbus-go-PR-569-1-stack-cost] [2024-08-28T05:20:10.410Z] Resource [jenkins-edgexfoundry-device-modbus-go-PR-569-1-stack-cost] did not exist. Created. [2024-08-28T05:20:10.416Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-modbus-go-PR-569-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-08-28T05:20:10.842Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-08-28T05:20:10.902Z] Stashed 1 file(s) [Pipeline] } [2024-08-28T05:20:10.949Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-modbus-go-PR-569-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-08-28T05:20:11.047Z] $ docker stop --time=1 5675c1a327c17bc58becc3a9eeb136e9452224ff05cf7bc52fbcde0c643d2ca9 [2024-08-28T05:20:12.204Z] $ docker rm -f --volumes 5675c1a327c17bc58becc3a9eeb136e9452224ff05cf7bc52fbcde0c643d2ca9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-08-28T05:20:17.195Z] provisioning config files... [2024-08-28T05:20:17.239Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/1@tmp/config14133482575487094362tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-08-28T05:20:17.754Z] ---> ****-login.sh [2024-08-28T05:20:17.754Z] nexus3.edgexfoundry.org:10001 [2024-08-28T05:20:18.028Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-28T05:20:18.296Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-28T05:20:18.296Z] Configure a credential helper to remove this warning. See [2024-08-28T05:20:18.296Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-28T05:20:18.296Z] [2024-08-28T05:20:18.296Z] Login Succeeded [2024-08-28T05:20:18.296Z] nexus3.edgexfoundry.org:10002 [2024-08-28T05:20:18.563Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-28T05:20:18.836Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-28T05:20:18.836Z] Configure a credential helper to remove this warning. See [2024-08-28T05:20:18.836Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-28T05:20:18.836Z] [2024-08-28T05:20:18.836Z] Login Succeeded [2024-08-28T05:20:18.836Z] nexus3.edgexfoundry.org:10003 [2024-08-28T05:20:19.110Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-28T05:20:19.110Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-28T05:20:19.110Z] Configure a credential helper to remove this warning. See [2024-08-28T05:20:19.110Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-28T05:20:19.110Z] [2024-08-28T05:20:19.110Z] Login Succeeded [2024-08-28T05:20:19.110Z] nexus3.edgexfoundry.org:10004 [2024-08-28T05:20:19.389Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-28T05:20:19.389Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-28T05:20:19.389Z] Configure a credential helper to remove this warning. See [2024-08-28T05:20:19.389Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-28T05:20:19.389Z] [2024-08-28T05:20:19.389Z] Login Succeeded [2024-08-28T05:20:19.389Z] ****.io [2024-08-28T05:20:19.656Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-28T05:20:19.923Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-28T05:20:19.923Z] Configure a credential helper to remove this warning. See [2024-08-28T05:20:19.923Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-28T05:20:19.923Z] [2024-08-28T05:20:19.923Z] Login Succeeded [2024-08-28T05:20:19.923Z] ---> ****-login.sh ends [Pipeline] } [2024-08-28T05:20:19.961Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-08-28T05:20:20.381Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-08-28T05:20:20.433Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-08-28T05:20:20.484Z] ========================================================= [2024-08-28T05:20:20.484Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2024-08-28T05:20:20.484Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-28T05:20:21.029Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2024-08-28T05:20:21.299Z] Sending build context to Docker daemon 9.092MB [2024-08-28T05:20:21.299Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2024-08-28T05:20:21.299Z] Step 2/10 : FROM ${BASE} AS builder [2024-08-28T05:20:21.581Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-08-28T05:20:21.581Z] c6b39de5b339: Pulling fs layer [2024-08-28T05:20:21.581Z] a69c41024577: Pulling fs layer [2024-08-28T05:20:21.581Z] d6de4b400683: Pulling fs layer [2024-08-28T05:20:21.581Z] 35cb2a7552d0: Pulling fs layer [2024-08-28T05:20:21.581Z] 4f4fb700ef54: Pulling fs layer [2024-08-28T05:20:21.581Z] 464afbd9ba4c: Pulling fs layer [2024-08-28T05:20:21.581Z] 00f215d4a9da: Pulling fs layer [2024-08-28T05:20:21.581Z] d496ad576159: Pulling fs layer [2024-08-28T05:20:21.581Z] 464afbd9ba4c: Waiting [2024-08-28T05:20:21.581Z] 00f215d4a9da: Waiting [2024-08-28T05:20:21.581Z] d496ad576159: Waiting [2024-08-28T05:20:21.581Z] 35cb2a7552d0: Waiting [2024-08-28T05:20:21.581Z] 4f4fb700ef54: Waiting [2024-08-28T05:20:21.581Z] a69c41024577: Download complete [2024-08-28T05:20:21.581Z] 35cb2a7552d0: Verifying Checksum [2024-08-28T05:20:21.581Z] 35cb2a7552d0: Download complete [2024-08-28T05:20:21.581Z] 4f4fb700ef54: Verifying Checksum [2024-08-28T05:20:21.581Z] 4f4fb700ef54: Download complete [2024-08-28T05:20:21.581Z] c6b39de5b339: Download complete [2024-08-28T05:20:21.581Z] 464afbd9ba4c: Verifying Checksum [2024-08-28T05:20:21.581Z] 464afbd9ba4c: Download complete [2024-08-28T05:20:22.191Z] d496ad576159: Verifying Checksum [2024-08-28T05:20:22.191Z] d496ad576159: Download complete [2024-08-28T05:20:22.461Z] c6b39de5b339: Pull complete [2024-08-28T05:20:23.049Z] a69c41024577: Pull complete [2024-08-28T05:20:23.639Z] d6de4b400683: Verifying Checksum [2024-08-28T05:20:23.639Z] d6de4b400683: Download complete [2024-08-28T05:20:24.612Z] 00f215d4a9da: Verifying Checksum [2024-08-28T05:20:24.612Z] 00f215d4a9da: Download complete [2024-08-28T05:20:36.938Z] d6de4b400683: Pull complete [2024-08-28T05:20:36.938Z] 35cb2a7552d0: Pull complete [2024-08-28T05:20:36.938Z] 4f4fb700ef54: Pull complete [2024-08-28T05:20:36.938Z] 464afbd9ba4c: Pull complete [2024-08-28T05:20:47.018Z] 00f215d4a9da: Pull complete [2024-08-28T05:20:47.283Z] d496ad576159: Pull complete [2024-08-28T05:20:47.283Z] Digest: sha256:94db8a0955b4c8a8fb4ef40f1d66dd6a37c55842a5f6085bb7a69a85e2cfc316 [2024-08-28T05:20:47.283Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2024-08-28T05:20:47.283Z] ---> f246e2811388 [2024-08-28T05:20:47.283Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2024-08-28T05:20:48.236Z] ---> Running in 7384b1391d28 [2024-08-28T05:20:48.515Z] Removing intermediate container 7384b1391d28 [2024-08-28T05:20:48.515Z] ---> 0a026d5324ec [2024-08-28T05:20:48.515Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-08-28T05:20:48.515Z] ---> Running in a193ecd33860 [2024-08-28T05:20:48.783Z] Removing intermediate container a193ecd33860 [2024-08-28T05:20:48.783Z] ---> 02ad252e4e92 [2024-08-28T05:20:48.783Z] Step 5/10 : RUN apk add --update --no-cache make git openssh [2024-08-28T05:20:48.783Z] ---> Running in f6eea7162673 [2024-08-28T05:20:50.191Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-08-28T05:20:50.191Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-08-28T05:20:51.146Z] (1/8) Installing openssh-keygen (9.3_p2-r2) [2024-08-28T05:20:51.146Z] (2/8) Installing libedit (20221030.3.1-r1) [2024-08-28T05:20:51.146Z] (3/8) Installing openssh-client-common (9.3_p2-r2) [2024-08-28T05:20:51.146Z] (4/8) Installing openssh-client-default (9.3_p2-r2) [2024-08-28T05:20:51.146Z] (5/8) Installing openssh-sftp-server (9.3_p2-r2) [2024-08-28T05:20:51.146Z] (6/8) Installing openssh-server-common (9.3_p2-r2) [2024-08-28T05:20:51.146Z] (7/8) Installing openssh-server (9.3_p2-r2) [2024-08-28T05:20:51.419Z] (8/8) Installing openssh (9.3_p2-r2) [2024-08-28T05:20:51.695Z] Executing busybox-1.36.1-r5.trigger [2024-08-28T05:20:51.695Z] OK: 272 MiB in 60 packages [2024-08-28T05:20:54.291Z] Removing intermediate container f6eea7162673 [2024-08-28T05:20:54.291Z] ---> 55a5cec0e845 [2024-08-28T05:20:54.291Z] Step 6/10 : WORKDIR /device-modbus-go [2024-08-28T05:20:54.291Z] ---> Running in 3f1bb40ccfb9 [2024-08-28T05:20:54.291Z] Removing intermediate container 3f1bb40ccfb9 [2024-08-28T05:20:54.291Z] ---> a5b115d7e7e1 [2024-08-28T05:20:54.291Z] Step 7/10 : COPY go.mod vendor* ./ [2024-08-28T05:20:54.882Z] ---> e2847f2e3acd [2024-08-28T05:20:54.882Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-08-28T05:20:54.882Z] ---> Running in 5490c3541cb3 [2024-08-28T05:22:46.553Z] Removing intermediate container 5490c3541cb3 [2024-08-28T05:22:46.553Z] ---> 2c507bd06dd1 [2024-08-28T05:22:46.553Z] Step 9/10 : COPY . . [2024-08-28T05:22:47.147Z] ---> 23076c7ffbff [2024-08-28T05:22:47.147Z] Step 10/10 : RUN ${MAKE} [2024-08-28T05:22:47.147Z] ---> Running in ea4a7177fcca [2024-08-28T05:22:48.104Z] noop [2024-08-28T05:22:48.688Z] Removing intermediate container ea4a7177fcca [2024-08-28T05:22:48.688Z] ---> 09a0ec0538ef [2024-08-28T05:22:48.688Z] Successfully built 09a0ec0538ef [2024-08-28T05:22:48.688Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-28T05:22:49.199Z] + docker inspect -f . ci-base-image-arm64 [2024-08-28T05:22:49.199Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-08-28T05:22:49.496Z] prd-ubuntu20.04-docker-arm64-4c-16g-8903 does not seem to be running inside a container [2024-08-28T05:22:49.553Z] $ 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 [2024-08-28T05:22:50.732Z] $ docker top 1d993b3e23bd3e843b1990c25381cef92a3fb00668a7001d9748a0c8db2bd698 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-08-28T05:22:51.618Z] + go version [2024-08-28T05:22:51.618Z] go version go1.21.9 linux/arm64 [Pipeline] } [2024-08-28T05:22:51.653Z] $ docker stop --time=1 1d993b3e23bd3e843b1990c25381cef92a3fb00668a7001d9748a0c8db2bd698 [2024-08-28T05:22:53.242Z] $ docker rm -f --volumes 1d993b3e23bd3e843b1990c25381cef92a3fb00668a7001d9748a0c8db2bd698 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-28T05:22:54.185Z] + docker inspect -f . ci-base-image-arm64 [2024-08-28T05:22:54.185Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-08-28T05:22:54.455Z] prd-ubuntu20.04-docker-arm64-4c-16g-8903 does not seem to be running inside a container [2024-08-28T05:22:54.512Z] $ 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 [2024-08-28T05:22:55.926Z] $ docker top 1dafa405b41ae081bd5d336427a8359b465dc887d04c8b72eec21eeaea9d3112 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-08-28T05:22:56.826Z] + git config --global --add safe.directory /w/workspace/device-modbus-go/1 [Pipeline] fileExists [Pipeline] sh [2024-08-28T05:22:57.239Z] + make test [2024-08-28T05:22:57.513Z] go test ./... -coverprofile=coverage.out [2024-08-28T05:23:02.885Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2024-08-28T05:26:10.742Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2024-08-28T05:26:13.339Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.055s coverage: 47.9% of statements [2024-08-28T05:26:14.299Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2024-08-28T05:26:14.299Z] go vet ./... [2024-08-28T05:27:01.165Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-08-28T05:27:01.165Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-08-28T05:27:01.165Z] ./bin/test-attribution-txt.sh [2024-08-28T05:27:01.165Z] An attribution for github.com/panjf2000/ants/v2 is missing from Attribution.txt, please add [Pipeline] echo [2024-08-28T05:27:01.211Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-08-28T05:27:01.260Z] $ docker stop --time=1 1dafa405b41ae081bd5d336427a8359b465dc887d04c8b72eec21eeaea9d3112 [2024-08-28T05:27:03.142Z] $ docker rm -f --volumes 1dafa405b41ae081bd5d336427a8359b465dc887d04c8b72eec21eeaea9d3112 [Pipeline] // withDockerContainer [Pipeline] sh [2024-08-28T05:27:04.747Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-08-28T05:27:04.790Z] Warning: overwriting stash ‘coverage-report’ [2024-08-28T05:27:05.248Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-08-28T05:27:05.878Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-08-28T05:27:06.220Z] + ls -al . [2024-08-28T05:27:06.220Z] total 268 [2024-08-28T05:27:06.220Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 28 05:23 . [2024-08-28T05:27:06.220Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 28 05:19 .. [2024-08-28T05:27:06.220Z] -rw-rw-r-- 1 jenkins jenkins 140 Aug 28 05:19 .dockerignore [2024-08-28T05:27:06.220Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 28 05:19 .git [2024-08-28T05:27:06.220Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 28 05:19 .github [2024-08-28T05:27:06.220Z] -rw-rw-r-- 1 jenkins jenkins 266 Aug 28 05:19 .gitignore [2024-08-28T05:27:06.220Z] -rw-rw-r-- 1 jenkins jenkins 41 Aug 28 05:19 .golangci.yml [2024-08-28T05:27:06.220Z] -rw-rw-r-- 1 jenkins jenkins 19432 Aug 28 05:19 Attribution.txt [2024-08-28T05:27:06.220Z] -rw-rw-r-- 1 jenkins jenkins 16388 Aug 28 05:19 CHANGELOG.md [2024-08-28T05:27:06.220Z] -rw-rw-r-- 1 jenkins jenkins 1474 Aug 28 05:19 Dockerfile [2024-08-28T05:27:06.220Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 28 05:19 GOVERNANCE.md [2024-08-28T05:27:06.220Z] -rw-rw-r-- 1 jenkins jenkins 658 Aug 28 05:19 Jenkinsfile [2024-08-28T05:27:06.220Z] -rw-rw-r-- 1 jenkins jenkins 11340 Aug 28 05:19 LICENSE [2024-08-28T05:27:06.220Z] -rw-rw-r-- 1 jenkins jenkins 1942 Aug 28 05:19 Makefile [2024-08-28T05:27:06.220Z] -rw-rw-r-- 1 jenkins jenkins 622 Aug 28 05:19 OWNERS.md [2024-08-28T05:27:06.220Z] -rw-rw-r-- 1 jenkins jenkins 4463 Aug 28 05:19 README.md [2024-08-28T05:27:06.220Z] -rw-rw-r-- 1 jenkins jenkins 5 Aug 28 05:17 VERSION [2024-08-28T05:27:06.220Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 28 05:19 bin [2024-08-28T05:27:06.220Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 28 05:19 cmd [2024-08-28T05:27:06.220Z] -rw-r--r-- 1 jenkins jenkins 24601 Aug 28 05:26 coverage.out [2024-08-28T05:27:06.220Z] -rw-rw-r-- 1 jenkins jenkins 7185 Aug 28 05:19 go.mod [2024-08-28T05:27:06.220Z] -rw-rw-r-- 1 jenkins jenkins 102015 Aug 28 05:19 go.sum [2024-08-28T05:27:06.220Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 28 05:19 internal [2024-08-28T05:27:06.220Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 28 05:19 simulator [2024-08-28T05:27:06.220Z] -rw-rw-r-- 1 jenkins jenkins 229 Aug 28 05:19 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-28T05:27:06.684Z] + 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=75b0587f3cdc21a8298e8948d997cbf90c92cd6e --label arch=arm64 --label version=0.0.0 . [2024-08-28T05:27:06.952Z] Sending build context to Docker daemon 9.117MB [2024-08-28T05:27:07.219Z] Step 1/23 : ARG BASE=golang:1.21-alpine3.18 [2024-08-28T05:27:07.219Z] Step 2/23 : FROM ${BASE} AS builder [2024-08-28T05:27:07.219Z] ---> 09a0ec0538ef [2024-08-28T05:27:07.219Z] Step 3/23 : ARG ADD_BUILD_TAGS="" [2024-08-28T05:27:07.219Z] ---> Running in 82805d5ac981 [2024-08-28T05:27:07.488Z] Removing intermediate container 82805d5ac981 [2024-08-28T05:27:07.488Z] ---> 87cd14f30b3a [2024-08-28T05:27:07.488Z] Step 4/23 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-08-28T05:27:07.488Z] ---> Running in f0e6e16f6c6d [2024-08-28T05:27:08.072Z] Removing intermediate container f0e6e16f6c6d [2024-08-28T05:27:08.072Z] ---> 1d877c7cf835 [2024-08-28T05:27:08.072Z] Step 5/23 : RUN apk add --update --no-cache make git openssh [2024-08-28T05:27:08.072Z] ---> Running in b982f7647500 [2024-08-28T05:27:09.036Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-08-28T05:27:09.301Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-08-28T05:27:10.279Z] OK: 272 MiB in 60 packages [2024-08-28T05:27:11.239Z] Removing intermediate container b982f7647500 [2024-08-28T05:27:11.239Z] ---> 4951d6f59e56 [2024-08-28T05:27:11.239Z] Step 6/23 : WORKDIR /device-modbus-go [2024-08-28T05:27:11.239Z] ---> Running in 43fb3b72d32b [2024-08-28T05:27:11.507Z] Removing intermediate container 43fb3b72d32b [2024-08-28T05:27:11.507Z] ---> a98ab91c9c62 [2024-08-28T05:27:11.507Z] Step 7/23 : COPY go.mod vendor* ./ [2024-08-28T05:27:12.094Z] ---> 6cff9e9e6466 [2024-08-28T05:27:12.094Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-08-28T05:27:12.094Z] ---> Running in c08e54ada896 [2024-08-28T05:27:14.680Z] Removing intermediate container c08e54ada896 [2024-08-28T05:27:14.680Z] ---> c7c7708c92c3 [2024-08-28T05:27:14.680Z] Step 9/23 : COPY . . [2024-08-28T05:27:15.644Z] ---> a37ccfaec89e [2024-08-28T05:27:15.644Z] Step 10/23 : RUN ${MAKE} [2024-08-28T05:27:15.644Z] ---> Running in 35e46628f936 [2024-08-28T05:27:16.606Z] CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-modbus-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.34" -trimpath -mod=readonly -o cmd/device-modbus ./cmd [2024-08-28T05:30:39.268Z] Removing intermediate container 35e46628f936 [2024-08-28T05:30:39.268Z] ---> 74226a87ea74 [2024-08-28T05:30:39.268Z] Step 11/23 : FROM alpine:3.18 [2024-08-28T05:30:39.268Z] 3.18: Pulling from library/alpine [2024-08-28T05:30:39.268Z] 4983c3fe2029: Pulling fs layer [2024-08-28T05:30:39.268Z] 4983c3fe2029: Verifying Checksum [2024-08-28T05:30:39.268Z] 4983c3fe2029: Download complete [2024-08-28T05:30:39.268Z] 4983c3fe2029: Pull complete [2024-08-28T05:30:39.268Z] Digest: sha256:5292533eb4efd4b5cf35e93b5a2b7d0e07ea193224c49446c7802c19ee4f2da5 [2024-08-28T05:30:39.268Z] Status: Downloaded newer image for alpine:3.18 [2024-08-28T05:30:39.268Z] ---> a0237000ae83 [2024-08-28T05:30:39.268Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2024-08-28T05:30:39.268Z] ---> Running in 9acc4ff3799c [2024-08-28T05:30:39.268Z] Removing intermediate container 9acc4ff3799c [2024-08-28T05:30:39.268Z] ---> d57a79a455be [2024-08-28T05:30:39.268Z] Step 13/23 : RUN apk add --update --no-cache dumb-init [2024-08-28T05:30:39.268Z] ---> Running in c91cd5cb32e4 [2024-08-28T05:30:39.268Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-08-28T05:30:39.268Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-08-28T05:30:39.268Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-08-28T05:30:39.268Z] Executing busybox-1.36.1-r7.trigger [2024-08-28T05:30:39.268Z] OK: 8 MiB in 16 packages [2024-08-28T05:30:39.268Z] Removing intermediate container c91cd5cb32e4 [2024-08-28T05:30:39.268Z] ---> b7b42764f28e [2024-08-28T05:30:39.268Z] Step 14/23 : RUN apk --no-cache upgrade [2024-08-28T05:30:39.268Z] ---> Running in dcace21f1afe [2024-08-28T05:30:39.533Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-08-28T05:30:40.111Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-08-28T05:30:41.064Z] OK: 8 MiB in 16 packages [2024-08-28T05:30:41.654Z] Removing intermediate container dcace21f1afe [2024-08-28T05:30:41.654Z] ---> bdf88abaef2c [2024-08-28T05:30:41.654Z] Step 15/23 : COPY --from=builder /device-modbus-go/cmd / [2024-08-28T05:30:43.608Z] ---> 62b665f65bdb [2024-08-28T05:30:43.608Z] Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / [2024-08-28T05:30:43.876Z] ---> 91561ccb35d3 [2024-08-28T05:30:43.876Z] Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / [2024-08-28T05:30:44.460Z] ---> 698a796949f8 [2024-08-28T05:30:44.460Z] Step 18/23 : EXPOSE 59901 [2024-08-28T05:30:44.460Z] ---> Running in 7fe8b4c15dbe [2024-08-28T05:30:44.739Z] Removing intermediate container 7fe8b4c15dbe [2024-08-28T05:30:44.739Z] ---> e94f9d0b9601 [2024-08-28T05:30:44.739Z] Step 19/23 : ENTRYPOINT ["/device-modbus"] [2024-08-28T05:30:45.008Z] ---> Running in b3a7d05833e1 [2024-08-28T05:30:45.279Z] Removing intermediate container b3a7d05833e1 [2024-08-28T05:30:45.279Z] ---> 1b02d8557437 [2024-08-28T05:30:45.279Z] Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2024-08-28T05:30:45.279Z] ---> Running in 74d12daa64f7 [2024-08-28T05:30:45.551Z] Removing intermediate container 74d12daa64f7 [2024-08-28T05:30:45.551Z] ---> bce38291ab82 [2024-08-28T05:30:45.551Z] Step 21/23 : LABEL arch=arm64 [2024-08-28T05:30:45.551Z] ---> Running in 44286355ed8b [2024-08-28T05:30:45.825Z] Removing intermediate container 44286355ed8b [2024-08-28T05:30:45.825Z] ---> d398ad14559b [2024-08-28T05:30:45.825Z] Step 22/23 : LABEL git_sha=75b0587f3cdc21a8298e8948d997cbf90c92cd6e [2024-08-28T05:30:46.092Z] ---> Running in e13509a49f3b [2024-08-28T05:30:46.359Z] Removing intermediate container e13509a49f3b [2024-08-28T05:30:46.359Z] ---> 6ab556e2a51b [2024-08-28T05:30:46.359Z] Step 23/23 : LABEL version=0.0.0 [2024-08-28T05:30:46.359Z] ---> Running in 2dc2d8083eeb [2024-08-28T05:30:46.625Z] Removing intermediate container 2dc2d8083eeb [2024-08-28T05:30:46.625Z] ---> a2ba84330be1 [2024-08-28T05:30:46.625Z] [Warning] One or more build-args [ARCH] were not consumed [2024-08-28T05:30:46.625Z] Successfully built a2ba84330be1 [2024-08-28T05:30:46.625Z] 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] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-28T05:30:47.594Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-08-28T05:30:47.594Z] [2024-08-28T05:30:47.594Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-28T05:30:48.044Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-08-28T05:30:48.044Z] arm64: Pulling from edgex-lftools-log-publisher [2024-08-28T05:30:48.044Z] 8998bd30e6a1: Pulling fs layer [2024-08-28T05:30:48.044Z] 04944245beec: Pulling fs layer [2024-08-28T05:30:48.044Z] 699f458cf7ca: Pulling fs layer [2024-08-28T05:30:48.044Z] 765212b225bb: Pulling fs layer [2024-08-28T05:30:48.044Z] f23df028b6ca: Pulling fs layer [2024-08-28T05:30:48.044Z] d65c8cfc05b1: Pulling fs layer [2024-08-28T05:30:48.044Z] 2437ff75d9bd: Pulling fs layer [2024-08-28T05:30:48.044Z] 765212b225bb: Waiting [2024-08-28T05:30:48.044Z] f23df028b6ca: Waiting [2024-08-28T05:30:48.044Z] d65c8cfc05b1: Waiting [2024-08-28T05:30:48.044Z] 2437ff75d9bd: Waiting [2024-08-28T05:30:48.310Z] 04944245beec: Verifying Checksum [2024-08-28T05:30:48.310Z] 04944245beec: Download complete [2024-08-28T05:30:48.310Z] 765212b225bb: Verifying Checksum [2024-08-28T05:30:48.310Z] 765212b225bb: Download complete [2024-08-28T05:30:48.310Z] f23df028b6ca: Verifying Checksum [2024-08-28T05:30:48.310Z] f23df028b6ca: Download complete [2024-08-28T05:30:48.310Z] d65c8cfc05b1: Verifying Checksum [2024-08-28T05:30:48.310Z] d65c8cfc05b1: Download complete [2024-08-28T05:30:48.310Z] 699f458cf7ca: Verifying Checksum [2024-08-28T05:30:48.310Z] 699f458cf7ca: Download complete [2024-08-28T05:30:48.894Z] 8998bd30e6a1: Verifying Checksum [2024-08-28T05:30:48.894Z] 8998bd30e6a1: Download complete [2024-08-28T05:30:51.473Z] 2437ff75d9bd: Verifying Checksum [2024-08-28T05:30:51.473Z] 2437ff75d9bd: Download complete [2024-08-28T05:30:53.415Z] 8998bd30e6a1: Pull complete [2024-08-28T05:30:53.996Z] 04944245beec: Pull complete [2024-08-28T05:30:55.402Z] 699f458cf7ca: Pull complete [2024-08-28T05:30:55.668Z] 765212b225bb: Pull complete [2024-08-28T05:30:56.623Z] f23df028b6ca: Pull complete [2024-08-28T05:30:56.889Z] d65c8cfc05b1: Pull complete [2024-08-28T05:31:15.081Z] 2437ff75d9bd: Pull complete [2024-08-28T05:31:15.081Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-08-28T05:31:15.081Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-08-28T05:31:15.081Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-08-28T05:31:15.447Z] prd-ubuntu20.04-docker-arm64-4c-16g-8903 does not seem to be running inside a container [2024-08-28T05:31:15.584Z] $ 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 [2024-08-28T05:31:18.234Z] $ docker top 60252dabdf26c9d22a0a4dcc6c87b86b55446693dd000c8f73dfaed21263a098 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-08-28T05:31:19.204Z] ---> job-cost.sh [2024-08-28T05:31:19.204Z] lf-activate-venv: SKIPPING [2024-08-28T05:31:19.204Z] INFO: No Stack... [2024-08-28T05:31:19.794Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-08-28T05:31:20.377Z] INFO: Archiving Costs [Pipeline] sh [2024-08-28T05:31:21.053Z] + cut -d, -f6 [2024-08-28T05:31:21.053Z] + cat /w/workspace/device-modbus-go/1/archives/cost.csv [Pipeline] lock [2024-08-28T05:31:21.125Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-modbus-go-PR-569-1-stack-cost] [2024-08-28T05:31:21.131Z] Resource [jenkins-edgexfoundry-device-modbus-go-PR-569-1-stack-cost] did not exist. Created. [2024-08-28T05:31:21.137Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-modbus-go-PR-569-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-08-28T05:31:21.884Z] /w/workspace/device-modbus-go/1@tmp/durable-fb1d3165/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-08-28T05:31:22.566Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-08-28T05:31:22.612Z] Warning: overwriting stash ‘stack-cost’ [2024-08-28T05:31:22.663Z] Stashed 1 file(s) [Pipeline] } [2024-08-28T05:31:22.682Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-modbus-go-PR-569-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-08-28T05:31:22.779Z] $ docker stop --time=1 60252dabdf26c9d22a0a4dcc6c87b86b55446693dd000c8f73dfaed21263a098 [2024-08-28T05:31:24.294Z] $ docker rm -f --volumes 60252dabdf26c9d22a0a4dcc6c87b86b55446693dd000c8f73dfaed21263a098 [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 [2024-08-28T05:31:25.519Z] provisioning config files... [2024-08-28T05:31:25.528Z] copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-569@tmp/config6915351453222386096tmp [Pipeline] { [Pipeline] sh [2024-08-28T05:31:25.902Z] + set +x [2024-08-28T05:31:25.902Z] + curl -s https://codecov.io/bash [2024-08-28T05:31:25.902Z] + bash -s -- [2024-08-28T05:31:26.163Z] [2024-08-28T05:31:26.163Z] _____ _ [2024-08-28T05:31:26.163Z] / ____| | | [2024-08-28T05:31:26.163Z] | | ___ __| | ___ ___ _____ __ [2024-08-28T05:31:26.163Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2024-08-28T05:31:26.163Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2024-08-28T05:31:26.163Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2024-08-28T05:31:26.164Z] Bash-1.0.6 [2024-08-28T05:31:26.164Z] [2024-08-28T05:31:26.164Z] [2024-08-28T05:31:26.164Z] ==> git version 2.25.1 found [2024-08-28T05:31:26.164Z] ==> 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 [2024-08-28T05:31:26.164Z] Release-Date: 2020-01-08 [2024-08-28T05:31:26.164Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2024-08-28T05:31:26.164Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2024-08-28T05:31:26.164Z] ==> Jenkins CI detected. [2024-08-28T05:31:26.164Z] current dir:  /w/workspace/xfoundry_device-modbus-go_PR-569 [2024-08-28T05:31:26.164Z] project root: . [2024-08-28T05:31:26.164Z] --> token set from env [2024-08-28T05:31:26.164Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2024-08-28T05:31:26.164Z] ==> Running gcov in . (disable via -X gcov) [2024-08-28T05:31:26.164Z] ==> Python coveragepy not found [2024-08-28T05:31:26.164Z] ==> Searching for coverage reports in: [2024-08-28T05:31:26.164Z] + . [2024-08-28T05:31:26.164Z] -> Found 1 reports [2024-08-28T05:31:26.164Z] ==> Detecting git/mercurial file structure [2024-08-28T05:31:26.164Z] ==> Reading reports [2024-08-28T05:31:26.164Z] + ./coverage.out bytes=24601 [2024-08-28T05:31:26.164Z] ==> Appending adjustments [2024-08-28T05:31:26.164Z] https://docs.codecov.io/docs/fixing-reports [2024-08-28T05:31:26.164Z] + Found adjustments [2024-08-28T05:31:26.164Z] ==> Gzipping contents [2024-08-28T05:31:26.164Z] 4.0K /tmp/codecov.JSyKHO.gz [2024-08-28T05:31:26.164Z] ==> Uploading reports [2024-08-28T05:31:26.164Z] url: https://codecov.io [2024-08-28T05:31:26.164Z] query: branch=PR-569&commit=75b0587f3cdc21a8298e8948d997cbf90c92cd6e&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-569%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=569&job=&cmd_args= [2024-08-28T05:31:26.164Z] -> Pinging Codecov [2024-08-28T05:31:26.164Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-569&commit=75b0587f3cdc21a8298e8948d997cbf90c92cd6e&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-569%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=569&job=&cmd_args= [2024-08-28T05:31:26.430Z] -> Uploading to [2024-08-28T05:31:26.430Z] https://storage.googleapis.com/codecov/v4/raw/2024-08-28/55DBCA73C666E3227836607328DD7E49/75b0587f3cdc21a8298e8948d997cbf90c92cd6e/3f081e50-3a69-46df-9a65-0cd6b57f0cab.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240828%2Fus-west2%2Fs3%2Faws4_request&X-Amz-Date=20240828T053126Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=fd2a15c8ce112c9835fad7c5a8ba05a6ea2f21605173b7492d1f249efe5082c7 [2024-08-28T05:31:26.430Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-08-28T05:31:26.430Z] Dload Upload Total Spent Left Speed [2024-08-28T05:31:26.691Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3843 0 0 100 3843 0 14556 --:--:-- --:--:-- --:--:-- 14612 [2024-08-28T05:31:26.691Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/75b0587f3cdc21a8298e8948d997cbf90c92cd6e [Pipeline] } [2024-08-28T05:31:26.726Z] 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] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2024-08-28T05:31:29.118Z] + [ -d /w/workspace/xfoundry_device-modbus-go_PR-569/archives ] [2024-08-28T05:31:29.118Z] + ls -al /w/workspace/xfoundry_device-modbus-go_PR-569/archives [2024-08-28T05:31:29.118Z] total 16 [2024-08-28T05:31:29.118Z] drwxr-xr-x 3 root root 4096 Aug 28 05:20 . [2024-08-28T05:31:29.118Z] drwxrwxr-x 10 jenkins jenkins 4096 Aug 28 05:20 .. [2024-08-28T05:31:29.118Z] drwxr-xr-x 2 root root 4096 Aug 28 05:20 cost [2024-08-28T05:31:29.118Z] -rw-r--r-- 1 root root 88 Aug 28 05:20 cost.csv [2024-08-28T05:31:29.118Z] + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-569/archives [2024-08-28T05:31:29.118Z] + ls -al /w/workspace/xfoundry_device-modbus-go_PR-569/archives [2024-08-28T05:31:29.118Z] total 16 [2024-08-28T05:31:29.118Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 28 05:20 . [2024-08-28T05:31:29.118Z] drwxrwxr-x 10 jenkins jenkins 4096 Aug 28 05:20 .. [2024-08-28T05:31:29.118Z] drwxr-xr-x 2 jenkins jenkins 4096 Aug 28 05:20 cost [2024-08-28T05:31:29.118Z] -rw-r--r-- 1 jenkins jenkins 88 Aug 28 05:20 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-08-28T05:31:29.461Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-08-28T05:31:30.368Z] ---> package-listing.sh [2024-08-28T05:31:30.368Z] ++ facter osfamily [2024-08-28T05:31:30.368Z] ++ tr '[:upper:]' '[:lower:]' [2024-08-28T05:31:30.627Z] + OS_FAMILY=debian [2024-08-28T05:31:30.627Z] + workspace=/w/workspace/xfoundry_device-modbus-go_PR-569 [2024-08-28T05:31:30.627Z] + START_PACKAGES=/tmp/packages_start.txt [2024-08-28T05:31:30.627Z] + END_PACKAGES=/tmp/packages_end.txt [2024-08-28T05:31:30.627Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-08-28T05:31:30.627Z] + PACKAGES=/tmp/packages_start.txt [2024-08-28T05:31:30.627Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-569 ']' [2024-08-28T05:31:30.627Z] + PACKAGES=/tmp/packages_end.txt [2024-08-28T05:31:30.627Z] + case "${OS_FAMILY}" in [2024-08-28T05:31:30.627Z] + dpkg -l [2024-08-28T05:31:30.627Z] + grep '^ii' [2024-08-28T05:31:30.627Z] + '[' -f /tmp/packages_start.txt ']' [2024-08-28T05:31:30.627Z] + '[' -f /tmp/packages_end.txt ']' [2024-08-28T05:31:30.627Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-08-28T05:31:30.627Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-569 ']' [2024-08-28T05:31:30.627Z] + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-569/archives/ [2024-08-28T05:31:30.627Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-569/archives/ [Pipeline] echo [2024-08-28T05:31:30.699Z] 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-569/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-08-28T05:31:31.036Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-28T05:31:31.477Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-08-28T05:31:31.477Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-08-28T05:31:31.666Z] prd-ubuntu20.04-docker-8c-8g-8901 does not seem to be running inside a container [2024-08-28T05:31:31.694Z] $ 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-569/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-569 -v /w/workspace/xfoundry_device-modbus-go_PR-569:/w/workspace/xfoundry_device-modbus-go_PR-569:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-569@tmp:/w/workspace/xfoundry_device-modbus-go_PR-569@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 [2024-08-28T05:31:31.880Z] $ docker top de76cbdbdb0920cf4d069f669218117cb90c58a793d245626da4ffd725b80cb1 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-08-28T05:31:32.292Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-08-28T05:31:32.614Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-08-28T05:31:32.931Z] + ls /var/log/sa-host [2024-08-28T05:31:32.931Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-08-28T05:31:33.177Z] provisioning config files... [2024-08-28T05:31:33.186Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-569@tmp/config17836085283777953466tmp [Pipeline] { [Pipeline] echo [2024-08-28T05:31:33.259Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-08-28T05:31:33.653Z] ---> create-netrc.sh [Pipeline] } [2024-08-28T05:31:33.689Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-08-28T05:31:34.116Z] ---> python-tools-install.sh [Pipeline] echo [2024-08-28T05:31:34.158Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-08-28T05:31:34.486Z] ---> sudo-logs.sh [2024-08-28T05:31:34.486Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-08-28T05:31:34.597Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-08-28T05:31:34.931Z] ---> job-cost.sh [2024-08-28T05:31:34.931Z] lf-activate-venv: SKIPPING [2024-08-28T05:31:34.931Z] DEBUG: total: 0.2199999988079071 [2024-08-28T05:31:34.931Z] INFO: Retrieving Stack Cost... [2024-08-28T05:31:35.190Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-08-28T05:31:35.758Z] INFO: Archiving Costs [Pipeline] echo [2024-08-28T05:31:35.805Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-08-28T05:31:36.135Z] ---> logs-deploy.sh [2024-08-28T05:31:36.136Z] lf-activate-venv: SKIPPING [2024-08-28T05:31:36.136Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-569/1 [2024-08-28T05:31:36.136Z] INFO: archiving workspace using pattern(s): [2024-08-28T05:31:37.080Z] Archives upload complete. [2024-08-28T05:31:37.080Z] INFO: archiving logs to Nexus