Pull request #579 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 32ca124e631bef4abaadea0e4bd7ceb7d6b71a79+e778c6a7e22bae4333302da5b4dc0bc2aa806a86 (547b16922b29708ee03635d375f77a43f6de44ed) 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-ssh3583469062792883728.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 0b81fa10a7dd14683a964f04f411324fe83f93ac 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-ssh11855101382291481805.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 0b81fa10a7dd14683a964f04f411324fe83f93ac 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-579/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-579/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10061536317884367863.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-579/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh920298131332115598.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 0b81fa10a7dd14683a964f04f411324fe83f93ac (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 0b81fa10a7dd14683a964f04f411324fe83f93ac # timeout=10 Commit message: "Merge pull request #457 from jinlinGuan/golang-1.23" > 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-ssh11188955950365702814.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-579/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-579/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh8730746139898095617.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 0b81fa10a7dd14683a964f04f411324fe83f93ac 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.23 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-22170 in /w/workspace/xfoundry_device-modbus-go_PR-579 [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-579 # 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 Merging remotes/origin/main commit e778c6a7e22bae4333302da5b4dc0bc2aa806a86 into PR head commit 32ca124e631bef4abaadea0e4bd7ceb7d6b71a79 Merge succeeded, producing 32ca124e631bef4abaadea0e4bd7ceb7d6b71a79 Checking out Revision 32ca124e631bef4abaadea0e4bd7ceb7d6b71a79 (PR-579) 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 0b81fa10a7dd14683a964f04f411324fe83f93ac > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/579/head:refs/remotes/origin/PR-579 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 32ca124e631bef4abaadea0e4bd7ceb7d6b71a79 # 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 e778c6a7e22bae4333302da5b4dc0bc2aa806a86 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 32ca124e631bef4abaadea0e4bd7ceb7d6b71a79 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-10-08T06:01:54.025Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-10-08T06:01:54.256Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-10-08T06:01:54.393Z] ========================================================= [2024-10-08T06:01:54.393Z] EdgeX Global Pipelines Version Info [2024-10-08T06:01:54.393Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-10-08T06:01:55.173Z] ------------------- [2024-10-08T06:01:55.173Z] stable info: [2024-10-08T06:01:55.173Z] ------------------- [2024-10-08T06:01:55.173Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-10-08T06:01:55.173Z] Commit SHA: 0b81fa10a7dd14683a964f04f411324fe83f93ac [2024-10-08T06:01:55.173Z] Message: update stable to v1.0.265 [2024-10-08T06:01:55.741Z] ------------------- [2024-10-08T06:01:55.741Z] experimental info: [2024-10-08T06:01:55.741Z] ------------------- [2024-10-08T06:01:55.741Z] Commited By: Cherry Wang cherry@iotechsys.com [2024-10-08T06:01:55.741Z] Commit SHA: b5a5e52272fc4198cf3754284eedf36dbf0baa35 [2024-10-08T06:01:55.741Z] Message: update experimental to v1.0.264 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-10-08T06:01:55.974Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo [2024-10-08T06:01:56.035Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo [2024-10-08T06:01:56.096Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-10-08T06:01:56.154Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-10-08T06:01:56.208Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-10-08T06:01:56.275Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo [2024-10-08T06:01:56.334Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-10-08T06:01:56.394Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2024-10-08T06:01:56.484Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-10-08T06:01:56.545Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-10-08T06:01:56.606Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-10-08T06:01:56.668Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo [2024-10-08T06:01:56.734Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-10-08T06:01:56.799Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-10-08T06:01:56.862Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-10-08T06:01:56.926Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2024-10-08T06:01:56.991Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-10-08T06:01:57.056Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-10-08T06:01:57.119Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-10-08T06:01:57.181Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-10-08T06:01:57.240Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2024-10-08T06:01:57.305Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2024-10-08T06:01:57.360Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-10-08T06:01:57.419Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-10-08T06:01:57.476Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-10-08T06:01:57.527Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-10-08T06:01:57.579Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-10-08T06:01:57.641Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-579 [Pipeline] echo [2024-10-08T06:01:57.709Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-579 [Pipeline] echo [2024-10-08T06:01:57.777Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-579 [Pipeline] echo [2024-10-08T06:01:57.845Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 32ca124e631bef4abaadea0e4bd7ceb7d6b71a79 [Pipeline] echo [2024-10-08T06:01:57.909Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 32ca124 [Pipeline] echo [2024-10-08T06:01:57.973Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-10-08T06:01:58.142Z] provisioning config files... [2024-10-08T06:01:58.155Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-579@tmp/config17009133748312508478tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-08T06:01:58.550Z] ---> ****-login.sh [2024-10-08T06:01:58.550Z] nexus3.edgexfoundry.org:10001 [2024-10-08T06:01:58.810Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-08T06:01:58.810Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-08T06:01:58.810Z] Configure a credential helper to remove this warning. See [2024-10-08T06:01:58.810Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-08T06:01:58.810Z] [2024-10-08T06:01:58.810Z] Login Succeeded [2024-10-08T06:01:58.810Z] nexus3.edgexfoundry.org:10002 [2024-10-08T06:01:58.810Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-08T06:01:58.811Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-08T06:01:58.811Z] Configure a credential helper to remove this warning. See [2024-10-08T06:01:58.811Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-08T06:01:58.811Z] [2024-10-08T06:01:58.811Z] Login Succeeded [2024-10-08T06:01:58.811Z] nexus3.edgexfoundry.org:10003 [2024-10-08T06:01:58.811Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-08T06:01:59.071Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-08T06:01:59.071Z] Configure a credential helper to remove this warning. See [2024-10-08T06:01:59.072Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-08T06:01:59.072Z] [2024-10-08T06:01:59.072Z] Login Succeeded [2024-10-08T06:01:59.072Z] nexus3.edgexfoundry.org:10004 [2024-10-08T06:01:59.072Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-08T06:01:59.072Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-08T06:01:59.072Z] Configure a credential helper to remove this warning. See [2024-10-08T06:01:59.072Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-08T06:01:59.072Z] [2024-10-08T06:01:59.072Z] Login Succeeded [2024-10-08T06:01:59.072Z] ****.io [2024-10-08T06:01:59.072Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-08T06:01:59.334Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-08T06:01:59.335Z] Configure a credential helper to remove this warning. See [2024-10-08T06:01:59.335Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-08T06:01:59.335Z] [2024-10-08T06:01:59.335Z] Login Succeeded [2024-10-08T06:01:59.335Z] ---> ****-login.sh ends [Pipeline] } [2024-10-08T06:01:59.367Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-10-08T06:02:00.069Z] + git rev-list -1 --merges 32ca124e631bef4abaadea0e4bd7ceb7d6b71a79~1..32ca124e631bef4abaadea0e4bd7ceb7d6b71a79 [Pipeline] echo [2024-10-08T06:02:00.117Z] -----------> git rev-list -1 --merges 32ca124e631bef4abaadea0e4bd7ceb7d6b71a79~1..32ca124e631bef4abaadea0e4bd7ceb7d6b71a79 32ca124e631bef4abaadea0e4bd7ceb7d6b71a79 [false] [Pipeline] sh [2024-10-08T06:02:00.442Z] + git log --format=format:%s -1 32ca124e631bef4abaadea0e4bd7ceb7d6b71a79 [Pipeline] echo [2024-10-08T06:02:00.486Z] ========================================================= [2024-10-08T06:02:00.486Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-10-08T06:02:00.486Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-10-08T06:02:00.965Z] + git log --format=format:%s -1 32ca124e631bef4abaadea0e4bd7ceb7d6b71a79 [Pipeline] echo [2024-10-08T06:02:01.015Z] [semverPrep] GIT_COMMIT: 32ca124e631bef4abaadea0e4bd7ceb7d6b71a79, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo [2024-10-08T06:02:01.064Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-10-08T06:02:01.472Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-10-08T06:02:01.472Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-10-08T06:02:01.472Z] + [ -e /tmp/ssh_known_hosts ] [2024-10-08T06:02:01.472Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-10-08T06:02:01.472Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-10-08T06:02:01.472Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2024-10-08T06:02:01.472Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-08T06:02:01.924Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-10-08T06:02:01.924Z] [2024-10-08T06:02:01.924Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-08T06:02:02.326Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-10-08T06:02:02.326Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-10-08T06:02:02.326Z] b85a868b505f: Pulling fs layer [2024-10-08T06:02:02.326Z] e2be974225ed: Pulling fs layer [2024-10-08T06:02:02.326Z] 339a4e72a1f5: Pulling fs layer [2024-10-08T06:02:02.326Z] 988bab9f4d93: Pulling fs layer [2024-10-08T06:02:02.326Z] 1469e6f7b9e6: Pulling fs layer [2024-10-08T06:02:02.326Z] eaf3925da568: Pulling fs layer [2024-10-08T06:02:02.326Z] bab4dde63d76: Pulling fs layer [2024-10-08T06:02:02.326Z] bde34c3a00c8: Pulling fs layer [2024-10-08T06:02:02.326Z] b352a97aabf1: Pulling fs layer [2024-10-08T06:02:02.326Z] 4872d77fe225: Pulling fs layer [2024-10-08T06:02:02.326Z] 5851b861e8e6: Pulling fs layer [2024-10-08T06:02:02.326Z] bab4dde63d76: Waiting [2024-10-08T06:02:02.326Z] b352a97aabf1: Waiting [2024-10-08T06:02:02.326Z] bde34c3a00c8: Waiting [2024-10-08T06:02:02.326Z] 4872d77fe225: Waiting [2024-10-08T06:02:02.326Z] 988bab9f4d93: Waiting [2024-10-08T06:02:02.326Z] 5851b861e8e6: Waiting [2024-10-08T06:02:02.326Z] eaf3925da568: Waiting [2024-10-08T06:02:02.326Z] 1469e6f7b9e6: Waiting [2024-10-08T06:02:02.326Z] e2be974225ed: Download complete [2024-10-08T06:02:02.326Z] 988bab9f4d93: Verifying Checksum [2024-10-08T06:02:02.326Z] 988bab9f4d93: Download complete [2024-10-08T06:02:02.326Z] 1469e6f7b9e6: Verifying Checksum [2024-10-08T06:02:02.326Z] 1469e6f7b9e6: Download complete [2024-10-08T06:02:02.326Z] eaf3925da568: Verifying Checksum [2024-10-08T06:02:02.326Z] eaf3925da568: Download complete [2024-10-08T06:02:02.326Z] 339a4e72a1f5: Verifying Checksum [2024-10-08T06:02:02.326Z] 339a4e72a1f5: Download complete [2024-10-08T06:02:02.326Z] bde34c3a00c8: Verifying Checksum [2024-10-08T06:02:02.326Z] bde34c3a00c8: Download complete [2024-10-08T06:02:02.586Z] b352a97aabf1: Verifying Checksum [2024-10-08T06:02:02.586Z] b352a97aabf1: Download complete [2024-10-08T06:02:02.586Z] 4872d77fe225: Verifying Checksum [2024-10-08T06:02:02.586Z] 4872d77fe225: Download complete [2024-10-08T06:02:02.586Z] 5851b861e8e6: Verifying Checksum [2024-10-08T06:02:02.586Z] 5851b861e8e6: Download complete [2024-10-08T06:02:02.586Z] b85a868b505f: Verifying Checksum [2024-10-08T06:02:02.586Z] b85a868b505f: Download complete [2024-10-08T06:02:02.856Z] bab4dde63d76: Download complete [2024-10-08T06:02:03.794Z] b85a868b505f: Pull complete [2024-10-08T06:02:03.794Z] e2be974225ed: Pull complete [2024-10-08T06:02:04.363Z] 339a4e72a1f5: Pull complete [2024-10-08T06:02:04.363Z] 988bab9f4d93: Pull complete [2024-10-08T06:02:04.623Z] 1469e6f7b9e6: Pull complete [2024-10-08T06:02:04.623Z] eaf3925da568: Pull complete [2024-10-08T06:02:06.543Z] bab4dde63d76: Pull complete [2024-10-08T06:02:06.543Z] bde34c3a00c8: Pull complete [2024-10-08T06:02:06.543Z] b352a97aabf1: Pull complete [2024-10-08T06:02:06.543Z] 4872d77fe225: Pull complete [2024-10-08T06:02:06.543Z] 5851b861e8e6: Pull complete [2024-10-08T06:02:06.543Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-10-08T06:02:06.543Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-10-08T06:02:06.543Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-08T06:02:06.861Z] prd-ubuntu20.04-docker-8c-8g-22170 does not seem to be running inside a container [2024-10-08T06:02:06.889Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-579 -v /w/workspace/xfoundry_device-modbus-go_PR-579:/w/workspace/xfoundry_device-modbus-go_PR-579:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-579@tmp:/w/workspace/xfoundry_device-modbus-go_PR-579@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-10-08T06:02:09.636Z] $ docker top 244d2d2dca5a8399909a331f49e4a099825bf7012d9853eed4ce5ae36ee2977a -eo pid,comm [2024-10-08T06:02:09.691Z] 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-10-08T06:02:09.691Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-10-08T06:02:09.868Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-10-08T06:02:09.868Z] [ssh-agent] Looking for ssh-agent implementation... [2024-10-08T06:02:09.989Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-10-08T06:02:09.993Z] $ docker exec 244d2d2dca5a8399909a331f49e4a099825bf7012d9853eed4ce5ae36ee2977a ssh-agent [2024-10-08T06:02:10.112Z] SSH_AUTH_SOCK=/tmp/ssh-JHV82pmMDIwX/agent.32 [2024-10-08T06:02:10.112Z] SSH_AGENT_PID=38 [2024-10-08T06:02:10.118Z] Running ssh-add (command line suppressed) [2024-10-08T06:02:10.234Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-579@tmp/private_key_3621564875288802763.key (/w/workspace/xfoundry_device-modbus-go_PR-579@tmp/private_key_3621564875288802763.key) [2024-10-08T06:02:10.246Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-10-08T06:02:10.592Z] + git tag --points-at HEAD [Pipeline] } [2024-10-08T06:02:10.620Z] $ docker exec --env ******** --env ******** 244d2d2dca5a8399909a331f49e4a099825bf7012d9853eed4ce5ae36ee2977a ssh-agent -k [2024-10-08T06:02:10.715Z] unset SSH_AUTH_SOCK; [2024-10-08T06:02:10.715Z] unset SSH_AGENT_PID; [2024-10-08T06:02:10.716Z] echo Agent pid 38 killed; [2024-10-08T06:02:10.723Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-10-08T06:02:10.837Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-10-08T06:02:10.837Z] [ssh-agent] Looking for ssh-agent implementation... [2024-10-08T06:02:10.939Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-10-08T06:02:10.943Z] $ docker exec 244d2d2dca5a8399909a331f49e4a099825bf7012d9853eed4ce5ae36ee2977a ssh-agent [2024-10-08T06:02:11.054Z] SSH_AUTH_SOCK=/tmp/ssh-QJAnBbAxZouZ/agent.71 [2024-10-08T06:02:11.055Z] SSH_AGENT_PID=77 [2024-10-08T06:02:11.059Z] Running ssh-add (command line suppressed) [2024-10-08T06:02:11.157Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-579@tmp/private_key_11991505663673177608.key (/w/workspace/xfoundry_device-modbus-go_PR-579@tmp/private_key_11991505663673177608.key) [2024-10-08T06:02:11.168Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-10-08T06:02:11.518Z] + git semver init [2024-10-08T06:02:11.779Z] 2024-10-08 06:02:11,702 [run_init] DEBUG init version:0.0.0 force:False [2024-10-08T06:02:11.779Z] 2024-10-08 06:02:11,703 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-modbus-go_PR-579/.semver [2024-10-08T06:02:11.779Z] 2024-10-08 06:02:11,704 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/xfoundry_device-modbus-go_PR-579/.semver [2024-10-08T06:02:11.779Z] 2024-10-08 06:02:11,704 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/xfoundry_device-modbus-go_PR-579/.semver'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-579, universal_newlines=False, shell=None, istream=None) [2024-10-08T06:02:12.723Z] 2024-10-08 06:02:12,653 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-modbus-go_PR-579/.git/info/exclude [2024-10-08T06:02:12.723Z] 2024-10-08 06:02:12,653 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-modbus-go_PR-579/.semver/PR-579 with force:False [2024-10-08T06:02:12.723Z] 2024-10-08 06:02:12,654 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-modbus-go_PR-579/.semver/PR-579 [2024-10-08T06:02:12.723Z] 2024-10-08 06:02:12,658 [execute] INFO git cat-file --batch-check [2024-10-08T06:02:12.723Z] 2024-10-08 06:02:12,658 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-579/.semver, universal_newlines=False, shell=None, istream=) [2024-10-08T06:02:12.723Z] 2024-10-08 06:02:12,664 [execute] INFO git cat-file --batch [2024-10-08T06:02:12.723Z] 2024-10-08 06:02:12,664 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-579/.semver, universal_newlines=False, shell=None, istream=) [2024-10-08T06:02:12.723Z] 2024-10-08 06:02:12,669 [read_version] DEBUG read version from /w/workspace/xfoundry_device-modbus-go_PR-579/.semver/PR-579 [2024-10-08T06:02:12.723Z] 0.0.0 [Pipeline] } [2024-10-08T06:02:12.754Z] $ docker exec --env ******** --env ******** 244d2d2dca5a8399909a331f49e4a099825bf7012d9853eed4ce5ae36ee2977a ssh-agent -k [2024-10-08T06:02:12.857Z] unset SSH_AUTH_SOCK; [2024-10-08T06:02:12.858Z] unset SSH_AGENT_PID; [2024-10-08T06:02:12.858Z] echo Agent pid 77 killed; [2024-10-08T06:02:12.866Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-10-08T06:02:13.347Z] + git semver [Pipeline] } [2024-10-08T06:02:13.635Z] $ docker stop --time=1 244d2d2dca5a8399909a331f49e4a099825bf7012d9853eed4ce5ae36ee2977a [2024-10-08T06:02:14.930Z] $ docker rm -f --volumes 244d2d2dca5a8399909a331f49e4a099825bf7012d9853eed4ce5ae36ee2977a [Pipeline] // withDockerContainer [Pipeline] sh [2024-10-08T06:02:15.340Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-10-08T06:02:15.650Z] Stashed 1 file(s) [Pipeline] echo [2024-10-08T06:02:15.676Z] [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-10-08T06:02:16.424Z] provisioning config files... [2024-10-08T06:02:16.435Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-579@tmp/config3124996835759134247tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-08T06:02:16.814Z] ---> ****-login.sh [2024-10-08T06:02:16.814Z] nexus3.edgexfoundry.org:10001 [2024-10-08T06:02:16.814Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-08T06:02:16.814Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-08T06:02:16.814Z] Configure a credential helper to remove this warning. See [2024-10-08T06:02:16.814Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-08T06:02:16.814Z] [2024-10-08T06:02:16.814Z] Login Succeeded [2024-10-08T06:02:16.814Z] nexus3.edgexfoundry.org:10002 [2024-10-08T06:02:16.814Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-08T06:02:16.814Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-08T06:02:16.814Z] Configure a credential helper to remove this warning. See [2024-10-08T06:02:16.815Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-08T06:02:16.815Z] [2024-10-08T06:02:16.815Z] Login Succeeded [2024-10-08T06:02:16.815Z] nexus3.edgexfoundry.org:10003 [2024-10-08T06:02:17.079Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-08T06:02:17.080Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-08T06:02:17.080Z] Configure a credential helper to remove this warning. See [2024-10-08T06:02:17.080Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-08T06:02:17.080Z] [2024-10-08T06:02:17.080Z] Login Succeeded [2024-10-08T06:02:17.080Z] nexus3.edgexfoundry.org:10004 [2024-10-08T06:02:17.080Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-08T06:02:17.080Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-08T06:02:17.080Z] Configure a credential helper to remove this warning. See [2024-10-08T06:02:17.080Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-08T06:02:17.080Z] [2024-10-08T06:02:17.080Z] Login Succeeded [2024-10-08T06:02:17.080Z] ****.io [2024-10-08T06:02:17.080Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-08T06:02:17.341Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-08T06:02:17.341Z] Configure a credential helper to remove this warning. See [2024-10-08T06:02:17.341Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-08T06:02:17.341Z] [2024-10-08T06:02:17.341Z] Login Succeeded [2024-10-08T06:02:17.341Z] ---> ****-login.sh ends [Pipeline] } [2024-10-08T06:02:17.376Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-10-08T06:02:17.613Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-08T06:02:17.664Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-08T06:02:17.714Z] ========================================================= [2024-10-08T06:02:17.715Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] [2024-10-08T06:02:17.715Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-08T06:02:18.232Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine --build-arg MAKE=echo noop --target=builder . [2024-10-08T06:02:18.232Z] Sending build context to Docker daemon 17.96MB [2024-10-08T06:02:18.232Z] Step 1/10 : ARG BASE=golang:1.23-alpine3.20 [2024-10-08T06:02:18.232Z] Step 2/10 : FROM ${BASE} AS builder [2024-10-08T06:02:18.491Z] 1.23-alpine: Pulling from edgex-devops/edgex-golang-base [2024-10-08T06:02:18.491Z] 43c4264eed91: Pulling fs layer [2024-10-08T06:02:18.491Z] 4cc291be95ef: Pulling fs layer [2024-10-08T06:02:18.491Z] 2ac1f1163629: Pulling fs layer [2024-10-08T06:02:18.491Z] 5c3c966382ef: Pulling fs layer [2024-10-08T06:02:18.491Z] 4f4fb700ef54: Pulling fs layer [2024-10-08T06:02:18.491Z] 5d5c8e513c77: Pulling fs layer [2024-10-08T06:02:18.491Z] 9f66e0745190: Pulling fs layer [2024-10-08T06:02:18.491Z] f49a43e4bbc0: Pulling fs layer [2024-10-08T06:02:18.491Z] 561ebcabdf7f: Pulling fs layer [2024-10-08T06:02:18.491Z] 9f66e0745190: Waiting [2024-10-08T06:02:18.491Z] 5c3c966382ef: Waiting [2024-10-08T06:02:18.491Z] 4f4fb700ef54: Waiting [2024-10-08T06:02:18.491Z] 5d5c8e513c77: Waiting [2024-10-08T06:02:18.491Z] 561ebcabdf7f: Waiting [2024-10-08T06:02:18.491Z] f49a43e4bbc0: Waiting [2024-10-08T06:02:18.491Z] 4cc291be95ef: Verifying Checksum [2024-10-08T06:02:18.491Z] 4cc291be95ef: Download complete [2024-10-08T06:02:18.491Z] 5c3c966382ef: Download complete [2024-10-08T06:02:18.491Z] 4f4fb700ef54: Download complete [2024-10-08T06:02:18.491Z] 5d5c8e513c77: Verifying Checksum [2024-10-08T06:02:18.491Z] 5d5c8e513c77: Download complete [2024-10-08T06:02:18.491Z] 43c4264eed91: Download complete [2024-10-08T06:02:18.491Z] 9f66e0745190: Verifying Checksum [2024-10-08T06:02:18.491Z] 9f66e0745190: Download complete [2024-10-08T06:02:18.491Z] 43c4264eed91: Pull complete [2024-10-08T06:02:18.750Z] 561ebcabdf7f: Verifying Checksum [2024-10-08T06:02:18.751Z] 561ebcabdf7f: Download complete [2024-10-08T06:02:18.751Z] 4cc291be95ef: Pull complete [2024-10-08T06:02:19.010Z] 2ac1f1163629: Verifying Checksum [2024-10-08T06:02:19.010Z] 2ac1f1163629: Download complete [2024-10-08T06:02:19.268Z] f49a43e4bbc0: Verifying Checksum [2024-10-08T06:02:19.268Z] f49a43e4bbc0: Download complete [2024-10-08T06:02:22.559Z] 2ac1f1163629: Pull complete [2024-10-08T06:02:22.560Z] 5c3c966382ef: Pull complete [2024-10-08T06:02:22.560Z] 4f4fb700ef54: Pull complete [2024-10-08T06:02:22.560Z] 5d5c8e513c77: Pull complete [2024-10-08T06:02:22.560Z] 9f66e0745190: Pull complete [2024-10-08T06:02:24.465Z] f49a43e4bbc0: Pull complete [2024-10-08T06:02:25.033Z] 561ebcabdf7f: Pull complete [2024-10-08T06:02:25.033Z] Digest: sha256:0719486ae9a24b675ee3acaa2cfd867e7a981f2ef22b41d166c62d936fe8de2d [2024-10-08T06:02:25.033Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine [2024-10-08T06:02:25.033Z] ---> 3a752c3f9dda [2024-10-08T06:02:25.033Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2024-10-08T06:02:29.231Z] ---> Running in 199a225aedd0 [2024-10-08T06:02:29.231Z] Removing intermediate container 199a225aedd0 [2024-10-08T06:02:29.231Z] ---> 8dfff3a813b8 [2024-10-08T06:02:29.231Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-10-08T06:02:29.231Z] ---> Running in 0d6fd04d1c1a [2024-10-08T06:02:29.231Z] Removing intermediate container 0d6fd04d1c1a [2024-10-08T06:02:29.231Z] ---> 7d2399ee0fa8 [2024-10-08T06:02:29.231Z] Step 5/10 : RUN apk add --update --no-cache make git openssh [2024-10-08T06:02:29.231Z] ---> Running in a796198318ed [2024-10-08T06:02:29.231Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-08T06:02:29.231Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-08T06:02:29.496Z] (1/8) Installing openssh-keygen (9.7_p1-r4) [2024-10-08T06:02:29.496Z] (2/8) Installing libedit (20240517.3.1-r0) [2024-10-08T06:02:29.496Z] (3/8) Installing openssh-client-common (9.7_p1-r4) [2024-10-08T06:02:29.496Z] (4/8) Installing openssh-client-default (9.7_p1-r4) [2024-10-08T06:02:29.496Z] (5/8) Installing openssh-sftp-server (9.7_p1-r4) [2024-10-08T06:02:29.496Z] (6/8) Installing openssh-server-common (9.7_p1-r4) [2024-10-08T06:02:29.496Z] (7/8) Installing openssh-server (9.7_p1-r4) [2024-10-08T06:02:29.496Z] (8/8) Installing openssh (9.7_p1-r4) [2024-10-08T06:02:29.496Z] Executing busybox-1.36.1-r29.trigger [2024-10-08T06:02:29.496Z] OK: 252 MiB in 62 packages [2024-10-08T06:02:30.068Z] Removing intermediate container a796198318ed [2024-10-08T06:02:30.068Z] ---> 3f573a3b9f52 [2024-10-08T06:02:30.068Z] Step 6/10 : WORKDIR /device-modbus-go [2024-10-08T06:02:30.068Z] ---> Running in 885c833a024d [2024-10-08T06:02:30.068Z] Removing intermediate container 885c833a024d [2024-10-08T06:02:30.068Z] ---> 10d09f11bb8e [2024-10-08T06:02:30.068Z] Step 7/10 : COPY go.mod vendor* ./ [2024-10-08T06:02:30.329Z] ---> 4b81c2446648 [2024-10-08T06:02:30.329Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-10-08T06:02:30.329Z] ---> Running in 98ea680bfb53 [2024-10-08T06:02:31.194Z] Still waiting to schedule task [2024-10-08T06:02:31.194Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-22164’ [2024-10-08T06:03:17.026Z] Removing intermediate container 98ea680bfb53 [2024-10-08T06:03:17.026Z] ---> 81b740c8860f [2024-10-08T06:03:17.026Z] Step 9/10 : COPY . . [2024-10-08T06:03:17.026Z] ---> 2ff80472cfa7 [2024-10-08T06:03:17.026Z] Step 10/10 : RUN ${MAKE} [2024-10-08T06:03:17.026Z] ---> Running in 2f6982c6102a [2024-10-08T06:03:17.026Z] noop [2024-10-08T06:03:17.026Z] Removing intermediate container 2f6982c6102a [2024-10-08T06:03:17.026Z] ---> b5a1ccf5327d [2024-10-08T06:03:17.026Z] Successfully built b5a1ccf5327d [2024-10-08T06:03:17.026Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-08T06:03:17.524Z] + docker inspect -f . ci-base-image-x86_64 [2024-10-08T06:03:17.524Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-08T06:03:17.696Z] prd-ubuntu20.04-docker-8c-8g-22170 does not seem to be running inside a container [2024-10-08T06:03:17.727Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-579 -v /w/workspace/xfoundry_device-modbus-go_PR-579:/w/workspace/xfoundry_device-modbus-go_PR-579:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-579@tmp:/w/workspace/xfoundry_device-modbus-go_PR-579@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-10-08T06:03:18.070Z] $ docker top 0c55ff9aed666c1b60ea8b8db090328d8af51a0680cb438a38b6f042d01d37ca -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-08T06:03:18.476Z] + go version [2024-10-08T06:03:18.476Z] go version go1.23.2 linux/amd64 [Pipeline] } [2024-10-08T06:03:18.512Z] $ docker stop --time=1 0c55ff9aed666c1b60ea8b8db090328d8af51a0680cb438a38b6f042d01d37ca [2024-10-08T06:03:19.759Z] $ docker rm -f --volumes 0c55ff9aed666c1b60ea8b8db090328d8af51a0680cb438a38b6f042d01d37ca [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-08T06:03:20.573Z] + docker inspect -f . ci-base-image-x86_64 [2024-10-08T06:03:20.573Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-08T06:03:20.740Z] prd-ubuntu20.04-docker-8c-8g-22170 does not seem to be running inside a container [2024-10-08T06:03:20.767Z] $ 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-579 -v /w/workspace/xfoundry_device-modbus-go_PR-579:/w/workspace/xfoundry_device-modbus-go_PR-579:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-579@tmp:/w/workspace/xfoundry_device-modbus-go_PR-579@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-10-08T06:03:21.061Z] $ docker top a4af5d9c759aea23266ebb58146498fe049247159a08a820b40980d7a6cfa7ae -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-08T06:03:21.468Z] + git config --global --add safe.directory /w/workspace/xfoundry_device-modbus-go_PR-579 [Pipeline] fileExists [Pipeline] sh [2024-10-08T06:03:21.858Z] + make test [2024-10-08T06:03:21.858Z] go test ./... -coverprofile=coverage.out [2024-10-08T06:03:23.232Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2024-10-08T06:03:41.309Z] github.com/edgexfoundry/device-modbus-go/cmd coverage: 0.0% of statements [2024-10-08T06:03:41.309Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.009s coverage: 47.9% of statements [2024-10-08T06:03:51.290Z] go vet ./... [2024-10-08T06:03:55.471Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-10-08T06:03:55.471Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-10-08T06:03:55.471Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2024-10-08T06:03:55.520Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-10-08T06:03:55.560Z] $ docker stop --time=1 a4af5d9c759aea23266ebb58146498fe049247159a08a820b40980d7a6cfa7ae [2024-10-08T06:04:00.591Z] $ docker rm -f --volumes a4af5d9c759aea23266ebb58146498fe049247159a08a820b40980d7a6cfa7ae [Pipeline] // withDockerContainer [Pipeline] sh [2024-10-08T06:04:01.231Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-10-08T06:04:01.302Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2024-10-08T06:04:02.055Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-10-08T06:04:02.371Z] + ls -al . [2024-10-08T06:04:02.371Z] total 272 [2024-10-08T06:04:02.371Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 8 06:03 . [2024-10-08T06:04:02.371Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 8 06:01 .. [2024-10-08T06:04:02.371Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 8 06:01 .dockerignore [2024-10-08T06:04:02.371Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 8 06:03 .git [2024-10-08T06:04:02.371Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 8 06:01 .github [2024-10-08T06:04:02.371Z] -rw-rw-r-- 1 jenkins jenkins 266 Oct 8 06:01 .gitignore [2024-10-08T06:04:02.371Z] -rw-rw-r-- 1 jenkins jenkins 199 Oct 8 06:01 .golangci.yml [2024-10-08T06:04:02.371Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 8 06:02 .semver [2024-10-08T06:04:02.371Z] -rw-rw-r-- 1 jenkins jenkins 19818 Oct 8 06:01 Attribution.txt [2024-10-08T06:04:02.371Z] -rw-rw-r-- 1 jenkins jenkins 16388 Oct 8 06:01 CHANGELOG.md [2024-10-08T06:04:02.371Z] -rw-rw-r-- 1 jenkins jenkins 1474 Oct 8 06:01 Dockerfile [2024-10-08T06:04:02.371Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 8 06:01 GOVERNANCE.md [2024-10-08T06:04:02.371Z] -rw-rw-r-- 1 jenkins jenkins 658 Oct 8 06:01 Jenkinsfile [2024-10-08T06:04:02.371Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 8 06:01 LICENSE [2024-10-08T06:04:02.371Z] -rw-rw-r-- 1 jenkins jenkins 1942 Oct 8 06:01 Makefile [2024-10-08T06:04:02.371Z] -rw-rw-r-- 1 jenkins jenkins 622 Oct 8 06:01 OWNERS.md [2024-10-08T06:04:02.371Z] -rw-rw-r-- 1 jenkins jenkins 4463 Oct 8 06:01 README.md [2024-10-08T06:04:02.371Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 8 06:02 VERSION [2024-10-08T06:04:02.371Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 8 06:01 bin [2024-10-08T06:04:02.371Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 8 06:01 cmd [2024-10-08T06:04:02.371Z] -rw-r--r-- 1 jenkins jenkins 24669 Oct 8 06:03 coverage.out [2024-10-08T06:04:02.371Z] -rw-rw-r-- 1 jenkins jenkins 7157 Oct 8 06:01 go.mod [2024-10-08T06:04:02.371Z] -rw-rw-r-- 1 jenkins jenkins 100518 Oct 8 06:01 go.sum [2024-10-08T06:04:02.371Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 8 06:01 internal [2024-10-08T06:04:02.371Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 8 06:01 simulator [2024-10-08T06:04:02.371Z] -rw-rw-r-- 1 jenkins jenkins 229 Oct 8 06:01 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-08T06:04:02.858Z] + 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=32ca124e631bef4abaadea0e4bd7ceb7d6b71a79 --label arch=amd64 --label version=0.0.0 . [2024-10-08T06:04:02.858Z] Sending build context to Docker daemon 17.98MB [2024-10-08T06:04:02.858Z] Step 1/23 : ARG BASE=golang:1.23-alpine3.20 [2024-10-08T06:04:02.858Z] Step 2/23 : FROM ${BASE} AS builder [2024-10-08T06:04:02.858Z] ---> b5a1ccf5327d [2024-10-08T06:04:02.858Z] Step 3/23 : ARG ADD_BUILD_TAGS="" [2024-10-08T06:04:03.120Z] ---> Running in 4d28a1059fb1 [2024-10-08T06:04:03.120Z] Removing intermediate container 4d28a1059fb1 [2024-10-08T06:04:03.120Z] ---> d959c6126416 [2024-10-08T06:04:03.121Z] Step 4/23 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-10-08T06:04:03.121Z] ---> Running in 605c5f12e273 [2024-10-08T06:04:03.121Z] Removing intermediate container 605c5f12e273 [2024-10-08T06:04:03.121Z] ---> 1332dfe40654 [2024-10-08T06:04:03.121Z] Step 5/23 : RUN apk add --update --no-cache make git openssh [2024-10-08T06:04:03.380Z] ---> Running in 6b19072942ef [2024-10-08T06:04:03.639Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-08T06:04:03.639Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-08T06:04:03.898Z] OK: 252 MiB in 62 packages [2024-10-08T06:04:04.157Z] Removing intermediate container 6b19072942ef [2024-10-08T06:04:04.157Z] ---> 311401fa2eb5 [2024-10-08T06:04:04.157Z] Step 6/23 : WORKDIR /device-modbus-go [2024-10-08T06:04:04.157Z] ---> Running in 65d3c5c3b01c [2024-10-08T06:04:04.157Z] Removing intermediate container 65d3c5c3b01c [2024-10-08T06:04:04.157Z] ---> d05369cd259e [2024-10-08T06:04:04.157Z] Step 7/23 : COPY go.mod vendor* ./ [2024-10-08T06:04:04.415Z] ---> 016d72cb5b09 [2024-10-08T06:04:04.415Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-10-08T06:04:04.415Z] ---> Running in 29852f73451e [2024-10-08T06:04:04.983Z] Removing intermediate container 29852f73451e [2024-10-08T06:04:04.983Z] ---> 90785b878952 [2024-10-08T06:04:04.983Z] Step 9/23 : COPY . . [2024-10-08T06:04:05.550Z] ---> 19fe04cbb0d4 [2024-10-08T06:04:05.550Z] Step 10/23 : RUN ${MAKE} [2024-10-08T06:04:05.550Z] ---> Running in c78508295c28 [2024-10-08T06:04:05.808Z] 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.44" -trimpath -mod=readonly -o cmd/device-modbus ./cmd [2024-10-08T06:04:37.899Z] Removing intermediate container c78508295c28 [2024-10-08T06:04:37.899Z] ---> f744c3269582 [2024-10-08T06:04:37.899Z] Step 11/23 : FROM alpine:3.20 [2024-10-08T06:04:37.899Z] 3.20: Pulling from library/alpine [2024-10-08T06:04:37.899Z] 43c4264eed91: Already exists [2024-10-08T06:04:37.899Z] Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d [2024-10-08T06:04:37.899Z] Status: Downloaded newer image for alpine:3.20 [2024-10-08T06:04:37.899Z] ---> 91ef0af61f39 [2024-10-08T06:04:37.899Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2024: IoTech Ltd' [2024-10-08T06:04:37.899Z] ---> Running in 44e152990457 [2024-10-08T06:04:37.899Z] Removing intermediate container 44e152990457 [2024-10-08T06:04:37.899Z] ---> 62108bb20ad5 [2024-10-08T06:04:37.899Z] Step 13/23 : RUN apk add --update --no-cache dumb-init [2024-10-08T06:04:37.899Z] ---> Running in 70bdabe466a4 [2024-10-08T06:04:37.899Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-08T06:04:37.899Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-08T06:04:37.899Z] (1/1) Installing dumb-init (1.2.5-r3) [2024-10-08T06:04:37.899Z] Executing busybox-1.36.1-r29.trigger [2024-10-08T06:04:37.899Z] OK: 8 MiB in 15 packages [2024-10-08T06:04:37.899Z] Removing intermediate container 70bdabe466a4 [2024-10-08T06:04:37.899Z] ---> b943f003ffcc [2024-10-08T06:04:37.899Z] Step 14/23 : RUN apk --no-cache upgrade [2024-10-08T06:04:37.899Z] ---> Running in cc1ab9069d70 [2024-10-08T06:04:37.899Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-08T06:04:37.899Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-08T06:04:37.899Z] Upgrading critical system libraries and apk-tools: [2024-10-08T06:04:37.899Z] (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) [2024-10-08T06:04:37.899Z] Executing busybox-1.36.1-r29.trigger [2024-10-08T06:04:37.899Z] Continuing the upgrade transaction with new apk-tools: [2024-10-08T06:04:37.899Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-08T06:04:37.899Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-08T06:04:38.160Z] OK: 8 MiB in 15 packages [2024-10-08T06:04:38.730Z] Removing intermediate container cc1ab9069d70 [2024-10-08T06:04:38.730Z] ---> 0f95c247299a [2024-10-08T06:04:38.730Z] Step 15/23 : COPY --from=builder /device-modbus-go/cmd / [2024-10-08T06:04:39.297Z] ---> e482b50ae5c1 [2024-10-08T06:04:39.297Z] Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / [2024-10-08T06:04:39.556Z] ---> 1ebc7e9b4e52 [2024-10-08T06:04:39.556Z] Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / [2024-10-08T06:04:39.556Z] ---> 195cebbea45c [2024-10-08T06:04:39.556Z] Step 18/23 : EXPOSE 59901 [2024-10-08T06:04:39.556Z] ---> Running in b2281b8de6df [2024-10-08T06:04:39.815Z] Removing intermediate container b2281b8de6df [2024-10-08T06:04:39.815Z] ---> 7c93ed9c9110 [2024-10-08T06:04:39.815Z] Step 19/23 : ENTRYPOINT ["/device-modbus"] [2024-10-08T06:04:39.815Z] ---> Running in 84e4640d6a29 [2024-10-08T06:04:39.815Z] Removing intermediate container 84e4640d6a29 [2024-10-08T06:04:39.815Z] ---> 722e43908069 [2024-10-08T06:04:39.815Z] Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2024-10-08T06:04:39.815Z] ---> Running in 0f89c9726b68 [2024-10-08T06:04:39.815Z] Removing intermediate container 0f89c9726b68 [2024-10-08T06:04:39.815Z] ---> 48d98b54698a [2024-10-08T06:04:39.815Z] Step 21/23 : LABEL arch=amd64 [2024-10-08T06:04:39.815Z] ---> Running in 7f4a387338ed [2024-10-08T06:04:40.074Z] Removing intermediate container 7f4a387338ed [2024-10-08T06:04:40.074Z] ---> add06efd8b13 [2024-10-08T06:04:40.074Z] Step 22/23 : LABEL git_sha=32ca124e631bef4abaadea0e4bd7ceb7d6b71a79 [2024-10-08T06:04:40.074Z] ---> Running in 87e33db6e307 [2024-10-08T06:04:40.074Z] Removing intermediate container 87e33db6e307 [2024-10-08T06:04:40.074Z] ---> 5416215bd4cd [2024-10-08T06:04:40.074Z] Step 23/23 : LABEL version=0.0.0 [2024-10-08T06:04:40.074Z] ---> Running in 6617594e5ae9 [2024-10-08T06:04:40.074Z] Removing intermediate container 6617594e5ae9 [2024-10-08T06:04:40.074Z] ---> a1aefa3157c2 [2024-10-08T06:04:40.074Z] [Warning] One or more build-args [ARCH] were not consumed [2024-10-08T06:04:40.074Z] Successfully built a1aefa3157c2 [2024-10-08T06:04:40.074Z] 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-10-08T06:04:41.037Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-08T06:04:41.037Z] [2024-10-08T06:04:41.037Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-08T06:04:41.440Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-08T06:04:41.440Z] latest: Pulling from edgex-lftools-log-publisher [2024-10-08T06:04:41.440Z] 5eb5b503b376: Pulling fs layer [2024-10-08T06:04:41.440Z] 5c69ac0246d0: Pulling fs layer [2024-10-08T06:04:41.440Z] ec43610c2a17: Pulling fs layer [2024-10-08T06:04:41.440Z] 3a2ae6a8a46f: Pulling fs layer [2024-10-08T06:04:41.440Z] 33b1e0a273af: Pulling fs layer [2024-10-08T06:04:41.440Z] 5d3b04190fa2: Pulling fs layer [2024-10-08T06:04:41.440Z] 2f39f015ded8: Pulling fs layer [2024-10-08T06:04:41.440Z] 3a2ae6a8a46f: Waiting [2024-10-08T06:04:41.440Z] 33b1e0a273af: Waiting [2024-10-08T06:04:41.440Z] 2f39f015ded8: Waiting [2024-10-08T06:04:41.440Z] 5d3b04190fa2: Waiting [2024-10-08T06:04:41.440Z] 5c69ac0246d0: Verifying Checksum [2024-10-08T06:04:41.440Z] 5c69ac0246d0: Download complete [2024-10-08T06:04:41.440Z] 3a2ae6a8a46f: Download complete [2024-10-08T06:04:41.440Z] 33b1e0a273af: Verifying Checksum [2024-10-08T06:04:41.440Z] 33b1e0a273af: Download complete [2024-10-08T06:04:41.440Z] ec43610c2a17: Verifying Checksum [2024-10-08T06:04:41.440Z] ec43610c2a17: Download complete [2024-10-08T06:04:41.440Z] 5d3b04190fa2: Verifying Checksum [2024-10-08T06:04:41.440Z] 5d3b04190fa2: Download complete [2024-10-08T06:04:41.697Z] 5eb5b503b376: Verifying Checksum [2024-10-08T06:04:41.697Z] 5eb5b503b376: Download complete [2024-10-08T06:04:42.263Z] 2f39f015ded8: Verifying Checksum [2024-10-08T06:04:42.263Z] 2f39f015ded8: Download complete [2024-10-08T06:04:42.830Z] 5eb5b503b376: Pull complete [2024-10-08T06:04:42.830Z] 5c69ac0246d0: Pull complete [2024-10-08T06:04:43.399Z] ec43610c2a17: Pull complete [2024-10-08T06:04:43.399Z] 3a2ae6a8a46f: Pull complete [2024-10-08T06:04:43.399Z] 33b1e0a273af: Pull complete [2024-10-08T06:04:43.658Z] 5d3b04190fa2: Pull complete [2024-10-08T06:04:47.844Z] 2f39f015ded8: Pull complete [2024-10-08T06:04:47.844Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-10-08T06:04:47.844Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-08T06:04:47.844Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-08T06:04:48.094Z] prd-ubuntu20.04-docker-8c-8g-22170 does not seem to be running inside a container [2024-10-08T06:04:48.129Z] $ 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-579 -v /w/workspace/xfoundry_device-modbus-go_PR-579:/w/workspace/xfoundry_device-modbus-go_PR-579:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-579@tmp:/w/workspace/xfoundry_device-modbus-go_PR-579@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-10-08T06:04:52.047Z] $ docker top f0409ac2516e1189eeae02f5447298559ef53de0dcca878690cbc41862ac99ed -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-08T06:04:52.512Z] ---> job-cost.sh [2024-10-08T06:04:52.512Z] lf-activate-venv: SKIPPING [2024-10-08T06:04:52.512Z] INFO: No Stack... [2024-10-08T06:04:52.772Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-10-08T06:04:53.341Z] INFO: Archiving Costs [Pipeline] sh [2024-10-08T06:04:53.664Z] + cat /w/workspace/xfoundry_device-modbus-go_PR-579/archives/cost.csv [2024-10-08T06:04:53.664Z] + cut -d, -f6 [Pipeline] lock [2024-10-08T06:04:53.716Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-modbus-go-PR-579-1-stack-cost] [2024-10-08T06:04:53.725Z] Resource [jenkins-edgexfoundry-device-modbus-go-PR-579-1-stack-cost] did not exist. Created. [2024-10-08T06:04:53.731Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-modbus-go-PR-579-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-10-08T06:04:54.139Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-10-08T06:04:54.196Z] Stashed 1 file(s) [Pipeline] } [2024-10-08T06:04:54.231Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-modbus-go-PR-579-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-10-08T06:04:54.314Z] $ docker stop --time=1 f0409ac2516e1189eeae02f5447298559ef53de0dcca878690cbc41862ac99ed [2024-10-08T06:04:55.449Z] $ docker rm -f --volumes f0409ac2516e1189eeae02f5447298559ef53de0dcca878690cbc41862ac99ed [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-10-08T06:05:08.116Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-22174 in /w/workspace/xfoundry_device-modbus-go_PR-579 [Pipeline] { [Pipeline] ws [2024-10-08T06:05:08.190Z] Running in /w/workspace/device-modbus-go/1 [Pipeline] { [Pipeline] checkout [2024-10-08T06:05:08.296Z] The recommended git tool is: git [2024-10-08T06:05:14.540Z] using credential edgex-jenkins-ssh [2024-10-08T06:05:14.564Z] Cloning the remote Git repository [2024-10-08T06:05:14.623Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2024-10-08T06:05:14.746Z] > git init /w/workspace/device-modbus-go/1 # timeout=10 [2024-10-08T06:05:14.897Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2024-10-08T06:05:14.899Z] > git --version # timeout=10 [2024-10-08T06:05:14.922Z] > git --version # 'git version 2.25.1' [2024-10-08T06:05:14.925Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-10-08T06:05:15.101Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-10-08T06:05:17.268Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2024-10-08T06:05:17.294Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-10-08T06:05:18.311Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2024-10-08T06:05:18.367Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2024-10-08T06:05:18.368Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-10-08T06:05:18.401Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/579/head:refs/remotes/origin/PR-579 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2024-10-08T06:05:18.948Z] Merging remotes/origin/main commit e778c6a7e22bae4333302da5b4dc0bc2aa806a86 into PR head commit 32ca124e631bef4abaadea0e4bd7ceb7d6b71a79 [2024-10-08T06:05:19.280Z] Merge succeeded, producing 32ca124e631bef4abaadea0e4bd7ceb7d6b71a79 [2024-10-08T06:05:19.281Z] Checking out Revision 32ca124e631bef4abaadea0e4bd7ceb7d6b71a79 (PR-579) [2024-10-08T06:05:19.862Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" [2024-10-08T06:05:19.910Z] > git --version # timeout=10 [2024-10-08T06:05:19.920Z] > git --version # 'git version 2.25.1' [2024-10-08T06:05:19.937Z] fatal: bad object 0b81fa10a7dd14683a964f04f411324fe83f93ac [2024-10-08T06:05:18.972Z] > git config core.sparsecheckout # timeout=10 [2024-10-08T06:05:19.060Z] > git checkout -f 32ca124e631bef4abaadea0e4bd7ceb7d6b71a79 # timeout=10 [2024-10-08T06:05:19.168Z] > git remote # timeout=10 [2024-10-08T06:05:19.188Z] > git config --get remote.origin.url # timeout=10 [2024-10-08T06:05:19.205Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-10-08T06:05:19.229Z] > git merge e778c6a7e22bae4333302da5b4dc0bc2aa806a86 # timeout=10 [2024-10-08T06:05:19.258Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-10-08T06:05:19.285Z] > git config core.sparsecheckout # timeout=10 [2024-10-08T06:05:19.300Z] > git checkout -f 32ca124e631bef4abaadea0e4bd7ceb7d6b71a79 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-10-08T06:05:24.989Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-10-08T06:05:24.989Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-10-08T06:05:24.989Z] Dload Upload Total Spent Left Speed [2024-10-08T06:05:24.989Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 198k 0 --:--:-- --:--:-- --:--:-- 202k [Pipeline] sh [2024-10-08T06:05:25.359Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-10-08T06:05:25.730Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2024-10-08T06:05:25.730Z] + sudo tee /etc/docker/daemon.new [2024-10-08T06:05:25.730Z] { [2024-10-08T06:05:25.730Z] "registry-mirrors": [ [2024-10-08T06:05:25.730Z] "https://nexus3.edgexfoundry.org:10001" [2024-10-08T06:05:25.730Z] ], [2024-10-08T06:05:25.730Z] "bip": "10.250.0.254/24", [2024-10-08T06:05:25.730Z] "hosts": [ [2024-10-08T06:05:25.730Z] "tcp://0.0.0.0:5555", [2024-10-08T06:05:25.730Z] "unix:///var/run/docker.sock" [2024-10-08T06:05:25.730Z] ], [2024-10-08T06:05:25.730Z] "mtu": 1458, [2024-10-08T06:05:25.730Z] "selinux-enabled": true, [2024-10-08T06:05:25.730Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-10-08T06:05:25.730Z] } [Pipeline] sh [2024-10-08T06:05:26.088Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-10-08T06:05:26.446Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-10-08T06:05:44.847Z] provisioning config files... [2024-10-08T06:05:44.885Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/1@tmp/config7985098487196562418tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-08T06:05:45.426Z] ---> ****-login.sh [2024-10-08T06:05:45.427Z] nexus3.edgexfoundry.org:10001 [2024-10-08T06:05:46.023Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-08T06:05:46.023Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-08T06:05:46.023Z] Configure a credential helper to remove this warning. See [2024-10-08T06:05:46.023Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-08T06:05:46.023Z] [2024-10-08T06:05:46.023Z] Login Succeeded [2024-10-08T06:05:46.023Z] nexus3.edgexfoundry.org:10002 [2024-10-08T06:05:46.298Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-08T06:05:46.575Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-08T06:05:46.575Z] Configure a credential helper to remove this warning. See [2024-10-08T06:05:46.575Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-08T06:05:46.575Z] [2024-10-08T06:05:46.575Z] Login Succeeded [2024-10-08T06:05:46.575Z] nexus3.edgexfoundry.org:10003 [2024-10-08T06:05:46.847Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-08T06:05:46.847Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-08T06:05:46.847Z] Configure a credential helper to remove this warning. See [2024-10-08T06:05:46.847Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-08T06:05:46.847Z] [2024-10-08T06:05:46.847Z] Login Succeeded [2024-10-08T06:05:46.847Z] nexus3.edgexfoundry.org:10004 [2024-10-08T06:05:47.116Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-08T06:05:47.386Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-08T06:05:47.386Z] Configure a credential helper to remove this warning. See [2024-10-08T06:05:47.386Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-08T06:05:47.386Z] [2024-10-08T06:05:47.386Z] Login Succeeded [2024-10-08T06:05:47.386Z] ****.io [2024-10-08T06:05:47.658Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-08T06:05:47.927Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-08T06:05:47.927Z] Configure a credential helper to remove this warning. See [2024-10-08T06:05:47.927Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-08T06:05:47.927Z] [2024-10-08T06:05:47.927Z] Login Succeeded [2024-10-08T06:05:47.927Z] ---> ****-login.sh ends [Pipeline] } [2024-10-08T06:05:47.962Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-10-08T06:05:48.458Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-08T06:05:48.513Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-08T06:05:48.569Z] ========================================================= [2024-10-08T06:05:48.569Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine] [2024-10-08T06:05:48.569Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-08T06:05:49.139Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine --build-arg MAKE=echo noop --target=builder . [2024-10-08T06:05:49.412Z] Sending build context to Docker daemon 9.12MB [2024-10-08T06:05:49.681Z] Step 1/10 : ARG BASE=golang:1.23-alpine3.20 [2024-10-08T06:05:49.681Z] Step 2/10 : FROM ${BASE} AS builder [2024-10-08T06:05:49.681Z] 1.23-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-10-08T06:05:49.681Z] cf04c63912e1: Pulling fs layer [2024-10-08T06:05:49.681Z] 55b35a11ae5e: Pulling fs layer [2024-10-08T06:05:49.681Z] a37a00ec5f00: Pulling fs layer [2024-10-08T06:05:49.681Z] 50b3750afda1: Pulling fs layer [2024-10-08T06:05:49.681Z] 4f4fb700ef54: Pulling fs layer [2024-10-08T06:05:49.681Z] 80978eb59214: Pulling fs layer [2024-10-08T06:05:49.681Z] c9f46d7d2bd2: Pulling fs layer [2024-10-08T06:05:49.681Z] 50b3750afda1: Waiting [2024-10-08T06:05:49.681Z] c5a475d317c9: Pulling fs layer [2024-10-08T06:05:49.681Z] 4f4fb700ef54: Waiting [2024-10-08T06:05:49.681Z] 80978eb59214: Waiting [2024-10-08T06:05:49.681Z] c9f46d7d2bd2: Waiting [2024-10-08T06:05:49.681Z] c5a475d317c9: Waiting [2024-10-08T06:05:49.681Z] 55b35a11ae5e: Download complete [2024-10-08T06:05:49.951Z] 50b3750afda1: Verifying Checksum [2024-10-08T06:05:49.951Z] 50b3750afda1: Download complete [2024-10-08T06:05:49.951Z] 4f4fb700ef54: Verifying Checksum [2024-10-08T06:05:49.951Z] 4f4fb700ef54: Download complete [2024-10-08T06:05:49.951Z] 80978eb59214: Verifying Checksum [2024-10-08T06:05:49.951Z] 80978eb59214: Download complete [2024-10-08T06:05:49.951Z] cf04c63912e1: Verifying Checksum [2024-10-08T06:05:49.951Z] cf04c63912e1: Download complete [2024-10-08T06:05:50.538Z] c5a475d317c9: Verifying Checksum [2024-10-08T06:05:50.538Z] c5a475d317c9: Download complete [2024-10-08T06:05:50.807Z] cf04c63912e1: Pull complete [2024-10-08T06:05:51.393Z] 55b35a11ae5e: Pull complete [2024-10-08T06:05:51.977Z] a37a00ec5f00: Verifying Checksum [2024-10-08T06:05:51.977Z] a37a00ec5f00: Download complete [2024-10-08T06:05:52.941Z] c9f46d7d2bd2: Verifying Checksum [2024-10-08T06:05:52.941Z] c9f46d7d2bd2: Download complete [2024-10-08T06:06:07.950Z] a37a00ec5f00: Pull complete [2024-10-08T06:06:07.950Z] 50b3750afda1: Pull complete [2024-10-08T06:06:07.950Z] 4f4fb700ef54: Pull complete [2024-10-08T06:06:07.950Z] 80978eb59214: Pull complete [2024-10-08T06:06:14.602Z] c9f46d7d2bd2: Pull complete [2024-10-08T06:06:16.543Z] c5a475d317c9: Pull complete [2024-10-08T06:06:16.543Z] Digest: sha256:2391c17ca386d1fbfa331956bd558234564149703727e64d3c69580d84b42a9b [2024-10-08T06:06:16.543Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine [2024-10-08T06:06:16.543Z] ---> be29e6b0f0d4 [2024-10-08T06:06:16.543Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2024-10-08T06:06:17.506Z] ---> Running in 288b7476a51e [2024-10-08T06:06:17.506Z] Removing intermediate container 288b7476a51e [2024-10-08T06:06:17.506Z] ---> 0789f11c411b [2024-10-08T06:06:17.506Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-10-08T06:06:17.779Z] ---> Running in b444d8afc5fd [2024-10-08T06:06:18.047Z] Removing intermediate container b444d8afc5fd [2024-10-08T06:06:18.047Z] ---> 8747955bf1e6 [2024-10-08T06:06:18.047Z] Step 5/10 : RUN apk add --update --no-cache make git openssh [2024-10-08T06:06:18.047Z] ---> Running in e268ca0f5734 [2024-10-08T06:06:19.470Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-08T06:06:19.737Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-08T06:06:21.146Z] (1/8) Installing openssh-keygen (9.7_p1-r4) [2024-10-08T06:06:21.146Z] (2/8) Installing libedit (20240517.3.1-r0) [2024-10-08T06:06:21.146Z] (3/8) Installing openssh-client-common (9.7_p1-r4) [2024-10-08T06:06:21.146Z] (4/8) Installing openssh-client-default (9.7_p1-r4) [2024-10-08T06:06:21.146Z] (5/8) Installing openssh-sftp-server (9.7_p1-r4) [2024-10-08T06:06:21.146Z] (6/8) Installing openssh-server-common (9.7_p1-r4) [2024-10-08T06:06:21.146Z] (7/8) Installing openssh-server (9.7_p1-r4) [2024-10-08T06:06:21.146Z] (8/8) Installing openssh (9.7_p1-r4) [2024-10-08T06:06:21.146Z] Executing busybox-1.36.1-r29.trigger [2024-10-08T06:06:21.146Z] OK: 244 MiB in 62 packages [2024-10-08T06:06:22.558Z] Removing intermediate container e268ca0f5734 [2024-10-08T06:06:22.558Z] ---> 8e460527520a [2024-10-08T06:06:22.558Z] Step 6/10 : WORKDIR /device-modbus-go [2024-10-08T06:06:22.558Z] ---> Running in 58b2573eeb64 [2024-10-08T06:06:22.829Z] Removing intermediate container 58b2573eeb64 [2024-10-08T06:06:22.829Z] ---> f178c8d277e6 [2024-10-08T06:06:22.829Z] Step 7/10 : COPY go.mod vendor* ./ [2024-10-08T06:06:23.414Z] ---> ad27ee4decfa [2024-10-08T06:06:23.414Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-10-08T06:06:23.414Z] ---> Running in 3f17560a8b7e [2024-10-08T06:08:30.145Z] Removing intermediate container 3f17560a8b7e [2024-10-08T06:08:30.145Z] ---> bc2fb300a611 [2024-10-08T06:08:30.145Z] Step 9/10 : COPY . . [2024-10-08T06:08:30.145Z] ---> ad1e5bbe101f [2024-10-08T06:08:30.145Z] Step 10/10 : RUN ${MAKE} [2024-10-08T06:08:30.145Z] ---> Running in 306df096c32b [2024-10-08T06:08:30.145Z] noop [2024-10-08T06:08:30.145Z] Removing intermediate container 306df096c32b [2024-10-08T06:08:30.145Z] ---> 1566265154c3 [2024-10-08T06:08:30.145Z] Successfully built 1566265154c3 [2024-10-08T06:08:30.145Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-08T06:08:30.682Z] + docker inspect -f . ci-base-image-arm64 [2024-10-08T06:08:30.682Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-08T06:08:31.002Z] prd-ubuntu20.04-docker-arm64-4c-16g-22174 does not seem to be running inside a container [2024-10-08T06:08:31.066Z] $ 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-10-08T06:08:32.279Z] $ docker top 9dfe35e2fb9a527c3a35112c75180654421f33db400e523d7111c1d4c9596bb0 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-08T06:08:33.193Z] + go version [2024-10-08T06:08:33.193Z] go version go1.23.2 linux/arm64 [Pipeline] } [2024-10-08T06:08:33.229Z] $ docker stop --time=1 9dfe35e2fb9a527c3a35112c75180654421f33db400e523d7111c1d4c9596bb0 [2024-10-08T06:08:34.871Z] $ docker rm -f --volumes 9dfe35e2fb9a527c3a35112c75180654421f33db400e523d7111c1d4c9596bb0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-08T06:08:35.825Z] + docker inspect -f . ci-base-image-arm64 [2024-10-08T06:08:35.825Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-08T06:08:36.104Z] prd-ubuntu20.04-docker-arm64-4c-16g-22174 does not seem to be running inside a container [2024-10-08T06:08:36.169Z] $ 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-10-08T06:08:37.374Z] $ docker top 7f4d278e17b3da11284afb762c1c175e111b3bf3eb3a304fbb024435b411ba30 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-08T06:08:38.288Z] + git config --global --add safe.directory /w/workspace/device-modbus-go/1 [Pipeline] fileExists [Pipeline] sh [2024-10-08T06:08:39.021Z] + make test [2024-10-08T06:08:39.021Z] go test ./... -coverprofile=coverage.out [2024-10-08T06:08:44.372Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2024-10-08T06:12:21.269Z] github.com/edgexfoundry/device-modbus-go/cmd coverage: 0.0% of statements [2024-10-08T06:12:22.676Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.052s coverage: 47.9% of statements [2024-10-08T06:12:24.084Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2024-10-08T06:12:24.084Z] go vet ./... [2024-10-08T06:13:20.739Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-10-08T06:13:20.739Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-10-08T06:13:20.739Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2024-10-08T06:13:20.788Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-10-08T06:13:20.831Z] $ docker stop --time=1 7f4d278e17b3da11284afb762c1c175e111b3bf3eb3a304fbb024435b411ba30 [2024-10-08T06:13:22.706Z] $ docker rm -f --volumes 7f4d278e17b3da11284afb762c1c175e111b3bf3eb3a304fbb024435b411ba30 [Pipeline] // withDockerContainer [Pipeline] sh [2024-10-08T06:13:24.603Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-10-08T06:13:24.649Z] Warning: overwriting stash ‘coverage-report’ [2024-10-08T06:13:25.213Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-10-08T06:13:25.862Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-10-08T06:13:26.218Z] + ls -al . [2024-10-08T06:13:26.218Z] total 268 [2024-10-08T06:13:26.218Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 8 06:08 . [2024-10-08T06:13:26.218Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 8 06:05 .. [2024-10-08T06:13:26.218Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 8 06:05 .dockerignore [2024-10-08T06:13:26.218Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 8 06:05 .git [2024-10-08T06:13:26.218Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 8 06:05 .github [2024-10-08T06:13:26.218Z] -rw-rw-r-- 1 jenkins jenkins 266 Oct 8 06:05 .gitignore [2024-10-08T06:13:26.218Z] -rw-rw-r-- 1 jenkins jenkins 199 Oct 8 06:05 .golangci.yml [2024-10-08T06:13:26.218Z] -rw-rw-r-- 1 jenkins jenkins 19818 Oct 8 06:05 Attribution.txt [2024-10-08T06:13:26.218Z] -rw-rw-r-- 1 jenkins jenkins 16388 Oct 8 06:05 CHANGELOG.md [2024-10-08T06:13:26.218Z] -rw-rw-r-- 1 jenkins jenkins 1474 Oct 8 06:05 Dockerfile [2024-10-08T06:13:26.218Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 8 06:05 GOVERNANCE.md [2024-10-08T06:13:26.218Z] -rw-rw-r-- 1 jenkins jenkins 658 Oct 8 06:05 Jenkinsfile [2024-10-08T06:13:26.218Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 8 06:05 LICENSE [2024-10-08T06:13:26.218Z] -rw-rw-r-- 1 jenkins jenkins 1942 Oct 8 06:05 Makefile [2024-10-08T06:13:26.218Z] -rw-rw-r-- 1 jenkins jenkins 622 Oct 8 06:05 OWNERS.md [2024-10-08T06:13:26.218Z] -rw-rw-r-- 1 jenkins jenkins 4463 Oct 8 06:05 README.md [2024-10-08T06:13:26.218Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 8 06:02 VERSION [2024-10-08T06:13:26.218Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 8 06:05 bin [2024-10-08T06:13:26.218Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 8 06:05 cmd [2024-10-08T06:13:26.218Z] -rw-r--r-- 1 jenkins jenkins 24669 Oct 8 06:12 coverage.out [2024-10-08T06:13:26.218Z] -rw-rw-r-- 1 jenkins jenkins 7157 Oct 8 06:05 go.mod [2024-10-08T06:13:26.218Z] -rw-rw-r-- 1 jenkins jenkins 100518 Oct 8 06:05 go.sum [2024-10-08T06:13:26.218Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 8 06:05 internal [2024-10-08T06:13:26.218Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 8 06:05 simulator [2024-10-08T06:13:26.218Z] -rw-rw-r-- 1 jenkins jenkins 229 Oct 8 06:05 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-08T06:13:26.672Z] + 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=32ca124e631bef4abaadea0e4bd7ceb7d6b71a79 --label arch=arm64 --label version=0.0.0 . [2024-10-08T06:13:27.259Z] Sending build context to Docker daemon 9.145MB [2024-10-08T06:13:27.259Z] Step 1/23 : ARG BASE=golang:1.23-alpine3.20 [2024-10-08T06:13:27.259Z] Step 2/23 : FROM ${BASE} AS builder [2024-10-08T06:13:27.259Z] ---> 1566265154c3 [2024-10-08T06:13:27.259Z] Step 3/23 : ARG ADD_BUILD_TAGS="" [2024-10-08T06:13:27.259Z] ---> Running in 0acf3667f88a [2024-10-08T06:13:27.850Z] Removing intermediate container 0acf3667f88a [2024-10-08T06:13:27.850Z] ---> da6374e7b317 [2024-10-08T06:13:27.850Z] Step 4/23 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-10-08T06:13:27.850Z] ---> Running in a974870f6b76 [2024-10-08T06:13:28.120Z] Removing intermediate container a974870f6b76 [2024-10-08T06:13:28.120Z] ---> 73705a6a521c [2024-10-08T06:13:28.120Z] Step 5/23 : RUN apk add --update --no-cache make git openssh [2024-10-08T06:13:28.120Z] ---> Running in 268288ae56f5 [2024-10-08T06:13:29.086Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-08T06:13:29.673Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-08T06:13:31.091Z] OK: 244 MiB in 62 packages [2024-10-08T06:13:32.052Z] Removing intermediate container 268288ae56f5 [2024-10-08T06:13:32.052Z] ---> 23410f18ffe8 [2024-10-08T06:13:32.052Z] Step 6/23 : WORKDIR /device-modbus-go [2024-10-08T06:13:32.052Z] ---> Running in dbc95a216692 [2024-10-08T06:13:32.318Z] Removing intermediate container dbc95a216692 [2024-10-08T06:13:32.318Z] ---> ac609315317c [2024-10-08T06:13:32.318Z] Step 7/23 : COPY go.mod vendor* ./ [2024-10-08T06:13:33.726Z] ---> db33f445ca61 [2024-10-08T06:13:33.726Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-10-08T06:13:33.726Z] ---> Running in 1fde5359dc40 [2024-10-08T06:13:36.315Z] Removing intermediate container 1fde5359dc40 [2024-10-08T06:13:36.315Z] ---> 87cafa39ed62 [2024-10-08T06:13:36.315Z] Step 9/23 : COPY . . [2024-10-08T06:13:37.280Z] ---> f5596a24552e [2024-10-08T06:13:37.280Z] Step 10/23 : RUN ${MAKE} [2024-10-08T06:13:37.280Z] ---> Running in dfe3b5f51de8 [2024-10-08T06:13:38.254Z] 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.44" -trimpath -mod=readonly -o cmd/device-modbus ./cmd [2024-10-08T06:17:15.061Z] Removing intermediate container dfe3b5f51de8 [2024-10-08T06:17:15.061Z] ---> be9b10767104 [2024-10-08T06:17:15.061Z] Step 11/23 : FROM alpine:3.20 [2024-10-08T06:17:15.061Z] 3.20: Pulling from library/alpine [2024-10-08T06:17:15.061Z] cf04c63912e1: Already exists [2024-10-08T06:17:15.061Z] Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d [2024-10-08T06:17:15.062Z] Status: Downloaded newer image for alpine:3.20 [2024-10-08T06:17:15.062Z] ---> c157a85ed455 [2024-10-08T06:17:15.062Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2024: IoTech Ltd' [2024-10-08T06:17:15.062Z] ---> Running in b5db75ce2e5a [2024-10-08T06:17:15.062Z] Removing intermediate container b5db75ce2e5a [2024-10-08T06:17:15.062Z] ---> 8f61cabee467 [2024-10-08T06:17:15.062Z] Step 13/23 : RUN apk add --update --no-cache dumb-init [2024-10-08T06:17:15.062Z] ---> Running in 94e7fee7fabc [2024-10-08T06:17:16.047Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-08T06:17:16.630Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-08T06:17:18.040Z] (1/1) Installing dumb-init (1.2.5-r3) [2024-10-08T06:17:18.040Z] Executing busybox-1.36.1-r29.trigger [2024-10-08T06:17:18.040Z] OK: 9 MiB in 15 packages [2024-10-08T06:17:19.003Z] Removing intermediate container 94e7fee7fabc [2024-10-08T06:17:19.003Z] ---> eba0144f5a2c [2024-10-08T06:17:19.003Z] Step 14/23 : RUN apk --no-cache upgrade [2024-10-08T06:17:19.273Z] ---> Running in 4e74e956c1fb [2024-10-08T06:17:20.230Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-08T06:17:20.499Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-08T06:17:21.910Z] Upgrading critical system libraries and apk-tools: [2024-10-08T06:17:21.910Z] (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) [2024-10-08T06:17:21.910Z] Executing busybox-1.36.1-r29.trigger [2024-10-08T06:17:22.178Z] Continuing the upgrade transaction with new apk-tools: [2024-10-08T06:17:22.178Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-08T06:17:22.446Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-08T06:17:23.858Z] OK: 9 MiB in 15 packages [2024-10-08T06:17:24.821Z] Removing intermediate container 4e74e956c1fb [2024-10-08T06:17:24.821Z] ---> 341c135fc1e1 [2024-10-08T06:17:24.821Z] Step 15/23 : COPY --from=builder /device-modbus-go/cmd / [2024-10-08T06:17:26.766Z] ---> 60c3d470655a [2024-10-08T06:17:26.766Z] Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / [2024-10-08T06:17:27.035Z] ---> 40ef2e37aeae [2024-10-08T06:17:27.035Z] Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / [2024-10-08T06:17:27.619Z] ---> 4d1f386e61c9 [2024-10-08T06:17:27.619Z] Step 18/23 : EXPOSE 59901 [2024-10-08T06:17:27.619Z] ---> Running in 0a76e371ac8a [2024-10-08T06:17:27.888Z] Removing intermediate container 0a76e371ac8a [2024-10-08T06:17:27.888Z] ---> 537247a5c749 [2024-10-08T06:17:27.888Z] Step 19/23 : ENTRYPOINT ["/device-modbus"] [2024-10-08T06:17:27.888Z] ---> Running in abb021f49925 [2024-10-08T06:17:28.158Z] Removing intermediate container abb021f49925 [2024-10-08T06:17:28.158Z] ---> eed8b267bc7e [2024-10-08T06:17:28.158Z] Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2024-10-08T06:17:28.428Z] ---> Running in 2b9a1804ac0d [2024-10-08T06:17:28.699Z] Removing intermediate container 2b9a1804ac0d [2024-10-08T06:17:28.699Z] ---> b63f2221259a [2024-10-08T06:17:28.699Z] Step 21/23 : LABEL arch=arm64 [2024-10-08T06:17:28.699Z] ---> Running in 9766ee2a5c16 [2024-10-08T06:17:28.969Z] Removing intermediate container 9766ee2a5c16 [2024-10-08T06:17:28.969Z] ---> 36b7ffb392e5 [2024-10-08T06:17:28.969Z] Step 22/23 : LABEL git_sha=32ca124e631bef4abaadea0e4bd7ceb7d6b71a79 [2024-10-08T06:17:29.238Z] ---> Running in 3e93ed000ae9 [2024-10-08T06:17:29.503Z] Removing intermediate container 3e93ed000ae9 [2024-10-08T06:17:29.503Z] ---> 30de690a3503 [2024-10-08T06:17:29.503Z] Step 23/23 : LABEL version=0.0.0 [2024-10-08T06:17:29.503Z] ---> Running in 1c4aec48320f [2024-10-08T06:17:29.768Z] Removing intermediate container 1c4aec48320f [2024-10-08T06:17:29.768Z] ---> a65832d5dc8f [2024-10-08T06:17:29.768Z] [Warning] One or more build-args [ARCH] were not consumed [2024-10-08T06:17:29.768Z] Successfully built a65832d5dc8f [2024-10-08T06:17:29.768Z] 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-10-08T06:17:30.687Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-10-08T06:17:30.688Z] [2024-10-08T06:17:30.688Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-08T06:17:31.117Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-10-08T06:17:31.383Z] arm64: Pulling from edgex-lftools-log-publisher [2024-10-08T06:17:31.383Z] 8998bd30e6a1: Pulling fs layer [2024-10-08T06:17:31.383Z] 04944245beec: Pulling fs layer [2024-10-08T06:17:31.383Z] 699f458cf7ca: Pulling fs layer [2024-10-08T06:17:31.383Z] 765212b225bb: Pulling fs layer [2024-10-08T06:17:31.383Z] f23df028b6ca: Pulling fs layer [2024-10-08T06:17:31.383Z] d65c8cfc05b1: Pulling fs layer [2024-10-08T06:17:31.383Z] 2437ff75d9bd: Pulling fs layer [2024-10-08T06:17:31.383Z] f23df028b6ca: Waiting [2024-10-08T06:17:31.383Z] d65c8cfc05b1: Waiting [2024-10-08T06:17:31.383Z] 2437ff75d9bd: Waiting [2024-10-08T06:17:31.383Z] 765212b225bb: Waiting [2024-10-08T06:17:31.383Z] 04944245beec: Verifying Checksum [2024-10-08T06:17:31.383Z] 04944245beec: Download complete [2024-10-08T06:17:31.383Z] 765212b225bb: Verifying Checksum [2024-10-08T06:17:31.383Z] 765212b225bb: Download complete [2024-10-08T06:17:31.383Z] f23df028b6ca: Download complete [2024-10-08T06:17:31.383Z] d65c8cfc05b1: Verifying Checksum [2024-10-08T06:17:31.383Z] d65c8cfc05b1: Download complete [2024-10-08T06:17:31.651Z] 699f458cf7ca: Verifying Checksum [2024-10-08T06:17:31.651Z] 699f458cf7ca: Download complete [2024-10-08T06:17:31.916Z] 8998bd30e6a1: Verifying Checksum [2024-10-08T06:17:31.916Z] 8998bd30e6a1: Download complete [2024-10-08T06:17:34.490Z] 2437ff75d9bd: Verifying Checksum [2024-10-08T06:17:34.490Z] 2437ff75d9bd: Download complete [2024-10-08T06:17:37.060Z] 8998bd30e6a1: Pull complete [2024-10-08T06:17:37.327Z] 04944245beec: Pull complete [2024-10-08T06:17:39.270Z] 699f458cf7ca: Pull complete [2024-10-08T06:17:39.270Z] 765212b225bb: Pull complete [2024-10-08T06:17:40.229Z] f23df028b6ca: Pull complete [2024-10-08T06:17:40.229Z] d65c8cfc05b1: Pull complete [2024-10-08T06:17:58.426Z] 2437ff75d9bd: Pull complete [2024-10-08T06:17:58.426Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-10-08T06:17:58.426Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-10-08T06:17:58.426Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-08T06:18:00.932Z] prd-ubuntu20.04-docker-arm64-4c-16g-22174 does not seem to be running inside a container [2024-10-08T06:18:00.991Z] $ 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-10-08T06:18:03.754Z] $ docker top e71dd550a26655ddbe23ab68144d54d4a6906adb222a9b114becd371f28e6c7d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-08T06:18:04.357Z] ---> job-cost.sh [2024-10-08T06:18:04.624Z] lf-activate-venv: SKIPPING [2024-10-08T06:18:04.624Z] INFO: No Stack... [2024-10-08T06:18:04.889Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-10-08T06:18:05.842Z] INFO: Archiving Costs [Pipeline] sh [2024-10-08T06:18:06.507Z] + cat /w/workspace/device-modbus-go/1/archives/cost.csv [2024-10-08T06:18:06.507Z] + cut -d, -f6 [Pipeline] lock [2024-10-08T06:18:06.593Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-modbus-go-PR-579-1-stack-cost] [2024-10-08T06:18:06.601Z] Resource [jenkins-edgexfoundry-device-modbus-go-PR-579-1-stack-cost] did not exist. Created. [2024-10-08T06:18:06.608Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-modbus-go-PR-579-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-10-08T06:18:07.353Z] /w/workspace/device-modbus-go/1@tmp/durable-644a451e/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-10-08T06:18:08.019Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-10-08T06:18:08.070Z] Warning: overwriting stash ‘stack-cost’ [2024-10-08T06:18:08.116Z] Stashed 1 file(s) [Pipeline] } [2024-10-08T06:18:08.141Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-modbus-go-PR-579-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-10-08T06:18:08.236Z] $ docker stop --time=1 e71dd550a26655ddbe23ab68144d54d4a6906adb222a9b114becd371f28e6c7d [2024-10-08T06:18:09.765Z] $ docker rm -f --volumes e71dd550a26655ddbe23ab68144d54d4a6906adb222a9b114becd371f28e6c7d [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-10-08T06:18:10.955Z] provisioning config files... [2024-10-08T06:18:10.965Z] copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-579@tmp/config5431986830404872738tmp [Pipeline] { [Pipeline] sh [2024-10-08T06:18:11.324Z] + set +x [2024-10-08T06:18:11.325Z] + bash -s -- [2024-10-08T06:18:11.325Z] + curl -s https://codecov.io/bash [2024-10-08T06:18:11.325Z] [2024-10-08T06:18:11.325Z] _____ _ [2024-10-08T06:18:11.325Z] / ____| | | [2024-10-08T06:18:11.325Z] | | ___ __| | ___ ___ _____ __ [2024-10-08T06:18:11.325Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2024-10-08T06:18:11.325Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2024-10-08T06:18:11.325Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2024-10-08T06:18:11.325Z] Bash-1.0.6 [2024-10-08T06:18:11.325Z] [2024-10-08T06:18:11.325Z] [2024-10-08T06:18:11.325Z] ==> git version 2.25.1 found [2024-10-08T06:18:11.325Z] ==> 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-10-08T06:18:11.325Z] Release-Date: 2020-01-08 [2024-10-08T06:18:11.325Z] 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-10-08T06:18:11.325Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2024-10-08T06:18:11.325Z] ==> Jenkins CI detected. [2024-10-08T06:18:11.325Z] current dir:  /w/workspace/xfoundry_device-modbus-go_PR-579 [2024-10-08T06:18:11.325Z] project root: . [2024-10-08T06:18:11.325Z] --> token set from env [2024-10-08T06:18:11.325Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2024-10-08T06:18:11.325Z] ==> Running gcov in . (disable via -X gcov) [2024-10-08T06:18:11.325Z] ==> Python coveragepy not found [2024-10-08T06:18:11.325Z] ==> Searching for coverage reports in: [2024-10-08T06:18:11.325Z] + . [2024-10-08T06:18:11.325Z] -> Found 1 reports [2024-10-08T06:18:11.325Z] ==> Detecting git/mercurial file structure [2024-10-08T06:18:11.325Z] ==> Reading reports [2024-10-08T06:18:11.584Z] + ./coverage.out bytes=24669 [2024-10-08T06:18:11.584Z] ==> Appending adjustments [2024-10-08T06:18:11.584Z] https://docs.codecov.io/docs/fixing-reports [2024-10-08T06:18:11.584Z] + Found adjustments [2024-10-08T06:18:11.584Z] ==> Gzipping contents [2024-10-08T06:18:11.584Z] 4.0K /tmp/codecov.1fYM2j.gz [2024-10-08T06:18:11.584Z] ==> Uploading reports [2024-10-08T06:18:11.584Z] url: https://codecov.io [2024-10-08T06:18:11.584Z] query: branch=PR-579&commit=32ca124e631bef4abaadea0e4bd7ceb7d6b71a79&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-579%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=579&job=&cmd_args= [2024-10-08T06:18:11.584Z] -> Pinging Codecov [2024-10-08T06:18:11.584Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-579&commit=32ca124e631bef4abaadea0e4bd7ceb7d6b71a79&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-579%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=579&job=&cmd_args= [2024-10-08T06:18:11.842Z] -> Uploading to [2024-10-08T06:18:11.843Z] https://storage.googleapis.com/codecov/shelter/v4/github/edgexfoundry/device-modbus-go/32ca124e631bef4abaadea0e4bd7ceb7d6b71a79/99f7a0f9-e05e-44d7-b9cb-8bef0819f897.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20241008%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20241008T061811Z&X-Amz-Expires=30&X-Amz-SignedHeaders=host&X-Amz-Signature=d24f2004b701382c660cd14462ca5b749db59d4044148727482abe0f2e4192cb [2024-10-08T06:18:11.843Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-10-08T06:18:11.843Z] Dload Upload Total Spent Left Speed [2024-10-08T06:18:12.103Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3859 0 0 100 3859 0 17540 --:--:-- --:--:-- --:--:-- 17540 [2024-10-08T06:18:12.103Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/32ca124e631bef4abaadea0e4bd7ceb7d6b71a79 [Pipeline] } [2024-10-08T06:18:12.139Z] 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-10-08T06:18:14.449Z] + [ -d /w/workspace/xfoundry_device-modbus-go_PR-579/archives ] [2024-10-08T06:18:14.450Z] + ls -al /w/workspace/xfoundry_device-modbus-go_PR-579/archives [2024-10-08T06:18:14.450Z] total 16 [2024-10-08T06:18:14.450Z] drwxr-xr-x 3 root root 4096 Oct 8 06:04 . [2024-10-08T06:18:14.450Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 8 06:04 .. [2024-10-08T06:18:14.450Z] drwxr-xr-x 2 root root 4096 Oct 8 06:04 cost [2024-10-08T06:18:14.450Z] -rw-r--r-- 1 root root 88 Oct 8 06:04 cost.csv [2024-10-08T06:18:14.450Z] + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-579/archives [2024-10-08T06:18:14.450Z] + ls -al /w/workspace/xfoundry_device-modbus-go_PR-579/archives [2024-10-08T06:18:14.450Z] total 16 [2024-10-08T06:18:14.450Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 8 06:04 . [2024-10-08T06:18:14.450Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 8 06:04 .. [2024-10-08T06:18:14.450Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 8 06:04 cost [2024-10-08T06:18:14.450Z] -rw-r--r-- 1 jenkins jenkins 88 Oct 8 06:04 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-10-08T06:18:14.787Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-08T06:18:15.693Z] ---> package-listing.sh [2024-10-08T06:18:15.693Z] ++ facter osfamily [2024-10-08T06:18:15.693Z] ++ tr '[:upper:]' '[:lower:]' [2024-10-08T06:18:15.953Z] + OS_FAMILY=debian [2024-10-08T06:18:15.953Z] + workspace=/w/workspace/xfoundry_device-modbus-go_PR-579 [2024-10-08T06:18:15.953Z] + START_PACKAGES=/tmp/packages_start.txt [2024-10-08T06:18:15.953Z] + END_PACKAGES=/tmp/packages_end.txt [2024-10-08T06:18:15.953Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-10-08T06:18:15.953Z] + PACKAGES=/tmp/packages_start.txt [2024-10-08T06:18:15.953Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-579 ']' [2024-10-08T06:18:15.953Z] + PACKAGES=/tmp/packages_end.txt [2024-10-08T06:18:15.953Z] + case "${OS_FAMILY}" in [2024-10-08T06:18:15.953Z] + dpkg -l [2024-10-08T06:18:15.953Z] + grep '^ii' [2024-10-08T06:18:15.953Z] + '[' -f /tmp/packages_start.txt ']' [2024-10-08T06:18:15.953Z] + '[' -f /tmp/packages_end.txt ']' [2024-10-08T06:18:15.953Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-10-08T06:18:15.953Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-579 ']' [2024-10-08T06:18:15.953Z] + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-579/archives/ [2024-10-08T06:18:15.953Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-579/archives/ [Pipeline] echo [2024-10-08T06:18:16.002Z] 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-579/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-10-08T06:18:16.308Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-08T06:18:16.969Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-08T06:18:16.969Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-08T06:18:17.144Z] prd-ubuntu20.04-docker-8c-8g-22170 does not seem to be running inside a container [2024-10-08T06:18:17.158Z] $ 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-579/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-579 -v /w/workspace/xfoundry_device-modbus-go_PR-579:/w/workspace/xfoundry_device-modbus-go_PR-579:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-579@tmp:/w/workspace/xfoundry_device-modbus-go_PR-579@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-10-08T06:18:17.374Z] $ docker top d64e4ddc411855089351e704a4c4195bea8cceb73829c955e7fe2abab3cf493e -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-08T06:18:17.863Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-10-08T06:18:18.205Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-10-08T06:18:18.531Z] + ls /var/log/sa-host [2024-10-08T06:18:18.531Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-10-08T06:18:18.704Z] provisioning config files... [2024-10-08T06:18:18.713Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-579@tmp/config17419027028157689470tmp [Pipeline] { [Pipeline] echo [2024-10-08T06:18:18.789Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-08T06:18:19.116Z] ---> create-netrc.sh [Pipeline] } [2024-10-08T06:18:19.149Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-10-08T06:18:19.584Z] ---> python-tools-install.sh [Pipeline] echo [2024-10-08T06:18:19.627Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-08T06:18:19.953Z] ---> sudo-logs.sh [2024-10-08T06:18:19.953Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-10-08T06:18:20.073Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-08T06:18:20.401Z] ---> job-cost.sh [2024-10-08T06:18:20.401Z] lf-activate-venv: SKIPPING [2024-10-08T06:18:20.401Z] DEBUG: total: 0.2199999988079071 [2024-10-08T06:18:20.401Z] INFO: Retrieving Stack Cost... [2024-10-08T06:18:20.660Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-10-08T06:18:21.229Z] INFO: Archiving Costs [Pipeline] echo [2024-10-08T06:18:21.273Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-08T06:18:21.598Z] ---> logs-deploy.sh [2024-10-08T06:18:21.598Z] lf-activate-venv: SKIPPING [2024-10-08T06:18:21.598Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-579/1 [2024-10-08T06:18:21.598Z] INFO: archiving workspace using pattern(s): [2024-10-08T06:18:22.542Z] Archives upload complete. [2024-10-08T06:18:22.542Z] INFO: archiving logs to Nexus