Pull request #573 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 5ef6da143a4c2737bfbf337882f94f2a08217a71+a3ee41877b048388e7c3cdab8b1927d49f235cab (8504a1f1f416341c2ec563a30ffbb3aeaa46e240) 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-ssh13124557228244891474.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision b5a5e52272fc4198cf3754284eedf36dbf0baa35 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-ssh1046219462558880605.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 b5a5e52272fc4198cf3754284eedf36dbf0baa35 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-573/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-573/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh4606107198241586322.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-573/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5497633517476660321.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision b5a5e52272fc4198cf3754284eedf36dbf0baa35 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f b5a5e52272fc4198cf3754284eedf36dbf0baa35 # timeout=10 Commit message: "Merge pull request #456 from cherrycl/issue-452-4" > 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-ssh8988231748394634108.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-573/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-573/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh18102985084270246274.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 b5a5e52272fc4198cf3754284eedf36dbf0baa35 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-modbus-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-modbus-go-settings PROJECT: device-modbus-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-modbus DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-12249 in /w/workspace/xfoundry_device-modbus-go_PR-573 [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-573 # 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 Merging remotes/origin/main commit a3ee41877b048388e7c3cdab8b1927d49f235cab into PR head commit 5ef6da143a4c2737bfbf337882f94f2a08217a71 Merge succeeded, producing 5ef6da143a4c2737bfbf337882f94f2a08217a71 Checking out Revision 5ef6da143a4c2737bfbf337882f94f2a08217a71 (PR-573) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object b5a5e52272fc4198cf3754284eedf36dbf0baa35 > 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/573/head:refs/remotes/origin/PR-573 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 5ef6da143a4c2737bfbf337882f94f2a08217a71 # 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 a3ee41877b048388e7c3cdab8b1927d49f235cab # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 5ef6da143a4c2737bfbf337882f94f2a08217a71 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-10-01T05:14:17.537Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-10-01T05:14:17.964Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-10-01T05:14:18.101Z] ========================================================= [2024-10-01T05:14:18.101Z] EdgeX Global Pipelines Version Info [2024-10-01T05:14:18.101Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-10-01T05:14:21.171Z] ------------------- [2024-10-01T05:14:21.171Z] stable info: [2024-10-01T05:14:21.171Z] ------------------- [2024-10-01T05:14:21.171Z] Commited By: Cherry Wang cherry@iotechsys.com [2024-10-01T05:14:21.171Z] Commit SHA: b5a5e52272fc4198cf3754284eedf36dbf0baa35 [2024-10-01T05:14:21.171Z] Message: update stable to v1.0.264 [2024-10-01T05:14:21.441Z] ------------------- [2024-10-01T05:14:21.441Z] experimental info: [2024-10-01T05:14:21.441Z] ------------------- [2024-10-01T05:14:21.441Z] Commited By: Cherry Wang cherry@iotechsys.com [2024-10-01T05:14:21.441Z] Commit SHA: b5a5e52272fc4198cf3754284eedf36dbf0baa35 [2024-10-01T05:14:21.441Z] Message: update experimental to v1.0.264 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-10-01T05:14:21.676Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo [2024-10-01T05:14:21.740Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo [2024-10-01T05:14:21.802Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-10-01T05:14:21.857Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-10-01T05:14:21.914Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-10-01T05:14:21.973Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2024-10-01T05:14:22.034Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-10-01T05:14:22.095Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2024-10-01T05:14:22.156Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-10-01T05:14:22.212Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-10-01T05:14:22.267Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-10-01T05:14:22.328Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo [2024-10-01T05:14:22.385Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-10-01T05:14:22.441Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-10-01T05:14:22.500Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-10-01T05:14:22.558Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2024-10-01T05:14:22.614Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-10-01T05:14:22.673Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-10-01T05:14:22.739Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-10-01T05:14:22.801Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-10-01T05:14:22.862Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2024-10-01T05:14:22.915Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2024-10-01T05:14:22.976Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-10-01T05:14:23.044Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-10-01T05:14:23.101Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-10-01T05:14:23.168Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-10-01T05:14:23.230Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-10-01T05:14:23.287Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-573 [Pipeline] echo [2024-10-01T05:14:23.345Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-573 [Pipeline] echo [2024-10-01T05:14:23.400Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-573 [Pipeline] echo [2024-10-01T05:14:23.458Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 5ef6da143a4c2737bfbf337882f94f2a08217a71 [Pipeline] echo [2024-10-01T05:14:23.518Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 5ef6da1 [Pipeline] echo [2024-10-01T05:14:23.582Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-10-01T05:14:23.736Z] provisioning config files... [2024-10-01T05:14:23.753Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-573@tmp/config5265298351518891069tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-01T05:14:24.149Z] ---> ****-login.sh [2024-10-01T05:14:24.149Z] nexus3.edgexfoundry.org:10001 [2024-10-01T05:14:24.411Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-01T05:14:24.412Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-01T05:14:24.412Z] Configure a credential helper to remove this warning. See [2024-10-01T05:14:24.412Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-01T05:14:24.412Z] [2024-10-01T05:14:24.412Z] Login Succeeded [2024-10-01T05:14:24.412Z] nexus3.edgexfoundry.org:10002 [2024-10-01T05:14:24.675Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-01T05:14:24.675Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-01T05:14:24.675Z] Configure a credential helper to remove this warning. See [2024-10-01T05:14:24.675Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-01T05:14:24.675Z] [2024-10-01T05:14:24.675Z] Login Succeeded [2024-10-01T05:14:24.675Z] nexus3.edgexfoundry.org:10003 [2024-10-01T05:14:24.675Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-01T05:14:24.675Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-01T05:14:24.675Z] Configure a credential helper to remove this warning. See [2024-10-01T05:14:24.676Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-01T05:14:24.676Z] [2024-10-01T05:14:24.676Z] Login Succeeded [2024-10-01T05:14:24.676Z] nexus3.edgexfoundry.org:10004 [2024-10-01T05:14:24.676Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-01T05:14:24.936Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-01T05:14:24.936Z] Configure a credential helper to remove this warning. See [2024-10-01T05:14:24.936Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-01T05:14:24.936Z] [2024-10-01T05:14:24.936Z] Login Succeeded [2024-10-01T05:14:24.936Z] ****.io [2024-10-01T05:14:24.936Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-01T05:14:25.199Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-01T05:14:25.199Z] Configure a credential helper to remove this warning. See [2024-10-01T05:14:25.199Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-01T05:14:25.199Z] [2024-10-01T05:14:25.199Z] Login Succeeded [2024-10-01T05:14:25.199Z] ---> ****-login.sh ends [Pipeline] } [2024-10-01T05:14:25.347Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-10-01T05:14:26.047Z] + git rev-list -1 --merges 5ef6da143a4c2737bfbf337882f94f2a08217a71~1..5ef6da143a4c2737bfbf337882f94f2a08217a71 [Pipeline] echo [2024-10-01T05:14:26.114Z] -----------> git rev-list -1 --merges 5ef6da143a4c2737bfbf337882f94f2a08217a71~1..5ef6da143a4c2737bfbf337882f94f2a08217a71 5ef6da143a4c2737bfbf337882f94f2a08217a71 [false] [Pipeline] sh [2024-10-01T05:14:26.455Z] + git log --format=format:%s -1 5ef6da143a4c2737bfbf337882f94f2a08217a71 [Pipeline] echo [2024-10-01T05:14:26.496Z] ========================================================= [2024-10-01T05:14:26.496Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-10-01T05:14:26.496Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-10-01T05:14:26.968Z] + git log --format=format:%s -1 5ef6da143a4c2737bfbf337882f94f2a08217a71 [Pipeline] echo [2024-10-01T05:14:27.012Z] [semverPrep] GIT_COMMIT: 5ef6da143a4c2737bfbf337882f94f2a08217a71, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo [2024-10-01T05:14:27.059Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-10-01T05:14:27.489Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-10-01T05:14:27.489Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-10-01T05:14:27.489Z] + [ -e /tmp/ssh_known_hosts ] [2024-10-01T05:14:27.489Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-10-01T05:14:27.489Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-10-01T05:14:27.489Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2024-10-01T05:14:27.489Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-01T05:14:28.116Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-10-01T05:14:28.116Z] [2024-10-01T05:14:28.116Z] 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-01T05:14:28.530Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-10-01T05:14:28.531Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-10-01T05:14:28.531Z] b85a868b505f: Pulling fs layer [2024-10-01T05:14:28.531Z] e2be974225ed: Pulling fs layer [2024-10-01T05:14:28.531Z] 339a4e72a1f5: Pulling fs layer [2024-10-01T05:14:28.531Z] 988bab9f4d93: Pulling fs layer [2024-10-01T05:14:28.531Z] 1469e6f7b9e6: Pulling fs layer [2024-10-01T05:14:28.531Z] eaf3925da568: Pulling fs layer [2024-10-01T05:14:28.531Z] bab4dde63d76: Pulling fs layer [2024-10-01T05:14:28.531Z] bde34c3a00c8: Pulling fs layer [2024-10-01T05:14:28.531Z] b352a97aabf1: Pulling fs layer [2024-10-01T05:14:28.531Z] 4872d77fe225: Pulling fs layer [2024-10-01T05:14:28.531Z] 5851b861e8e6: Pulling fs layer [2024-10-01T05:14:28.531Z] eaf3925da568: Waiting [2024-10-01T05:14:28.531Z] 988bab9f4d93: Waiting [2024-10-01T05:14:28.531Z] bab4dde63d76: Waiting [2024-10-01T05:14:28.531Z] bde34c3a00c8: Waiting [2024-10-01T05:14:28.531Z] 1469e6f7b9e6: Waiting [2024-10-01T05:14:28.531Z] b352a97aabf1: Waiting [2024-10-01T05:14:28.531Z] 4872d77fe225: Waiting [2024-10-01T05:14:28.531Z] 5851b861e8e6: Waiting [2024-10-01T05:14:28.531Z] e2be974225ed: Verifying Checksum [2024-10-01T05:14:28.531Z] e2be974225ed: Download complete [2024-10-01T05:14:28.531Z] 988bab9f4d93: Download complete [2024-10-01T05:14:28.531Z] 1469e6f7b9e6: Verifying Checksum [2024-10-01T05:14:28.531Z] 1469e6f7b9e6: Download complete [2024-10-01T05:14:28.531Z] eaf3925da568: Verifying Checksum [2024-10-01T05:14:28.531Z] eaf3925da568: Download complete [2024-10-01T05:14:28.789Z] 339a4e72a1f5: Verifying Checksum [2024-10-01T05:14:28.789Z] 339a4e72a1f5: Download complete [2024-10-01T05:14:28.789Z] bde34c3a00c8: Verifying Checksum [2024-10-01T05:14:28.789Z] bde34c3a00c8: Download complete [2024-10-01T05:14:28.789Z] b352a97aabf1: Verifying Checksum [2024-10-01T05:14:28.789Z] b352a97aabf1: Download complete [2024-10-01T05:14:28.789Z] 4872d77fe225: Verifying Checksum [2024-10-01T05:14:28.789Z] 4872d77fe225: Download complete [2024-10-01T05:14:28.789Z] 5851b861e8e6: Verifying Checksum [2024-10-01T05:14:28.789Z] 5851b861e8e6: Download complete [2024-10-01T05:14:28.789Z] b85a868b505f: Verifying Checksum [2024-10-01T05:14:28.789Z] b85a868b505f: Download complete [2024-10-01T05:14:29.048Z] bab4dde63d76: Verifying Checksum [2024-10-01T05:14:29.048Z] bab4dde63d76: Download complete [2024-10-01T05:14:29.984Z] b85a868b505f: Pull complete [2024-10-01T05:14:30.244Z] e2be974225ed: Pull complete [2024-10-01T05:14:30.814Z] 339a4e72a1f5: Pull complete [2024-10-01T05:14:30.814Z] 988bab9f4d93: Pull complete [2024-10-01T05:14:31.073Z] 1469e6f7b9e6: Pull complete [2024-10-01T05:14:31.073Z] eaf3925da568: Pull complete [2024-10-01T05:14:32.977Z] bab4dde63d76: Pull complete [2024-10-01T05:14:32.977Z] bde34c3a00c8: Pull complete [2024-10-01T05:14:33.236Z] b352a97aabf1: Pull complete [2024-10-01T05:14:33.236Z] 4872d77fe225: Pull complete [2024-10-01T05:14:33.236Z] 5851b861e8e6: Pull complete [2024-10-01T05:14:33.236Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-10-01T05:14:33.236Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-10-01T05:14:33.236Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-01T05:14:33.649Z] prd-ubuntu20.04-docker-8c-8g-12249 does not seem to be running inside a container [2024-10-01T05:14:33.682Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-573 -v /w/workspace/xfoundry_device-modbus-go_PR-573:/w/workspace/xfoundry_device-modbus-go_PR-573:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-573@tmp:/w/workspace/xfoundry_device-modbus-go_PR-573@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-10-01T05:14:37.140Z] $ docker top 6d203605d4cd666f4b7bc86e519e6df45ff26772b2c86e8b90a287017fd1f4bc -eo pid,comm [2024-10-01T05:14:37.201Z] 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-01T05:14:37.201Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-10-01T05:14:37.389Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-10-01T05:14:37.389Z] [ssh-agent] Looking for ssh-agent implementation... [2024-10-01T05:14:37.511Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-10-01T05:14:37.513Z] $ docker exec 6d203605d4cd666f4b7bc86e519e6df45ff26772b2c86e8b90a287017fd1f4bc ssh-agent [2024-10-01T05:14:37.637Z] SSH_AUTH_SOCK=/tmp/ssh-mf8kFnSa6XcY/agent.33 [2024-10-01T05:14:37.637Z] SSH_AGENT_PID=39 [2024-10-01T05:14:37.643Z] Running ssh-add (command line suppressed) [2024-10-01T05:14:37.766Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-573@tmp/private_key_11596448738476991920.key (/w/workspace/xfoundry_device-modbus-go_PR-573@tmp/private_key_11596448738476991920.key) [2024-10-01T05:14:37.779Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-10-01T05:14:38.133Z] + git tag --points-at HEAD [Pipeline] } [2024-10-01T05:14:38.168Z] $ docker exec --env ******** --env ******** 6d203605d4cd666f4b7bc86e519e6df45ff26772b2c86e8b90a287017fd1f4bc ssh-agent -k [2024-10-01T05:14:38.279Z] unset SSH_AUTH_SOCK; [2024-10-01T05:14:38.280Z] unset SSH_AGENT_PID; [2024-10-01T05:14:38.280Z] echo Agent pid 39 killed; [2024-10-01T05:14:38.291Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-10-01T05:14:38.410Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-10-01T05:14:38.410Z] [ssh-agent] Looking for ssh-agent implementation... [2024-10-01T05:14:38.536Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-10-01T05:14:38.539Z] $ docker exec 6d203605d4cd666f4b7bc86e519e6df45ff26772b2c86e8b90a287017fd1f4bc ssh-agent [2024-10-01T05:14:38.652Z] SSH_AUTH_SOCK=/tmp/ssh-pWO6kFruHXDX/agent.72 [2024-10-01T05:14:38.652Z] SSH_AGENT_PID=78 [2024-10-01T05:14:38.657Z] Running ssh-add (command line suppressed) [2024-10-01T05:14:38.769Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-573@tmp/private_key_2395319356075264949.key (/w/workspace/xfoundry_device-modbus-go_PR-573@tmp/private_key_2395319356075264949.key) [2024-10-01T05:14:38.783Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-10-01T05:14:39.132Z] + git semver init [2024-10-01T05:14:39.392Z] 2024-10-01 05:14:39,339 [run_init] DEBUG init version:0.0.0 force:False [2024-10-01T05:14:39.392Z] 2024-10-01 05:14:39,340 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-modbus-go_PR-573/.semver [2024-10-01T05:14:39.392Z] 2024-10-01 05:14:39,340 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/xfoundry_device-modbus-go_PR-573/.semver [2024-10-01T05:14:39.392Z] 2024-10-01 05:14:39,341 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/xfoundry_device-modbus-go_PR-573/.semver'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-573, universal_newlines=False, shell=None, istream=None) [2024-10-01T05:14:40.772Z] 2024-10-01 05:14:40,478 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-modbus-go_PR-573/.git/info/exclude [2024-10-01T05:14:40.772Z] 2024-10-01 05:14:40,479 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-modbus-go_PR-573/.semver/PR-573 with force:False [2024-10-01T05:14:40.772Z] 2024-10-01 05:14:40,479 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-modbus-go_PR-573/.semver/PR-573 [2024-10-01T05:14:40.772Z] 2024-10-01 05:14:40,483 [execute] INFO git cat-file --batch-check [2024-10-01T05:14:40.772Z] 2024-10-01 05:14:40,484 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-573/.semver, universal_newlines=False, shell=None, istream=) [2024-10-01T05:14:40.772Z] 2024-10-01 05:14:40,490 [execute] INFO git cat-file --batch [2024-10-01T05:14:40.772Z] 2024-10-01 05:14:40,490 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-573/.semver, universal_newlines=False, shell=None, istream=) [2024-10-01T05:14:40.772Z] 2024-10-01 05:14:40,495 [read_version] DEBUG read version from /w/workspace/xfoundry_device-modbus-go_PR-573/.semver/PR-573 [2024-10-01T05:14:40.772Z] 0.0.0 [Pipeline] } [2024-10-01T05:14:40.805Z] $ docker exec --env ******** --env ******** 6d203605d4cd666f4b7bc86e519e6df45ff26772b2c86e8b90a287017fd1f4bc ssh-agent -k [2024-10-01T05:14:40.920Z] unset SSH_AUTH_SOCK; [2024-10-01T05:14:40.920Z] unset SSH_AGENT_PID; [2024-10-01T05:14:40.920Z] echo Agent pid 78 killed; [2024-10-01T05:14:40.931Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-10-01T05:14:41.396Z] + git semver [Pipeline] } [2024-10-01T05:14:41.688Z] $ docker stop --time=1 6d203605d4cd666f4b7bc86e519e6df45ff26772b2c86e8b90a287017fd1f4bc [2024-10-01T05:14:42.985Z] $ docker rm -f --volumes 6d203605d4cd666f4b7bc86e519e6df45ff26772b2c86e8b90a287017fd1f4bc [Pipeline] // withDockerContainer [Pipeline] sh [2024-10-01T05:14:43.422Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-10-01T05:14:43.772Z] Stashed 1 file(s) [Pipeline] echo [2024-10-01T05:14:43.797Z] [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-01T05:14:44.575Z] provisioning config files... [2024-10-01T05:14:44.585Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-573@tmp/config7538750037253446219tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-01T05:14:44.961Z] ---> ****-login.sh [2024-10-01T05:14:44.961Z] nexus3.edgexfoundry.org:10001 [2024-10-01T05:14:44.961Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-01T05:14:44.962Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-01T05:14:44.962Z] Configure a credential helper to remove this warning. See [2024-10-01T05:14:44.962Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-01T05:14:44.962Z] [2024-10-01T05:14:44.962Z] Login Succeeded [2024-10-01T05:14:44.962Z] nexus3.edgexfoundry.org:10002 [2024-10-01T05:14:44.962Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-01T05:14:45.220Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-01T05:14:45.220Z] Configure a credential helper to remove this warning. See [2024-10-01T05:14:45.220Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-01T05:14:45.220Z] [2024-10-01T05:14:45.220Z] Login Succeeded [2024-10-01T05:14:45.220Z] nexus3.edgexfoundry.org:10003 [2024-10-01T05:14:45.220Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-01T05:14:45.221Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-01T05:14:45.221Z] Configure a credential helper to remove this warning. See [2024-10-01T05:14:45.221Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-01T05:14:45.221Z] [2024-10-01T05:14:45.221Z] Login Succeeded [2024-10-01T05:14:45.221Z] nexus3.edgexfoundry.org:10004 [2024-10-01T05:14:45.479Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-01T05:14:45.479Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-01T05:14:45.479Z] Configure a credential helper to remove this warning. See [2024-10-01T05:14:45.479Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-01T05:14:45.479Z] [2024-10-01T05:14:45.479Z] Login Succeeded [2024-10-01T05:14:45.479Z] ****.io [2024-10-01T05:14:45.479Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-01T05:14:45.739Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-01T05:14:45.739Z] Configure a credential helper to remove this warning. See [2024-10-01T05:14:45.740Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-01T05:14:45.740Z] [2024-10-01T05:14:45.740Z] Login Succeeded [2024-10-01T05:14:45.740Z] ---> ****-login.sh ends [Pipeline] } [2024-10-01T05:14:45.778Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-10-01T05:14:46.019Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-01T05:14:46.080Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-01T05:14:46.125Z] ========================================================= [2024-10-01T05:14:46.125Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2024-10-01T05:14:46.125Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-01T05:14:46.648Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2024-10-01T05:14:46.648Z] Sending build context to Docker daemon 17.93MB [2024-10-01T05:14:46.648Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2024-10-01T05:14:46.648Z] Step 2/10 : FROM ${BASE} AS builder [2024-10-01T05:14:46.648Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2024-10-01T05:14:46.648Z] 619be1103602: Pulling fs layer [2024-10-01T05:14:46.648Z] 7862e08f4a3e: Pulling fs layer [2024-10-01T05:14:46.648Z] 5df492c9dc93: Pulling fs layer [2024-10-01T05:14:46.648Z] 7629e6793208: Pulling fs layer [2024-10-01T05:14:46.648Z] 4f4fb700ef54: Pulling fs layer [2024-10-01T05:14:46.648Z] fb5054dd5b73: Pulling fs layer [2024-10-01T05:14:46.648Z] eeca6798cff9: Pulling fs layer [2024-10-01T05:14:46.648Z] aa269ceb94a6: Pulling fs layer [2024-10-01T05:14:46.648Z] ada007ff1a6a: Pulling fs layer [2024-10-01T05:14:46.648Z] 4f4fb700ef54: Waiting [2024-10-01T05:14:46.648Z] fb5054dd5b73: Waiting [2024-10-01T05:14:46.648Z] eeca6798cff9: Waiting [2024-10-01T05:14:46.648Z] aa269ceb94a6: Waiting [2024-10-01T05:14:46.648Z] ada007ff1a6a: Waiting [2024-10-01T05:14:46.648Z] 7629e6793208: Waiting [2024-10-01T05:14:46.919Z] 7862e08f4a3e: Download complete [2024-10-01T05:14:46.919Z] 7629e6793208: Verifying Checksum [2024-10-01T05:14:46.919Z] 7629e6793208: Download complete [2024-10-01T05:14:46.919Z] 4f4fb700ef54: Verifying Checksum [2024-10-01T05:14:46.919Z] 4f4fb700ef54: Download complete [2024-10-01T05:14:46.919Z] fb5054dd5b73: Verifying Checksum [2024-10-01T05:14:46.919Z] fb5054dd5b73: Download complete [2024-10-01T05:14:46.919Z] 619be1103602: Download complete [2024-10-01T05:14:46.919Z] eeca6798cff9: Verifying Checksum [2024-10-01T05:14:46.919Z] eeca6798cff9: Download complete [2024-10-01T05:14:47.178Z] ada007ff1a6a: Verifying Checksum [2024-10-01T05:14:47.178Z] ada007ff1a6a: Download complete [2024-10-01T05:14:47.178Z] 619be1103602: Pull complete [2024-10-01T05:14:47.178Z] 7862e08f4a3e: Pull complete [2024-10-01T05:14:47.436Z] 5df492c9dc93: Verifying Checksum [2024-10-01T05:14:47.436Z] 5df492c9dc93: Download complete [2024-10-01T05:14:47.694Z] aa269ceb94a6: Verifying Checksum [2024-10-01T05:14:47.694Z] aa269ceb94a6: Download complete [2024-10-01T05:14:50.977Z] 5df492c9dc93: Pull complete [2024-10-01T05:14:50.977Z] 7629e6793208: Pull complete [2024-10-01T05:14:50.977Z] 4f4fb700ef54: Pull complete [2024-10-01T05:14:50.977Z] fb5054dd5b73: Pull complete [2024-10-01T05:14:50.977Z] eeca6798cff9: Pull complete [2024-10-01T05:14:53.508Z] aa269ceb94a6: Pull complete [2024-10-01T05:14:54.077Z] ada007ff1a6a: Pull complete [2024-10-01T05:14:54.077Z] Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 [2024-10-01T05:14:54.077Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2024-10-01T05:14:54.077Z] ---> f489d0715acc [2024-10-01T05:14:54.077Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2024-10-01T05:14:59.336Z] Still waiting to schedule task [2024-10-01T05:14:59.337Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2024-10-01T05:15:00.766Z] ---> Running in db83bbd257ee [2024-10-01T05:15:00.766Z] Removing intermediate container db83bbd257ee [2024-10-01T05:15:00.766Z] ---> 0ea7f7fc4e90 [2024-10-01T05:15:00.766Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-10-01T05:15:00.766Z] ---> Running in 42aa4801bde3 [2024-10-01T05:15:00.766Z] Removing intermediate container 42aa4801bde3 [2024-10-01T05:15:00.766Z] ---> dd695a0d995f [2024-10-01T05:15:00.766Z] Step 5/10 : RUN apk add --update --no-cache make git openssh [2024-10-01T05:15:00.766Z] ---> Running in 12f8b5f0dc5c [2024-10-01T05:15:00.766Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-10-01T05:15:00.766Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-10-01T05:15:00.766Z] (1/8) Installing openssh-keygen (9.3_p2-r2) [2024-10-01T05:15:00.766Z] (2/8) Installing libedit (20221030.3.1-r1) [2024-10-01T05:15:00.766Z] (3/8) Installing openssh-client-common (9.3_p2-r2) [2024-10-01T05:15:01.026Z] (4/8) Installing openssh-client-default (9.3_p2-r2) [2024-10-01T05:15:01.026Z] (5/8) Installing openssh-sftp-server (9.3_p2-r2) [2024-10-01T05:15:01.026Z] (6/8) Installing openssh-server-common (9.3_p2-r2) [2024-10-01T05:15:01.026Z] (7/8) Installing openssh-server (9.3_p2-r2) [2024-10-01T05:15:01.026Z] (8/8) Installing openssh (9.3_p2-r2) [2024-10-01T05:15:01.026Z] Executing busybox-1.36.1-r5.trigger [2024-10-01T05:15:01.026Z] OK: 270 MiB in 60 packages [2024-10-01T05:15:01.972Z] Removing intermediate container 12f8b5f0dc5c [2024-10-01T05:15:01.972Z] ---> 92cadfb777fa [2024-10-01T05:15:01.972Z] Step 6/10 : WORKDIR /device-modbus-go [2024-10-01T05:15:01.972Z] ---> Running in e324b9824267 [2024-10-01T05:15:01.972Z] Removing intermediate container e324b9824267 [2024-10-01T05:15:01.972Z] ---> a490373902f6 [2024-10-01T05:15:01.972Z] Step 7/10 : COPY go.mod vendor* ./ [2024-10-01T05:15:01.972Z] ---> 744938788467 [2024-10-01T05:15:01.972Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-10-01T05:15:01.972Z] ---> Running in 02a09a7e1df5 [2024-10-01T05:16:10.335Z] Removing intermediate container 02a09a7e1df5 [2024-10-01T05:16:10.335Z] ---> 9885c9205d44 [2024-10-01T05:16:10.335Z] Step 9/10 : COPY . . [2024-10-01T05:16:10.335Z] ---> 3326ed0cea2f [2024-10-01T05:16:10.335Z] Step 10/10 : RUN ${MAKE} [2024-10-01T05:16:10.335Z] ---> Running in ddb2048617b9 [2024-10-01T05:16:10.335Z] noop [2024-10-01T05:16:10.335Z] Removing intermediate container ddb2048617b9 [2024-10-01T05:16:10.335Z] ---> 6c60a45511a9 [2024-10-01T05:16:10.335Z] Successfully built 6c60a45511a9 [2024-10-01T05:16:10.335Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-01T05:16:10.825Z] + docker inspect -f . ci-base-image-x86_64 [2024-10-01T05:16:10.826Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-01T05:16:11.013Z] prd-ubuntu20.04-docker-8c-8g-12249 does not seem to be running inside a container [2024-10-01T05:16:11.052Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-573 -v /w/workspace/xfoundry_device-modbus-go_PR-573:/w/workspace/xfoundry_device-modbus-go_PR-573:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-573@tmp:/w/workspace/xfoundry_device-modbus-go_PR-573@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-10-01T05:16:11.420Z] $ docker top 9e14d85627b521522478411ff1ae3a12d02cb6d7e75f2b5e035f6e8410d125e8 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-01T05:16:11.856Z] + go version [2024-10-01T05:16:11.856Z] go version go1.21.9 linux/amd64 [Pipeline] } [2024-10-01T05:16:11.895Z] $ docker stop --time=1 9e14d85627b521522478411ff1ae3a12d02cb6d7e75f2b5e035f6e8410d125e8 [2024-10-01T05:16:13.164Z] $ docker rm -f --volumes 9e14d85627b521522478411ff1ae3a12d02cb6d7e75f2b5e035f6e8410d125e8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-01T05:16:13.966Z] + docker inspect -f . ci-base-image-x86_64 [2024-10-01T05:16:13.966Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-01T05:16:14.151Z] prd-ubuntu20.04-docker-8c-8g-12249 does not seem to be running inside a container [2024-10-01T05:16:14.185Z] $ 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-573 -v /w/workspace/xfoundry_device-modbus-go_PR-573:/w/workspace/xfoundry_device-modbus-go_PR-573:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-573@tmp:/w/workspace/xfoundry_device-modbus-go_PR-573@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-10-01T05:16:14.571Z] $ docker top 85f1e124b2e7b2e8c8a333b5c80404ea4792cbbfd1411fcb839ad94dbdbe95c1 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-01T05:16:14.994Z] + git config --global --add safe.directory /w/workspace/xfoundry_device-modbus-go_PR-573 [Pipeline] fileExists [Pipeline] sh [2024-10-01T05:16:15.393Z] + make test [2024-10-01T05:16:15.393Z] go test ./... -coverprofile=coverage.out [2024-10-01T05:16:17.298Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2024-10-01T05:16:39.234Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2024-10-01T05:16:39.234Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.010s coverage: 47.9% of statements [2024-10-01T05:16:49.202Z] go vet ./... [2024-10-01T05:16:55.782Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-10-01T05:16:55.782Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-10-01T05:16:55.782Z] ./bin/test-attribution-txt.sh [2024-10-01T05:16:55.782Z] An attribution for github.com/panjf2000/ants/v2 is missing from Attribution.txt, please add [Pipeline] echo [2024-10-01T05:16:55.859Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-10-01T05:16:55.901Z] $ docker stop --time=1 85f1e124b2e7b2e8c8a333b5c80404ea4792cbbfd1411fcb839ad94dbdbe95c1 [2024-10-01T05:16:57.733Z] $ docker rm -f --volumes 85f1e124b2e7b2e8c8a333b5c80404ea4792cbbfd1411fcb839ad94dbdbe95c1 [Pipeline] // withDockerContainer [Pipeline] sh [2024-10-01T05:16:58.381Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-10-01T05:16:58.483Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2024-10-01T05:16:59.338Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-10-01T05:16:59.653Z] + ls -al . [2024-10-01T05:16:59.653Z] total 272 [2024-10-01T05:16:59.653Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 1 05:16 . [2024-10-01T05:16:59.653Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 1 05:14 .. [2024-10-01T05:16:59.653Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 1 05:14 .dockerignore [2024-10-01T05:16:59.653Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 1 05:16 .git [2024-10-01T05:16:59.653Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 1 05:14 .github [2024-10-01T05:16:59.653Z] -rw-rw-r-- 1 jenkins jenkins 266 Oct 1 05:14 .gitignore [2024-10-01T05:16:59.653Z] -rw-rw-r-- 1 jenkins jenkins 41 Oct 1 05:14 .golangci.yml [2024-10-01T05:16:59.653Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 1 05:14 .semver [2024-10-01T05:16:59.653Z] -rw-rw-r-- 1 jenkins jenkins 19432 Oct 1 05:14 Attribution.txt [2024-10-01T05:16:59.653Z] -rw-rw-r-- 1 jenkins jenkins 16388 Oct 1 05:14 CHANGELOG.md [2024-10-01T05:16:59.653Z] -rw-rw-r-- 1 jenkins jenkins 1474 Oct 1 05:14 Dockerfile [2024-10-01T05:16:59.653Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 1 05:14 GOVERNANCE.md [2024-10-01T05:16:59.653Z] -rw-rw-r-- 1 jenkins jenkins 658 Oct 1 05:14 Jenkinsfile [2024-10-01T05:16:59.653Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 1 05:14 LICENSE [2024-10-01T05:16:59.653Z] -rw-rw-r-- 1 jenkins jenkins 1942 Oct 1 05:14 Makefile [2024-10-01T05:16:59.653Z] -rw-rw-r-- 1 jenkins jenkins 622 Oct 1 05:14 OWNERS.md [2024-10-01T05:16:59.653Z] -rw-rw-r-- 1 jenkins jenkins 4463 Oct 1 05:14 README.md [2024-10-01T05:16:59.653Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 1 05:14 VERSION [2024-10-01T05:16:59.653Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 1 05:14 bin [2024-10-01T05:16:59.653Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 1 05:14 cmd [2024-10-01T05:16:59.653Z] -rw-r--r-- 1 jenkins jenkins 24601 Oct 1 05:16 coverage.out [2024-10-01T05:16:59.653Z] -rw-rw-r-- 1 jenkins jenkins 7186 Oct 1 05:14 go.mod [2024-10-01T05:16:59.653Z] -rw-rw-r-- 1 jenkins jenkins 102017 Oct 1 05:14 go.sum [2024-10-01T05:16:59.653Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 1 05:14 internal [2024-10-01T05:16:59.653Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 1 05:14 simulator [2024-10-01T05:16:59.653Z] -rw-rw-r-- 1 jenkins jenkins 229 Oct 1 05:14 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-01T05:17:00.078Z] + 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=5ef6da143a4c2737bfbf337882f94f2a08217a71 --label arch=amd64 --label version=0.0.0 . [2024-10-01T05:17:00.078Z] Sending build context to Docker daemon 17.95MB [2024-10-01T05:17:00.078Z] Step 1/23 : ARG BASE=golang:1.21-alpine3.18 [2024-10-01T05:17:00.078Z] Step 2/23 : FROM ${BASE} AS builder [2024-10-01T05:17:00.078Z] ---> 6c60a45511a9 [2024-10-01T05:17:00.078Z] Step 3/23 : ARG ADD_BUILD_TAGS="" [2024-10-01T05:17:00.649Z] ---> Running in 84dabc430cea [2024-10-01T05:17:00.649Z] Removing intermediate container 84dabc430cea [2024-10-01T05:17:00.649Z] ---> 61929a15b756 [2024-10-01T05:17:00.649Z] Step 4/23 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-10-01T05:17:00.649Z] ---> Running in e43117e5230a [2024-10-01T05:17:00.649Z] Removing intermediate container e43117e5230a [2024-10-01T05:17:00.649Z] ---> a07d3c5c722a [2024-10-01T05:17:00.649Z] Step 5/23 : RUN apk add --update --no-cache make git openssh [2024-10-01T05:17:00.649Z] ---> Running in 3719a3f80556 [2024-10-01T05:17:00.908Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-10-01T05:17:01.168Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-10-01T05:17:01.427Z] OK: 270 MiB in 60 packages [2024-10-01T05:17:01.685Z] Removing intermediate container 3719a3f80556 [2024-10-01T05:17:01.685Z] ---> 5d14c16c318d [2024-10-01T05:17:01.685Z] Step 6/23 : WORKDIR /device-modbus-go [2024-10-01T05:17:01.685Z] ---> Running in 02bab3fb4118 [2024-10-01T05:17:01.685Z] Removing intermediate container 02bab3fb4118 [2024-10-01T05:17:01.685Z] ---> af4f61e82644 [2024-10-01T05:17:01.685Z] Step 7/23 : COPY go.mod vendor* ./ [2024-10-01T05:17:01.943Z] ---> fec1d34c2c5d [2024-10-01T05:17:01.943Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-10-01T05:17:01.943Z] ---> Running in c8ec5a8b6257 [2024-10-01T05:17:02.512Z] Removing intermediate container c8ec5a8b6257 [2024-10-01T05:17:02.512Z] ---> 9ba2aae8a72f [2024-10-01T05:17:02.512Z] Step 9/23 : COPY . . [2024-10-01T05:17:03.446Z] ---> fca3c749aded [2024-10-01T05:17:03.446Z] Step 10/23 : RUN ${MAKE} [2024-10-01T05:17:03.446Z] ---> Running in d9989b23f4cf [2024-10-01T05:17:03.704Z] 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.38" -trimpath -mod=readonly -o cmd/device-modbus ./cmd [2024-10-01T05:17:42.432Z] Removing intermediate container d9989b23f4cf [2024-10-01T05:17:42.432Z] ---> bf916d295fc9 [2024-10-01T05:17:42.432Z] Step 11/23 : FROM alpine:3.18 [2024-10-01T05:17:42.432Z] 3.18: Pulling from library/alpine [2024-10-01T05:17:42.432Z] 1cc3d825d8b2: Pulling fs layer [2024-10-01T05:17:42.432Z] 1cc3d825d8b2: Download complete [2024-10-01T05:17:42.432Z] 1cc3d825d8b2: Pull complete [2024-10-01T05:17:42.432Z] Digest: sha256:3ddf7bf1d408188f9849efbf4f902720ae08f5131bb39013518b918aa056d0de [2024-10-01T05:17:42.432Z] Status: Downloaded newer image for alpine:3.18 [2024-10-01T05:17:42.432Z] ---> 2c64cf60f6f0 [2024-10-01T05:17:42.432Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2024-10-01T05:17:42.432Z] ---> Running in e79b37f7327e [2024-10-01T05:17:42.432Z] Removing intermediate container e79b37f7327e [2024-10-01T05:17:42.432Z] ---> 526f8f838561 [2024-10-01T05:17:42.432Z] Step 13/23 : RUN apk add --update --no-cache dumb-init [2024-10-01T05:17:42.432Z] ---> Running in 521a18b8b4db [2024-10-01T05:17:42.432Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-10-01T05:17:42.432Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-10-01T05:17:42.432Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-10-01T05:17:42.432Z] Executing busybox-1.36.1-r7.trigger [2024-10-01T05:17:42.432Z] OK: 7 MiB in 16 packages [2024-10-01T05:17:42.432Z] Removing intermediate container 521a18b8b4db [2024-10-01T05:17:42.432Z] ---> 3f7506b90e9c [2024-10-01T05:17:42.432Z] Step 14/23 : RUN apk --no-cache upgrade [2024-10-01T05:17:42.432Z] ---> Running in 76e7313698f6 [2024-10-01T05:17:42.432Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-10-01T05:17:42.432Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-10-01T05:17:42.432Z] OK: 7 MiB in 16 packages [2024-10-01T05:17:42.432Z] Removing intermediate container 76e7313698f6 [2024-10-01T05:17:42.432Z] ---> 84cae8aba1a7 [2024-10-01T05:17:42.432Z] Step 15/23 : COPY --from=builder /device-modbus-go/cmd / [2024-10-01T05:17:42.432Z] ---> 838ee6364a76 [2024-10-01T05:17:42.432Z] Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / [2024-10-01T05:17:42.432Z] ---> ab3d5af335ca [2024-10-01T05:17:42.432Z] Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / [2024-10-01T05:17:42.432Z] ---> 15256c8138b1 [2024-10-01T05:17:42.432Z] Step 18/23 : EXPOSE 59901 [2024-10-01T05:17:42.432Z] ---> Running in ef5408be0733 [2024-10-01T05:17:42.432Z] Removing intermediate container ef5408be0733 [2024-10-01T05:17:42.432Z] ---> 19254cf3a583 [2024-10-01T05:17:42.432Z] Step 19/23 : ENTRYPOINT ["/device-modbus"] [2024-10-01T05:17:42.432Z] ---> Running in ab39048ae2dd [2024-10-01T05:17:42.432Z] Removing intermediate container ab39048ae2dd [2024-10-01T05:17:42.432Z] ---> fb407fe25ba2 [2024-10-01T05:17:42.432Z] Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2024-10-01T05:17:42.432Z] ---> Running in 5f4163a7f7eb [2024-10-01T05:17:42.433Z] Removing intermediate container 5f4163a7f7eb [2024-10-01T05:17:42.433Z] ---> 511cb0d9e81c [2024-10-01T05:17:42.433Z] Step 21/23 : LABEL arch=amd64 [2024-10-01T05:17:42.433Z] ---> Running in 7e3cfbffc4a8 [2024-10-01T05:17:42.433Z] Removing intermediate container 7e3cfbffc4a8 [2024-10-01T05:17:42.433Z] ---> 87530798ec89 [2024-10-01T05:17:42.433Z] Step 22/23 : LABEL git_sha=5ef6da143a4c2737bfbf337882f94f2a08217a71 [2024-10-01T05:17:42.433Z] ---> Running in efffb68c92e2 [2024-10-01T05:17:42.433Z] Removing intermediate container efffb68c92e2 [2024-10-01T05:17:42.433Z] ---> a87c3584fd49 [2024-10-01T05:17:42.433Z] Step 23/23 : LABEL version=0.0.0 [2024-10-01T05:17:42.433Z] ---> Running in b386691749b2 [2024-10-01T05:17:42.433Z] Removing intermediate container b386691749b2 [2024-10-01T05:17:42.433Z] ---> 1718fae7a990 [2024-10-01T05:17:42.433Z] [Warning] One or more build-args [ARCH] were not consumed [2024-10-01T05:17:42.433Z] Successfully built 1718fae7a990 [2024-10-01T05:17:42.433Z] 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-01T05:17:43.594Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-01T05:17:43.594Z] [2024-10-01T05:17:43.594Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-01T05:17:43.992Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-01T05:17:43.992Z] latest: Pulling from edgex-lftools-log-publisher [2024-10-01T05:17:43.992Z] 5eb5b503b376: Pulling fs layer [2024-10-01T05:17:43.992Z] 5c69ac0246d0: Pulling fs layer [2024-10-01T05:17:43.992Z] ec43610c2a17: Pulling fs layer [2024-10-01T05:17:43.992Z] 3a2ae6a8a46f: Pulling fs layer [2024-10-01T05:17:43.992Z] 33b1e0a273af: Pulling fs layer [2024-10-01T05:17:43.992Z] 5d3b04190fa2: Pulling fs layer [2024-10-01T05:17:43.992Z] 2f39f015ded8: Pulling fs layer [2024-10-01T05:17:43.992Z] 5d3b04190fa2: Waiting [2024-10-01T05:17:43.992Z] 3a2ae6a8a46f: Waiting [2024-10-01T05:17:43.992Z] 33b1e0a273af: Waiting [2024-10-01T05:17:43.992Z] 2f39f015ded8: Waiting [2024-10-01T05:17:43.992Z] 5c69ac0246d0: Verifying Checksum [2024-10-01T05:17:43.992Z] 5c69ac0246d0: Download complete [2024-10-01T05:17:43.992Z] 3a2ae6a8a46f: Verifying Checksum [2024-10-01T05:17:43.992Z] 3a2ae6a8a46f: Download complete [2024-10-01T05:17:43.992Z] 33b1e0a273af: Verifying Checksum [2024-10-01T05:17:43.992Z] 33b1e0a273af: Download complete [2024-10-01T05:17:43.992Z] 5d3b04190fa2: Verifying Checksum [2024-10-01T05:17:43.992Z] 5d3b04190fa2: Download complete [2024-10-01T05:17:43.992Z] ec43610c2a17: Download complete [2024-10-01T05:17:44.252Z] 5eb5b503b376: Verifying Checksum [2024-10-01T05:17:44.252Z] 5eb5b503b376: Download complete [2024-10-01T05:17:44.819Z] 2f39f015ded8: Verifying Checksum [2024-10-01T05:17:44.819Z] 2f39f015ded8: Download complete [2024-10-01T05:17:45.384Z] 5eb5b503b376: Pull complete [2024-10-01T05:17:45.642Z] 5c69ac0246d0: Pull complete [2024-10-01T05:17:45.900Z] ec43610c2a17: Pull complete [2024-10-01T05:17:46.159Z] 3a2ae6a8a46f: Pull complete [2024-10-01T05:17:46.159Z] 33b1e0a273af: Pull complete [2024-10-01T05:17:46.417Z] 5d3b04190fa2: Pull complete [2024-10-01T05:17:50.600Z] 2f39f015ded8: Pull complete [2024-10-01T05:17:50.600Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-10-01T05:17:50.600Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-01T05:17:50.600Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-01T05:17:50.873Z] prd-ubuntu20.04-docker-8c-8g-12249 does not seem to be running inside a container [2024-10-01T05:17:50.905Z] $ 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-573 -v /w/workspace/xfoundry_device-modbus-go_PR-573:/w/workspace/xfoundry_device-modbus-go_PR-573:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-573@tmp:/w/workspace/xfoundry_device-modbus-go_PR-573@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-10-01T05:17:56.578Z] $ docker top 52fe694399dc9e73aa1276cbe3d0736e3388030f30c089ee7c07efdd33aa930a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-01T05:17:57.118Z] ---> job-cost.sh [2024-10-01T05:17:57.118Z] lf-activate-venv: SKIPPING [2024-10-01T05:17:57.118Z] INFO: No Stack... [2024-10-01T05:17:57.378Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-10-01T05:17:57.638Z] INFO: Archiving Costs [Pipeline] sh [2024-10-01T05:17:57.960Z] + cat /w/workspace/xfoundry_device-modbus-go_PR-573/archives/cost.csv [2024-10-01T05:17:57.960Z] + cut -d, -f6 [Pipeline] lock [2024-10-01T05:17:58.010Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-modbus-go-PR-573-1-stack-cost] [2024-10-01T05:17:58.018Z] Resource [jenkins-edgexfoundry-device-modbus-go-PR-573-1-stack-cost] did not exist. Created. [2024-10-01T05:17:58.031Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-modbus-go-PR-573-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-10-01T05:17:58.438Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-10-01T05:17:58.492Z] Stashed 1 file(s) [Pipeline] } [2024-10-01T05:17:58.531Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-modbus-go-PR-573-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-10-01T05:17:58.623Z] $ docker stop --time=1 52fe694399dc9e73aa1276cbe3d0736e3388030f30c089ee7c07efdd33aa930a [2024-10-01T05:17:59.780Z] $ docker rm -f --volumes 52fe694399dc9e73aa1276cbe3d0736e3388030f30c089ee7c07efdd33aa930a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-10-01T05:26:35.925Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-12265 in /w/workspace/xfoundry_device-modbus-go_PR-573 [Pipeline] { [Pipeline] ws [2024-10-01T05:26:36.009Z] Running in /w/workspace/device-modbus-go/1 [Pipeline] { [Pipeline] checkout [2024-10-01T05:26:36.102Z] The recommended git tool is: git [2024-10-01T05:26:40.885Z] using credential edgex-jenkins-ssh [2024-10-01T05:26:40.906Z] Cloning the remote Git repository [2024-10-01T05:26:40.946Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2024-10-01T05:26:41.035Z] > git init /w/workspace/device-modbus-go/1 # timeout=10 [2024-10-01T05:26:41.175Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2024-10-01T05:26:41.176Z] > git --version # timeout=10 [2024-10-01T05:26:41.197Z] > git --version # 'git version 2.25.1' [2024-10-01T05:26:41.200Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-10-01T05:26:41.350Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-10-01T05:26:43.196Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2024-10-01T05:26:43.221Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-10-01T05:26:44.609Z] Merging remotes/origin/main commit a3ee41877b048388e7c3cdab8b1927d49f235cab into PR head commit 5ef6da143a4c2737bfbf337882f94f2a08217a71 [2024-10-01T05:26:44.880Z] Merge succeeded, producing 5ef6da143a4c2737bfbf337882f94f2a08217a71 [2024-10-01T05:26:44.881Z] Checking out Revision 5ef6da143a4c2737bfbf337882f94f2a08217a71 (PR-573) [2024-10-01T05:26:44.038Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2024-10-01T05:26:44.073Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2024-10-01T05:26:44.074Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-10-01T05:26:44.098Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/573/head:refs/remotes/origin/PR-573 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2024-10-01T05:26:44.624Z] > git config core.sparsecheckout # timeout=10 [2024-10-01T05:26:44.706Z] > git checkout -f 5ef6da143a4c2737bfbf337882f94f2a08217a71 # timeout=10 [2024-10-01T05:26:44.785Z] > git remote # timeout=10 [2024-10-01T05:26:44.800Z] > git config --get remote.origin.url # timeout=10 [2024-10-01T05:26:44.821Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-10-01T05:26:44.842Z] > git merge a3ee41877b048388e7c3cdab8b1927d49f235cab # timeout=10 [2024-10-01T05:26:44.866Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-10-01T05:26:44.885Z] > git config core.sparsecheckout # timeout=10 [2024-10-01T05:26:44.914Z] > git checkout -f 5ef6da143a4c2737bfbf337882f94f2a08217a71 # timeout=10 [2024-10-01T05:26:45.543Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" [2024-10-01T05:26:45.598Z] > git --version # timeout=10 [2024-10-01T05:26:45.609Z] > git --version # 'git version 2.25.1' [2024-10-01T05:26:45.629Z] fatal: bad object b5a5e52272fc4198cf3754284eedf36dbf0baa35 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-10-01T05:26:50.829Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-10-01T05:26:50.829Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-10-01T05:26:50.829Z] Dload Upload Total Spent Left Speed [2024-10-01T05:26:50.829Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 90978 0 --:--:-- --:--:-- --:--:-- 91628 [Pipeline] sh [2024-10-01T05:26:51.175Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-10-01T05:26:51.871Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2024-10-01T05:26:51.871Z] + sudo tee /etc/docker/daemon.new [2024-10-01T05:26:51.871Z] { [2024-10-01T05:26:51.871Z] "registry-mirrors": [ [2024-10-01T05:26:51.871Z] "https://nexus3.edgexfoundry.org:10001" [2024-10-01T05:26:51.871Z] ], [2024-10-01T05:26:51.871Z] "bip": "10.250.0.254/24", [2024-10-01T05:26:51.871Z] "hosts": [ [2024-10-01T05:26:51.871Z] "tcp://0.0.0.0:5555", [2024-10-01T05:26:51.871Z] "unix:///var/run/docker.sock" [2024-10-01T05:26:51.871Z] ], [2024-10-01T05:26:51.871Z] "mtu": 1458, [2024-10-01T05:26:51.871Z] "selinux-enabled": true, [2024-10-01T05:26:51.871Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-10-01T05:26:51.871Z] } [Pipeline] sh [2024-10-01T05:26:52.247Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-10-01T05:26:52.933Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-10-01T05:27:11.460Z] provisioning config files... [2024-10-01T05:27:11.487Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/1@tmp/config14164357423558939477tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-01T05:27:12.005Z] ---> ****-login.sh [2024-10-01T05:27:12.005Z] nexus3.edgexfoundry.org:10001 [2024-10-01T05:27:12.278Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-01T05:27:12.870Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-01T05:27:12.870Z] Configure a credential helper to remove this warning. See [2024-10-01T05:27:12.871Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-01T05:27:12.871Z] [2024-10-01T05:27:12.871Z] Login Succeeded [2024-10-01T05:27:12.871Z] nexus3.edgexfoundry.org:10002 [2024-10-01T05:27:12.871Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-01T05:27:13.139Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-01T05:27:13.139Z] Configure a credential helper to remove this warning. See [2024-10-01T05:27:13.139Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-01T05:27:13.139Z] [2024-10-01T05:27:13.139Z] Login Succeeded [2024-10-01T05:27:13.139Z] nexus3.edgexfoundry.org:10003 [2024-10-01T05:27:13.410Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-01T05:27:13.411Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-01T05:27:13.411Z] Configure a credential helper to remove this warning. See [2024-10-01T05:27:13.411Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-01T05:27:13.411Z] [2024-10-01T05:27:13.411Z] Login Succeeded [2024-10-01T05:27:13.411Z] nexus3.edgexfoundry.org:10004 [2024-10-01T05:27:13.680Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-01T05:27:13.680Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-01T05:27:13.680Z] Configure a credential helper to remove this warning. See [2024-10-01T05:27:13.681Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-01T05:27:13.681Z] [2024-10-01T05:27:13.681Z] Login Succeeded [2024-10-01T05:27:13.681Z] ****.io [2024-10-01T05:27:13.948Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-01T05:27:14.217Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-01T05:27:14.217Z] Configure a credential helper to remove this warning. See [2024-10-01T05:27:14.217Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-01T05:27:14.217Z] [2024-10-01T05:27:14.217Z] Login Succeeded [2024-10-01T05:27:14.217Z] ---> ****-login.sh ends [Pipeline] } [2024-10-01T05:27:14.252Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-10-01T05:27:14.751Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-01T05:27:14.799Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-01T05:27:14.845Z] ========================================================= [2024-10-01T05:27:14.845Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2024-10-01T05:27:14.845Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-01T05:27:15.521Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2024-10-01T05:27:15.786Z] Sending build context to Docker daemon 9.11MB [2024-10-01T05:27:16.052Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2024-10-01T05:27:16.052Z] Step 2/10 : FROM ${BASE} AS builder [2024-10-01T05:27:16.052Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-10-01T05:27:16.052Z] c6b39de5b339: Pulling fs layer [2024-10-01T05:27:16.052Z] a69c41024577: Pulling fs layer [2024-10-01T05:27:16.052Z] d6de4b400683: Pulling fs layer [2024-10-01T05:27:16.052Z] 35cb2a7552d0: Pulling fs layer [2024-10-01T05:27:16.052Z] 4f4fb700ef54: Pulling fs layer [2024-10-01T05:27:16.052Z] 464afbd9ba4c: Pulling fs layer [2024-10-01T05:27:16.052Z] 00f215d4a9da: Pulling fs layer [2024-10-01T05:27:16.052Z] d496ad576159: Pulling fs layer [2024-10-01T05:27:16.052Z] 4f4fb700ef54: Waiting [2024-10-01T05:27:16.052Z] 464afbd9ba4c: Waiting [2024-10-01T05:27:16.052Z] 00f215d4a9da: Waiting [2024-10-01T05:27:16.052Z] d496ad576159: Waiting [2024-10-01T05:27:16.052Z] 35cb2a7552d0: Waiting [2024-10-01T05:27:16.052Z] a69c41024577: Download complete [2024-10-01T05:27:16.052Z] 35cb2a7552d0: Verifying Checksum [2024-10-01T05:27:16.052Z] 35cb2a7552d0: Download complete [2024-10-01T05:27:16.052Z] 4f4fb700ef54: Download complete [2024-10-01T05:27:16.319Z] 464afbd9ba4c: Verifying Checksum [2024-10-01T05:27:16.319Z] 464afbd9ba4c: Download complete [2024-10-01T05:27:16.319Z] c6b39de5b339: Verifying Checksum [2024-10-01T05:27:16.319Z] c6b39de5b339: Download complete [2024-10-01T05:27:16.587Z] d496ad576159: Verifying Checksum [2024-10-01T05:27:16.587Z] d496ad576159: Download complete [2024-10-01T05:27:17.230Z] c6b39de5b339: Pull complete [2024-10-01T05:27:17.814Z] a69c41024577: Pull complete [2024-10-01T05:27:17.814Z] d6de4b400683: Verifying Checksum [2024-10-01T05:27:17.814Z] d6de4b400683: Download complete [2024-10-01T05:27:19.224Z] 00f215d4a9da: Verifying Checksum [2024-10-01T05:27:19.224Z] 00f215d4a9da: Download complete [2024-10-01T05:27:31.552Z] d6de4b400683: Pull complete [2024-10-01T05:27:31.552Z] 35cb2a7552d0: Pull complete [2024-10-01T05:27:31.552Z] 4f4fb700ef54: Pull complete [2024-10-01T05:27:31.552Z] 464afbd9ba4c: Pull complete [2024-10-01T05:27:41.649Z] 00f215d4a9da: Pull complete [2024-10-01T05:27:41.649Z] d496ad576159: Pull complete [2024-10-01T05:27:41.649Z] Digest: sha256:94db8a0955b4c8a8fb4ef40f1d66dd6a37c55842a5f6085bb7a69a85e2cfc316 [2024-10-01T05:27:41.649Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2024-10-01T05:27:41.649Z] ---> f246e2811388 [2024-10-01T05:27:41.649Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2024-10-01T05:27:42.611Z] ---> Running in 5227542c6178 [2024-10-01T05:27:42.878Z] Removing intermediate container 5227542c6178 [2024-10-01T05:27:42.878Z] ---> f56afcf646d3 [2024-10-01T05:27:42.878Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-10-01T05:27:42.878Z] ---> Running in 2fd1a86e82ba [2024-10-01T05:27:43.147Z] Removing intermediate container 2fd1a86e82ba [2024-10-01T05:27:43.147Z] ---> 0481c57e7f2b [2024-10-01T05:27:43.147Z] Step 5/10 : RUN apk add --update --no-cache make git openssh [2024-10-01T05:27:43.147Z] ---> Running in bd5af863727f [2024-10-01T05:27:44.122Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-10-01T05:27:44.710Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-10-01T05:27:45.668Z] (1/8) Installing openssh-keygen (9.3_p2-r2) [2024-10-01T05:27:45.668Z] (2/8) Installing libedit (20221030.3.1-r1) [2024-10-01T05:27:45.668Z] (3/8) Installing openssh-client-common (9.3_p2-r2) [2024-10-01T05:27:45.668Z] (4/8) Installing openssh-client-default (9.3_p2-r2) [2024-10-01T05:27:45.668Z] (5/8) Installing openssh-sftp-server (9.3_p2-r2) [2024-10-01T05:27:45.668Z] (6/8) Installing openssh-server-common (9.3_p2-r2) [2024-10-01T05:27:45.668Z] (7/8) Installing openssh-server (9.3_p2-r2) [2024-10-01T05:27:45.668Z] (8/8) Installing openssh (9.3_p2-r2) [2024-10-01T05:27:45.937Z] Executing busybox-1.36.1-r5.trigger [2024-10-01T05:27:45.937Z] OK: 272 MiB in 60 packages [2024-10-01T05:27:46.904Z] Removing intermediate container bd5af863727f [2024-10-01T05:27:46.904Z] ---> 093ea416e7cb [2024-10-01T05:27:46.904Z] Step 6/10 : WORKDIR /device-modbus-go [2024-10-01T05:27:47.176Z] ---> Running in 0fec0000dfc4 [2024-10-01T05:27:47.452Z] Removing intermediate container 0fec0000dfc4 [2024-10-01T05:27:47.452Z] ---> 71a710e1ad8a [2024-10-01T05:27:47.452Z] Step 7/10 : COPY go.mod vendor* ./ [2024-10-01T05:27:48.062Z] ---> e8e1a2a3f93c [2024-10-01T05:27:48.062Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-10-01T05:27:48.062Z] ---> Running in a17a188fcd04 [2024-10-01T05:29:39.848Z] Removing intermediate container a17a188fcd04 [2024-10-01T05:29:39.848Z] ---> c822409aa111 [2024-10-01T05:29:39.848Z] Step 9/10 : COPY . . [2024-10-01T05:29:39.848Z] ---> 2c74d72ae4f5 [2024-10-01T05:29:39.848Z] Step 10/10 : RUN ${MAKE} [2024-10-01T05:29:39.848Z] ---> Running in 605a3d65065a [2024-10-01T05:29:39.848Z] noop [2024-10-01T05:29:39.848Z] Removing intermediate container 605a3d65065a [2024-10-01T05:29:39.848Z] ---> 995c8e3a2419 [2024-10-01T05:29:39.848Z] Successfully built 995c8e3a2419 [2024-10-01T05:29:39.848Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-01T05:29:40.360Z] + docker inspect -f . ci-base-image-arm64 [2024-10-01T05:29:40.360Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-01T05:29:40.660Z] prd-ubuntu20.04-docker-arm64-4c-16g-12265 does not seem to be running inside a container [2024-10-01T05:29:40.722Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-10-01T05:29:41.843Z] $ docker top 3b75693a9e84bcd74b743b504ae84847fbac38f5aee3b8466f87afc34200ab9f -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-01T05:29:42.722Z] + go version [2024-10-01T05:29:42.722Z] go version go1.21.9 linux/arm64 [Pipeline] } [2024-10-01T05:29:42.761Z] $ docker stop --time=1 3b75693a9e84bcd74b743b504ae84847fbac38f5aee3b8466f87afc34200ab9f [2024-10-01T05:29:44.306Z] $ docker rm -f --volumes 3b75693a9e84bcd74b743b504ae84847fbac38f5aee3b8466f87afc34200ab9f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-01T05:29:45.281Z] + docker inspect -f . ci-base-image-arm64 [2024-10-01T05:29:45.281Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-01T05:29:45.533Z] prd-ubuntu20.04-docker-arm64-4c-16g-12265 does not seem to be running inside a container [2024-10-01T05:29:45.594Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-10-01T05:29:46.781Z] $ docker top fa13e8c31abc6b7e5a3f50c4d2d64e408fdfa31d8600f07fb51614b2e92d044d -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-01T05:29:47.725Z] + git config --global --add safe.directory /w/workspace/device-modbus-go/1 [Pipeline] fileExists [Pipeline] sh [2024-10-01T05:29:48.643Z] + make test [2024-10-01T05:29:48.644Z] go test ./... -coverprofile=coverage.out [2024-10-01T05:29:53.990Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2024-10-01T05:33:30.818Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2024-10-01T05:33:32.759Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.052s coverage: 47.9% of statements [2024-10-01T05:33:33.339Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2024-10-01T05:33:33.339Z] go vet ./... [2024-10-01T05:34:20.165Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-10-01T05:34:20.165Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-10-01T05:34:20.165Z] ./bin/test-attribution-txt.sh [2024-10-01T05:34:20.165Z] An attribution for github.com/panjf2000/ants/v2 is missing from Attribution.txt, please add [Pipeline] echo [2024-10-01T05:34:20.209Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-10-01T05:34:20.245Z] $ docker stop --time=1 fa13e8c31abc6b7e5a3f50c4d2d64e408fdfa31d8600f07fb51614b2e92d044d [2024-10-01T05:34:22.102Z] $ docker rm -f --volumes fa13e8c31abc6b7e5a3f50c4d2d64e408fdfa31d8600f07fb51614b2e92d044d [Pipeline] // withDockerContainer [Pipeline] sh [2024-10-01T05:34:23.654Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-10-01T05:34:23.703Z] Warning: overwriting stash ‘coverage-report’ [2024-10-01T05:34:24.152Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-10-01T05:34:24.846Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-10-01T05:34:25.191Z] + ls -al . [2024-10-01T05:34:25.191Z] total 268 [2024-10-01T05:34:25.191Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 1 05:29 . [2024-10-01T05:34:25.191Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 1 05:26 .. [2024-10-01T05:34:25.191Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 1 05:26 .dockerignore [2024-10-01T05:34:25.191Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 1 05:26 .git [2024-10-01T05:34:25.191Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 1 05:26 .github [2024-10-01T05:34:25.191Z] -rw-rw-r-- 1 jenkins jenkins 266 Oct 1 05:26 .gitignore [2024-10-01T05:34:25.191Z] -rw-rw-r-- 1 jenkins jenkins 41 Oct 1 05:26 .golangci.yml [2024-10-01T05:34:25.191Z] -rw-rw-r-- 1 jenkins jenkins 19432 Oct 1 05:26 Attribution.txt [2024-10-01T05:34:25.191Z] -rw-rw-r-- 1 jenkins jenkins 16388 Oct 1 05:26 CHANGELOG.md [2024-10-01T05:34:25.191Z] -rw-rw-r-- 1 jenkins jenkins 1474 Oct 1 05:26 Dockerfile [2024-10-01T05:34:25.191Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 1 05:26 GOVERNANCE.md [2024-10-01T05:34:25.191Z] -rw-rw-r-- 1 jenkins jenkins 658 Oct 1 05:26 Jenkinsfile [2024-10-01T05:34:25.191Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 1 05:26 LICENSE [2024-10-01T05:34:25.191Z] -rw-rw-r-- 1 jenkins jenkins 1942 Oct 1 05:26 Makefile [2024-10-01T05:34:25.191Z] -rw-rw-r-- 1 jenkins jenkins 622 Oct 1 05:26 OWNERS.md [2024-10-01T05:34:25.191Z] -rw-rw-r-- 1 jenkins jenkins 4463 Oct 1 05:26 README.md [2024-10-01T05:34:25.191Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 1 05:14 VERSION [2024-10-01T05:34:25.191Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 1 05:26 bin [2024-10-01T05:34:25.191Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 1 05:26 cmd [2024-10-01T05:34:25.191Z] -rw-r--r-- 1 jenkins jenkins 24601 Oct 1 05:33 coverage.out [2024-10-01T05:34:25.191Z] -rw-rw-r-- 1 jenkins jenkins 7186 Oct 1 05:26 go.mod [2024-10-01T05:34:25.191Z] -rw-rw-r-- 1 jenkins jenkins 102017 Oct 1 05:26 go.sum [2024-10-01T05:34:25.191Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 1 05:26 internal [2024-10-01T05:34:25.191Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 1 05:26 simulator [2024-10-01T05:34:25.191Z] -rw-rw-r-- 1 jenkins jenkins 229 Oct 1 05:26 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-01T05:34:25.646Z] + 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=5ef6da143a4c2737bfbf337882f94f2a08217a71 --label arch=arm64 --label version=0.0.0 . [2024-10-01T05:34:26.239Z] Sending build context to Docker daemon 9.135MB [2024-10-01T05:34:26.239Z] Step 1/23 : ARG BASE=golang:1.21-alpine3.18 [2024-10-01T05:34:26.239Z] Step 2/23 : FROM ${BASE} AS builder [2024-10-01T05:34:26.239Z] ---> 995c8e3a2419 [2024-10-01T05:34:26.239Z] Step 3/23 : ARG ADD_BUILD_TAGS="" [2024-10-01T05:34:26.239Z] ---> Running in ead23f4b03f3 [2024-10-01T05:34:26.506Z] Removing intermediate container ead23f4b03f3 [2024-10-01T05:34:26.506Z] ---> fe711d7c13e4 [2024-10-01T05:34:26.506Z] Step 4/23 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-10-01T05:34:26.773Z] ---> Running in 891db13392d6 [2024-10-01T05:34:27.040Z] Removing intermediate container 891db13392d6 [2024-10-01T05:34:27.040Z] ---> 069db78e3a29 [2024-10-01T05:34:27.040Z] Step 5/23 : RUN apk add --update --no-cache make git openssh [2024-10-01T05:34:27.040Z] ---> Running in 5515857b90ca [2024-10-01T05:34:28.005Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-10-01T05:34:28.590Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-10-01T05:34:29.553Z] OK: 272 MiB in 60 packages [2024-10-01T05:34:30.516Z] Removing intermediate container 5515857b90ca [2024-10-01T05:34:30.516Z] ---> 0228a269b3f4 [2024-10-01T05:34:30.516Z] Step 6/23 : WORKDIR /device-modbus-go [2024-10-01T05:34:30.516Z] ---> Running in 5fbd3d1d3e1c [2024-10-01T05:34:30.783Z] Removing intermediate container 5fbd3d1d3e1c [2024-10-01T05:34:30.783Z] ---> 190288045226 [2024-10-01T05:34:30.783Z] Step 7/23 : COPY go.mod vendor* ./ [2024-10-01T05:34:31.366Z] ---> a15e37472155 [2024-10-01T05:34:31.366Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-10-01T05:34:31.366Z] ---> Running in 65d5d82e81ca [2024-10-01T05:34:33.952Z] Removing intermediate container 65d5d82e81ca [2024-10-01T05:34:33.952Z] ---> 09098f2cc2bb [2024-10-01T05:34:33.952Z] Step 9/23 : COPY . . [2024-10-01T05:34:35.363Z] ---> 3afa6aafac68 [2024-10-01T05:34:35.363Z] Step 10/23 : RUN ${MAKE} [2024-10-01T05:34:35.363Z] ---> Running in 3fed3c3309a9 [2024-10-01T05:34:36.325Z] 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.38" -trimpath -mod=readonly -o cmd/device-modbus ./cmd [2024-10-01T05:37:58.075Z] Removing intermediate container 3fed3c3309a9 [2024-10-01T05:37:58.075Z] ---> afa72f97b1a1 [2024-10-01T05:37:58.075Z] Step 11/23 : FROM alpine:3.18 [2024-10-01T05:37:58.075Z] 3.18: Pulling from library/alpine [2024-10-01T05:37:58.075Z] 720f3032cd11: Pulling fs layer [2024-10-01T05:37:58.075Z] 720f3032cd11: Verifying Checksum [2024-10-01T05:37:58.075Z] 720f3032cd11: Download complete [2024-10-01T05:37:58.075Z] 720f3032cd11: Pull complete [2024-10-01T05:37:58.075Z] Digest: sha256:3ddf7bf1d408188f9849efbf4f902720ae08f5131bb39013518b918aa056d0de [2024-10-01T05:37:58.075Z] Status: Downloaded newer image for alpine:3.18 [2024-10-01T05:37:58.075Z] ---> 3e834921e367 [2024-10-01T05:37:58.075Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2024-10-01T05:37:58.075Z] ---> Running in 60525d1f3ef2 [2024-10-01T05:37:58.075Z] Removing intermediate container 60525d1f3ef2 [2024-10-01T05:37:58.075Z] ---> 7cd2a6a48bdc [2024-10-01T05:37:58.075Z] Step 13/23 : RUN apk add --update --no-cache dumb-init [2024-10-01T05:37:58.075Z] ---> Running in 114d67b84136 [2024-10-01T05:37:58.075Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-10-01T05:37:58.075Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-10-01T05:37:58.075Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-10-01T05:37:58.075Z] Executing busybox-1.36.1-r7.trigger [2024-10-01T05:37:58.075Z] OK: 8 MiB in 16 packages [2024-10-01T05:37:58.668Z] Removing intermediate container 114d67b84136 [2024-10-01T05:37:58.668Z] ---> 49f40ab5c51d [2024-10-01T05:37:58.668Z] Step 14/23 : RUN apk --no-cache upgrade [2024-10-01T05:37:58.937Z] ---> Running in 23fa6ecd6ac2 [2024-10-01T05:37:59.905Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-10-01T05:38:00.171Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-10-01T05:38:01.156Z] OK: 8 MiB in 16 packages [2024-10-01T05:38:01.751Z] Removing intermediate container 23fa6ecd6ac2 [2024-10-01T05:38:01.751Z] ---> ea18ccd7416d [2024-10-01T05:38:01.751Z] Step 15/23 : COPY --from=builder /device-modbus-go/cmd / [2024-10-01T05:38:03.703Z] ---> 2814ac863e7c [2024-10-01T05:38:03.703Z] Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / [2024-10-01T05:38:03.970Z] ---> 53226c2cb092 [2024-10-01T05:38:03.970Z] Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / [2024-10-01T05:38:04.560Z] ---> e77523a5bd12 [2024-10-01T05:38:04.560Z] Step 18/23 : EXPOSE 59901 [2024-10-01T05:38:04.560Z] ---> Running in 13f1472f1579 [2024-10-01T05:38:06.997Z] Removing intermediate container 13f1472f1579 [2024-10-01T05:38:06.997Z] ---> 2c873381dad2 [2024-10-01T05:38:06.997Z] Step 19/23 : ENTRYPOINT ["/device-modbus"] [2024-10-01T05:38:06.997Z] ---> Running in 340f76bc0ae9 [2024-10-01T05:38:06.997Z] Removing intermediate container 340f76bc0ae9 [2024-10-01T05:38:06.997Z] ---> 3099f6c1d728 [2024-10-01T05:38:06.997Z] Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2024-10-01T05:38:06.997Z] ---> Running in 2930600cf746 [2024-10-01T05:38:07.264Z] Removing intermediate container 2930600cf746 [2024-10-01T05:38:07.264Z] ---> 34ca39232c50 [2024-10-01T05:38:07.264Z] Step 21/23 : LABEL arch=arm64 [2024-10-01T05:38:07.264Z] ---> Running in 2267ef60701c [2024-10-01T05:38:07.264Z] Removing intermediate container 2267ef60701c [2024-10-01T05:38:07.264Z] ---> 099bfaa0d73b [2024-10-01T05:38:07.264Z] Step 22/23 : LABEL git_sha=5ef6da143a4c2737bfbf337882f94f2a08217a71 [2024-10-01T05:38:07.264Z] ---> Running in ad5717a0d053 [2024-10-01T05:38:07.264Z] Removing intermediate container ad5717a0d053 [2024-10-01T05:38:07.264Z] ---> bd4c5dc267af [2024-10-01T05:38:07.264Z] Step 23/23 : LABEL version=0.0.0 [2024-10-01T05:38:07.264Z] ---> Running in 47cd13069a2d [2024-10-01T05:38:07.533Z] Removing intermediate container 47cd13069a2d [2024-10-01T05:38:07.533Z] ---> eb238c42cf64 [2024-10-01T05:38:07.533Z] [Warning] One or more build-args [ARCH] were not consumed [2024-10-01T05:38:07.533Z] Successfully built eb238c42cf64 [2024-10-01T05:38:07.533Z] 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-01T05:38:08.575Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-10-01T05:38:08.575Z] [2024-10-01T05:38:08.575Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-01T05:38:08.998Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-10-01T05:38:08.998Z] arm64: Pulling from edgex-lftools-log-publisher [2024-10-01T05:38:08.998Z] 8998bd30e6a1: Pulling fs layer [2024-10-01T05:38:08.998Z] 04944245beec: Pulling fs layer [2024-10-01T05:38:08.998Z] 699f458cf7ca: Pulling fs layer [2024-10-01T05:38:08.998Z] 765212b225bb: Pulling fs layer [2024-10-01T05:38:08.998Z] f23df028b6ca: Pulling fs layer [2024-10-01T05:38:08.998Z] 765212b225bb: Waiting [2024-10-01T05:38:08.998Z] d65c8cfc05b1: Pulling fs layer [2024-10-01T05:38:08.998Z] f23df028b6ca: Waiting [2024-10-01T05:38:08.998Z] d65c8cfc05b1: Waiting [2024-10-01T05:38:08.998Z] 2437ff75d9bd: Pulling fs layer [2024-10-01T05:38:08.998Z] 2437ff75d9bd: Waiting [2024-10-01T05:38:09.267Z] 04944245beec: Verifying Checksum [2024-10-01T05:38:09.267Z] 04944245beec: Download complete [2024-10-01T05:38:09.267Z] 765212b225bb: Verifying Checksum [2024-10-01T05:38:09.267Z] 765212b225bb: Download complete [2024-10-01T05:38:09.267Z] f23df028b6ca: Verifying Checksum [2024-10-01T05:38:09.267Z] f23df028b6ca: Download complete [2024-10-01T05:38:09.267Z] d65c8cfc05b1: Verifying Checksum [2024-10-01T05:38:09.267Z] d65c8cfc05b1: Download complete [2024-10-01T05:38:09.532Z] 699f458cf7ca: Verifying Checksum [2024-10-01T05:38:09.532Z] 699f458cf7ca: Download complete [2024-10-01T05:38:09.799Z] 8998bd30e6a1: Verifying Checksum [2024-10-01T05:38:09.799Z] 8998bd30e6a1: Download complete [2024-10-01T05:38:12.374Z] 2437ff75d9bd: Verifying Checksum [2024-10-01T05:38:12.374Z] 2437ff75d9bd: Download complete [2024-10-01T05:38:14.316Z] 8998bd30e6a1: Pull complete [2024-10-01T05:38:14.897Z] 04944245beec: Pull complete [2024-10-01T05:38:16.840Z] 699f458cf7ca: Pull complete [2024-10-01T05:38:16.840Z] 765212b225bb: Pull complete [2024-10-01T05:38:17.424Z] f23df028b6ca: Pull complete [2024-10-01T05:38:17.691Z] d65c8cfc05b1: Pull complete [2024-10-01T05:38:35.886Z] 2437ff75d9bd: Pull complete [2024-10-01T05:38:35.886Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-10-01T05:38:35.886Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-10-01T05:38:35.886Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-01T05:38:36.270Z] prd-ubuntu20.04-docker-arm64-4c-16g-12265 does not seem to be running inside a container [2024-10-01T05:38:36.322Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2024-10-01T05:38:38.906Z] $ docker top a2c49414fddf2a7c7eac0fb121633b0529d79fba854b85b1280138378c20aacd -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-01T05:38:39.854Z] ---> job-cost.sh [2024-10-01T05:38:39.854Z] lf-activate-venv: SKIPPING [2024-10-01T05:38:39.854Z] INFO: No Stack... [2024-10-01T05:38:40.118Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-10-01T05:38:41.074Z] INFO: Archiving Costs [Pipeline] sh [2024-10-01T05:38:41.423Z] + cat /w/workspace/device-modbus-go/1/archives/cost.csv [2024-10-01T05:38:41.423Z] + cut -d, -f6 [Pipeline] lock [2024-10-01T05:38:41.501Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-modbus-go-PR-573-1-stack-cost] [2024-10-01T05:38:41.507Z] Resource [jenkins-edgexfoundry-device-modbus-go-PR-573-1-stack-cost] did not exist. Created. [2024-10-01T05:38:41.514Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-modbus-go-PR-573-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-10-01T05:38:41.951Z] /w/workspace/device-modbus-go/1@tmp/durable-7544ad1d/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-10-01T05:38:42.622Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-10-01T05:38:42.666Z] Warning: overwriting stash ‘stack-cost’ [2024-10-01T05:38:42.713Z] Stashed 1 file(s) [Pipeline] } [2024-10-01T05:38:42.774Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-modbus-go-PR-573-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-10-01T05:38:42.878Z] $ docker stop --time=1 a2c49414fddf2a7c7eac0fb121633b0529d79fba854b85b1280138378c20aacd [2024-10-01T05:38:44.316Z] $ docker rm -f --volumes a2c49414fddf2a7c7eac0fb121633b0529d79fba854b85b1280138378c20aacd [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-01T05:38:45.472Z] provisioning config files... [2024-10-01T05:38:45.480Z] copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-573@tmp/config1378154799826727854tmp [Pipeline] { [Pipeline] sh [2024-10-01T05:38:45.833Z] + set +x [2024-10-01T05:38:45.833Z] + + curl -s https://codecov.io/bashbash [2024-10-01T05:38:45.833Z] -s -- [2024-10-01T05:38:45.833Z] [2024-10-01T05:38:45.833Z] _____ _ [2024-10-01T05:38:45.833Z] / ____| | | [2024-10-01T05:38:45.833Z] | | ___ __| | ___ ___ _____ __ [2024-10-01T05:38:45.833Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2024-10-01T05:38:45.833Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2024-10-01T05:38:45.833Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2024-10-01T05:38:45.833Z] Bash-1.0.6 [2024-10-01T05:38:45.833Z] [2024-10-01T05:38:45.833Z] [2024-10-01T05:38:45.833Z] ==> git version 2.25.1 found [2024-10-01T05:38:45.833Z] ==> 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-01T05:38:45.833Z] Release-Date: 2020-01-08 [2024-10-01T05:38:45.833Z] 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-01T05:38:45.833Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2024-10-01T05:38:45.833Z] ==> Jenkins CI detected. [2024-10-01T05:38:45.833Z] current dir:  /w/workspace/xfoundry_device-modbus-go_PR-573 [2024-10-01T05:38:45.833Z] project root: . [2024-10-01T05:38:45.833Z] --> token set from env [2024-10-01T05:38:45.833Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2024-10-01T05:38:45.833Z] ==> Running gcov in . (disable via -X gcov) [2024-10-01T05:38:45.833Z] ==> Python coveragepy not found [2024-10-01T05:38:45.833Z] ==> Searching for coverage reports in: [2024-10-01T05:38:45.833Z] + . [2024-10-01T05:38:46.093Z] -> Found 1 reports [2024-10-01T05:38:46.093Z] ==> Detecting git/mercurial file structure [2024-10-01T05:38:46.093Z] ==> Reading reports [2024-10-01T05:38:46.093Z] + ./coverage.out bytes=24601 [2024-10-01T05:38:46.093Z] ==> Appending adjustments [2024-10-01T05:38:46.093Z] https://docs.codecov.io/docs/fixing-reports [2024-10-01T05:38:46.093Z] + Found adjustments [2024-10-01T05:38:46.093Z] ==> Gzipping contents [2024-10-01T05:38:46.093Z] 4.0K /tmp/codecov.a29gnh.gz [2024-10-01T05:38:46.093Z] ==> Uploading reports [2024-10-01T05:38:46.093Z] url: https://codecov.io [2024-10-01T05:38:46.093Z] query: branch=PR-573&commit=5ef6da143a4c2737bfbf337882f94f2a08217a71&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-573%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=573&job=&cmd_args= [2024-10-01T05:38:46.093Z] -> Pinging Codecov [2024-10-01T05:38:46.094Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-573&commit=5ef6da143a4c2737bfbf337882f94f2a08217a71&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-573%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=573&job=&cmd_args= [2024-10-01T05:38:46.353Z] -> Uploading to [2024-10-01T05:38:46.354Z] https://storage.googleapis.com/codecov/shelter/v4/github/edgexfoundry/device-modbus-go/5ef6da143a4c2737bfbf337882f94f2a08217a71/230c17ce-14a4-4d4d-aefb-4c1669eaad68.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20241001%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20241001T053846Z&X-Amz-Expires=30&X-Amz-SignedHeaders=host&X-Amz-Signature=7b5ce74da81021e36ea5a6d93b6ca10883a5e592c39e98a34733e44bd2f5372a [2024-10-01T05:38:46.354Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-10-01T05:38:46.354Z] Dload Upload Total Spent Left Speed [2024-10-01T05:38:46.613Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3843 0 0 100 3843 0 16353 --:--:-- --:--:-- --:--:-- 16353 [2024-10-01T05:38:46.613Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/5ef6da143a4c2737bfbf337882f94f2a08217a71 [Pipeline] } [2024-10-01T05:38:46.647Z] 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-01T05:38:49.078Z] + [ -d /w/workspace/xfoundry_device-modbus-go_PR-573/archives ] [2024-10-01T05:38:49.078Z] + ls -al /w/workspace/xfoundry_device-modbus-go_PR-573/archives [2024-10-01T05:38:49.078Z] total 16 [2024-10-01T05:38:49.078Z] drwxr-xr-x 3 root root 4096 Oct 1 05:17 . [2024-10-01T05:38:49.078Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 1 05:17 .. [2024-10-01T05:38:49.078Z] drwxr-xr-x 2 root root 4096 Oct 1 05:17 cost [2024-10-01T05:38:49.078Z] -rw-r--r-- 1 root root 88 Oct 1 05:17 cost.csv [2024-10-01T05:38:49.078Z] + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-573/archives [2024-10-01T05:38:49.078Z] + ls -al /w/workspace/xfoundry_device-modbus-go_PR-573/archives [2024-10-01T05:38:49.078Z] total 16 [2024-10-01T05:38:49.078Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 1 05:17 . [2024-10-01T05:38:49.078Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 1 05:17 .. [2024-10-01T05:38:49.078Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 1 05:17 cost [2024-10-01T05:38:49.078Z] -rw-r--r-- 1 jenkins jenkins 88 Oct 1 05:17 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-10-01T05:38:49.419Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-01T05:38:50.322Z] ---> package-listing.sh [2024-10-01T05:38:50.322Z] ++ facter osfamily [2024-10-01T05:38:50.322Z] ++ tr '[:upper:]' '[:lower:]' [2024-10-01T05:38:50.582Z] + OS_FAMILY=debian [2024-10-01T05:38:50.582Z] + workspace=/w/workspace/xfoundry_device-modbus-go_PR-573 [2024-10-01T05:38:50.582Z] + START_PACKAGES=/tmp/packages_start.txt [2024-10-01T05:38:50.582Z] + END_PACKAGES=/tmp/packages_end.txt [2024-10-01T05:38:50.582Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-10-01T05:38:50.582Z] + PACKAGES=/tmp/packages_start.txt [2024-10-01T05:38:50.582Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-573 ']' [2024-10-01T05:38:50.582Z] + PACKAGES=/tmp/packages_end.txt [2024-10-01T05:38:50.582Z] + case "${OS_FAMILY}" in [2024-10-01T05:38:50.582Z] + dpkg -l [2024-10-01T05:38:50.582Z] + grep '^ii' [2024-10-01T05:38:50.582Z] + '[' -f /tmp/packages_start.txt ']' [2024-10-01T05:38:50.582Z] + '[' -f /tmp/packages_end.txt ']' [2024-10-01T05:38:50.582Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-10-01T05:38:50.582Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-573 ']' [2024-10-01T05:38:50.582Z] + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-573/archives/ [2024-10-01T05:38:50.582Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-573/archives/ [Pipeline] echo [2024-10-01T05:38:50.624Z] 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-573/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-10-01T05:38:50.923Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-01T05:38:51.577Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-01T05:38:51.577Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-01T05:38:51.746Z] prd-ubuntu20.04-docker-8c-8g-12249 does not seem to be running inside a container [2024-10-01T05:38:51.778Z] $ 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-573/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-573 -v /w/workspace/xfoundry_device-modbus-go_PR-573:/w/workspace/xfoundry_device-modbus-go_PR-573:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-573@tmp:/w/workspace/xfoundry_device-modbus-go_PR-573@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-10-01T05:38:52.024Z] $ docker top 0cda88eca85f441eb34c00438cd485d97e1e1cdfc630850bce4419de65312362 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-01T05:38:52.442Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-10-01T05:38:52.764Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-10-01T05:38:53.148Z] + ls /var/log/sa-host [2024-10-01T05:38:53.149Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-10-01T05:38:53.331Z] provisioning config files... [2024-10-01T05:38:53.348Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-573@tmp/config11085881652337126310tmp [Pipeline] { [Pipeline] echo [2024-10-01T05:38:53.415Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-01T05:38:53.789Z] ---> create-netrc.sh [Pipeline] } [2024-10-01T05:38:53.823Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-10-01T05:38:54.260Z] ---> python-tools-install.sh [Pipeline] echo [2024-10-01T05:38:54.302Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-01T05:38:54.627Z] ---> sudo-logs.sh [2024-10-01T05:38:54.627Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-10-01T05:38:54.736Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-01T05:38:55.068Z] ---> job-cost.sh [2024-10-01T05:38:55.068Z] lf-activate-venv: SKIPPING [2024-10-01T05:38:55.068Z] DEBUG: total: 0.2199999988079071 [2024-10-01T05:38:55.068Z] INFO: Retrieving Stack Cost... [2024-10-01T05:38:55.327Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-10-01T05:38:55.896Z] INFO: Archiving Costs [Pipeline] echo [2024-10-01T05:38:55.941Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-01T05:38:56.263Z] ---> logs-deploy.sh [2024-10-01T05:38:56.263Z] lf-activate-venv: SKIPPING [2024-10-01T05:38:56.263Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-573/1 [2024-10-01T05:38:56.263Z] INFO: archiving workspace using pattern(s): [2024-10-01T05:38:57.202Z] Archives upload complete. [2024-10-01T05:38:57.202Z] INFO: archiving logs to Nexus