Pull request #582 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of jackchenjc for edgexfoundry/device-modbus-go Obtained Jenkinsfile from 62efd1dd4c397f05c839b675b24cfed764c2ffe4+b773e44940ad369af529d1a2db565c19940e1657 (b6b8c9a3d577a191b68164985f5bd6b673e84309) 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-ssh7237839414255406442.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-ssh15836817578998911341.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-582/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-582/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh510145042798765424.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-582/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12507700780903552420.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-ssh1376663117161797611.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-582/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-582/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh11660885452679388501.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-22684 in /w/workspace/xfoundry_device-modbus-go_PR-582 [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-582 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/582/head:refs/remotes/origin/PR-582 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit b773e44940ad369af529d1a2db565c19940e1657 into PR head commit 62efd1dd4c397f05c839b675b24cfed764c2ffe4 Merge succeeded, producing 62efd1dd4c397f05c839b675b24cfed764c2ffe4 Checking out Revision 62efd1dd4c397f05c839b675b24cfed764c2ffe4 (PR-582) > git config core.sparsecheckout # timeout=10 > git checkout -f 62efd1dd4c397f05c839b675b24cfed764c2ffe4 # 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 b773e44940ad369af529d1a2db565c19940e1657 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 62efd1dd4c397f05c839b675b24cfed764c2ffe4 # timeout=10 Commit message: "feat: Enable PIE support for ASLR and full RELRO" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 0b81fa10a7dd14683a964f04f411324fe83f93ac [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-10-14T06:59:24.842Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-10-14T06:59:25.086Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-10-14T06:59:25.212Z] ========================================================= [2024-10-14T06:59:25.212Z] EdgeX Global Pipelines Version Info [2024-10-14T06:59:25.212Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-10-14T06:59:25.988Z] ------------------- [2024-10-14T06:59:25.988Z] stable info: [2024-10-14T06:59:25.988Z] ------------------- [2024-10-14T06:59:25.988Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-10-14T06:59:25.988Z] Commit SHA: 0b81fa10a7dd14683a964f04f411324fe83f93ac [2024-10-14T06:59:25.988Z] Message: update stable to v1.0.265 [2024-10-14T06:59:26.564Z] ------------------- [2024-10-14T06:59:26.564Z] experimental info: [2024-10-14T06:59:26.564Z] ------------------- [2024-10-14T06:59:26.564Z] Commited By: Cherry Wang cherry@iotechsys.com [2024-10-14T06:59:26.564Z] Commit SHA: b5a5e52272fc4198cf3754284eedf36dbf0baa35 [2024-10-14T06:59:26.564Z] Message: update experimental to v1.0.264 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-10-14T06:59:26.795Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo [2024-10-14T06:59:26.844Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo [2024-10-14T06:59:26.898Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-10-14T06:59:26.960Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-10-14T06:59:27.018Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-10-14T06:59:27.076Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo [2024-10-14T06:59:27.138Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-10-14T06:59:27.197Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2024-10-14T06:59:27.255Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-10-14T06:59:27.315Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-10-14T06:59:27.378Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-10-14T06:59:27.440Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo [2024-10-14T06:59:27.506Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-10-14T06:59:27.569Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-10-14T06:59:27.633Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-10-14T06:59:27.699Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2024-10-14T06:59:27.754Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-10-14T06:59:27.808Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-10-14T06:59:27.870Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-10-14T06:59:27.927Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-10-14T06:59:27.983Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2024-10-14T06:59:28.043Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2024-10-14T06:59:28.108Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-10-14T06:59:28.163Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-10-14T06:59:28.224Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-10-14T06:59:28.284Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-10-14T06:59:28.341Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-10-14T06:59:28.398Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-582 [Pipeline] echo [2024-10-14T06:59:28.451Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-582 [Pipeline] echo [2024-10-14T06:59:28.511Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-582 [Pipeline] echo [2024-10-14T06:59:28.570Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 62efd1dd4c397f05c839b675b24cfed764c2ffe4 [Pipeline] echo [2024-10-14T06:59:28.632Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 62efd1d [Pipeline] echo [2024-10-14T06:59:28.692Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-10-14T06:59:28.843Z] provisioning config files... [2024-10-14T06:59:28.860Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-582@tmp/config17627465186221111384tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-14T06:59:29.266Z] ---> ****-login.sh [2024-10-14T06:59:29.266Z] nexus3.edgexfoundry.org:10001 [2024-10-14T06:59:29.528Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-14T06:59:29.528Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-14T06:59:29.528Z] Configure a credential helper to remove this warning. See [2024-10-14T06:59:29.528Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-14T06:59:29.528Z] [2024-10-14T06:59:29.528Z] Login Succeeded [2024-10-14T06:59:29.528Z] nexus3.edgexfoundry.org:10002 [2024-10-14T06:59:29.528Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-14T06:59:29.528Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-14T06:59:29.528Z] Configure a credential helper to remove this warning. See [2024-10-14T06:59:29.528Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-14T06:59:29.528Z] [2024-10-14T06:59:29.528Z] Login Succeeded [2024-10-14T06:59:29.528Z] nexus3.edgexfoundry.org:10003 [2024-10-14T06:59:29.789Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-14T06:59:29.789Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-14T06:59:29.789Z] Configure a credential helper to remove this warning. See [2024-10-14T06:59:29.789Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-14T06:59:29.789Z] [2024-10-14T06:59:29.789Z] Login Succeeded [2024-10-14T06:59:29.789Z] nexus3.edgexfoundry.org:10004 [2024-10-14T06:59:29.789Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-14T06:59:29.789Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-14T06:59:29.789Z] Configure a credential helper to remove this warning. See [2024-10-14T06:59:29.789Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-14T06:59:29.789Z] [2024-10-14T06:59:29.789Z] Login Succeeded [2024-10-14T06:59:29.789Z] ****.io [2024-10-14T06:59:30.049Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-14T06:59:30.049Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-14T06:59:30.049Z] Configure a credential helper to remove this warning. See [2024-10-14T06:59:30.049Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-14T06:59:30.049Z] [2024-10-14T06:59:30.049Z] Login Succeeded [2024-10-14T06:59:30.049Z] ---> ****-login.sh ends [Pipeline] } [2024-10-14T06:59:30.085Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-10-14T06:59:30.776Z] + git rev-list -1 --merges 62efd1dd4c397f05c839b675b24cfed764c2ffe4~1..62efd1dd4c397f05c839b675b24cfed764c2ffe4 [Pipeline] echo [2024-10-14T06:59:30.829Z] -----------> git rev-list -1 --merges 62efd1dd4c397f05c839b675b24cfed764c2ffe4~1..62efd1dd4c397f05c839b675b24cfed764c2ffe4 62efd1dd4c397f05c839b675b24cfed764c2ffe4 [false] [Pipeline] sh [2024-10-14T06:59:31.163Z] + git log --format=format:%s -1 62efd1dd4c397f05c839b675b24cfed764c2ffe4 [Pipeline] echo [2024-10-14T06:59:31.211Z] ========================================================= [2024-10-14T06:59:31.211Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-10-14T06:59:31.211Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-10-14T06:59:31.671Z] + git log --format=format:%s -1 62efd1dd4c397f05c839b675b24cfed764c2ffe4 [Pipeline] echo [2024-10-14T06:59:31.713Z] [semverPrep] GIT_COMMIT: 62efd1dd4c397f05c839b675b24cfed764c2ffe4, Commit Message: feat: Enable PIE support for ASLR and full RELRO [Pipeline] echo [2024-10-14T06:59:31.764Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-10-14T06:59:32.167Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-10-14T06:59:32.168Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-10-14T06:59:32.168Z] + [ -e /tmp/ssh_known_hosts ] [2024-10-14T06:59:32.168Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-10-14T06:59:32.168Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-10-14T06:59:32.168Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2024-10-14T06:59:32.168Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-14T06:59:32.625Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-10-14T06:59:32.625Z] [2024-10-14T06:59:32.625Z] 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-14T06:59:33.039Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-10-14T06:59:33.040Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-10-14T06:59:33.040Z] b85a868b505f: Pulling fs layer [2024-10-14T06:59:33.040Z] e2be974225ed: Pulling fs layer [2024-10-14T06:59:33.040Z] 339a4e72a1f5: Pulling fs layer [2024-10-14T06:59:33.040Z] 988bab9f4d93: Pulling fs layer [2024-10-14T06:59:33.040Z] 1469e6f7b9e6: Pulling fs layer [2024-10-14T06:59:33.040Z] eaf3925da568: Pulling fs layer [2024-10-14T06:59:33.040Z] bab4dde63d76: Pulling fs layer [2024-10-14T06:59:33.040Z] bde34c3a00c8: Pulling fs layer [2024-10-14T06:59:33.040Z] b352a97aabf1: Pulling fs layer [2024-10-14T06:59:33.040Z] 4872d77fe225: Pulling fs layer [2024-10-14T06:59:33.040Z] 5851b861e8e6: Pulling fs layer [2024-10-14T06:59:33.040Z] bab4dde63d76: Waiting [2024-10-14T06:59:33.040Z] bde34c3a00c8: Waiting [2024-10-14T06:59:33.040Z] 5851b861e8e6: Waiting [2024-10-14T06:59:33.040Z] b352a97aabf1: Waiting [2024-10-14T06:59:33.040Z] 988bab9f4d93: Waiting [2024-10-14T06:59:33.040Z] 1469e6f7b9e6: Waiting [2024-10-14T06:59:33.040Z] eaf3925da568: Waiting [2024-10-14T06:59:33.040Z] 4872d77fe225: Waiting [2024-10-14T06:59:33.040Z] e2be974225ed: Verifying Checksum [2024-10-14T06:59:33.040Z] e2be974225ed: Download complete [2024-10-14T06:59:33.040Z] 988bab9f4d93: Verifying Checksum [2024-10-14T06:59:33.040Z] 988bab9f4d93: Download complete [2024-10-14T06:59:33.040Z] 1469e6f7b9e6: Verifying Checksum [2024-10-14T06:59:33.040Z] 1469e6f7b9e6: Download complete [2024-10-14T06:59:33.299Z] eaf3925da568: Verifying Checksum [2024-10-14T06:59:33.299Z] eaf3925da568: Download complete [2024-10-14T06:59:33.299Z] 339a4e72a1f5: Verifying Checksum [2024-10-14T06:59:33.299Z] 339a4e72a1f5: Download complete [2024-10-14T06:59:33.299Z] bde34c3a00c8: Verifying Checksum [2024-10-14T06:59:33.299Z] bde34c3a00c8: Download complete [2024-10-14T06:59:33.299Z] b352a97aabf1: Verifying Checksum [2024-10-14T06:59:33.299Z] b352a97aabf1: Download complete [2024-10-14T06:59:33.299Z] 4872d77fe225: Download complete [2024-10-14T06:59:33.299Z] 5851b861e8e6: Verifying Checksum [2024-10-14T06:59:33.299Z] 5851b861e8e6: Download complete [2024-10-14T06:59:33.299Z] b85a868b505f: Verifying Checksum [2024-10-14T06:59:33.299Z] b85a868b505f: Download complete [2024-10-14T06:59:33.558Z] bab4dde63d76: Download complete [2024-10-14T06:59:34.499Z] b85a868b505f: Pull complete [2024-10-14T06:59:34.757Z] e2be974225ed: Pull complete [2024-10-14T06:59:35.325Z] 339a4e72a1f5: Pull complete [2024-10-14T06:59:35.325Z] 988bab9f4d93: Pull complete [2024-10-14T06:59:35.584Z] 1469e6f7b9e6: Pull complete [2024-10-14T06:59:35.584Z] eaf3925da568: Pull complete [2024-10-14T06:59:37.489Z] bab4dde63d76: Pull complete [2024-10-14T06:59:37.489Z] bde34c3a00c8: Pull complete [2024-10-14T06:59:37.749Z] b352a97aabf1: Pull complete [2024-10-14T06:59:37.749Z] 4872d77fe225: Pull complete [2024-10-14T06:59:38.010Z] 5851b861e8e6: Pull complete [2024-10-14T06:59:38.010Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-10-14T06:59:38.010Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-10-14T06:59:38.010Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-14T06:59:38.322Z] prd-ubuntu20.04-docker-8c-8g-22684 does not seem to be running inside a container [2024-10-14T06:59:38.348Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-582 -v /w/workspace/xfoundry_device-modbus-go_PR-582:/w/workspace/xfoundry_device-modbus-go_PR-582:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-582@tmp:/w/workspace/xfoundry_device-modbus-go_PR-582@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-devops/py-git-semver:0.1.4 cat [2024-10-14T06:59:41.339Z] $ docker top 54f9135a096cb0001a4e88e6794d6c95d86aa15af22a89acbd9007fd59fabdb5 -eo pid,comm [2024-10-14T06:59:41.399Z] 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-14T06:59:41.399Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-10-14T06:59:41.581Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-10-14T06:59:41.581Z] [ssh-agent] Looking for ssh-agent implementation... [2024-10-14T06:59:41.699Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-10-14T06:59:41.696Z] $ docker exec 54f9135a096cb0001a4e88e6794d6c95d86aa15af22a89acbd9007fd59fabdb5 ssh-agent [2024-10-14T06:59:41.814Z] SSH_AUTH_SOCK=/tmp/ssh-Y6Y5hP2TKTwY/agent.32 [2024-10-14T06:59:41.814Z] SSH_AGENT_PID=38 [2024-10-14T06:59:41.822Z] Running ssh-add (command line suppressed) [2024-10-14T06:59:41.921Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-582@tmp/private_key_2458874706900327006.key (/w/workspace/xfoundry_device-modbus-go_PR-582@tmp/private_key_2458874706900327006.key) [2024-10-14T06:59:41.941Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-10-14T06:59:42.298Z] + git tag --points-at HEAD [Pipeline] } [2024-10-14T06:59:42.318Z] $ docker exec --env ******** --env ******** 54f9135a096cb0001a4e88e6794d6c95d86aa15af22a89acbd9007fd59fabdb5 ssh-agent -k [2024-10-14T06:59:42.417Z] unset SSH_AUTH_SOCK; [2024-10-14T06:59:42.418Z] unset SSH_AGENT_PID; [2024-10-14T06:59:42.418Z] echo Agent pid 38 killed; [2024-10-14T06:59:42.433Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-10-14T06:59:42.692Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-10-14T06:59:42.692Z] [ssh-agent] Looking for ssh-agent implementation... [2024-10-14T06:59:42.822Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-10-14T06:59:42.819Z] $ docker exec 54f9135a096cb0001a4e88e6794d6c95d86aa15af22a89acbd9007fd59fabdb5 ssh-agent [2024-10-14T06:59:42.940Z] SSH_AUTH_SOCK=/tmp/ssh-Opcz7O55vrNb/agent.71 [2024-10-14T06:59:42.940Z] SSH_AGENT_PID=77 [2024-10-14T06:59:42.944Z] Running ssh-add (command line suppressed) [2024-10-14T06:59:43.041Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-582@tmp/private_key_9586351075963763040.key (/w/workspace/xfoundry_device-modbus-go_PR-582@tmp/private_key_9586351075963763040.key) [2024-10-14T06:59:43.064Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-10-14T06:59:43.407Z] + git semver init [2024-10-14T06:59:43.676Z] 2024-10-14 06:59:43,583 [run_init] DEBUG init version:0.0.0 force:False [2024-10-14T06:59:43.676Z] 2024-10-14 06:59:43,584 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-modbus-go_PR-582/.semver [2024-10-14T06:59:43.676Z] 2024-10-14 06:59:43,584 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/xfoundry_device-modbus-go_PR-582/.semver [2024-10-14T06:59:43.676Z] 2024-10-14 06:59:43,585 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/xfoundry_device-modbus-go_PR-582/.semver'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-582, universal_newlines=False, shell=None, istream=None) [2024-10-14T06:59:45.055Z] 2024-10-14 06:59:44,612 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-modbus-go_PR-582/.git/info/exclude [2024-10-14T06:59:45.055Z] 2024-10-14 06:59:44,613 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-modbus-go_PR-582/.semver/PR-582 with force:False [2024-10-14T06:59:45.055Z] 2024-10-14 06:59:44,613 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-modbus-go_PR-582/.semver/PR-582 [2024-10-14T06:59:45.055Z] 2024-10-14 06:59:44,618 [execute] INFO git cat-file --batch-check [2024-10-14T06:59:45.055Z] 2024-10-14 06:59:44,619 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-582/.semver, universal_newlines=False, shell=None, istream=) [2024-10-14T06:59:45.055Z] 2024-10-14 06:59:44,625 [execute] INFO git cat-file --batch [2024-10-14T06:59:45.055Z] 2024-10-14 06:59:44,625 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-582/.semver, universal_newlines=False, shell=None, istream=) [2024-10-14T06:59:45.055Z] 2024-10-14 06:59:44,631 [read_version] DEBUG read version from /w/workspace/xfoundry_device-modbus-go_PR-582/.semver/PR-582 [2024-10-14T06:59:45.055Z] 0.0.0 [Pipeline] } [2024-10-14T06:59:45.079Z] $ docker exec --env ******** --env ******** 54f9135a096cb0001a4e88e6794d6c95d86aa15af22a89acbd9007fd59fabdb5 ssh-agent -k [2024-10-14T06:59:45.185Z] unset SSH_AUTH_SOCK; [2024-10-14T06:59:45.186Z] unset SSH_AGENT_PID; [2024-10-14T06:59:45.186Z] echo Agent pid 77 killed; [2024-10-14T06:59:45.200Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-10-14T06:59:45.662Z] + git semver [Pipeline] } [2024-10-14T06:59:45.943Z] $ docker stop --time=1 54f9135a096cb0001a4e88e6794d6c95d86aa15af22a89acbd9007fd59fabdb5 [2024-10-14T06:59:47.243Z] $ docker rm -f --volumes 54f9135a096cb0001a4e88e6794d6c95d86aa15af22a89acbd9007fd59fabdb5 [Pipeline] // withDockerContainer [Pipeline] sh [2024-10-14T06:59:47.664Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-10-14T06:59:47.993Z] Stashed 1 file(s) [Pipeline] echo [2024-10-14T06:59:48.020Z] [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-14T06:59:48.748Z] provisioning config files... [2024-10-14T06:59:48.760Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-582@tmp/config3959030990411430589tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-14T06:59:49.127Z] ---> ****-login.sh [2024-10-14T06:59:49.127Z] nexus3.edgexfoundry.org:10001 [2024-10-14T06:59:49.127Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-14T06:59:49.127Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-14T06:59:49.127Z] Configure a credential helper to remove this warning. See [2024-10-14T06:59:49.127Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-14T06:59:49.127Z] [2024-10-14T06:59:49.127Z] Login Succeeded [2024-10-14T06:59:49.127Z] nexus3.edgexfoundry.org:10002 [2024-10-14T06:59:49.127Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-14T06:59:49.127Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-14T06:59:49.127Z] Configure a credential helper to remove this warning. See [2024-10-14T06:59:49.127Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-14T06:59:49.127Z] [2024-10-14T06:59:49.127Z] Login Succeeded [2024-10-14T06:59:49.127Z] nexus3.edgexfoundry.org:10003 [2024-10-14T06:59:49.386Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-14T06:59:49.386Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-14T06:59:49.386Z] Configure a credential helper to remove this warning. See [2024-10-14T06:59:49.386Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-14T06:59:49.386Z] [2024-10-14T06:59:49.386Z] Login Succeeded [2024-10-14T06:59:49.386Z] nexus3.edgexfoundry.org:10004 [2024-10-14T06:59:49.386Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-14T06:59:49.386Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-14T06:59:49.386Z] Configure a credential helper to remove this warning. See [2024-10-14T06:59:49.386Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-14T06:59:49.386Z] [2024-10-14T06:59:49.386Z] Login Succeeded [2024-10-14T06:59:49.386Z] ****.io [2024-10-14T06:59:49.646Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-14T06:59:49.646Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-14T06:59:49.646Z] Configure a credential helper to remove this warning. See [2024-10-14T06:59:49.646Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-14T06:59:49.646Z] [2024-10-14T06:59:49.646Z] Login Succeeded [2024-10-14T06:59:49.646Z] ---> ****-login.sh ends [Pipeline] } [2024-10-14T06:59:49.681Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-10-14T06:59:49.904Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-14T06:59:49.958Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-14T06:59:50.004Z] ========================================================= [2024-10-14T06:59:50.004Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] [2024-10-14T06:59:50.004Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-14T06:59:50.534Z] + 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-14T06:59:50.534Z] Sending build context to Docker daemon 17.95MB [2024-10-14T06:59:50.534Z] Step 1/10 : ARG BASE=golang:1.23-alpine3.20 [2024-10-14T06:59:50.534Z] Step 2/10 : FROM ${BASE} AS builder [2024-10-14T06:59:50.534Z] 1.23-alpine: Pulling from edgex-devops/edgex-golang-base [2024-10-14T06:59:50.534Z] 43c4264eed91: Pulling fs layer [2024-10-14T06:59:50.534Z] 4cc291be95ef: Pulling fs layer [2024-10-14T06:59:50.534Z] 2ac1f1163629: Pulling fs layer [2024-10-14T06:59:50.534Z] 5c3c966382ef: Pulling fs layer [2024-10-14T06:59:50.534Z] 4f4fb700ef54: Pulling fs layer [2024-10-14T06:59:50.534Z] 5d5c8e513c77: Pulling fs layer [2024-10-14T06:59:50.534Z] 9f66e0745190: Pulling fs layer [2024-10-14T06:59:50.534Z] f49a43e4bbc0: Pulling fs layer [2024-10-14T06:59:50.534Z] 561ebcabdf7f: Pulling fs layer [2024-10-14T06:59:50.534Z] 5c3c966382ef: Waiting [2024-10-14T06:59:50.534Z] 4f4fb700ef54: Waiting [2024-10-14T06:59:50.534Z] f49a43e4bbc0: Waiting [2024-10-14T06:59:50.534Z] 561ebcabdf7f: Waiting [2024-10-14T06:59:50.534Z] 5d5c8e513c77: Waiting [2024-10-14T06:59:50.534Z] 9f66e0745190: Waiting [2024-10-14T06:59:50.534Z] 4cc291be95ef: Verifying Checksum [2024-10-14T06:59:50.534Z] 4cc291be95ef: Download complete [2024-10-14T06:59:50.793Z] 5c3c966382ef: Verifying Checksum [2024-10-14T06:59:50.793Z] 5c3c966382ef: Download complete [2024-10-14T06:59:50.793Z] 4f4fb700ef54: Download complete [2024-10-14T06:59:50.793Z] 5d5c8e513c77: Verifying Checksum [2024-10-14T06:59:50.793Z] 5d5c8e513c77: Download complete [2024-10-14T06:59:50.793Z] 43c4264eed91: Download complete [2024-10-14T06:59:50.793Z] 9f66e0745190: Verifying Checksum [2024-10-14T06:59:50.793Z] 9f66e0745190: Download complete [2024-10-14T06:59:50.793Z] 43c4264eed91: Pull complete [2024-10-14T06:59:51.051Z] 561ebcabdf7f: Download complete [2024-10-14T06:59:51.051Z] 4cc291be95ef: Pull complete [2024-10-14T06:59:51.310Z] 2ac1f1163629: Verifying Checksum [2024-10-14T06:59:51.310Z] 2ac1f1163629: Download complete [2024-10-14T06:59:51.570Z] f49a43e4bbc0: Verifying Checksum [2024-10-14T06:59:51.570Z] f49a43e4bbc0: Download complete [2024-10-14T06:59:54.861Z] 2ac1f1163629: Pull complete [2024-10-14T06:59:55.121Z] 5c3c966382ef: Pull complete [2024-10-14T06:59:55.121Z] 4f4fb700ef54: Pull complete [2024-10-14T06:59:55.121Z] 5d5c8e513c77: Pull complete [2024-10-14T06:59:55.121Z] 9f66e0745190: Pull complete [2024-10-14T06:59:57.668Z] f49a43e4bbc0: Pull complete [2024-10-14T06:59:58.284Z] 561ebcabdf7f: Pull complete [2024-10-14T06:59:58.284Z] Digest: sha256:0719486ae9a24b675ee3acaa2cfd867e7a981f2ef22b41d166c62d936fe8de2d [2024-10-14T06:59:58.284Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine [2024-10-14T06:59:58.284Z] ---> 3a752c3f9dda [2024-10-14T06:59:58.284Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2024-10-14T07:00:02.510Z] ---> Running in fe3b9c88c196 [2024-10-14T07:00:02.510Z] Removing intermediate container fe3b9c88c196 [2024-10-14T07:00:02.510Z] ---> 1e15af135ad4 [2024-10-14T07:00:02.510Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-10-14T07:00:02.510Z] ---> Running in 8bfd509e4a7c [2024-10-14T07:00:02.510Z] Removing intermediate container 8bfd509e4a7c [2024-10-14T07:00:02.510Z] ---> 47f4766240e5 [2024-10-14T07:00:02.510Z] Step 5/10 : RUN apk add --update --no-cache make git openssh [2024-10-14T07:00:02.770Z] ---> Running in 79fa9494f0d7 [2024-10-14T07:00:03.031Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-14T07:00:03.031Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-14T07:00:03.290Z] (1/8) Installing openssh-keygen (9.7_p1-r4) [2024-10-14T07:00:03.290Z] (2/8) Installing libedit (20240517.3.1-r0) [2024-10-14T07:00:03.290Z] (3/8) Installing openssh-client-common (9.7_p1-r4) [2024-10-14T07:00:03.290Z] (4/8) Installing openssh-client-default (9.7_p1-r4) [2024-10-14T07:00:03.290Z] (5/8) Installing openssh-sftp-server (9.7_p1-r4) [2024-10-14T07:00:03.290Z] (6/8) Installing openssh-server-common (9.7_p1-r4) [2024-10-14T07:00:03.290Z] (7/8) Installing openssh-server (9.7_p1-r4) [2024-10-14T07:00:03.290Z] (8/8) Installing openssh (9.7_p1-r4) [2024-10-14T07:00:03.290Z] Executing busybox-1.36.1-r29.trigger [2024-10-14T07:00:03.290Z] OK: 252 MiB in 62 packages [2024-10-14T07:00:03.531Z] Still waiting to schedule task [2024-10-14T07:00:03.531Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2024-10-14T07:00:03.858Z] Removing intermediate container 79fa9494f0d7 [2024-10-14T07:00:03.858Z] ---> 5c15fc7ced14 [2024-10-14T07:00:03.858Z] Step 6/10 : WORKDIR /device-modbus-go [2024-10-14T07:00:03.858Z] ---> Running in 32313b758ec9 [2024-10-14T07:00:04.119Z] Removing intermediate container 32313b758ec9 [2024-10-14T07:00:04.119Z] ---> 613c12dbace5 [2024-10-14T07:00:04.119Z] Step 7/10 : COPY go.mod vendor* ./ [2024-10-14T07:00:04.119Z] ---> 2e3b73ffdd18 [2024-10-14T07:00:04.119Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-10-14T07:00:04.119Z] ---> Running in 0f5aca92cc2a [2024-10-14T07:00:53.446Z] Removing intermediate container 0f5aca92cc2a [2024-10-14T07:00:53.446Z] ---> 61cebde8ce2d [2024-10-14T07:00:53.446Z] Step 9/10 : COPY . . [2024-10-14T07:00:53.446Z] ---> 79a2a7fa93f5 [2024-10-14T07:00:53.446Z] Step 10/10 : RUN ${MAKE} [2024-10-14T07:00:53.446Z] ---> Running in e7dd057f37a8 [2024-10-14T07:00:53.446Z] noop [2024-10-14T07:00:53.446Z] Removing intermediate container e7dd057f37a8 [2024-10-14T07:00:53.446Z] ---> aa5062188779 [2024-10-14T07:00:53.446Z] Successfully built aa5062188779 [2024-10-14T07:00:53.446Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-14T07:00:53.942Z] + docker inspect -f . ci-base-image-x86_64 [2024-10-14T07:00:53.942Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-14T07:00:54.123Z] prd-ubuntu20.04-docker-8c-8g-22684 does not seem to be running inside a container [2024-10-14T07:00:54.160Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-582 -v /w/workspace/xfoundry_device-modbus-go_PR-582:/w/workspace/xfoundry_device-modbus-go_PR-582:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-582@tmp:/w/workspace/xfoundry_device-modbus-go_PR-582@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 ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-10-14T07:00:54.538Z] $ docker top 790492e27147f797333cb5775437238891cd06442a184fb813e3367ab83bb2ed -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-14T07:00:54.955Z] + go version [2024-10-14T07:00:54.955Z] go version go1.23.2 linux/amd64 [Pipeline] } [2024-10-14T07:00:54.996Z] $ docker stop --time=1 790492e27147f797333cb5775437238891cd06442a184fb813e3367ab83bb2ed [2024-10-14T07:00:56.243Z] $ docker rm -f --volumes 790492e27147f797333cb5775437238891cd06442a184fb813e3367ab83bb2ed [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-14T07:00:57.061Z] + docker inspect -f . ci-base-image-x86_64 [2024-10-14T07:00:57.061Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-14T07:00:57.231Z] prd-ubuntu20.04-docker-8c-8g-22684 does not seem to be running inside a container [2024-10-14T07:00:57.269Z] $ 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-582 -v /w/workspace/xfoundry_device-modbus-go_PR-582:/w/workspace/xfoundry_device-modbus-go_PR-582:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-582@tmp:/w/workspace/xfoundry_device-modbus-go_PR-582@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 ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-10-14T07:00:57.650Z] $ docker top 494948b780cfb066293d5d989ecca3f07300c5abec5dc641eafef312f17d74df -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-14T07:00:58.061Z] + git config --global --add safe.directory /w/workspace/xfoundry_device-modbus-go_PR-582 [Pipeline] fileExists [Pipeline] sh [2024-10-14T07:00:58.435Z] + make test [2024-10-14T07:00:58.435Z] go test ./... -coverprofile=coverage.out [2024-10-14T07:01:00.334Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2024-10-14T07:01:22.261Z] github.com/edgexfoundry/device-modbus-go/cmd coverage: 0.0% of statements [2024-10-14T07:01:22.261Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.011s coverage: 47.9% of statements [2024-10-14T07:01:32.235Z] go vet ./... [2024-10-14T07:01:38.799Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-10-14T07:01:38.799Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-10-14T07:01:38.799Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2024-10-14T07:01:38.849Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-10-14T07:01:38.901Z] $ docker stop --time=1 494948b780cfb066293d5d989ecca3f07300c5abec5dc641eafef312f17d74df [2024-10-14T07:01:41.847Z] $ docker rm -f --volumes 494948b780cfb066293d5d989ecca3f07300c5abec5dc641eafef312f17d74df [Pipeline] // withDockerContainer [Pipeline] sh [2024-10-14T07:01:42.512Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-10-14T07:01:42.590Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2024-10-14T07:01:43.231Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-10-14T07:01:43.550Z] + ls -al . [2024-10-14T07:01:43.550Z] total 272 [2024-10-14T07:01:43.550Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 14 07:00 . [2024-10-14T07:01:43.550Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 14 06:59 .. [2024-10-14T07:01:43.550Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 14 06:59 .dockerignore [2024-10-14T07:01:43.550Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 14 07:01 .git [2024-10-14T07:01:43.550Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 14 06:59 .github [2024-10-14T07:01:43.550Z] -rw-rw-r-- 1 jenkins jenkins 266 Oct 14 06:59 .gitignore [2024-10-14T07:01:43.550Z] -rw-rw-r-- 1 jenkins jenkins 199 Oct 14 06:59 .golangci.yml [2024-10-14T07:01:43.550Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 14 06:59 .semver [2024-10-14T07:01:43.550Z] -rw-rw-r-- 1 jenkins jenkins 19818 Oct 14 06:59 Attribution.txt [2024-10-14T07:01:43.550Z] -rw-rw-r-- 1 jenkins jenkins 16388 Oct 14 06:59 CHANGELOG.md [2024-10-14T07:01:43.550Z] -rw-rw-r-- 1 jenkins jenkins 1474 Oct 14 06:59 Dockerfile [2024-10-14T07:01:43.550Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 14 06:59 GOVERNANCE.md [2024-10-14T07:01:43.550Z] -rw-rw-r-- 1 jenkins jenkins 658 Oct 14 06:59 Jenkinsfile [2024-10-14T07:01:43.550Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 14 06:59 LICENSE [2024-10-14T07:01:43.550Z] -rw-rw-r-- 1 jenkins jenkins 2479 Oct 14 06:59 Makefile [2024-10-14T07:01:43.550Z] -rw-rw-r-- 1 jenkins jenkins 622 Oct 14 06:59 OWNERS.md [2024-10-14T07:01:43.550Z] -rw-rw-r-- 1 jenkins jenkins 4463 Oct 14 06:59 README.md [2024-10-14T07:01:43.550Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 14 06:59 VERSION [2024-10-14T07:01:43.550Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 14 06:59 bin [2024-10-14T07:01:43.550Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 14 06:59 cmd [2024-10-14T07:01:43.550Z] -rw-r--r-- 1 jenkins jenkins 24669 Oct 14 07:01 coverage.out [2024-10-14T07:01:43.550Z] -rw-rw-r-- 1 jenkins jenkins 7157 Oct 14 06:59 go.mod [2024-10-14T07:01:43.550Z] -rw-rw-r-- 1 jenkins jenkins 100518 Oct 14 06:59 go.sum [2024-10-14T07:01:43.550Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 14 06:59 internal [2024-10-14T07:01:43.550Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 14 06:59 simulator [2024-10-14T07:01:43.550Z] -rw-rw-r-- 1 jenkins jenkins 229 Oct 14 06:59 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-14T07:01:43.994Z] + 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=62efd1dd4c397f05c839b675b24cfed764c2ffe4 --label arch=amd64 --label version=0.0.0 . [2024-10-14T07:01:43.994Z] Sending build context to Docker daemon 17.97MB [2024-10-14T07:01:43.995Z] Step 1/23 : ARG BASE=golang:1.23-alpine3.20 [2024-10-14T07:01:43.995Z] Step 2/23 : FROM ${BASE} AS builder [2024-10-14T07:01:43.995Z] ---> aa5062188779 [2024-10-14T07:01:43.995Z] Step 3/23 : ARG ADD_BUILD_TAGS="" [2024-10-14T07:01:44.255Z] ---> Running in db2062e4e65b [2024-10-14T07:01:44.514Z] Removing intermediate container db2062e4e65b [2024-10-14T07:01:44.515Z] ---> 7ae812aa158b [2024-10-14T07:01:44.515Z] Step 4/23 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-10-14T07:01:44.515Z] ---> Running in 9d36f23a09da [2024-10-14T07:01:44.515Z] Removing intermediate container 9d36f23a09da [2024-10-14T07:01:44.515Z] ---> 3186c2b22c3a [2024-10-14T07:01:44.515Z] Step 5/23 : RUN apk add --update --no-cache make git openssh [2024-10-14T07:01:44.515Z] ---> Running in 3506add64164 [2024-10-14T07:01:45.085Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-14T07:01:45.086Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-14T07:01:45.346Z] OK: 252 MiB in 62 packages [2024-10-14T07:01:45.917Z] Removing intermediate container 3506add64164 [2024-10-14T07:01:45.917Z] ---> 553f828e7a13 [2024-10-14T07:01:45.917Z] Step 6/23 : WORKDIR /device-modbus-go [2024-10-14T07:01:45.917Z] ---> Running in fac640d50ad8 [2024-10-14T07:01:45.917Z] Removing intermediate container fac640d50ad8 [2024-10-14T07:01:45.917Z] ---> 84ac1aec910b [2024-10-14T07:01:45.917Z] Step 7/23 : COPY go.mod vendor* ./ [2024-10-14T07:01:45.917Z] ---> 8b7d1aaf5b76 [2024-10-14T07:01:45.917Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-10-14T07:01:46.175Z] ---> Running in d91c571a34d8 [2024-10-14T07:01:46.761Z] Removing intermediate container d91c571a34d8 [2024-10-14T07:01:46.761Z] ---> 89c96666245a [2024-10-14T07:01:46.761Z] Step 9/23 : COPY . . [2024-10-14T07:01:47.329Z] ---> f4a893de1130 [2024-10-14T07:01:47.329Z] Step 10/23 : RUN ${MAKE} [2024-10-14T07:01:47.329Z] ---> Running in 0db492a64eb4 [2024-10-14T07:01:47.591Z] 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.45" -trimpath -mod=readonly -ldflags "-bindnow" -buildmode=pie -o cmd/device-modbus ./cmd [2024-10-14T07:02:26.354Z] Removing intermediate container 0db492a64eb4 [2024-10-14T07:02:26.354Z] ---> 51457d18d8e2 [2024-10-14T07:02:26.354Z] Step 11/23 : FROM alpine:3.20 [2024-10-14T07:02:26.354Z] 3.20: Pulling from library/alpine [2024-10-14T07:02:26.354Z] 43c4264eed91: Already exists [2024-10-14T07:02:26.354Z] Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d [2024-10-14T07:02:26.354Z] Status: Downloaded newer image for alpine:3.20 [2024-10-14T07:02:26.354Z] ---> 91ef0af61f39 [2024-10-14T07:02:26.354Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2024: IoTech Ltd' [2024-10-14T07:02:26.354Z] ---> Running in fd12c6f8bd30 [2024-10-14T07:02:26.354Z] Removing intermediate container fd12c6f8bd30 [2024-10-14T07:02:26.354Z] ---> 6be77be9ae6f [2024-10-14T07:02:26.354Z] Step 13/23 : RUN apk add --update --no-cache dumb-init [2024-10-14T07:02:26.354Z] ---> Running in c52aaa1d0a38 [2024-10-14T07:02:26.354Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-14T07:02:26.354Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-14T07:02:26.354Z] (1/1) Installing dumb-init (1.2.5-r3) [2024-10-14T07:02:26.354Z] Executing busybox-1.36.1-r29.trigger [2024-10-14T07:02:26.354Z] OK: 8 MiB in 15 packages [2024-10-14T07:02:26.354Z] Removing intermediate container c52aaa1d0a38 [2024-10-14T07:02:26.354Z] ---> fb4446bde4f1 [2024-10-14T07:02:26.354Z] Step 14/23 : RUN apk --no-cache upgrade [2024-10-14T07:02:26.354Z] ---> Running in b0aa76273f2c [2024-10-14T07:02:26.354Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-14T07:02:26.354Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-14T07:02:26.354Z] Upgrading critical system libraries and apk-tools: [2024-10-14T07:02:26.354Z] (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) [2024-10-14T07:02:26.354Z] Executing busybox-1.36.1-r29.trigger [2024-10-14T07:02:26.354Z] Continuing the upgrade transaction with new apk-tools: [2024-10-14T07:02:26.354Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-14T07:02:26.354Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-14T07:02:26.354Z] OK: 8 MiB in 15 packages [2024-10-14T07:02:26.354Z] Removing intermediate container b0aa76273f2c [2024-10-14T07:02:26.354Z] ---> b8ef3782cc5c [2024-10-14T07:02:26.354Z] Step 15/23 : COPY --from=builder /device-modbus-go/cmd / [2024-10-14T07:02:28.263Z] ---> cd6c5676d711 [2024-10-14T07:02:28.263Z] Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / [2024-10-14T07:02:28.263Z] ---> dacebc78d618 [2024-10-14T07:02:28.263Z] Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / [2024-10-14T07:02:28.263Z] ---> e66590685c63 [2024-10-14T07:02:28.263Z] Step 18/23 : EXPOSE 59901 [2024-10-14T07:02:28.263Z] ---> Running in dab26fc7a4b5 [2024-10-14T07:02:28.523Z] Removing intermediate container dab26fc7a4b5 [2024-10-14T07:02:28.523Z] ---> 9cb85d2b7b65 [2024-10-14T07:02:28.523Z] Step 19/23 : ENTRYPOINT ["/device-modbus"] [2024-10-14T07:02:28.523Z] ---> Running in e8e54cff7030 [2024-10-14T07:02:28.523Z] Removing intermediate container e8e54cff7030 [2024-10-14T07:02:28.523Z] ---> f06e550470b1 [2024-10-14T07:02:28.523Z] Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2024-10-14T07:02:28.523Z] ---> Running in 8b773c153cd3 [2024-10-14T07:02:28.783Z] Removing intermediate container 8b773c153cd3 [2024-10-14T07:02:28.783Z] ---> 554a8c2a0b4d [2024-10-14T07:02:28.783Z] Step 21/23 : LABEL arch=amd64 [2024-10-14T07:02:28.783Z] ---> Running in f91f926f77e6 [2024-10-14T07:02:28.783Z] Removing intermediate container f91f926f77e6 [2024-10-14T07:02:28.783Z] ---> f03a37ac8557 [2024-10-14T07:02:28.783Z] Step 22/23 : LABEL git_sha=62efd1dd4c397f05c839b675b24cfed764c2ffe4 [2024-10-14T07:02:28.783Z] ---> Running in ae315a131796 [2024-10-14T07:02:29.042Z] Removing intermediate container ae315a131796 [2024-10-14T07:02:29.042Z] ---> c49c3867935d [2024-10-14T07:02:29.042Z] Step 23/23 : LABEL version=0.0.0 [2024-10-14T07:02:29.042Z] ---> Running in d68528d0058b [2024-10-14T07:02:29.042Z] Removing intermediate container d68528d0058b [2024-10-14T07:02:29.042Z] ---> b3d8c4b2e809 [2024-10-14T07:02:29.042Z] [Warning] One or more build-args [ARCH] were not consumed [2024-10-14T07:02:29.042Z] Successfully built b3d8c4b2e809 [2024-10-14T07:02:29.042Z] 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-14T07:02:30.066Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-14T07:02:30.066Z] [2024-10-14T07:02:30.066Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-14T07:02:30.465Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-14T07:02:30.465Z] latest: Pulling from edgex-lftools-log-publisher [2024-10-14T07:02:30.465Z] 5eb5b503b376: Pulling fs layer [2024-10-14T07:02:30.465Z] 5c69ac0246d0: Pulling fs layer [2024-10-14T07:02:30.465Z] ec43610c2a17: Pulling fs layer [2024-10-14T07:02:30.465Z] 3a2ae6a8a46f: Pulling fs layer [2024-10-14T07:02:30.465Z] 33b1e0a273af: Pulling fs layer [2024-10-14T07:02:30.465Z] 3a2ae6a8a46f: Waiting [2024-10-14T07:02:30.465Z] 5d3b04190fa2: Pulling fs layer [2024-10-14T07:02:30.465Z] 2f39f015ded8: Pulling fs layer [2024-10-14T07:02:30.465Z] 33b1e0a273af: Waiting [2024-10-14T07:02:30.465Z] 5d3b04190fa2: Waiting [2024-10-14T07:02:30.465Z] 2f39f015ded8: Waiting [2024-10-14T07:02:30.465Z] 5c69ac0246d0: Download complete [2024-10-14T07:02:30.465Z] 3a2ae6a8a46f: Verifying Checksum [2024-10-14T07:02:30.465Z] 33b1e0a273af: Verifying Checksum [2024-10-14T07:02:30.465Z] 33b1e0a273af: Download complete [2024-10-14T07:02:30.465Z] 5d3b04190fa2: Verifying Checksum [2024-10-14T07:02:30.465Z] 5d3b04190fa2: Download complete [2024-10-14T07:02:30.724Z] ec43610c2a17: Verifying Checksum [2024-10-14T07:02:30.724Z] ec43610c2a17: Download complete [2024-10-14T07:02:30.724Z] 5eb5b503b376: Verifying Checksum [2024-10-14T07:02:30.724Z] 5eb5b503b376: Download complete [2024-10-14T07:02:31.291Z] 2f39f015ded8: Verifying Checksum [2024-10-14T07:02:31.291Z] 2f39f015ded8: Download complete [2024-10-14T07:02:31.859Z] 5eb5b503b376: Pull complete [2024-10-14T07:02:32.119Z] 5c69ac0246d0: Pull complete [2024-10-14T07:02:32.686Z] ec43610c2a17: Pull complete [2024-10-14T07:02:32.686Z] 3a2ae6a8a46f: Pull complete [2024-10-14T07:02:32.686Z] 33b1e0a273af: Pull complete [2024-10-14T07:02:32.946Z] 5d3b04190fa2: Pull complete [2024-10-14T07:02:37.136Z] 2f39f015ded8: Pull complete [2024-10-14T07:02:37.395Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-10-14T07:02:37.395Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-14T07:02:37.395Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-14T07:02:37.641Z] prd-ubuntu20.04-docker-8c-8g-22684 does not seem to be running inside a container [2024-10-14T07:02:37.678Z] $ 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-582 -v /w/workspace/xfoundry_device-modbus-go_PR-582:/w/workspace/xfoundry_device-modbus-go_PR-582:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-582@tmp:/w/workspace/xfoundry_device-modbus-go_PR-582@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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-10-14T07:02:43.642Z] $ docker top 3fdab4ab1897e0b2e938c06330a96fe8c8c72593899d4d3513969a5493d3f7ac -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-14T07:02:44.112Z] ---> job-cost.sh [2024-10-14T07:02:44.112Z] lf-activate-venv: SKIPPING [2024-10-14T07:02:44.112Z] INFO: No Stack... [2024-10-14T07:02:44.371Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-10-14T07:02:44.941Z] INFO: Archiving Costs [Pipeline] sh [2024-10-14T07:02:45.271Z] + cat /w/workspace/xfoundry_device-modbus-go_PR-582/archives/cost.csv [2024-10-14T07:02:45.271Z] + cut -d, -f6 [Pipeline] lock [2024-10-14T07:02:45.327Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-modbus-go-PR-582-1-stack-cost] [2024-10-14T07:02:45.334Z] Resource [jenkins-edgexfoundry-device-modbus-go-PR-582-1-stack-cost] did not exist. Created. [2024-10-14T07:02:45.340Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-modbus-go-PR-582-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-10-14T07:02:45.752Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-10-14T07:02:45.814Z] Stashed 1 file(s) [Pipeline] } [2024-10-14T07:02:45.851Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-modbus-go-PR-582-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-10-14T07:02:45.948Z] $ docker stop --time=1 3fdab4ab1897e0b2e938c06330a96fe8c8c72593899d4d3513969a5493d3f7ac [2024-10-14T07:02:47.098Z] $ docker rm -f --volumes 3fdab4ab1897e0b2e938c06330a96fe8c8c72593899d4d3513969a5493d3f7ac [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-10-14T07:04:42.410Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-22685 in /w/workspace/xfoundry_device-modbus-go_PR-582 [Pipeline] { [Pipeline] ws [2024-10-14T07:04:42.490Z] Running in /w/workspace/device-modbus-go/1 [Pipeline] { [Pipeline] checkout [2024-10-14T07:04:45.604Z] The recommended git tool is: git [2024-10-14T07:04:52.507Z] using credential edgex-jenkins-ssh [2024-10-14T07:04:52.536Z] Cloning the remote Git repository [2024-10-14T07:04:52.608Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2024-10-14T07:04:52.753Z] > git init /w/workspace/device-modbus-go/1 # timeout=10 [2024-10-14T07:04:52.985Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2024-10-14T07:04:52.986Z] > git --version # timeout=10 [2024-10-14T07:04:53.015Z] > git --version # 'git version 2.25.1' [2024-10-14T07:04:53.020Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-10-14T07:04:53.254Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-10-14T07:04:55.525Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2024-10-14T07:04:55.552Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-10-14T07:04:57.043Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2024-10-14T07:04:57.112Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2024-10-14T07:04:57.114Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-10-14T07:04:57.150Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/582/head:refs/remotes/origin/PR-582 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2024-10-14T07:04:57.764Z] Merging remotes/origin/main commit b773e44940ad369af529d1a2db565c19940e1657 into PR head commit 62efd1dd4c397f05c839b675b24cfed764c2ffe4 [2024-10-14T07:04:58.179Z] Merge succeeded, producing 62efd1dd4c397f05c839b675b24cfed764c2ffe4 [2024-10-14T07:04:58.180Z] Checking out Revision 62efd1dd4c397f05c839b675b24cfed764c2ffe4 (PR-582) [2024-10-14T07:04:57.789Z] > git config core.sparsecheckout # timeout=10 [2024-10-14T07:04:57.883Z] > git checkout -f 62efd1dd4c397f05c839b675b24cfed764c2ffe4 # timeout=10 [2024-10-14T07:04:58.009Z] > git remote # timeout=10 [2024-10-14T07:04:58.037Z] > git config --get remote.origin.url # timeout=10 [2024-10-14T07:04:58.065Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-10-14T07:04:58.105Z] > git merge b773e44940ad369af529d1a2db565c19940e1657 # timeout=10 [2024-10-14T07:04:58.144Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-10-14T07:04:58.187Z] > git config core.sparsecheckout # timeout=10 [2024-10-14T07:04:58.208Z] > git checkout -f 62efd1dd4c397f05c839b675b24cfed764c2ffe4 # timeout=10 [2024-10-14T07:05:02.280Z] Commit message: "feat: Enable PIE support for ASLR and full RELRO" [2024-10-14T07:05:02.371Z] > git --version # timeout=10 [2024-10-14T07:05:02.386Z] > git --version # 'git version 2.25.1' [2024-10-14T07:05:02.405Z] fatal: bad object 0b81fa10a7dd14683a964f04f411324fe83f93ac [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-10-14T07:05:04.890Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-10-14T07:05:04.891Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-10-14T07:05:04.891Z] Dload Upload Total Spent Left Speed [2024-10-14T07:05:04.891Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 100k 0 --:--:-- --:--:-- --:--:-- 99k [Pipeline] sh [2024-10-14T07:05:05.262Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-10-14T07:05:05.630Z] + + sudo teesudo /etc/docker/daemon.new jq [2024-10-14T07:05:05.631Z] . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2024-10-14T07:05:05.631Z] { [2024-10-14T07:05:05.631Z] "registry-mirrors": [ [2024-10-14T07:05:05.631Z] "https://nexus3.edgexfoundry.org:10001" [2024-10-14T07:05:05.631Z] ], [2024-10-14T07:05:05.631Z] "bip": "10.250.0.254/24", [2024-10-14T07:05:05.631Z] "hosts": [ [2024-10-14T07:05:05.631Z] "tcp://0.0.0.0:5555", [2024-10-14T07:05:05.631Z] "unix:///var/run/docker.sock" [2024-10-14T07:05:05.631Z] ], [2024-10-14T07:05:05.631Z] "mtu": 1458, [2024-10-14T07:05:05.631Z] "selinux-enabled": true, [2024-10-14T07:05:05.631Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-10-14T07:05:05.631Z] } [Pipeline] sh [2024-10-14T07:05:05.996Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-10-14T07:05:06.365Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-10-14T07:05:23.904Z] provisioning config files... [2024-10-14T07:05:23.941Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/1@tmp/config8789059091554845561tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-14T07:05:24.473Z] ---> ****-login.sh [2024-10-14T07:05:24.473Z] nexus3.edgexfoundry.org:10001 [2024-10-14T07:05:25.064Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-14T07:05:25.513Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-14T07:05:25.513Z] Configure a credential helper to remove this warning. See [2024-10-14T07:05:25.513Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-14T07:05:25.513Z] [2024-10-14T07:05:25.513Z] Login Succeeded [2024-10-14T07:05:25.513Z] nexus3.edgexfoundry.org:10002 [2024-10-14T07:05:25.513Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-14T07:05:25.513Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-14T07:05:25.513Z] Configure a credential helper to remove this warning. See [2024-10-14T07:05:25.513Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-14T07:05:25.513Z] [2024-10-14T07:05:25.513Z] Login Succeeded [2024-10-14T07:05:25.513Z] nexus3.edgexfoundry.org:10003 [2024-10-14T07:05:25.797Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-14T07:05:26.069Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-14T07:05:26.069Z] Configure a credential helper to remove this warning. See [2024-10-14T07:05:26.069Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-14T07:05:26.069Z] [2024-10-14T07:05:26.069Z] Login Succeeded [2024-10-14T07:05:26.069Z] nexus3.edgexfoundry.org:10004 [2024-10-14T07:05:26.341Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-14T07:05:26.341Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-14T07:05:26.341Z] Configure a credential helper to remove this warning. See [2024-10-14T07:05:26.341Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-14T07:05:26.341Z] [2024-10-14T07:05:26.341Z] Login Succeeded [2024-10-14T07:05:26.341Z] ****.io [2024-10-14T07:05:26.611Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-14T07:05:26.882Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-14T07:05:26.882Z] Configure a credential helper to remove this warning. See [2024-10-14T07:05:26.882Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-14T07:05:26.882Z] [2024-10-14T07:05:26.882Z] Login Succeeded [2024-10-14T07:05:26.882Z] ---> ****-login.sh ends [Pipeline] } [2024-10-14T07:05:26.912Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-10-14T07:05:27.420Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-14T07:05:27.472Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-14T07:05:27.520Z] ========================================================= [2024-10-14T07:05:27.520Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine] [2024-10-14T07:05:27.520Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-14T07:05:28.078Z] + 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-14T07:05:28.349Z] Sending build context to Docker daemon 9.123MB [2024-10-14T07:05:28.622Z] Step 1/10 : ARG BASE=golang:1.23-alpine3.20 [2024-10-14T07:05:28.622Z] Step 2/10 : FROM ${BASE} AS builder [2024-10-14T07:05:28.622Z] 1.23-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-10-14T07:05:28.622Z] cf04c63912e1: Pulling fs layer [2024-10-14T07:05:28.622Z] 55b35a11ae5e: Pulling fs layer [2024-10-14T07:05:28.622Z] a37a00ec5f00: Pulling fs layer [2024-10-14T07:05:28.622Z] 50b3750afda1: Pulling fs layer [2024-10-14T07:05:28.622Z] 4f4fb700ef54: Pulling fs layer [2024-10-14T07:05:28.622Z] 80978eb59214: Pulling fs layer [2024-10-14T07:05:28.622Z] c9f46d7d2bd2: Pulling fs layer [2024-10-14T07:05:28.622Z] c5a475d317c9: Pulling fs layer [2024-10-14T07:05:28.622Z] 50b3750afda1: Waiting [2024-10-14T07:05:28.622Z] 80978eb59214: Waiting [2024-10-14T07:05:28.622Z] c9f46d7d2bd2: Waiting [2024-10-14T07:05:28.622Z] c5a475d317c9: Waiting [2024-10-14T07:05:28.622Z] 55b35a11ae5e: Verifying Checksum [2024-10-14T07:05:28.622Z] 55b35a11ae5e: Download complete [2024-10-14T07:05:28.622Z] 50b3750afda1: Verifying Checksum [2024-10-14T07:05:28.622Z] 50b3750afda1: Download complete [2024-10-14T07:05:28.891Z] 4f4fb700ef54: Verifying Checksum [2024-10-14T07:05:28.891Z] 4f4fb700ef54: Download complete [2024-10-14T07:05:28.891Z] 80978eb59214: Verifying Checksum [2024-10-14T07:05:28.891Z] 80978eb59214: Download complete [2024-10-14T07:05:28.891Z] cf04c63912e1: Verifying Checksum [2024-10-14T07:05:28.891Z] cf04c63912e1: Download complete [2024-10-14T07:05:29.482Z] c5a475d317c9: Verifying Checksum [2024-10-14T07:05:29.482Z] c5a475d317c9: Download complete [2024-10-14T07:05:30.074Z] cf04c63912e1: Pull complete [2024-10-14T07:05:30.671Z] 55b35a11ae5e: Pull complete [2024-10-14T07:05:30.939Z] a37a00ec5f00: Verifying Checksum [2024-10-14T07:05:30.939Z] a37a00ec5f00: Download complete [2024-10-14T07:05:31.913Z] c9f46d7d2bd2: Verifying Checksum [2024-10-14T07:05:31.913Z] c9f46d7d2bd2: Download complete [2024-10-14T07:05:46.998Z] a37a00ec5f00: Pull complete [2024-10-14T07:05:46.998Z] 50b3750afda1: Pull complete [2024-10-14T07:05:46.998Z] 4f4fb700ef54: Pull complete [2024-10-14T07:05:46.998Z] 80978eb59214: Pull complete [2024-10-14T07:05:55.293Z] c9f46d7d2bd2: Pull complete [2024-10-14T07:05:57.909Z] c5a475d317c9: Pull complete [2024-10-14T07:05:57.909Z] Digest: sha256:2391c17ca386d1fbfa331956bd558234564149703727e64d3c69580d84b42a9b [2024-10-14T07:05:57.909Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine [2024-10-14T07:05:57.909Z] ---> be29e6b0f0d4 [2024-10-14T07:05:57.909Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2024-10-14T07:05:59.338Z] ---> Running in 2f587126e50a [2024-10-14T07:05:59.606Z] Removing intermediate container 2f587126e50a [2024-10-14T07:05:59.606Z] ---> dd32d84387f4 [2024-10-14T07:05:59.607Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-10-14T07:05:59.607Z] ---> Running in 57ae8b0ab691 [2024-10-14T07:06:00.194Z] Removing intermediate container 57ae8b0ab691 [2024-10-14T07:06:00.194Z] ---> 9638f66192bf [2024-10-14T07:06:00.194Z] Step 5/10 : RUN apk add --update --no-cache make git openssh [2024-10-14T07:06:00.194Z] ---> Running in 561a193ecb46 [2024-10-14T07:06:01.616Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-14T07:06:01.888Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-14T07:06:03.850Z] (1/8) Installing openssh-keygen (9.7_p1-r4) [2024-10-14T07:06:03.850Z] (2/8) Installing libedit (20240517.3.1-r0) [2024-10-14T07:06:03.850Z] (3/8) Installing openssh-client-common (9.7_p1-r4) [2024-10-14T07:06:03.850Z] (4/8) Installing openssh-client-default (9.7_p1-r4) [2024-10-14T07:06:03.850Z] (5/8) Installing openssh-sftp-server (9.7_p1-r4) [2024-10-14T07:06:03.850Z] (6/8) Installing openssh-server-common (9.7_p1-r4) [2024-10-14T07:06:03.850Z] (7/8) Installing openssh-server (9.7_p1-r4) [2024-10-14T07:06:03.850Z] (8/8) Installing openssh (9.7_p1-r4) [2024-10-14T07:06:03.850Z] Executing busybox-1.36.1-r29.trigger [2024-10-14T07:06:03.850Z] OK: 244 MiB in 62 packages [2024-10-14T07:06:05.299Z] Removing intermediate container 561a193ecb46 [2024-10-14T07:06:05.299Z] ---> d11a1e97d313 [2024-10-14T07:06:05.299Z] Step 6/10 : WORKDIR /device-modbus-go [2024-10-14T07:06:05.299Z] ---> Running in eb0560f5b911 [2024-10-14T07:06:05.569Z] Removing intermediate container eb0560f5b911 [2024-10-14T07:06:05.569Z] ---> b802b1258287 [2024-10-14T07:06:05.569Z] Step 7/10 : COPY go.mod vendor* ./ [2024-10-14T07:06:06.166Z] ---> 17d4e2ecdbbd [2024-10-14T07:06:06.166Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-10-14T07:06:06.166Z] ---> Running in dd95bd3e8906 [2024-10-14T07:08:12.991Z] Removing intermediate container dd95bd3e8906 [2024-10-14T07:08:12.991Z] ---> 2190dff16d38 [2024-10-14T07:08:12.991Z] Step 9/10 : COPY . . [2024-10-14T07:08:12.991Z] ---> 98f67dc09e16 [2024-10-14T07:08:12.991Z] Step 10/10 : RUN ${MAKE} [2024-10-14T07:08:12.991Z] ---> Running in a763a0ee9871 [2024-10-14T07:08:12.991Z] noop [2024-10-14T07:08:12.991Z] Removing intermediate container a763a0ee9871 [2024-10-14T07:08:12.991Z] ---> 835205182465 [2024-10-14T07:08:12.991Z] Successfully built 835205182465 [2024-10-14T07:08:12.991Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-14T07:08:13.799Z] + docker inspect -f . ci-base-image-arm64 [2024-10-14T07:08:13.800Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-14T07:08:14.147Z] prd-ubuntu20.04-docker-arm64-4c-16g-22685 does not seem to be running inside a container [2024-10-14T07:08:14.231Z] $ 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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-10-14T07:08:15.585Z] $ docker top 7ac0fabcf64e2b46ddd9221a97e530f2118db3f30eaad72a20bb7453d959d48a -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-14T07:08:16.527Z] + go version [2024-10-14T07:08:16.527Z] go version go1.23.2 linux/arm64 [Pipeline] } [2024-10-14T07:08:16.563Z] $ docker stop --time=1 7ac0fabcf64e2b46ddd9221a97e530f2118db3f30eaad72a20bb7453d959d48a [2024-10-14T07:08:18.255Z] $ docker rm -f --volumes 7ac0fabcf64e2b46ddd9221a97e530f2118db3f30eaad72a20bb7453d959d48a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-14T07:08:19.220Z] + docker inspect -f . ci-base-image-arm64 [2024-10-14T07:08:19.220Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-14T07:08:19.534Z] prd-ubuntu20.04-docker-arm64-4c-16g-22685 does not seem to be running inside a container [2024-10-14T07:08:19.611Z] $ 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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-10-14T07:08:21.030Z] $ docker top 5db8868c54e833ee48eedcff2b08fe91a01652a70a9093ebda3ae3ae0dae78b3 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-14T07:08:21.994Z] + git config --global --add safe.directory /w/workspace/device-modbus-go/1 [Pipeline] fileExists [Pipeline] sh [2024-10-14T07:08:22.754Z] + make test [2024-10-14T07:08:22.754Z] go test ./... -coverprofile=coverage.out [2024-10-14T07:08:29.413Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2024-10-14T07:13:06.586Z] github.com/edgexfoundry/device-modbus-go/cmd coverage: 0.0% of statements [2024-10-14T07:13:06.586Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.063s coverage: 47.9% of statements [2024-10-14T07:13:06.586Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2024-10-14T07:13:06.586Z] go vet ./... [2024-10-14T07:14:14.656Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-10-14T07:14:14.656Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-10-14T07:14:14.656Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2024-10-14T07:14:14.714Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-10-14T07:14:14.755Z] $ docker stop --time=1 5db8868c54e833ee48eedcff2b08fe91a01652a70a9093ebda3ae3ae0dae78b3 [2024-10-14T07:14:16.694Z] $ docker rm -f --volumes 5db8868c54e833ee48eedcff2b08fe91a01652a70a9093ebda3ae3ae0dae78b3 [Pipeline] // withDockerContainer [Pipeline] sh [2024-10-14T07:14:18.578Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-10-14T07:14:18.620Z] Warning: overwriting stash ‘coverage-report’ [2024-10-14T07:14:19.293Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-10-14T07:14:19.966Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-10-14T07:14:20.621Z] + ls -al . [2024-10-14T07:14:20.621Z] total 268 [2024-10-14T07:14:20.621Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 14 07:08 . [2024-10-14T07:14:20.621Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 14 07:04 .. [2024-10-14T07:14:20.621Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 14 07:04 .dockerignore [2024-10-14T07:14:20.621Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 14 07:04 .git [2024-10-14T07:14:20.621Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 14 07:04 .github [2024-10-14T07:14:20.621Z] -rw-rw-r-- 1 jenkins jenkins 266 Oct 14 07:04 .gitignore [2024-10-14T07:14:20.621Z] -rw-rw-r-- 1 jenkins jenkins 199 Oct 14 07:04 .golangci.yml [2024-10-14T07:14:20.621Z] -rw-rw-r-- 1 jenkins jenkins 19818 Oct 14 07:04 Attribution.txt [2024-10-14T07:14:20.621Z] -rw-rw-r-- 1 jenkins jenkins 16388 Oct 14 07:04 CHANGELOG.md [2024-10-14T07:14:20.621Z] -rw-rw-r-- 1 jenkins jenkins 1474 Oct 14 07:04 Dockerfile [2024-10-14T07:14:20.621Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 14 07:04 GOVERNANCE.md [2024-10-14T07:14:20.621Z] -rw-rw-r-- 1 jenkins jenkins 658 Oct 14 07:04 Jenkinsfile [2024-10-14T07:14:20.621Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 14 07:04 LICENSE [2024-10-14T07:14:20.621Z] -rw-rw-r-- 1 jenkins jenkins 2479 Oct 14 07:04 Makefile [2024-10-14T07:14:20.621Z] -rw-rw-r-- 1 jenkins jenkins 622 Oct 14 07:04 OWNERS.md [2024-10-14T07:14:20.621Z] -rw-rw-r-- 1 jenkins jenkins 4463 Oct 14 07:04 README.md [2024-10-14T07:14:20.621Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 14 06:59 VERSION [2024-10-14T07:14:20.621Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 14 07:04 bin [2024-10-14T07:14:20.621Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 14 07:04 cmd [2024-10-14T07:14:20.621Z] -rw-r--r-- 1 jenkins jenkins 24669 Oct 14 07:13 coverage.out [2024-10-14T07:14:20.621Z] -rw-rw-r-- 1 jenkins jenkins 7157 Oct 14 07:04 go.mod [2024-10-14T07:14:20.621Z] -rw-rw-r-- 1 jenkins jenkins 100518 Oct 14 07:04 go.sum [2024-10-14T07:14:20.621Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 14 07:04 internal [2024-10-14T07:14:20.621Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 14 07:04 simulator [2024-10-14T07:14:20.621Z] -rw-rw-r-- 1 jenkins jenkins 229 Oct 14 07:04 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-14T07:14:21.088Z] + 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=62efd1dd4c397f05c839b675b24cfed764c2ffe4 --label arch=arm64 --label version=0.0.0 . [2024-10-14T07:14:21.685Z] Sending build context to Docker daemon 9.149MB [2024-10-14T07:14:21.685Z] Step 1/23 : ARG BASE=golang:1.23-alpine3.20 [2024-10-14T07:14:21.685Z] Step 2/23 : FROM ${BASE} AS builder [2024-10-14T07:14:21.685Z] ---> 835205182465 [2024-10-14T07:14:21.685Z] Step 3/23 : ARG ADD_BUILD_TAGS="" [2024-10-14T07:14:21.685Z] ---> Running in fc1becafe05e [2024-10-14T07:14:21.956Z] Removing intermediate container fc1becafe05e [2024-10-14T07:14:21.956Z] ---> c184065a99c2 [2024-10-14T07:14:21.956Z] Step 4/23 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-10-14T07:14:22.228Z] ---> Running in 409270936a7b [2024-10-14T07:14:22.498Z] Removing intermediate container 409270936a7b [2024-10-14T07:14:22.498Z] ---> 90207275b7b0 [2024-10-14T07:14:22.498Z] Step 5/23 : RUN apk add --update --no-cache make git openssh [2024-10-14T07:14:22.777Z] ---> Running in 93c4dc2f8529 [2024-10-14T07:14:23.751Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-14T07:14:24.364Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-14T07:14:25.799Z] OK: 244 MiB in 62 packages [2024-10-14T07:14:27.245Z] Removing intermediate container 93c4dc2f8529 [2024-10-14T07:14:27.245Z] ---> 6dac2613bb19 [2024-10-14T07:14:27.245Z] Step 6/23 : WORKDIR /device-modbus-go [2024-10-14T07:14:27.245Z] ---> Running in 75ae5de5e8f1 [2024-10-14T07:14:27.519Z] Removing intermediate container 75ae5de5e8f1 [2024-10-14T07:14:27.519Z] ---> 1dd0123b851d [2024-10-14T07:14:27.519Z] Step 7/23 : COPY go.mod vendor* ./ [2024-10-14T07:14:28.109Z] ---> 877fec398871 [2024-10-14T07:14:28.109Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-10-14T07:14:28.109Z] ---> Running in dea46f8cb977 [2024-10-14T07:14:30.715Z] Removing intermediate container dea46f8cb977 [2024-10-14T07:14:30.715Z] ---> 6b377ad55e71 [2024-10-14T07:14:30.715Z] Step 9/23 : COPY . . [2024-10-14T07:14:32.130Z] ---> c7875546a891 [2024-10-14T07:14:32.130Z] Step 10/23 : RUN ${MAKE} [2024-10-14T07:14:32.130Z] ---> Running in a351f0fb5544 [2024-10-14T07:14:33.094Z] 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.45" -trimpath -mod=readonly -ldflags "-bindnow" -buildmode=pie -o cmd/device-modbus ./cmd [2024-10-14T07:18:55.940Z] Removing intermediate container a351f0fb5544 [2024-10-14T07:18:55.940Z] ---> c0d76f3eab91 [2024-10-14T07:18:55.940Z] Step 11/23 : FROM alpine:3.20 [2024-10-14T07:18:55.941Z] 3.20: Pulling from library/alpine [2024-10-14T07:18:55.941Z] cf04c63912e1: Already exists [2024-10-14T07:18:55.941Z] Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d [2024-10-14T07:18:55.941Z] Status: Downloaded newer image for alpine:3.20 [2024-10-14T07:18:55.941Z] ---> c157a85ed455 [2024-10-14T07:18:55.941Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2024: IoTech Ltd' [2024-10-14T07:18:55.941Z] ---> Running in 20df6d65f1e3 [2024-10-14T07:18:55.941Z] Removing intermediate container 20df6d65f1e3 [2024-10-14T07:18:55.941Z] ---> e89f7b69c20d [2024-10-14T07:18:55.941Z] Step 13/23 : RUN apk add --update --no-cache dumb-init [2024-10-14T07:18:55.941Z] ---> Running in e356e5f8807c [2024-10-14T07:18:55.941Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-14T07:18:55.941Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-14T07:18:55.941Z] (1/1) Installing dumb-init (1.2.5-r3) [2024-10-14T07:18:55.941Z] Executing busybox-1.36.1-r29.trigger [2024-10-14T07:18:55.941Z] OK: 9 MiB in 15 packages [2024-10-14T07:18:55.941Z] Removing intermediate container e356e5f8807c [2024-10-14T07:18:55.941Z] ---> dc861f704cb6 [2024-10-14T07:18:55.941Z] Step 14/23 : RUN apk --no-cache upgrade [2024-10-14T07:18:55.941Z] ---> Running in 0d289c508943 [2024-10-14T07:18:55.941Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-14T07:18:55.941Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-14T07:18:55.941Z] Upgrading critical system libraries and apk-tools: [2024-10-14T07:18:55.941Z] (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) [2024-10-14T07:18:55.941Z] Executing busybox-1.36.1-r29.trigger [2024-10-14T07:18:55.941Z] Continuing the upgrade transaction with new apk-tools: [2024-10-14T07:18:55.941Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-14T07:18:55.941Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-14T07:18:55.941Z] OK: 9 MiB in 15 packages [2024-10-14T07:18:56.922Z] Removing intermediate container 0d289c508943 [2024-10-14T07:18:56.922Z] ---> 02cadc759f87 [2024-10-14T07:18:56.922Z] Step 15/23 : COPY --from=builder /device-modbus-go/cmd / [2024-10-14T07:19:00.304Z] ---> acaaa1c7c242 [2024-10-14T07:19:00.304Z] Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / [2024-10-14T07:19:00.304Z] ---> 71d4d351a805 [2024-10-14T07:19:00.304Z] Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / [2024-10-14T07:19:00.895Z] ---> 76dc3025e5d8 [2024-10-14T07:19:00.895Z] Step 18/23 : EXPOSE 59901 [2024-10-14T07:19:00.895Z] ---> Running in 8ef39d3099b2 [2024-10-14T07:19:01.486Z] Removing intermediate container 8ef39d3099b2 [2024-10-14T07:19:01.486Z] ---> 9da584f86c49 [2024-10-14T07:19:01.486Z] Step 19/23 : ENTRYPOINT ["/device-modbus"] [2024-10-14T07:19:01.486Z] ---> Running in b57f9488d3f9 [2024-10-14T07:19:01.757Z] Removing intermediate container b57f9488d3f9 [2024-10-14T07:19:01.757Z] ---> cc795724abc4 [2024-10-14T07:19:01.757Z] Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2024-10-14T07:19:02.035Z] ---> Running in cbb678cd29d9 [2024-10-14T07:19:02.306Z] Removing intermediate container cbb678cd29d9 [2024-10-14T07:19:02.306Z] ---> 4a7e6a2821cc [2024-10-14T07:19:02.306Z] Step 21/23 : LABEL arch=arm64 [2024-10-14T07:19:02.306Z] ---> Running in 402d69fa99d4 [2024-10-14T07:19:02.898Z] Removing intermediate container 402d69fa99d4 [2024-10-14T07:19:02.898Z] ---> cb73af0fd9fe [2024-10-14T07:19:02.898Z] Step 22/23 : LABEL git_sha=62efd1dd4c397f05c839b675b24cfed764c2ffe4 [2024-10-14T07:19:02.898Z] ---> Running in c5c66b126412 [2024-10-14T07:19:03.179Z] Removing intermediate container c5c66b126412 [2024-10-14T07:19:03.179Z] ---> e427a4351190 [2024-10-14T07:19:03.179Z] Step 23/23 : LABEL version=0.0.0 [2024-10-14T07:19:03.179Z] ---> Running in 5d7999b47713 [2024-10-14T07:19:03.768Z] Removing intermediate container 5d7999b47713 [2024-10-14T07:19:03.768Z] ---> 10bb41425343 [2024-10-14T07:19:03.768Z] [Warning] One or more build-args [ARCH] were not consumed [2024-10-14T07:19:03.768Z] Successfully built 10bb41425343 [2024-10-14T07:19:03.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-14T07:19:04.713Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-10-14T07:19:04.713Z] [2024-10-14T07:19:04.713Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-14T07:19:05.172Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-10-14T07:19:05.442Z] arm64: Pulling from edgex-lftools-log-publisher [2024-10-14T07:19:05.442Z] 8998bd30e6a1: Pulling fs layer [2024-10-14T07:19:05.442Z] 04944245beec: Pulling fs layer [2024-10-14T07:19:05.442Z] 699f458cf7ca: Pulling fs layer [2024-10-14T07:19:05.442Z] 765212b225bb: Pulling fs layer [2024-10-14T07:19:05.442Z] f23df028b6ca: Pulling fs layer [2024-10-14T07:19:05.442Z] d65c8cfc05b1: Pulling fs layer [2024-10-14T07:19:05.442Z] 2437ff75d9bd: Pulling fs layer [2024-10-14T07:19:05.442Z] f23df028b6ca: Waiting [2024-10-14T07:19:05.442Z] d65c8cfc05b1: Waiting [2024-10-14T07:19:05.442Z] 2437ff75d9bd: Waiting [2024-10-14T07:19:05.442Z] 765212b225bb: Waiting [2024-10-14T07:19:05.442Z] 04944245beec: Verifying Checksum [2024-10-14T07:19:05.442Z] 04944245beec: Download complete [2024-10-14T07:19:05.442Z] 765212b225bb: Verifying Checksum [2024-10-14T07:19:05.442Z] 765212b225bb: Download complete [2024-10-14T07:19:05.442Z] f23df028b6ca: Verifying Checksum [2024-10-14T07:19:05.442Z] f23df028b6ca: Download complete [2024-10-14T07:19:05.713Z] d65c8cfc05b1: Verifying Checksum [2024-10-14T07:19:05.713Z] d65c8cfc05b1: Download complete [2024-10-14T07:19:05.713Z] 699f458cf7ca: Verifying Checksum [2024-10-14T07:19:05.713Z] 699f458cf7ca: Download complete [2024-10-14T07:19:06.300Z] 8998bd30e6a1: Verifying Checksum [2024-10-14T07:19:06.300Z] 8998bd30e6a1: Download complete [2024-10-14T07:19:08.896Z] 2437ff75d9bd: Verifying Checksum [2024-10-14T07:19:08.897Z] 2437ff75d9bd: Download complete [2024-10-14T07:19:11.494Z] 8998bd30e6a1: Pull complete [2024-10-14T07:19:12.083Z] 04944245beec: Pull complete [2024-10-14T07:19:14.040Z] 699f458cf7ca: Pull complete [2024-10-14T07:19:14.040Z] 765212b225bb: Pull complete [2024-10-14T07:19:15.005Z] f23df028b6ca: Pull complete [2024-10-14T07:19:15.274Z] d65c8cfc05b1: Pull complete [2024-10-14T07:19:33.519Z] 2437ff75d9bd: Pull complete [2024-10-14T07:19:33.519Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-10-14T07:19:33.519Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-10-14T07:19:33.519Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-14T07:19:33.915Z] prd-ubuntu20.04-docker-arm64-4c-16g-22685 does not seem to be running inside a container [2024-10-14T07:19:33.989Z] $ 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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2024-10-14T07:19:37.326Z] $ docker top 1c4642a1727157fffbed6d65c40a3831f4e617d5d19941a1b13829d2a3a79f19 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-14T07:19:38.305Z] ---> job-cost.sh [2024-10-14T07:19:38.305Z] lf-activate-venv: SKIPPING [2024-10-14T07:19:38.305Z] INFO: No Stack... [2024-10-14T07:19:38.888Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-10-14T07:19:39.472Z] INFO: Archiving Costs [Pipeline] sh [2024-10-14T07:19:40.141Z] + cat /w/workspace/device-modbus-go/1/archives/cost.csv [2024-10-14T07:19:40.141Z] + cut -d, -f6 [Pipeline] lock [2024-10-14T07:19:40.236Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-modbus-go-PR-582-1-stack-cost] [2024-10-14T07:19:40.242Z] Resource [jenkins-edgexfoundry-device-modbus-go-PR-582-1-stack-cost] did not exist. Created. [2024-10-14T07:19:40.249Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-modbus-go-PR-582-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-10-14T07:19:41.013Z] /w/workspace/device-modbus-go/1@tmp/durable-3406c41f/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-10-14T07:19:41.699Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-10-14T07:19:41.741Z] Warning: overwriting stash ‘stack-cost’ [2024-10-14T07:19:41.804Z] Stashed 1 file(s) [Pipeline] } [2024-10-14T07:19:41.824Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-modbus-go-PR-582-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-10-14T07:19:41.894Z] $ docker stop --time=1 1c4642a1727157fffbed6d65c40a3831f4e617d5d19941a1b13829d2a3a79f19 [2024-10-14T07:19:43.438Z] $ docker rm -f --volumes 1c4642a1727157fffbed6d65c40a3831f4e617d5d19941a1b13829d2a3a79f19 [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-14T07:19:44.672Z] provisioning config files... [2024-10-14T07:19:44.681Z] copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-582@tmp/config9994011638819899662tmp [Pipeline] { [Pipeline] sh [2024-10-14T07:19:45.054Z] + set +x [2024-10-14T07:19:45.054Z] + bash -s -- [2024-10-14T07:19:45.054Z] + curl -s https://codecov.io/bash [2024-10-14T07:19:45.314Z] [2024-10-14T07:19:45.314Z] _____ _ [2024-10-14T07:19:45.314Z] / ____| | | [2024-10-14T07:19:45.314Z] | | ___ __| | ___ ___ _____ __ [2024-10-14T07:19:45.314Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2024-10-14T07:19:45.314Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2024-10-14T07:19:45.314Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2024-10-14T07:19:45.314Z] Bash-1.0.6 [2024-10-14T07:19:45.314Z] [2024-10-14T07:19:45.314Z] [2024-10-14T07:19:45.314Z] ==> git version 2.25.1 found [2024-10-14T07:19:45.314Z] ==> 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-14T07:19:45.314Z] Release-Date: 2020-01-08 [2024-10-14T07:19:45.314Z] 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-14T07:19:45.314Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2024-10-14T07:19:45.314Z] ==> Jenkins CI detected. [2024-10-14T07:19:45.314Z] current dir:  /w/workspace/xfoundry_device-modbus-go_PR-582 [2024-10-14T07:19:45.314Z] project root: . [2024-10-14T07:19:45.314Z] --> token set from env [2024-10-14T07:19:45.314Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2024-10-14T07:19:45.314Z] ==> Running gcov in . (disable via -X gcov) [2024-10-14T07:19:45.314Z] ==> Python coveragepy not found [2024-10-14T07:19:45.314Z] ==> Searching for coverage reports in: [2024-10-14T07:19:45.314Z] + . [2024-10-14T07:19:45.314Z] -> Found 1 reports [2024-10-14T07:19:45.314Z] ==> Detecting git/mercurial file structure [2024-10-14T07:19:45.314Z] ==> Reading reports [2024-10-14T07:19:45.314Z] + ./coverage.out bytes=24669 [2024-10-14T07:19:45.314Z] ==> Appending adjustments [2024-10-14T07:19:45.314Z] https://docs.codecov.io/docs/fixing-reports [2024-10-14T07:19:45.314Z] + Found adjustments [2024-10-14T07:19:45.314Z] ==> Gzipping contents [2024-10-14T07:19:45.314Z] 4.0K /tmp/codecov.yemATz.gz [2024-10-14T07:19:45.314Z] ==> Uploading reports [2024-10-14T07:19:45.314Z] url: https://codecov.io [2024-10-14T07:19:45.314Z] query: branch=PR-582&commit=62efd1dd4c397f05c839b675b24cfed764c2ffe4&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-582%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=582&job=&cmd_args= [2024-10-14T07:19:45.314Z] -> Pinging Codecov [2024-10-14T07:19:45.315Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-582&commit=62efd1dd4c397f05c839b675b24cfed764c2ffe4&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-582%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=582&job=&cmd_args= [2024-10-14T07:19:45.574Z] -> Uploading to [2024-10-14T07:19:45.574Z] https://storage.googleapis.com/codecov/shelter/v4/github/edgexfoundry/device-modbus-go/62efd1dd4c397f05c839b675b24cfed764c2ffe4/ca8577a4-195e-4610-9242-46371e173b90.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20241014%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20241014T071945Z&X-Amz-Expires=30&X-Amz-SignedHeaders=host&X-Amz-Signature=b0b02e92f3e00ed6737f30a6abd4e36ded96d3e602770d2b40491a4ebfa87d5b [2024-10-14T07:19:45.574Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-10-14T07:19:45.574Z] Dload Upload Total Spent Left Speed [2024-10-14T07:19:45.834Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3859 0 0 100 3859 0 19009 --:--:-- --:--:-- --:--:-- 18916 100 3859 0 0 100 3859 0 17701 --:--:-- --:--:-- --:--:-- 17621 [2024-10-14T07:19:45.834Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/62efd1dd4c397f05c839b675b24cfed764c2ffe4 [Pipeline] } [2024-10-14T07:19:45.866Z] 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-14T07:19:48.103Z] + [ -d /w/workspace/xfoundry_device-modbus-go_PR-582/archives ] [2024-10-14T07:19:48.103Z] + ls -al /w/workspace/xfoundry_device-modbus-go_PR-582/archives [2024-10-14T07:19:48.103Z] total 16 [2024-10-14T07:19:48.103Z] drwxr-xr-x 3 root root 4096 Oct 14 07:02 . [2024-10-14T07:19:48.103Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 14 07:02 .. [2024-10-14T07:19:48.103Z] drwxr-xr-x 2 root root 4096 Oct 14 07:02 cost [2024-10-14T07:19:48.103Z] -rw-r--r-- 1 root root 88 Oct 14 07:02 cost.csv [2024-10-14T07:19:48.103Z] + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-582/archives [2024-10-14T07:19:48.103Z] + ls -al /w/workspace/xfoundry_device-modbus-go_PR-582/archives [2024-10-14T07:19:48.103Z] total 16 [2024-10-14T07:19:48.103Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 14 07:02 . [2024-10-14T07:19:48.103Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 14 07:02 .. [2024-10-14T07:19:48.103Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 14 07:02 cost [2024-10-14T07:19:48.103Z] -rw-r--r-- 1 jenkins jenkins 88 Oct 14 07:02 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-10-14T07:19:48.441Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-14T07:19:49.345Z] ---> package-listing.sh [2024-10-14T07:19:49.345Z] ++ facter osfamily [2024-10-14T07:19:49.345Z] ++ tr '[:upper:]' '[:lower:]' [2024-10-14T07:19:49.607Z] + OS_FAMILY=debian [2024-10-14T07:19:49.607Z] + workspace=/w/workspace/xfoundry_device-modbus-go_PR-582 [2024-10-14T07:19:49.607Z] + START_PACKAGES=/tmp/packages_start.txt [2024-10-14T07:19:49.607Z] + END_PACKAGES=/tmp/packages_end.txt [2024-10-14T07:19:49.607Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-10-14T07:19:49.607Z] + PACKAGES=/tmp/packages_start.txt [2024-10-14T07:19:49.607Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-582 ']' [2024-10-14T07:19:49.607Z] + PACKAGES=/tmp/packages_end.txt [2024-10-14T07:19:49.607Z] + case "${OS_FAMILY}" in [2024-10-14T07:19:49.607Z] + dpkg -l [2024-10-14T07:19:49.607Z] + grep '^ii' [2024-10-14T07:19:49.607Z] + '[' -f /tmp/packages_start.txt ']' [2024-10-14T07:19:49.607Z] + '[' -f /tmp/packages_end.txt ']' [2024-10-14T07:19:49.607Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-10-14T07:19:49.607Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-582 ']' [2024-10-14T07:19:49.607Z] + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-582/archives/ [2024-10-14T07:19:49.607Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-582/archives/ [Pipeline] echo [2024-10-14T07:19:49.652Z] 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-582/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-10-14T07:19:49.951Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-14T07:19:50.596Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-14T07:19:50.596Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-14T07:19:50.811Z] prd-ubuntu20.04-docker-8c-8g-22684 does not seem to be running inside a container [2024-10-14T07:19:50.951Z] $ 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-582/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-582 -v /w/workspace/xfoundry_device-modbus-go_PR-582:/w/workspace/xfoundry_device-modbus-go_PR-582:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-582@tmp:/w/workspace/xfoundry_device-modbus-go_PR-582@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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-10-14T07:19:51.158Z] $ docker top d2458e9d7b91b7e3cbf9a00e7c7d484b3617c67920613980846e259126a89c38 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-14T07:19:51.599Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-10-14T07:19:51.917Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-10-14T07:19:52.233Z] + ls /var/log/sa-host [2024-10-14T07:19:52.233Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-10-14T07:19:52.485Z] provisioning config files... [2024-10-14T07:19:52.494Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-582@tmp/config6181894773832409925tmp [Pipeline] { [Pipeline] echo [2024-10-14T07:19:52.563Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-14T07:19:52.888Z] ---> create-netrc.sh [Pipeline] } [2024-10-14T07:19:52.922Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-10-14T07:19:53.358Z] ---> python-tools-install.sh [Pipeline] echo [2024-10-14T07:19:53.397Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-14T07:19:53.720Z] ---> sudo-logs.sh [2024-10-14T07:19:53.720Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-10-14T07:19:53.823Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-14T07:19:54.156Z] ---> job-cost.sh [2024-10-14T07:19:54.156Z] lf-activate-venv: SKIPPING [2024-10-14T07:19:54.156Z] DEBUG: total: 0.2199999988079071 [2024-10-14T07:19:54.156Z] INFO: Retrieving Stack Cost... [2024-10-14T07:19:54.415Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-10-14T07:19:54.674Z] INFO: Archiving Costs [Pipeline] echo [2024-10-14T07:19:54.718Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-14T07:19:55.038Z] ---> logs-deploy.sh [2024-10-14T07:19:55.038Z] lf-activate-venv: SKIPPING [2024-10-14T07:19:55.038Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-582/1 [2024-10-14T07:19:55.038Z] INFO: archiving workspace using pattern(s): [2024-10-14T07:19:55.974Z] Archives upload complete. [2024-10-14T07:19:55.974Z] INFO: archiving logs to Nexus