Pull request #546 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 3f7c613b0aa0c8785abd02e1ee31bb9de316262e+78c106f1b1d485d6b9e2c5cc4debe4f465169507 (5d9ca5a2429e4026aaad46f804486d4105605fd4) 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-ssh2753418820181885769.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 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-ssh7631078460583927658.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 33739fb647ab338ef2ce3bfc8312bfbcef468f88 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-546/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-546/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh16022788505127239527.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-546/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh9891121355765049257.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 33739fb647ab338ef2ce3bfc8312bfbcef468f88 # timeout=10 Commit message: "Merge pull request #447 from ernestojeda/fix-release-changelog" > 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-ssh2505714615488195309.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-546/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-546/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh11219865653504554829.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 33739fb647ab338ef2ce3bfc8312bfbcef468f88 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-531 in /w/workspace/xfoundry_device-modbus-go_PR-546 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-modbus-go.git > git init /w/workspace/xfoundry_device-modbus-go_PR-546 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/546/head:refs/remotes/origin/PR-546 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 78c106f1b1d485d6b9e2c5cc4debe4f465169507 into PR head commit 3f7c613b0aa0c8785abd02e1ee31bb9de316262e Merge succeeded, producing 3f7c613b0aa0c8785abd02e1ee31bb9de316262e Checking out Revision 3f7c613b0aa0c8785abd02e1ee31bb9de316262e (PR-546) 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 33739fb647ab338ef2ce3bfc8312bfbcef468f88 > git config core.sparsecheckout # timeout=10 > git checkout -f 3f7c613b0aa0c8785abd02e1ee31bb9de316262e # 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 78c106f1b1d485d6b9e2c5cc4debe4f465169507 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 3f7c613b0aa0c8785abd02e1ee31bb9de316262e # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-03-21T05:39:14.273Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-03-21T05:39:14.491Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-03-21T05:39:14.606Z] ========================================================= [2024-03-21T05:39:14.606Z] EdgeX Global Pipelines Version Info [2024-03-21T05:39:14.606Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-03-21T05:39:15.720Z] ------------------- [2024-03-21T05:39:15.720Z] stable info: [2024-03-21T05:39:15.720Z] ------------------- [2024-03-21T05:39:15.720Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2024-03-21T05:39:15.720Z] Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2024-03-21T05:39:15.720Z] Message: update stable to v1.0.258 [2024-03-21T05:39:15.980Z] ------------------- [2024-03-21T05:39:15.980Z] experimental info: [2024-03-21T05:39:15.980Z] ------------------- [2024-03-21T05:39:15.980Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2024-03-21T05:39:15.980Z] Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2024-03-21T05:39:15.980Z] Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-03-21T05:39:16.181Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo [2024-03-21T05:39:16.233Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo [2024-03-21T05:39:16.276Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-03-21T05:39:16.322Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-03-21T05:39:16.370Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-03-21T05:39:16.423Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2024-03-21T05:39:16.476Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-03-21T05:39:16.536Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2024-03-21T05:39:16.685Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-03-21T05:39:16.800Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-03-21T05:39:16.855Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-03-21T05:39:16.948Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo [2024-03-21T05:39:17.007Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-03-21T05:39:17.063Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-03-21T05:39:17.116Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-03-21T05:39:17.164Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2024-03-21T05:39:17.216Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-03-21T05:39:17.268Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-03-21T05:39:17.322Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-03-21T05:39:17.373Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-03-21T05:39:17.426Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2024-03-21T05:39:17.477Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2024-03-21T05:39:17.528Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-03-21T05:39:17.580Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-03-21T05:39:17.634Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-03-21T05:39:17.680Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-03-21T05:39:17.725Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-03-21T05:39:17.784Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-546 [Pipeline] echo [2024-03-21T05:39:17.837Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-546 [Pipeline] echo [2024-03-21T05:39:17.891Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-546 [Pipeline] echo [2024-03-21T05:39:17.947Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 3f7c613b0aa0c8785abd02e1ee31bb9de316262e [Pipeline] echo [2024-03-21T05:39:18.000Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 3f7c613 [Pipeline] echo [2024-03-21T05:39:18.052Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-03-21T05:39:18.196Z] provisioning config files... [2024-03-21T05:39:18.210Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-546@tmp/config8418613004249407964tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-03-21T05:39:18.589Z] ---> ****-login.sh [2024-03-21T05:39:18.589Z] nexus3.edgexfoundry.org:10001 [2024-03-21T05:39:18.849Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-21T05:39:19.109Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-21T05:39:19.109Z] Configure a credential helper to remove this warning. See [2024-03-21T05:39:19.109Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-21T05:39:19.109Z] [2024-03-21T05:39:19.109Z] Login Succeeded [2024-03-21T05:39:19.109Z] nexus3.edgexfoundry.org:10002 [2024-03-21T05:39:19.109Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-21T05:39:19.110Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-21T05:39:19.110Z] Configure a credential helper to remove this warning. See [2024-03-21T05:39:19.110Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-21T05:39:19.110Z] [2024-03-21T05:39:19.110Z] Login Succeeded [2024-03-21T05:39:19.110Z] nexus3.edgexfoundry.org:10003 [2024-03-21T05:39:19.110Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-21T05:39:19.110Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-21T05:39:19.110Z] Configure a credential helper to remove this warning. See [2024-03-21T05:39:19.110Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-21T05:39:19.110Z] [2024-03-21T05:39:19.110Z] Login Succeeded [2024-03-21T05:39:19.110Z] nexus3.edgexfoundry.org:10004 [2024-03-21T05:39:19.370Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-21T05:39:19.370Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-21T05:39:19.370Z] Configure a credential helper to remove this warning. See [2024-03-21T05:39:19.370Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-21T05:39:19.370Z] [2024-03-21T05:39:19.370Z] Login Succeeded [2024-03-21T05:39:19.370Z] ****.io [2024-03-21T05:39:19.370Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-21T05:39:19.631Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-21T05:39:19.631Z] Configure a credential helper to remove this warning. See [2024-03-21T05:39:19.631Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-21T05:39:19.631Z] [2024-03-21T05:39:19.631Z] Login Succeeded [2024-03-21T05:39:19.631Z] ---> ****-login.sh ends [Pipeline] } [2024-03-21T05:39:19.658Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-03-21T05:39:20.321Z] + git rev-list -1 --merges 3f7c613b0aa0c8785abd02e1ee31bb9de316262e~1..3f7c613b0aa0c8785abd02e1ee31bb9de316262e [Pipeline] echo [2024-03-21T05:39:20.364Z] -----------> git rev-list -1 --merges 3f7c613b0aa0c8785abd02e1ee31bb9de316262e~1..3f7c613b0aa0c8785abd02e1ee31bb9de316262e 3f7c613b0aa0c8785abd02e1ee31bb9de316262e [false] [Pipeline] sh [2024-03-21T05:39:20.680Z] + git log --format=format:%s -1 3f7c613b0aa0c8785abd02e1ee31bb9de316262e [Pipeline] echo [2024-03-21T05:39:20.709Z] ========================================================= [2024-03-21T05:39:20.709Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-03-21T05:39:20.709Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-03-21T05:39:21.151Z] + git log --format=format:%s -1 3f7c613b0aa0c8785abd02e1ee31bb9de316262e [Pipeline] echo [2024-03-21T05:39:21.196Z] [semverPrep] GIT_COMMIT: 3f7c613b0aa0c8785abd02e1ee31bb9de316262e, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo [2024-03-21T05:39:21.228Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-03-21T05:39:21.628Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-03-21T05:39:21.628Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-03-21T05:39:21.628Z] + [ -e /tmp/ssh_known_hosts ] [2024-03-21T05:39:21.628Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-03-21T05:39:21.628Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-03-21T05:39:21.628Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2024-03-21T05:39:21.628Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-21T05:39:22.138Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-03-21T05:39:22.138Z] [2024-03-21T05:39:22.138Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-21T05:39:22.550Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-03-21T05:39:22.550Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-03-21T05:39:22.550Z] b85a868b505f: Pulling fs layer [2024-03-21T05:39:22.550Z] e2be974225ed: Pulling fs layer [2024-03-21T05:39:22.550Z] 339a4e72a1f5: Pulling fs layer [2024-03-21T05:39:22.550Z] 988bab9f4d93: Pulling fs layer [2024-03-21T05:39:22.550Z] 1469e6f7b9e6: Pulling fs layer [2024-03-21T05:39:22.550Z] eaf3925da568: Pulling fs layer [2024-03-21T05:39:22.550Z] bab4dde63d76: Pulling fs layer [2024-03-21T05:39:22.550Z] bde34c3a00c8: Pulling fs layer [2024-03-21T05:39:22.550Z] b352a97aabf1: Pulling fs layer [2024-03-21T05:39:22.550Z] 4872d77fe225: Pulling fs layer [2024-03-21T05:39:22.550Z] 5851b861e8e6: Pulling fs layer [2024-03-21T05:39:22.550Z] bab4dde63d76: Waiting [2024-03-21T05:39:22.550Z] bde34c3a00c8: Waiting [2024-03-21T05:39:22.550Z] b352a97aabf1: Waiting [2024-03-21T05:39:22.550Z] 4872d77fe225: Waiting [2024-03-21T05:39:22.550Z] 5851b861e8e6: Waiting [2024-03-21T05:39:22.550Z] 1469e6f7b9e6: Waiting [2024-03-21T05:39:22.550Z] eaf3925da568: Waiting [2024-03-21T05:39:22.550Z] 988bab9f4d93: Waiting [2024-03-21T05:39:22.550Z] e2be974225ed: Verifying Checksum [2024-03-21T05:39:22.550Z] e2be974225ed: Download complete [2024-03-21T05:39:22.550Z] 988bab9f4d93: Download complete [2024-03-21T05:39:22.809Z] 1469e6f7b9e6: Verifying Checksum [2024-03-21T05:39:22.809Z] 1469e6f7b9e6: Download complete [2024-03-21T05:39:22.809Z] eaf3925da568: Verifying Checksum [2024-03-21T05:39:22.809Z] eaf3925da568: Download complete [2024-03-21T05:39:22.809Z] 339a4e72a1f5: Verifying Checksum [2024-03-21T05:39:22.809Z] 339a4e72a1f5: Download complete [2024-03-21T05:39:22.809Z] bde34c3a00c8: Verifying Checksum [2024-03-21T05:39:22.809Z] bde34c3a00c8: Download complete [2024-03-21T05:39:22.809Z] b352a97aabf1: Download complete [2024-03-21T05:39:22.809Z] 4872d77fe225: Download complete [2024-03-21T05:39:22.809Z] 5851b861e8e6: Verifying Checksum [2024-03-21T05:39:22.809Z] 5851b861e8e6: Download complete [2024-03-21T05:39:23.072Z] b85a868b505f: Download complete [2024-03-21T05:39:23.072Z] bab4dde63d76: Verifying Checksum [2024-03-21T05:39:23.072Z] bab4dde63d76: Download complete [2024-03-21T05:39:24.010Z] b85a868b505f: Pull complete [2024-03-21T05:39:24.271Z] e2be974225ed: Pull complete [2024-03-21T05:39:24.843Z] 339a4e72a1f5: Pull complete [2024-03-21T05:39:24.843Z] 988bab9f4d93: Pull complete [2024-03-21T05:39:25.104Z] 1469e6f7b9e6: Pull complete [2024-03-21T05:39:25.104Z] eaf3925da568: Pull complete [2024-03-21T05:39:27.011Z] bab4dde63d76: Pull complete [2024-03-21T05:39:27.011Z] bde34c3a00c8: Pull complete [2024-03-21T05:39:27.011Z] b352a97aabf1: Pull complete [2024-03-21T05:39:27.011Z] 4872d77fe225: Pull complete [2024-03-21T05:39:27.273Z] 5851b861e8e6: Pull complete [2024-03-21T05:39:27.273Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-03-21T05:39:27.273Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-03-21T05:39:27.273Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-03-21T05:39:27.647Z] prd-ubuntu20.04-docker-8c-8g-531 does not seem to be running inside a container [2024-03-21T05:39:27.684Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-546 -v /w/workspace/xfoundry_device-modbus-go_PR-546:/w/workspace/xfoundry_device-modbus-go_PR-546:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-546@tmp:/w/workspace/xfoundry_device-modbus-go_PR-546@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-03-21T05:39:31.088Z] $ docker top f44c690f15f39af6519666cd5cefdcb8ea52c4f88fd9568f18941505344e8463 -eo pid,comm [2024-03-21T05:39:31.141Z] 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-03-21T05:39:31.141Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-03-21T05:39:31.299Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-03-21T05:39:31.299Z] [ssh-agent] Looking for ssh-agent implementation... [2024-03-21T05:39:31.417Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-03-21T05:39:31.423Z] $ docker exec f44c690f15f39af6519666cd5cefdcb8ea52c4f88fd9568f18941505344e8463 ssh-agent [2024-03-21T05:39:31.531Z] SSH_AUTH_SOCK=/tmp/ssh-24nd1tsExK7W/agent.31 [2024-03-21T05:39:31.531Z] SSH_AGENT_PID=37 [2024-03-21T05:39:31.539Z] Running ssh-add (command line suppressed) [2024-03-21T05:39:31.639Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-546@tmp/private_key_14434631900725977472.key (/w/workspace/xfoundry_device-modbus-go_PR-546@tmp/private_key_14434631900725977472.key) [2024-03-21T05:39:31.652Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-03-21T05:39:31.994Z] + git tag --points-at HEAD [Pipeline] } [2024-03-21T05:39:32.025Z] $ docker exec --env ******** --env ******** f44c690f15f39af6519666cd5cefdcb8ea52c4f88fd9568f18941505344e8463 ssh-agent -k [2024-03-21T05:39:32.112Z] unset SSH_AUTH_SOCK; [2024-03-21T05:39:32.113Z] unset SSH_AGENT_PID; [2024-03-21T05:39:32.113Z] echo Agent pid 37 killed; [2024-03-21T05:39:32.120Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-03-21T05:39:32.227Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-03-21T05:39:32.227Z] [ssh-agent] Looking for ssh-agent implementation... [2024-03-21T05:39:32.335Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-03-21T05:39:32.340Z] $ docker exec f44c690f15f39af6519666cd5cefdcb8ea52c4f88fd9568f18941505344e8463 ssh-agent [2024-03-21T05:39:32.441Z] SSH_AUTH_SOCK=/tmp/ssh-js6VMCP8cSRV/agent.70 [2024-03-21T05:39:32.441Z] SSH_AGENT_PID=76 [2024-03-21T05:39:32.446Z] Running ssh-add (command line suppressed) [2024-03-21T05:39:32.536Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-546@tmp/private_key_17546372657474228333.key (/w/workspace/xfoundry_device-modbus-go_PR-546@tmp/private_key_17546372657474228333.key) [2024-03-21T05:39:32.546Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-03-21T05:39:32.880Z] + git semver init [2024-03-21T05:39:33.142Z] 2024-03-21 05:39:33,068 [run_init] DEBUG init version:0.0.0 force:False [2024-03-21T05:39:33.142Z] 2024-03-21 05:39:33,073 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-modbus-go_PR-546/.semver [2024-03-21T05:39:33.142Z] 2024-03-21 05:39:33,074 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/xfoundry_device-modbus-go_PR-546/.semver [2024-03-21T05:39:33.142Z] 2024-03-21 05:39:33,074 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/xfoundry_device-modbus-go_PR-546/.semver'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-546, universal_newlines=False, shell=None, istream=None) [2024-03-21T05:39:34.529Z] 2024-03-21 05:39:34,229 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-modbus-go_PR-546/.git/info/exclude [2024-03-21T05:39:34.529Z] 2024-03-21 05:39:34,230 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-modbus-go_PR-546/.semver/PR-546 with force:False [2024-03-21T05:39:34.529Z] 2024-03-21 05:39:34,230 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-modbus-go_PR-546/.semver/PR-546 [2024-03-21T05:39:34.529Z] 2024-03-21 05:39:34,234 [execute] INFO git cat-file --batch-check [2024-03-21T05:39:34.529Z] 2024-03-21 05:39:34,235 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-546/.semver, universal_newlines=False, shell=None, istream=) [2024-03-21T05:39:34.529Z] 2024-03-21 05:39:34,241 [execute] INFO git cat-file --batch [2024-03-21T05:39:34.529Z] 2024-03-21 05:39:34,242 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-546/.semver, universal_newlines=False, shell=None, istream=) [2024-03-21T05:39:34.529Z] 2024-03-21 05:39:34,247 [read_version] DEBUG read version from /w/workspace/xfoundry_device-modbus-go_PR-546/.semver/PR-546 [2024-03-21T05:39:34.529Z] 0.0.0 [Pipeline] } [2024-03-21T05:39:34.566Z] $ docker exec --env ******** --env ******** f44c690f15f39af6519666cd5cefdcb8ea52c4f88fd9568f18941505344e8463 ssh-agent -k [2024-03-21T05:39:34.659Z] unset SSH_AUTH_SOCK; [2024-03-21T05:39:34.659Z] unset SSH_AGENT_PID; [2024-03-21T05:39:34.659Z] echo Agent pid 76 killed; [2024-03-21T05:39:34.667Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-03-21T05:39:35.112Z] + git semver [Pipeline] } [2024-03-21T05:39:35.401Z] $ docker stop --time=1 f44c690f15f39af6519666cd5cefdcb8ea52c4f88fd9568f18941505344e8463 [2024-03-21T05:39:36.723Z] $ docker rm -f --volumes f44c690f15f39af6519666cd5cefdcb8ea52c4f88fd9568f18941505344e8463 [Pipeline] // withDockerContainer [Pipeline] sh [2024-03-21T05:39:37.134Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-03-21T05:39:37.433Z] Stashed 1 file(s) [Pipeline] echo [2024-03-21T05:39:37.451Z] [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-03-21T05:39:38.193Z] provisioning config files... [2024-03-21T05:39:38.204Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-546@tmp/config15634840566847926388tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-03-21T05:39:38.574Z] ---> ****-login.sh [2024-03-21T05:39:38.574Z] nexus3.edgexfoundry.org:10001 [2024-03-21T05:39:38.574Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-21T05:39:38.574Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-21T05:39:38.574Z] Configure a credential helper to remove this warning. See [2024-03-21T05:39:38.574Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-21T05:39:38.574Z] [2024-03-21T05:39:38.574Z] Login Succeeded [2024-03-21T05:39:38.574Z] nexus3.edgexfoundry.org:10002 [2024-03-21T05:39:38.574Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-21T05:39:38.574Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-21T05:39:38.574Z] Configure a credential helper to remove this warning. See [2024-03-21T05:39:38.575Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-21T05:39:38.575Z] [2024-03-21T05:39:38.575Z] Login Succeeded [2024-03-21T05:39:38.575Z] nexus3.edgexfoundry.org:10003 [2024-03-21T05:39:38.834Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-21T05:39:38.834Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-21T05:39:38.834Z] Configure a credential helper to remove this warning. See [2024-03-21T05:39:38.834Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-21T05:39:38.834Z] [2024-03-21T05:39:38.834Z] Login Succeeded [2024-03-21T05:39:38.834Z] nexus3.edgexfoundry.org:10004 [2024-03-21T05:39:38.834Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-21T05:39:38.834Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-21T05:39:38.834Z] Configure a credential helper to remove this warning. See [2024-03-21T05:39:38.834Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-21T05:39:38.834Z] [2024-03-21T05:39:38.834Z] Login Succeeded [2024-03-21T05:39:38.834Z] ****.io [2024-03-21T05:39:39.094Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-21T05:39:39.094Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-21T05:39:39.094Z] Configure a credential helper to remove this warning. See [2024-03-21T05:39:39.094Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-21T05:39:39.094Z] [2024-03-21T05:39:39.094Z] Login Succeeded [2024-03-21T05:39:39.094Z] ---> ****-login.sh ends [Pipeline] } [2024-03-21T05:39:39.127Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-03-21T05:39:39.351Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-03-21T05:39:39.399Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-03-21T05:39:39.440Z] ========================================================= [2024-03-21T05:39:39.440Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2024-03-21T05:39:39.440Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-21T05:39:39.941Z] + 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-03-21T05:39:39.941Z] Sending build context to Docker daemon 17.36MB [2024-03-21T05:39:39.941Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2024-03-21T05:39:39.941Z] Step 2/10 : FROM ${BASE} AS builder [2024-03-21T05:39:39.941Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2024-03-21T05:39:39.941Z] 7264a8db6415: Pulling fs layer [2024-03-21T05:39:39.941Z] c4d48a809fc2: Pulling fs layer [2024-03-21T05:39:39.941Z] 4f1c88b9dad5: Pulling fs layer [2024-03-21T05:39:39.941Z] ad3a456e5733: Pulling fs layer [2024-03-21T05:39:39.941Z] 69c7f0334f64: Pulling fs layer [2024-03-21T05:39:39.941Z] 1f1c1a5573a3: Pulling fs layer [2024-03-21T05:39:39.941Z] ce7588e14bc9: Pulling fs layer [2024-03-21T05:39:39.941Z] b5e4710f87ac: Pulling fs layer [2024-03-21T05:39:39.941Z] ad3a456e5733: Waiting [2024-03-21T05:39:39.941Z] 69c7f0334f64: Waiting [2024-03-21T05:39:39.941Z] 1f1c1a5573a3: Waiting [2024-03-21T05:39:39.941Z] ce7588e14bc9: Waiting [2024-03-21T05:39:39.941Z] b5e4710f87ac: Waiting [2024-03-21T05:39:40.202Z] c4d48a809fc2: Verifying Checksum [2024-03-21T05:39:40.202Z] c4d48a809fc2: Download complete [2024-03-21T05:39:40.202Z] ad3a456e5733: Verifying Checksum [2024-03-21T05:39:40.202Z] ad3a456e5733: Download complete [2024-03-21T05:39:40.202Z] 69c7f0334f64: Download complete [2024-03-21T05:39:40.202Z] 7264a8db6415: Download complete [2024-03-21T05:39:40.202Z] 1f1c1a5573a3: Verifying Checksum [2024-03-21T05:39:40.202Z] 1f1c1a5573a3: Download complete [2024-03-21T05:39:40.463Z] 7264a8db6415: Pull complete [2024-03-21T05:39:40.463Z] b5e4710f87ac: Verifying Checksum [2024-03-21T05:39:40.463Z] b5e4710f87ac: Download complete [2024-03-21T05:39:40.463Z] c4d48a809fc2: Pull complete [2024-03-21T05:39:40.723Z] 4f1c88b9dad5: Verifying Checksum [2024-03-21T05:39:40.723Z] 4f1c88b9dad5: Download complete [2024-03-21T05:39:40.982Z] ce7588e14bc9: Verifying Checksum [2024-03-21T05:39:40.982Z] ce7588e14bc9: Download complete [2024-03-21T05:39:43.513Z] 4f1c88b9dad5: Pull complete [2024-03-21T05:39:43.772Z] ad3a456e5733: Pull complete [2024-03-21T05:39:43.772Z] 69c7f0334f64: Pull complete [2024-03-21T05:39:43.772Z] 1f1c1a5573a3: Pull complete [2024-03-21T05:39:46.300Z] ce7588e14bc9: Pull complete [2024-03-21T05:39:46.561Z] b5e4710f87ac: Pull complete [2024-03-21T05:39:46.561Z] Digest: sha256:f80dd7bb8fdf010369d5adb4058a62695265b22e897ca6aac7b42af84fdce50e [2024-03-21T05:39:46.561Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2024-03-21T05:39:46.561Z] ---> 88b5674ff536 [2024-03-21T05:39:46.561Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2024-03-21T05:39:50.757Z] ---> Running in 8b29a246e0e2 [2024-03-21T05:39:50.757Z] Removing intermediate container 8b29a246e0e2 [2024-03-21T05:39:50.757Z] ---> 79e4ea4af4b9 [2024-03-21T05:39:50.757Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-03-21T05:39:50.757Z] ---> Running in 589d1538eb22 [2024-03-21T05:39:51.019Z] Removing intermediate container 589d1538eb22 [2024-03-21T05:39:51.019Z] ---> 695808e7ef1e [2024-03-21T05:39:51.019Z] Step 5/10 : RUN apk add --update --no-cache make git openssh [2024-03-21T05:39:51.019Z] ---> Running in 9f5a1d9fe785 [2024-03-21T05:39:51.277Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-03-21T05:39:51.536Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-03-21T05:39:51.796Z] (1/8) Installing openssh-keygen (9.3_p2-r1) [2024-03-21T05:39:51.796Z] (2/8) Installing libedit (20221030.3.1-r1) [2024-03-21T05:39:51.796Z] (3/8) Installing openssh-client-common (9.3_p2-r1) [2024-03-21T05:39:51.796Z] (4/8) Installing openssh-client-default (9.3_p2-r1) [2024-03-21T05:39:51.796Z] (5/8) Installing openssh-sftp-server (9.3_p2-r1) [2024-03-21T05:39:51.796Z] (6/8) Installing openssh-server-common (9.3_p2-r1) [2024-03-21T05:39:51.796Z] (7/8) Installing openssh-server (9.3_p2-r1) [2024-03-21T05:39:51.796Z] (8/8) Installing openssh (9.3_p2-r1) [2024-03-21T05:39:51.796Z] Executing busybox-1.36.1-r5.trigger [2024-03-21T05:39:51.796Z] OK: 270 MiB in 60 packages [2024-03-21T05:39:52.364Z] Removing intermediate container 9f5a1d9fe785 [2024-03-21T05:39:52.364Z] ---> 216ab3a9277d [2024-03-21T05:39:52.364Z] Step 6/10 : WORKDIR /device-modbus-go [2024-03-21T05:39:52.364Z] ---> Running in b9701fa8e3dc [2024-03-21T05:39:52.364Z] Removing intermediate container b9701fa8e3dc [2024-03-21T05:39:52.364Z] ---> ce20c9dd13cb [2024-03-21T05:39:52.364Z] Step 7/10 : COPY go.mod vendor* ./ [2024-03-21T05:39:52.624Z] ---> 8ad3a22d8166 [2024-03-21T05:39:52.624Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-03-21T05:39:52.624Z] ---> Running in 3cd8401d1d49 [2024-03-21T05:39:52.986Z] Still waiting to schedule task [2024-03-21T05:39:52.986Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2024-03-21T05:41:00.354Z] Removing intermediate container 3cd8401d1d49 [2024-03-21T05:41:00.354Z] ---> 792ed1ba55e8 [2024-03-21T05:41:00.354Z] Step 9/10 : COPY . . [2024-03-21T05:41:00.354Z] ---> a2717ea412a0 [2024-03-21T05:41:00.354Z] Step 10/10 : RUN ${MAKE} [2024-03-21T05:41:00.354Z] ---> Running in 22696499b2be [2024-03-21T05:41:00.354Z] noop [2024-03-21T05:41:00.354Z] Removing intermediate container 22696499b2be [2024-03-21T05:41:00.354Z] ---> adcee7a3212e [2024-03-21T05:41:00.354Z] Successfully built adcee7a3212e [2024-03-21T05:41:00.354Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-21T05:41:00.830Z] + docker inspect -f . ci-base-image-x86_64 [2024-03-21T05:41:00.830Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-03-21T05:41:00.992Z] prd-ubuntu20.04-docker-8c-8g-531 does not seem to be running inside a container [2024-03-21T05:41:01.028Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-546 -v /w/workspace/xfoundry_device-modbus-go_PR-546:/w/workspace/xfoundry_device-modbus-go_PR-546:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-546@tmp:/w/workspace/xfoundry_device-modbus-go_PR-546@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-03-21T05:41:01.360Z] $ docker top f47490f0d30ea28d5dc1623f8d7bf79621f90ddaffc7f1ce96501ffcbe32fca9 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-03-21T05:41:01.765Z] + go version [2024-03-21T05:41:01.765Z] go version go1.21.0 linux/amd64 [Pipeline] } [2024-03-21T05:41:01.799Z] $ docker stop --time=1 f47490f0d30ea28d5dc1623f8d7bf79621f90ddaffc7f1ce96501ffcbe32fca9 [2024-03-21T05:41:03.093Z] $ docker rm -f --volumes f47490f0d30ea28d5dc1623f8d7bf79621f90ddaffc7f1ce96501ffcbe32fca9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-21T05:41:03.847Z] + docker inspect -f . ci-base-image-x86_64 [2024-03-21T05:41:03.847Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-03-21T05:41:04.012Z] prd-ubuntu20.04-docker-8c-8g-531 does not seem to be running inside a container [2024-03-21T05:41:04.047Z] $ 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-546 -v /w/workspace/xfoundry_device-modbus-go_PR-546:/w/workspace/xfoundry_device-modbus-go_PR-546:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-546@tmp:/w/workspace/xfoundry_device-modbus-go_PR-546@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-03-21T05:41:04.390Z] $ docker top 1b47615043a95ca3f8e5733047ca9a9d851b9ff7ee591ce13aa01060e6d9c763 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-03-21T05:41:04.769Z] + git config --global --add safe.directory /w/workspace/xfoundry_device-modbus-go_PR-546 [Pipeline] fileExists [Pipeline] sh [2024-03-21T05:41:05.131Z] + make test [2024-03-21T05:41:05.131Z] go test ./... -coverprofile=coverage.out [2024-03-21T05:41:06.509Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2024-03-21T05:41:22.417Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-532 in /w/workspace/xfoundry_device-modbus-go_PR-546 [Pipeline] { [Pipeline] ws [2024-03-21T05:41:22.481Z] Running in /w/workspace/device-modbus-go/1 [Pipeline] { [Pipeline] checkout [2024-03-21T05:41:24.585Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2024-03-21T05:41:24.585Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.015s coverage: 47.9% of statements [2024-03-21T05:41:25.584Z] Selected Git installation does not exist. Using Default [2024-03-21T05:41:25.584Z] The recommended git tool is: NONE [2024-03-21T05:41:29.979Z] using credential edgex-jenkins-ssh [2024-03-21T05:41:30.003Z] Cloning the remote Git repository [2024-03-21T05:41:30.043Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2024-03-21T05:41:30.129Z] > git init /w/workspace/device-modbus-go/1 # timeout=10 [2024-03-21T05:41:30.404Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2024-03-21T05:41:30.405Z] > git --version # timeout=10 [2024-03-21T05:41:30.452Z] > git --version # 'git version 2.25.1' [2024-03-21T05:41:30.454Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-03-21T05:41:30.623Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-03-21T05:41:32.475Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2024-03-21T05:41:32.495Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-03-21T05:41:33.982Z] Merging remotes/origin/main commit 78c106f1b1d485d6b9e2c5cc4debe4f465169507 into PR head commit 3f7c613b0aa0c8785abd02e1ee31bb9de316262e [2024-03-21T05:41:33.382Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2024-03-21T05:41:33.421Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2024-03-21T05:41:33.421Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-03-21T05:41:33.443Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/546/head:refs/remotes/origin/PR-546 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2024-03-21T05:41:34.004Z] > git config core.sparsecheckout # timeout=10 [2024-03-21T05:41:34.105Z] > git checkout -f 3f7c613b0aa0c8785abd02e1ee31bb9de316262e # timeout=10 [2024-03-21T05:41:34.184Z] > git remote # timeout=10 [2024-03-21T05:41:34.201Z] > git config --get remote.origin.url # timeout=10 [2024-03-21T05:41:34.221Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-03-21T05:41:34.280Z] Merge succeeded, producing 3f7c613b0aa0c8785abd02e1ee31bb9de316262e [2024-03-21T05:41:34.281Z] Checking out Revision 3f7c613b0aa0c8785abd02e1ee31bb9de316262e (PR-546) [2024-03-21T05:41:34.551Z] go vet ./... [2024-03-21T05:41:34.798Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" [2024-03-21T05:41:34.845Z] > git --version # timeout=10 [2024-03-21T05:41:34.855Z] > git --version # 'git version 2.25.1' [2024-03-21T05:41:34.881Z] fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2024-03-21T05:41:34.240Z] > git merge 78c106f1b1d485d6b9e2c5cc4debe4f465169507 # timeout=10 [2024-03-21T05:41:34.264Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-03-21T05:41:34.287Z] > git config core.sparsecheckout # timeout=10 [2024-03-21T05:41:34.307Z] > git checkout -f 3f7c613b0aa0c8785abd02e1ee31bb9de316262e # timeout=10 [2024-03-21T05:41:38.730Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-03-21T05:41:38.730Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-03-21T05:41:38.730Z] ./bin/test-attribution-txt.sh [2024-03-21T05:41:38.730Z] An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add [2024-03-21T05:41:38.730Z] An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add [2024-03-21T05:41:38.730Z] An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add [2024-03-21T05:41:38.730Z] An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add [2024-03-21T05:41:38.730Z] An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add [2024-03-21T05:41:38.730Z] An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add [2024-03-21T05:41:38.730Z] An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add [2024-03-21T05:41:38.730Z] An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add [2024-03-21T05:41:38.730Z] An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add [2024-03-21T05:41:38.730Z] An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add [2024-03-21T05:41:38.730Z] An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add [2024-03-21T05:41:38.730Z] An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add [2024-03-21T05:41:38.730Z] An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add [2024-03-21T05:41:38.730Z] An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add [2024-03-21T05:41:38.730Z] An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add [2024-03-21T05:41:38.730Z] An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add [2024-03-21T05:41:38.730Z] An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add [2024-03-21T05:41:38.730Z] An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add [2024-03-21T05:41:38.730Z] An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add [2024-03-21T05:41:38.730Z] An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add [2024-03-21T05:41:38.730Z] An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add [2024-03-21T05:41:38.730Z] An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add [2024-03-21T05:41:38.730Z] An attribution for github.com/josharian/intern is missing from Attribution.txt, please add [2024-03-21T05:41:38.730Z] An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add [2024-03-21T05:41:38.730Z] An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add [2024-03-21T05:41:38.730Z] An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add [2024-03-21T05:41:38.730Z] An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add [2024-03-21T05:41:38.730Z] An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add [2024-03-21T05:41:38.730Z] An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add [2024-03-21T05:41:38.730Z] An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add [2024-03-21T05:41:38.730Z] An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add [2024-03-21T05:41:38.730Z] An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add [2024-03-21T05:41:38.730Z] An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add [2024-03-21T05:41:38.730Z] An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add [2024-03-21T05:41:38.730Z] An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add [2024-03-21T05:41:38.730Z] An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add [2024-03-21T05:41:38.730Z] An attribution for github.com/openziti/identity is missing from Attribution.txt, please add [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [2024-03-21T05:41:38.990Z] An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add [2024-03-21T05:41:38.990Z] An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add [2024-03-21T05:41:38.990Z] An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add [2024-03-21T05:41:38.990Z] An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add [2024-03-21T05:41:38.990Z] An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add [2024-03-21T05:41:38.990Z] An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add [2024-03-21T05:41:38.990Z] An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add [2024-03-21T05:41:38.990Z] An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add [2024-03-21T05:41:38.990Z] An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add [2024-03-21T05:41:38.990Z] An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add [2024-03-21T05:41:38.990Z] An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add [2024-03-21T05:41:38.990Z] An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add [2024-03-21T05:41:38.990Z] An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add [2024-03-21T05:41:38.990Z] An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add [2024-03-21T05:41:38.990Z] An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add [2024-03-21T05:41:38.990Z] An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add [2024-03-21T05:41:38.990Z] An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add [2024-03-21T05:41:38.990Z] An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add [2024-03-21T05:41:38.990Z] An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add [2024-03-21T05:41:38.990Z] An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add [2024-03-21T05:41:38.990Z] An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add [2024-03-21T05:41:38.990Z] An attribution for golang.org/x/term is missing from Attribution.txt, please add [2024-03-21T05:41:38.990Z] An attribution for google.golang.org/appengine is missing from Attribution.txt, please add [2024-03-21T05:41:38.990Z] An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [2024-03-21T05:41:38.990Z] An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] sh [Pipeline] echo [2024-03-21T05:41:39.246Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-03-21T05:41:39.283Z] $ docker stop --time=1 1b47615043a95ca3f8e5733047ca9a9d851b9ff7ee591ce13aa01060e6d9c763 [2024-03-21T05:41:39.522Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-03-21T05:41:39.522Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-03-21T05:41:39.522Z] Dload Upload Total Spent Left Speed [2024-03-21T05:41:39.522Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 192k 0 --:--:-- --:--:-- --:--:-- 192k [2024-03-21T05:41:44.125Z] $ docker rm -f --volumes 1b47615043a95ca3f8e5733047ca9a9d851b9ff7ee591ce13aa01060e6d9c763 [Pipeline] // withDockerContainer [Pipeline] sh [Pipeline] sh [2024-03-21T05:41:44.776Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-03-21T05:41:44.850Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [2024-03-21T05:41:44.855Z] Stashed 1 file(s) [Pipeline] } [Pipeline] sh [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [2024-03-21T05:41:45.196Z] + sudo tee /etc/docker/daemon.new [2024-03-21T05:41:45.196Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2024-03-21T05:41:45.196Z] { [2024-03-21T05:41:45.196Z] "registry-mirrors": [ [2024-03-21T05:41:45.196Z] "https://nexus3.edgexfoundry.org:10001" [2024-03-21T05:41:45.196Z] ], [2024-03-21T05:41:45.196Z] "bip": "10.250.0.254/24", [2024-03-21T05:41:45.196Z] "hosts": [ [2024-03-21T05:41:45.196Z] "tcp://0.0.0.0:5555", [2024-03-21T05:41:45.196Z] "unix:///var/run/docker.sock" [2024-03-21T05:41:45.196Z] ], [2024-03-21T05:41:45.196Z] "mtu": 1458, [2024-03-21T05:41:45.196Z] "selinux-enabled": true, [2024-03-21T05:41:45.196Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-03-21T05:41:45.196Z] } [Pipeline] sh [Pipeline] sh [2024-03-21T05:41:45.665Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-03-21T05:41:45.712Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-03-21T05:41:46.006Z] + sudo service docker restart [2024-03-21T05:41:46.097Z] + ls -al . [2024-03-21T05:41:46.097Z] total 260 [2024-03-21T05:41:46.097Z] drwxrwxr-x 9 jenkins jenkins 4096 Mar 21 05:41 . [2024-03-21T05:41:46.097Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 21 05:39 .. [2024-03-21T05:41:46.097Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 21 05:39 .dockerignore [2024-03-21T05:41:46.097Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 21 05:41 .git [2024-03-21T05:41:46.097Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 21 05:39 .github [2024-03-21T05:41:46.097Z] -rw-rw-r-- 1 jenkins jenkins 266 Mar 21 05:39 .gitignore [2024-03-21T05:41:46.097Z] -rw-rw-r-- 1 jenkins jenkins 41 Mar 21 05:39 .golangci.yml [2024-03-21T05:41:46.097Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 21 05:39 .semver [2024-03-21T05:41:46.097Z] -rw-rw-r-- 1 jenkins jenkins 11101 Mar 21 05:39 Attribution.txt [2024-03-21T05:41:46.097Z] -rw-rw-r-- 1 jenkins jenkins 16388 Mar 21 05:39 CHANGELOG.md [2024-03-21T05:41:46.097Z] -rw-rw-r-- 1 jenkins jenkins 1474 Mar 21 05:39 Dockerfile [2024-03-21T05:41:46.097Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 21 05:39 GOVERNANCE.md [2024-03-21T05:41:46.097Z] -rw-rw-r-- 1 jenkins jenkins 658 Mar 21 05:39 Jenkinsfile [2024-03-21T05:41:46.097Z] -rw-rw-r-- 1 jenkins jenkins 11340 Mar 21 05:39 LICENSE [2024-03-21T05:41:46.097Z] -rw-rw-r-- 1 jenkins jenkins 1942 Mar 21 05:39 Makefile [2024-03-21T05:41:46.097Z] -rw-rw-r-- 1 jenkins jenkins 622 Mar 21 05:39 OWNERS.md [2024-03-21T05:41:46.097Z] -rw-rw-r-- 1 jenkins jenkins 4463 Mar 21 05:39 README.md [2024-03-21T05:41:46.097Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 21 05:39 VERSION [2024-03-21T05:41:46.097Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 21 05:39 bin [2024-03-21T05:41:46.097Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 21 05:39 cmd [2024-03-21T05:41:46.097Z] -rw-r--r-- 1 jenkins jenkins 24334 Mar 21 05:41 coverage.out [2024-03-21T05:41:46.097Z] -rw-rw-r-- 1 jenkins jenkins 7289 Mar 21 05:39 go.mod [2024-03-21T05:41:46.097Z] -rw-rw-r-- 1 jenkins jenkins 101859 Mar 21 05:39 go.sum [2024-03-21T05:41:46.097Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 21 05:39 internal [2024-03-21T05:41:46.097Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 21 05:39 simulator [2024-03-21T05:41:46.097Z] -rw-rw-r-- 1 jenkins jenkins 229 Mar 21 05:39 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-21T05:41:46.515Z] + 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=3f7c613b0aa0c8785abd02e1ee31bb9de316262e --label arch=amd64 --label version=0.0.0 . [2024-03-21T05:41:46.515Z] Sending build context to Docker daemon 17.38MB [2024-03-21T05:41:46.515Z] Step 1/23 : ARG BASE=golang:1.21-alpine3.18 [2024-03-21T05:41:46.515Z] Step 2/23 : FROM ${BASE} AS builder [2024-03-21T05:41:46.515Z] ---> adcee7a3212e [2024-03-21T05:41:46.515Z] Step 3/23 : ARG ADD_BUILD_TAGS="" [2024-03-21T05:41:47.084Z] ---> Running in a66d2e8daafd [2024-03-21T05:41:47.084Z] Removing intermediate container a66d2e8daafd [2024-03-21T05:41:47.084Z] ---> 7ee3558be84c [2024-03-21T05:41:47.084Z] Step 4/23 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-03-21T05:41:47.084Z] ---> Running in 684c5e6521b3 [2024-03-21T05:41:47.084Z] Removing intermediate container 684c5e6521b3 [2024-03-21T05:41:47.084Z] ---> 4a1f1082f5a9 [2024-03-21T05:41:47.084Z] Step 5/23 : RUN apk add --update --no-cache make git openssh [2024-03-21T05:41:47.084Z] ---> Running in 7e0d446a000d [2024-03-21T05:41:47.345Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-03-21T05:41:47.603Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-03-21T05:41:47.863Z] OK: 270 MiB in 60 packages [2024-03-21T05:41:48.123Z] Removing intermediate container 7e0d446a000d [2024-03-21T05:41:48.123Z] ---> 0b1741b1c037 [2024-03-21T05:41:48.123Z] Step 6/23 : WORKDIR /device-modbus-go [2024-03-21T05:41:48.385Z] ---> Running in 0045d7d323df [2024-03-21T05:41:48.385Z] Removing intermediate container 0045d7d323df [2024-03-21T05:41:48.385Z] ---> 7a49b7951be7 [2024-03-21T05:41:48.385Z] Step 7/23 : COPY go.mod vendor* ./ [2024-03-21T05:41:48.385Z] ---> e4ced16cf835 [2024-03-21T05:41:48.385Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-03-21T05:41:48.385Z] ---> Running in 8fc0281e9de8 [2024-03-21T05:41:49.322Z] Removing intermediate container 8fc0281e9de8 [2024-03-21T05:41:49.322Z] ---> 355208db88ec [2024-03-21T05:41:49.322Z] Step 9/23 : COPY . . [2024-03-21T05:41:49.890Z] ---> 79ef4bf8fa6d [2024-03-21T05:41:49.890Z] Step 10/23 : RUN ${MAKE} [2024-03-21T05:41:49.890Z] ---> Running in d18f0d6a6a09 [2024-03-21T05:41:50.149Z] 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.12" -trimpath -mod=readonly -o cmd/device-modbus ./cmd [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-03-21T05:42:04.295Z] provisioning config files... [2024-03-21T05:42:04.323Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/1@tmp/config7727671778626402611tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-03-21T05:42:04.789Z] ---> ****-login.sh [2024-03-21T05:42:04.790Z] nexus3.edgexfoundry.org:10001 [2024-03-21T05:42:05.057Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-21T05:42:05.326Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-21T05:42:05.326Z] Configure a credential helper to remove this warning. See [2024-03-21T05:42:05.326Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-21T05:42:05.326Z] [2024-03-21T05:42:05.326Z] Login Succeeded [2024-03-21T05:42:05.326Z] nexus3.edgexfoundry.org:10002 [2024-03-21T05:42:05.593Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-21T05:42:05.862Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-21T05:42:05.862Z] Configure a credential helper to remove this warning. See [2024-03-21T05:42:05.862Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-21T05:42:05.862Z] [2024-03-21T05:42:05.862Z] Login Succeeded [2024-03-21T05:42:05.862Z] nexus3.edgexfoundry.org:10003 [2024-03-21T05:42:05.863Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-21T05:42:06.138Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-21T05:42:06.138Z] Configure a credential helper to remove this warning. See [2024-03-21T05:42:06.138Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-21T05:42:06.138Z] [2024-03-21T05:42:06.138Z] Login Succeeded [2024-03-21T05:42:06.138Z] nexus3.edgexfoundry.org:10004 [2024-03-21T05:42:06.407Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-21T05:42:06.407Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-21T05:42:06.407Z] Configure a credential helper to remove this warning. See [2024-03-21T05:42:06.407Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-21T05:42:06.407Z] [2024-03-21T05:42:06.407Z] Login Succeeded [2024-03-21T05:42:06.407Z] ****.io [2024-03-21T05:42:06.676Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-21T05:42:06.943Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-21T05:42:06.943Z] Configure a credential helper to remove this warning. See [2024-03-21T05:42:06.943Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-21T05:42:06.943Z] [2024-03-21T05:42:06.943Z] Login Succeeded [2024-03-21T05:42:06.943Z] ---> ****-login.sh ends [Pipeline] } [2024-03-21T05:42:06.975Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-03-21T05:42:07.373Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-03-21T05:42:07.410Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-03-21T05:42:07.453Z] ========================================================= [2024-03-21T05:42:07.453Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2024-03-21T05:42:07.453Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-21T05:42:07.973Z] + 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-03-21T05:42:08.242Z] Sending build context to Docker daemon 8.807MB [2024-03-21T05:42:08.528Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2024-03-21T05:42:08.528Z] Step 2/10 : FROM ${BASE} AS builder [2024-03-21T05:42:08.528Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-03-21T05:42:08.528Z] 9fda8d8052c6: Pulling fs layer [2024-03-21T05:42:08.528Z] 5d54e960e981: Pulling fs layer [2024-03-21T05:42:08.528Z] c4a7e357bf2a: Pulling fs layer [2024-03-21T05:42:08.528Z] f0e02332f6b5: Pulling fs layer [2024-03-21T05:42:08.528Z] 872ee5b61b7b: Pulling fs layer [2024-03-21T05:42:08.528Z] 0c6a40ed1a82: Pulling fs layer [2024-03-21T05:42:08.528Z] 94ae7d8d031c: Pulling fs layer [2024-03-21T05:42:08.528Z] 872ee5b61b7b: Waiting [2024-03-21T05:42:08.528Z] 0c6a40ed1a82: Waiting [2024-03-21T05:42:08.528Z] 94ae7d8d031c: Waiting [2024-03-21T05:42:08.528Z] f0e02332f6b5: Waiting [2024-03-21T05:42:08.528Z] 5d54e960e981: Verifying Checksum [2024-03-21T05:42:08.528Z] 5d54e960e981: Download complete [2024-03-21T05:42:08.528Z] f0e02332f6b5: Verifying Checksum [2024-03-21T05:42:08.528Z] f0e02332f6b5: Download complete [2024-03-21T05:42:08.528Z] 872ee5b61b7b: Verifying Checksum [2024-03-21T05:42:08.528Z] 872ee5b61b7b: Download complete [2024-03-21T05:42:08.528Z] 9fda8d8052c6: Verifying Checksum [2024-03-21T05:42:08.528Z] 9fda8d8052c6: Download complete [2024-03-21T05:42:09.126Z] 94ae7d8d031c: Verifying Checksum [2024-03-21T05:42:09.126Z] 94ae7d8d031c: Download complete [2024-03-21T05:42:09.715Z] 9fda8d8052c6: Pull complete [2024-03-21T05:42:10.303Z] 5d54e960e981: Pull complete [2024-03-21T05:42:10.569Z] c4a7e357bf2a: Verifying Checksum [2024-03-21T05:42:10.569Z] c4a7e357bf2a: Download complete [2024-03-21T05:42:11.532Z] 0c6a40ed1a82: Verifying Checksum [2024-03-21T05:42:11.532Z] 0c6a40ed1a82: Download complete [2024-03-21T05:42:22.232Z] Removing intermediate container d18f0d6a6a09 [2024-03-21T05:42:22.232Z] ---> 9cb4f62ec2b8 [2024-03-21T05:42:22.232Z] Step 11/23 : FROM alpine:3.18 [2024-03-21T05:42:22.232Z] 3.18: Pulling from library/alpine [2024-03-21T05:42:22.232Z] 619be1103602: Pulling fs layer [2024-03-21T05:42:22.232Z] 619be1103602: Verifying Checksum [2024-03-21T05:42:22.232Z] 619be1103602: Download complete [2024-03-21T05:42:22.232Z] 619be1103602: Pull complete [2024-03-21T05:42:22.232Z] Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 [2024-03-21T05:42:22.232Z] Status: Downloaded newer image for alpine:3.18 [2024-03-21T05:42:22.232Z] ---> d3782b16ccc9 [2024-03-21T05:42:22.232Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2024-03-21T05:42:22.232Z] ---> Running in 1d63a97b3771 [2024-03-21T05:42:22.232Z] Removing intermediate container 1d63a97b3771 [2024-03-21T05:42:22.232Z] ---> 21b2aba4ee2d [2024-03-21T05:42:22.232Z] Step 13/23 : RUN apk add --update --no-cache dumb-init [2024-03-21T05:42:22.232Z] ---> Running in 2c4cc00c4223 [2024-03-21T05:42:22.232Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-03-21T05:42:22.232Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-03-21T05:42:22.232Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-03-21T05:42:22.232Z] Executing busybox-1.36.1-r5.trigger [2024-03-21T05:42:22.232Z] OK: 7 MiB in 16 packages [2024-03-21T05:42:22.491Z] Removing intermediate container 2c4cc00c4223 [2024-03-21T05:42:22.491Z] ---> c07f1f8bdc49 [2024-03-21T05:42:22.491Z] Step 14/23 : RUN apk --no-cache upgrade [2024-03-21T05:42:22.491Z] ---> Running in 1782fbca25ae [2024-03-21T05:42:22.752Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-03-21T05:42:22.752Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-03-21T05:42:23.010Z] (1/1) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) [2024-03-21T05:42:23.010Z] OK: 7 MiB in 16 packages [2024-03-21T05:42:23.274Z] Removing intermediate container 1782fbca25ae [2024-03-21T05:42:23.274Z] ---> c3970eb117ba [2024-03-21T05:42:23.274Z] Step 15/23 : COPY --from=builder /device-modbus-go/cmd / [2024-03-21T05:42:23.847Z] c4a7e357bf2a: Pull complete [2024-03-21T05:42:23.847Z] f0e02332f6b5: Pull complete [2024-03-21T05:42:23.847Z] 872ee5b61b7b: Pull complete [2024-03-21T05:42:24.238Z] ---> 7cd7a370c08a [2024-03-21T05:42:24.238Z] Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / [2024-03-21T05:42:24.497Z] ---> 6b35b9dc723f [2024-03-21T05:42:24.497Z] Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / [2024-03-21T05:42:24.497Z] ---> 54ea4dc53241 [2024-03-21T05:42:24.497Z] Step 18/23 : EXPOSE 59901 [2024-03-21T05:42:24.497Z] ---> Running in 6de6660e49a7 [2024-03-21T05:42:24.757Z] Removing intermediate container 6de6660e49a7 [2024-03-21T05:42:24.757Z] ---> b17adb995601 [2024-03-21T05:42:24.757Z] Step 19/23 : ENTRYPOINT ["/device-modbus"] [2024-03-21T05:42:24.757Z] ---> Running in 3eb4f8e10fa6 [2024-03-21T05:42:24.757Z] Removing intermediate container 3eb4f8e10fa6 [2024-03-21T05:42:24.757Z] ---> 4667f12056e8 [2024-03-21T05:42:24.757Z] Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2024-03-21T05:42:24.757Z] ---> Running in ba0cdeee4c19 [2024-03-21T05:42:24.757Z] Removing intermediate container ba0cdeee4c19 [2024-03-21T05:42:24.757Z] ---> 4d8273d7820f [2024-03-21T05:42:24.757Z] Step 21/23 : LABEL arch=amd64 [2024-03-21T05:42:24.757Z] ---> Running in 60b3b766c8b7 [2024-03-21T05:42:25.015Z] Removing intermediate container 60b3b766c8b7 [2024-03-21T05:42:25.015Z] ---> 8bef5abef819 [2024-03-21T05:42:25.015Z] Step 22/23 : LABEL git_sha=3f7c613b0aa0c8785abd02e1ee31bb9de316262e [2024-03-21T05:42:25.015Z] ---> Running in 96afdef4ee4a [2024-03-21T05:42:25.015Z] Removing intermediate container 96afdef4ee4a [2024-03-21T05:42:25.015Z] ---> 9cf55fe63bba [2024-03-21T05:42:25.015Z] Step 23/23 : LABEL version=0.0.0 [2024-03-21T05:42:25.015Z] ---> Running in 11c687b984b3 [2024-03-21T05:42:25.272Z] Removing intermediate container 11c687b984b3 [2024-03-21T05:42:25.272Z] ---> 3f2f4f6553db [2024-03-21T05:42:25.272Z] [Warning] One or more build-args [ARCH] were not consumed [2024-03-21T05:42:25.272Z] Successfully built 3f2f4f6553db [2024-03-21T05:42:25.272Z] Successfully tagged device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-21T05:42:26.221Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-03-21T05:42:26.221Z] [2024-03-21T05:42:26.221Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-21T05:42:26.602Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-03-21T05:42:26.602Z] latest: Pulling from edgex-lftools-log-publisher [2024-03-21T05:42:26.602Z] 5eb5b503b376: Pulling fs layer [2024-03-21T05:42:26.602Z] 5c69ac0246d0: Pulling fs layer [2024-03-21T05:42:26.602Z] ec43610c2a17: Pulling fs layer [2024-03-21T05:42:26.602Z] 3a2ae6a8a46f: Pulling fs layer [2024-03-21T05:42:26.602Z] 33b1e0a273af: Pulling fs layer [2024-03-21T05:42:26.602Z] 5d3b04190fa2: Pulling fs layer [2024-03-21T05:42:26.602Z] 2f39f015ded8: Pulling fs layer [2024-03-21T05:42:26.602Z] 5d3b04190fa2: Waiting [2024-03-21T05:42:26.602Z] 3a2ae6a8a46f: Waiting [2024-03-21T05:42:26.602Z] 2f39f015ded8: Waiting [2024-03-21T05:42:26.602Z] 33b1e0a273af: Waiting [2024-03-21T05:42:26.602Z] 5c69ac0246d0: Download complete [2024-03-21T05:42:26.602Z] 3a2ae6a8a46f: Verifying Checksum [2024-03-21T05:42:26.602Z] 3a2ae6a8a46f: Download complete [2024-03-21T05:42:26.602Z] 33b1e0a273af: Verifying Checksum [2024-03-21T05:42:26.602Z] 33b1e0a273af: Download complete [2024-03-21T05:42:26.862Z] 5d3b04190fa2: Verifying Checksum [2024-03-21T05:42:26.862Z] 5d3b04190fa2: Download complete [2024-03-21T05:42:26.862Z] ec43610c2a17: Verifying Checksum [2024-03-21T05:42:26.862Z] ec43610c2a17: Download complete [2024-03-21T05:42:26.862Z] 5eb5b503b376: Verifying Checksum [2024-03-21T05:42:26.862Z] 5eb5b503b376: Download complete [2024-03-21T05:42:27.797Z] 2f39f015ded8: Download complete [2024-03-21T05:42:28.367Z] 5eb5b503b376: Pull complete [2024-03-21T05:42:28.367Z] 5c69ac0246d0: Pull complete [2024-03-21T05:42:28.936Z] ec43610c2a17: Pull complete [2024-03-21T05:42:28.936Z] 3a2ae6a8a46f: Pull complete [2024-03-21T05:42:29.195Z] 33b1e0a273af: Pull complete [2024-03-21T05:42:29.195Z] 5d3b04190fa2: Pull complete [2024-03-21T05:42:32.059Z] 0c6a40ed1a82: Pull complete [2024-03-21T05:42:33.472Z] 94ae7d8d031c: Pull complete [2024-03-21T05:42:33.472Z] Digest: sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 [2024-03-21T05:42:33.472Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2024-03-21T05:42:33.472Z] ---> 86de565de09d [2024-03-21T05:42:33.472Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2024-03-21T05:42:34.462Z] 2f39f015ded8: Pull complete [2024-03-21T05:42:34.462Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-03-21T05:42:34.462Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-03-21T05:42:34.462Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-03-21T05:42:34.718Z] prd-ubuntu20.04-docker-8c-8g-531 does not seem to be running inside a container [2024-03-21T05:42:34.757Z] $ 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-546 -v /w/workspace/xfoundry_device-modbus-go_PR-546:/w/workspace/xfoundry_device-modbus-go_PR-546:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-546@tmp:/w/workspace/xfoundry_device-modbus-go_PR-546@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-03-21T05:42:35.412Z] ---> Running in 67695ab95ba2 [2024-03-21T05:42:35.412Z] Removing intermediate container 67695ab95ba2 [2024-03-21T05:42:35.412Z] ---> 1ea7fe1537a7 [2024-03-21T05:42:35.412Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-03-21T05:42:35.412Z] ---> Running in 3f20edbbbf78 [2024-03-21T05:42:35.680Z] Removing intermediate container 3f20edbbbf78 [2024-03-21T05:42:35.680Z] ---> 75d228197d74 [2024-03-21T05:42:35.680Z] Step 5/10 : RUN apk add --update --no-cache make git openssh [2024-03-21T05:42:35.680Z] ---> Running in b44d5fce73e2 [2024-03-21T05:42:37.088Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-03-21T05:42:37.088Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-03-21T05:42:38.045Z] (1/8) Installing openssh-keygen (9.3_p2-r1) [2024-03-21T05:42:38.045Z] (2/8) Installing libedit (20221030.3.1-r1) [2024-03-21T05:42:38.045Z] (3/8) Installing openssh-client-common (9.3_p2-r1) [2024-03-21T05:42:38.312Z] (4/8) Installing openssh-client-default (9.3_p2-r1) [2024-03-21T05:42:38.312Z] (5/8) Installing openssh-sftp-server (9.3_p2-r1) [2024-03-21T05:42:38.312Z] (6/8) Installing openssh-server-common (9.3_p2-r1) [2024-03-21T05:42:38.312Z] (7/8) Installing openssh-server (9.3_p2-r1) [2024-03-21T05:42:38.312Z] (8/8) Installing openssh (9.3_p2-r1) [2024-03-21T05:42:38.312Z] Executing busybox-1.36.1-r5.trigger [2024-03-21T05:42:38.312Z] OK: 272 MiB in 60 packages [2024-03-21T05:42:39.271Z] Removing intermediate container b44d5fce73e2 [2024-03-21T05:42:39.271Z] ---> 291f87aab558 [2024-03-21T05:42:39.271Z] Step 6/10 : WORKDIR /device-modbus-go [2024-03-21T05:42:39.551Z] ---> Running in e92460adba99 [2024-03-21T05:42:39.817Z] Removing intermediate container e92460adba99 [2024-03-21T05:42:39.817Z] ---> d16f40c5c89b [2024-03-21T05:42:39.817Z] Step 7/10 : COPY go.mod vendor* ./ [2024-03-21T05:42:40.065Z] $ docker top a38d1df7007fc316b3cfacab121e5d992823f161598e709a6b53a4c2a9c96994 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-03-21T05:42:40.406Z] ---> acf7b20fa72b [2024-03-21T05:42:40.406Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-03-21T05:42:40.406Z] ---> Running in adfb6219a5bf [2024-03-21T05:42:40.689Z] ---> job-cost.sh [2024-03-21T05:42:40.689Z] lf-activate-venv: SKIPPING [2024-03-21T05:42:40.689Z] INFO: No Stack... [2024-03-21T05:42:40.948Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-03-21T05:42:41.517Z] INFO: Archiving Costs [Pipeline] sh [2024-03-21T05:42:41.830Z] + + cut -d,cat -f6 /w/workspace/xfoundry_device-modbus-go_PR-546/archives/cost.csv [2024-03-21T05:42:41.830Z] [Pipeline] lock [2024-03-21T05:42:41.872Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-546-1-stack-cost] [2024-03-21T05:42:41.877Z] Resource [jenkins-edgexfoundry-device-modbus-go-PR-546-1-stack-cost] did not exist. Created. [2024-03-21T05:42:41.882Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-546-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-03-21T05:42:42.284Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-03-21T05:42:42.340Z] Stashed 1 file(s) [Pipeline] } [2024-03-21T05:42:42.374Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-546-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-03-21T05:42:42.471Z] $ docker stop --time=1 a38d1df7007fc316b3cfacab121e5d992823f161598e709a6b53a4c2a9c96994 [2024-03-21T05:42:43.641Z] $ docker rm -f --volumes a38d1df7007fc316b3cfacab121e5d992823f161598e709a6b53a4c2a9c96994 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-03-21T05:44:32.088Z] Removing intermediate container adfb6219a5bf [2024-03-21T05:44:32.088Z] ---> 47d576d9b87d [2024-03-21T05:44:32.088Z] Step 9/10 : COPY . . [2024-03-21T05:44:33.497Z] ---> 0796c05176e3 [2024-03-21T05:44:33.497Z] Step 10/10 : RUN ${MAKE} [2024-03-21T05:44:33.497Z] ---> Running in 231ca5995703 [2024-03-21T05:44:34.083Z] noop [2024-03-21T05:44:35.039Z] Removing intermediate container 231ca5995703 [2024-03-21T05:44:35.039Z] ---> b507ac0b81d1 [2024-03-21T05:44:35.039Z] Successfully built b507ac0b81d1 [2024-03-21T05:44:35.039Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-21T05:44:35.538Z] + docker inspect -f . ci-base-image-arm64 [2024-03-21T05:44:35.538Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-03-21T05:44:35.830Z] prd-ubuntu20.04-docker-arm64-4c-16g-532 does not seem to be running inside a container [2024-03-21T05:44:35.891Z] $ 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-03-21T05:44:37.179Z] $ docker top 308587611efb63029dd0c86551ce1e427186e0861ceab0fe5f747394661a66a9 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-03-21T05:44:38.045Z] + go version [2024-03-21T05:44:38.045Z] go version go1.21.0 linux/arm64 [Pipeline] } [2024-03-21T05:44:38.085Z] $ docker stop --time=1 308587611efb63029dd0c86551ce1e427186e0861ceab0fe5f747394661a66a9 [2024-03-21T05:44:39.698Z] $ docker rm -f --volumes 308587611efb63029dd0c86551ce1e427186e0861ceab0fe5f747394661a66a9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-21T05:44:40.593Z] + docker inspect -f . ci-base-image-arm64 [2024-03-21T05:44:40.594Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-03-21T05:44:40.844Z] prd-ubuntu20.04-docker-arm64-4c-16g-532 does not seem to be running inside a container [2024-03-21T05:44:40.905Z] $ 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-03-21T05:44:41.980Z] $ docker top 96de82b49a5186526b06585bcc2ef00e083c97a70a6f320d8a55799b9773ad7e -eo pid,comm [Pipeline] { [Pipeline] sh [2024-03-21T05:44:42.535Z] + git config --global --add safe.directory /w/workspace/device-modbus-go/1 [Pipeline] fileExists [Pipeline] sh [2024-03-21T05:44:42.922Z] + make test [2024-03-21T05:44:42.922Z] go test ./... -coverprofile=coverage.out [2024-03-21T05:44:48.269Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2024-03-21T05:47:09.940Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2024-03-21T05:47:09.940Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.058s coverage: 47.9% of statements [2024-03-21T05:47:10.206Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2024-03-21T05:47:10.206Z] go vet ./... [2024-03-21T05:47:49.072Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-03-21T05:47:49.073Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-03-21T05:47:49.073Z] ./bin/test-attribution-txt.sh [2024-03-21T05:47:49.073Z] An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add [2024-03-21T05:47:49.073Z] An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add [2024-03-21T05:47:49.073Z] An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add [2024-03-21T05:47:49.073Z] An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add [2024-03-21T05:47:49.073Z] An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add [2024-03-21T05:47:49.073Z] An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add [2024-03-21T05:47:49.073Z] An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add [2024-03-21T05:47:49.073Z] An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add [2024-03-21T05:47:49.073Z] An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add [2024-03-21T05:47:49.073Z] An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add [2024-03-21T05:47:49.073Z] An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add [2024-03-21T05:47:49.073Z] An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add [2024-03-21T05:47:49.073Z] An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add [2024-03-21T05:47:49.073Z] An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add [2024-03-21T05:47:49.073Z] An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add [2024-03-21T05:47:49.073Z] An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add [2024-03-21T05:47:49.073Z] An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add [2024-03-21T05:47:49.073Z] An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add [2024-03-21T05:47:49.073Z] An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add [2024-03-21T05:47:49.073Z] An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add [2024-03-21T05:47:49.073Z] An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add [2024-03-21T05:47:49.073Z] An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add [2024-03-21T05:47:49.073Z] An attribution for github.com/josharian/intern is missing from Attribution.txt, please add [2024-03-21T05:47:49.073Z] An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add [2024-03-21T05:47:49.073Z] An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add [2024-03-21T05:47:49.073Z] An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add [2024-03-21T05:47:49.073Z] An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add [2024-03-21T05:47:49.073Z] An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add [2024-03-21T05:47:49.073Z] An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add [2024-03-21T05:47:49.073Z] An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add [2024-03-21T05:47:49.073Z] An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add [2024-03-21T05:47:49.073Z] An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add [2024-03-21T05:47:49.073Z] An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add [2024-03-21T05:47:49.073Z] An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add [2024-03-21T05:47:49.073Z] An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add [2024-03-21T05:47:49.073Z] An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add [2024-03-21T05:47:49.073Z] An attribution for github.com/openziti/identity is missing from Attribution.txt, please add [2024-03-21T05:47:49.073Z] An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add [2024-03-21T05:47:49.073Z] An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add [2024-03-21T05:47:49.073Z] An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add [2024-03-21T05:47:49.073Z] An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add [2024-03-21T05:47:49.073Z] An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add [2024-03-21T05:47:49.073Z] An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add [2024-03-21T05:47:49.073Z] An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add [2024-03-21T05:47:49.073Z] An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add [2024-03-21T05:47:49.073Z] An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add [2024-03-21T05:47:49.073Z] An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add [2024-03-21T05:47:49.073Z] An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add [2024-03-21T05:47:49.073Z] An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add [2024-03-21T05:47:49.073Z] An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add [2024-03-21T05:47:49.073Z] An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add [2024-03-21T05:47:49.073Z] An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add [2024-03-21T05:47:49.073Z] An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add [2024-03-21T05:47:49.073Z] An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add [2024-03-21T05:47:49.073Z] An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add [2024-03-21T05:47:49.073Z] An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add [2024-03-21T05:47:49.073Z] An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add [2024-03-21T05:47:49.073Z] An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add [2024-03-21T05:47:49.073Z] An attribution for golang.org/x/term is missing from Attribution.txt, please add [2024-03-21T05:47:49.073Z] An attribution for google.golang.org/appengine is missing from Attribution.txt, please add [2024-03-21T05:47:49.073Z] An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [2024-03-21T05:47:49.073Z] An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo [2024-03-21T05:47:49.112Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-03-21T05:47:49.147Z] $ docker stop --time=1 96de82b49a5186526b06585bcc2ef00e083c97a70a6f320d8a55799b9773ad7e [2024-03-21T05:47:51.001Z] $ docker rm -f --volumes 96de82b49a5186526b06585bcc2ef00e083c97a70a6f320d8a55799b9773ad7e [Pipeline] // withDockerContainer [Pipeline] sh [2024-03-21T05:47:52.473Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-03-21T05:47:52.512Z] Warning: overwriting stash ‘coverage-report’ [2024-03-21T05:47:52.908Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-03-21T05:47:53.499Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-03-21T05:47:53.831Z] + ls -al . [2024-03-21T05:47:53.832Z] total 256 [2024-03-21T05:47:53.832Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 21 05:44 . [2024-03-21T05:47:53.832Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 21 05:41 .. [2024-03-21T05:47:53.832Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 21 05:41 .dockerignore [2024-03-21T05:47:53.832Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 21 05:41 .git [2024-03-21T05:47:53.832Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 21 05:41 .github [2024-03-21T05:47:53.832Z] -rw-rw-r-- 1 jenkins jenkins 266 Mar 21 05:41 .gitignore [2024-03-21T05:47:53.832Z] -rw-rw-r-- 1 jenkins jenkins 41 Mar 21 05:41 .golangci.yml [2024-03-21T05:47:53.832Z] -rw-rw-r-- 1 jenkins jenkins 11101 Mar 21 05:41 Attribution.txt [2024-03-21T05:47:53.832Z] -rw-rw-r-- 1 jenkins jenkins 16388 Mar 21 05:41 CHANGELOG.md [2024-03-21T05:47:53.832Z] -rw-rw-r-- 1 jenkins jenkins 1474 Mar 21 05:41 Dockerfile [2024-03-21T05:47:53.832Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 21 05:41 GOVERNANCE.md [2024-03-21T05:47:53.832Z] -rw-rw-r-- 1 jenkins jenkins 658 Mar 21 05:41 Jenkinsfile [2024-03-21T05:47:53.832Z] -rw-rw-r-- 1 jenkins jenkins 11340 Mar 21 05:41 LICENSE [2024-03-21T05:47:53.832Z] -rw-rw-r-- 1 jenkins jenkins 1942 Mar 21 05:41 Makefile [2024-03-21T05:47:53.832Z] -rw-rw-r-- 1 jenkins jenkins 622 Mar 21 05:41 OWNERS.md [2024-03-21T05:47:53.832Z] -rw-rw-r-- 1 jenkins jenkins 4463 Mar 21 05:41 README.md [2024-03-21T05:47:53.832Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 21 05:39 VERSION [2024-03-21T05:47:53.832Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 21 05:41 bin [2024-03-21T05:47:53.832Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 21 05:41 cmd [2024-03-21T05:47:53.832Z] -rw-r--r-- 1 jenkins jenkins 24334 Mar 21 05:47 coverage.out [2024-03-21T05:47:53.832Z] -rw-rw-r-- 1 jenkins jenkins 7289 Mar 21 05:41 go.mod [2024-03-21T05:47:53.832Z] -rw-rw-r-- 1 jenkins jenkins 101859 Mar 21 05:41 go.sum [2024-03-21T05:47:53.832Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 21 05:41 internal [2024-03-21T05:47:53.832Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 21 05:41 simulator [2024-03-21T05:47:53.832Z] -rw-rw-r-- 1 jenkins jenkins 229 Mar 21 05:41 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-21T05:47:54.256Z] + 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=3f7c613b0aa0c8785abd02e1ee31bb9de316262e --label arch=arm64 --label version=0.0.0 . [2024-03-21T05:47:54.521Z] Sending build context to Docker daemon 8.832MB [2024-03-21T05:47:54.521Z] Step 1/23 : ARG BASE=golang:1.21-alpine3.18 [2024-03-21T05:47:54.521Z] Step 2/23 : FROM ${BASE} AS builder [2024-03-21T05:47:54.521Z] ---> b507ac0b81d1 [2024-03-21T05:47:54.521Z] Step 3/23 : ARG ADD_BUILD_TAGS="" [2024-03-21T05:47:54.786Z] ---> Running in 2def755c9eb5 [2024-03-21T05:47:55.052Z] Removing intermediate container 2def755c9eb5 [2024-03-21T05:47:55.052Z] ---> 6adf12caf7c2 [2024-03-21T05:47:55.052Z] Step 4/23 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-03-21T05:47:55.052Z] ---> Running in d0e6a5b0296e [2024-03-21T05:47:55.321Z] Removing intermediate container d0e6a5b0296e [2024-03-21T05:47:55.321Z] ---> 40df6f7af0c8 [2024-03-21T05:47:55.321Z] Step 5/23 : RUN apk add --update --no-cache make git openssh [2024-03-21T05:47:55.321Z] ---> Running in 5a627f15dec9 [2024-03-21T05:47:56.282Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-03-21T05:47:56.546Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-03-21T05:47:57.947Z] OK: 272 MiB in 60 packages [2024-03-21T05:47:58.526Z] Removing intermediate container 5a627f15dec9 [2024-03-21T05:47:58.526Z] ---> f8648684f0a9 [2024-03-21T05:47:58.526Z] Step 6/23 : WORKDIR /device-modbus-go [2024-03-21T05:47:58.526Z] ---> Running in cebe7a36440a [2024-03-21T05:47:58.792Z] Removing intermediate container cebe7a36440a [2024-03-21T05:47:58.792Z] ---> 14e1bf49c188 [2024-03-21T05:47:58.792Z] Step 7/23 : COPY go.mod vendor* ./ [2024-03-21T05:47:59.058Z] ---> 849f43c9bdd2 [2024-03-21T05:47:59.058Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-03-21T05:47:59.342Z] ---> Running in 6fc8fa9b25cf [2024-03-21T05:48:01.278Z] Removing intermediate container 6fc8fa9b25cf [2024-03-21T05:48:01.278Z] ---> b98e0df0eb0f [2024-03-21T05:48:01.278Z] Step 9/23 : COPY . . [2024-03-21T05:48:02.234Z] ---> b53996355785 [2024-03-21T05:48:02.234Z] Step 10/23 : RUN ${MAKE} [2024-03-21T05:48:02.234Z] ---> Running in f7928a7e4a17 [2024-03-21T05:48:03.186Z] 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.12" -trimpath -mod=readonly -o cmd/device-modbus ./cmd [2024-03-21T05:50:54.895Z] Removing intermediate container f7928a7e4a17 [2024-03-21T05:50:54.895Z] ---> 667d6eb25e53 [2024-03-21T05:50:54.895Z] Step 11/23 : FROM alpine:3.18 [2024-03-21T05:50:54.895Z] 3.18: Pulling from library/alpine [2024-03-21T05:50:54.895Z] c6b39de5b339: Pulling fs layer [2024-03-21T05:50:54.895Z] c6b39de5b339: Download complete [2024-03-21T05:50:54.895Z] c6b39de5b339: Pull complete [2024-03-21T05:50:54.895Z] Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 [2024-03-21T05:50:54.895Z] Status: Downloaded newer image for alpine:3.18 [2024-03-21T05:50:54.895Z] ---> 33abbf032149 [2024-03-21T05:50:54.895Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2024-03-21T05:50:54.895Z] ---> Running in 7a3ad802a3b4 [2024-03-21T05:50:54.895Z] Removing intermediate container 7a3ad802a3b4 [2024-03-21T05:50:54.895Z] ---> 9ebcb76f6c3c [2024-03-21T05:50:54.895Z] Step 13/23 : RUN apk add --update --no-cache dumb-init [2024-03-21T05:50:54.895Z] ---> Running in eb01f4739c3e [2024-03-21T05:50:54.895Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-03-21T05:50:54.895Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-03-21T05:50:54.895Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-03-21T05:50:54.895Z] Executing busybox-1.36.1-r5.trigger [2024-03-21T05:50:54.895Z] OK: 8 MiB in 16 packages [2024-03-21T05:50:54.895Z] Removing intermediate container eb01f4739c3e [2024-03-21T05:50:54.895Z] ---> f087fb98eb61 [2024-03-21T05:50:54.895Z] Step 14/23 : RUN apk --no-cache upgrade [2024-03-21T05:50:54.895Z] ---> Running in ace2f24f9d6d [2024-03-21T05:50:54.895Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-03-21T05:50:54.895Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-03-21T05:50:54.895Z] (1/1) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) [2024-03-21T05:50:54.895Z] OK: 8 MiB in 16 packages [2024-03-21T05:50:54.895Z] Removing intermediate container ace2f24f9d6d [2024-03-21T05:50:54.895Z] ---> 8d92cd7d9a9a [2024-03-21T05:50:54.895Z] Step 15/23 : COPY --from=builder /device-modbus-go/cmd / [2024-03-21T05:50:54.895Z] ---> 4bee6f7734c9 [2024-03-21T05:50:54.895Z] Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / [2024-03-21T05:50:54.895Z] ---> de066af9fc44 [2024-03-21T05:50:54.895Z] Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / [2024-03-21T05:50:54.895Z] ---> 2d72e987fa85 [2024-03-21T05:50:54.895Z] Step 18/23 : EXPOSE 59901 [2024-03-21T05:50:54.895Z] ---> Running in 2769cc9504cf [2024-03-21T05:50:54.895Z] Removing intermediate container 2769cc9504cf [2024-03-21T05:50:54.895Z] ---> a7d637f11cdb [2024-03-21T05:50:54.895Z] Step 19/23 : ENTRYPOINT ["/device-modbus"] [2024-03-21T05:50:54.895Z] ---> Running in f3eec722ec5c [2024-03-21T05:50:54.895Z] Removing intermediate container f3eec722ec5c [2024-03-21T05:50:54.895Z] ---> a282fa20d87e [2024-03-21T05:50:54.895Z] Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2024-03-21T05:50:54.895Z] ---> Running in a3eeb0519f2a [2024-03-21T05:50:54.895Z] Removing intermediate container a3eeb0519f2a [2024-03-21T05:50:54.895Z] ---> 0d0e9d314fc3 [2024-03-21T05:50:54.895Z] Step 21/23 : LABEL arch=arm64 [2024-03-21T05:50:54.895Z] ---> Running in 027d7d62b7a1 [2024-03-21T05:50:54.895Z] Removing intermediate container 027d7d62b7a1 [2024-03-21T05:50:54.895Z] ---> 3a2b8e80bdcb [2024-03-21T05:50:54.895Z] Step 22/23 : LABEL git_sha=3f7c613b0aa0c8785abd02e1ee31bb9de316262e [2024-03-21T05:50:54.895Z] ---> Running in 0ad87ed8c6bd [2024-03-21T05:50:54.895Z] Removing intermediate container 0ad87ed8c6bd [2024-03-21T05:50:54.895Z] ---> 165da2d331b4 [2024-03-21T05:50:54.895Z] Step 23/23 : LABEL version=0.0.0 [2024-03-21T05:50:54.895Z] ---> Running in 572fe89c95f3 [2024-03-21T05:50:54.895Z] Removing intermediate container 572fe89c95f3 [2024-03-21T05:50:54.895Z] ---> 7a236d7f2a35 [2024-03-21T05:50:54.895Z] [Warning] One or more build-args [ARCH] were not consumed [2024-03-21T05:50:54.895Z] Successfully built 7a236d7f2a35 [2024-03-21T05:50:54.895Z] Successfully tagged device-modbus-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-21T05:50:55.765Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-03-21T05:50:55.765Z] [2024-03-21T05:50:55.765Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-21T05:50:56.178Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-03-21T05:50:56.178Z] arm64: Pulling from edgex-lftools-log-publisher [2024-03-21T05:50:56.178Z] 8998bd30e6a1: Pulling fs layer [2024-03-21T05:50:56.178Z] 04944245beec: Pulling fs layer [2024-03-21T05:50:56.178Z] 699f458cf7ca: Pulling fs layer [2024-03-21T05:50:56.178Z] 765212b225bb: Pulling fs layer [2024-03-21T05:50:56.178Z] f23df028b6ca: Pulling fs layer [2024-03-21T05:50:56.178Z] d65c8cfc05b1: Pulling fs layer [2024-03-21T05:50:56.178Z] 2437ff75d9bd: Pulling fs layer [2024-03-21T05:50:56.178Z] 765212b225bb: Waiting [2024-03-21T05:50:56.178Z] f23df028b6ca: Waiting [2024-03-21T05:50:56.178Z] d65c8cfc05b1: Waiting [2024-03-21T05:50:56.178Z] 2437ff75d9bd: Waiting [2024-03-21T05:50:56.447Z] 04944245beec: Verifying Checksum [2024-03-21T05:50:56.447Z] 04944245beec: Download complete [2024-03-21T05:50:56.447Z] 765212b225bb: Download complete [2024-03-21T05:50:56.447Z] f23df028b6ca: Download complete [2024-03-21T05:50:56.447Z] d65c8cfc05b1: Verifying Checksum [2024-03-21T05:50:56.447Z] d65c8cfc05b1: Download complete [2024-03-21T05:50:56.726Z] 699f458cf7ca: Verifying Checksum [2024-03-21T05:50:56.726Z] 699f458cf7ca: Download complete [2024-03-21T05:50:56.994Z] 8998bd30e6a1: Verifying Checksum [2024-03-21T05:50:56.994Z] 8998bd30e6a1: Download complete [2024-03-21T05:50:59.584Z] 2437ff75d9bd: Verifying Checksum [2024-03-21T05:50:59.584Z] 2437ff75d9bd: Download complete [2024-03-21T05:51:01.526Z] 8998bd30e6a1: Pull complete [2024-03-21T05:51:02.109Z] 04944245beec: Pull complete [2024-03-21T05:51:03.518Z] 699f458cf7ca: Pull complete [2024-03-21T05:51:03.785Z] 765212b225bb: Pull complete [2024-03-21T05:51:04.750Z] f23df028b6ca: Pull complete [2024-03-21T05:51:04.750Z] d65c8cfc05b1: Pull complete [2024-03-21T05:51:22.942Z] 2437ff75d9bd: Pull complete [2024-03-21T05:51:22.942Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-03-21T05:51:22.942Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-03-21T05:51:22.942Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-03-21T05:51:23.288Z] prd-ubuntu20.04-docker-arm64-4c-16g-532 does not seem to be running inside a container [2024-03-21T05:51:23.349Z] $ 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-03-21T05:51:26.101Z] $ docker top 2c30a863e7733dd856e02ee443c9453bb7c90478e9774be73a598b027c30be0f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-03-21T05:51:27.010Z] ---> job-cost.sh [2024-03-21T05:51:27.010Z] lf-activate-venv: SKIPPING [2024-03-21T05:51:27.010Z] INFO: No Stack... [2024-03-21T05:51:27.592Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-03-21T05:51:28.549Z] INFO: Archiving Costs [Pipeline] sh [2024-03-21T05:51:29.212Z] + cut -d, -f6 [2024-03-21T05:51:29.212Z] + cat /w/workspace/device-modbus-go/1/archives/cost.csv [Pipeline] lock [2024-03-21T05:51:29.266Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-546-1-stack-cost] [2024-03-21T05:51:29.271Z] Resource [jenkins-edgexfoundry-device-modbus-go-PR-546-1-stack-cost] did not exist. Created. [2024-03-21T05:51:29.276Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-546-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-03-21T05:51:30.072Z] /w/workspace/device-modbus-go/1@tmp/durable-2a2bbe97/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-03-21T05:51:30.769Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-03-21T05:51:30.805Z] Warning: overwriting stash ‘stack-cost’ [2024-03-21T05:51:30.852Z] Stashed 1 file(s) [Pipeline] } [2024-03-21T05:51:30.872Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-546-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-03-21T05:51:30.966Z] $ docker stop --time=1 2c30a863e7733dd856e02ee443c9453bb7c90478e9774be73a598b027c30be0f [2024-03-21T05:51:32.488Z] $ docker rm -f --volumes 2c30a863e7733dd856e02ee443c9453bb7c90478e9774be73a598b027c30be0f [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-03-21T05:51:33.592Z] provisioning config files... [2024-03-21T05:51:33.600Z] copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-546@tmp/config12543501761798425023tmp [Pipeline] { [Pipeline] sh [2024-03-21T05:51:33.952Z] + set +x [2024-03-21T05:51:33.952Z] + + curlbash -s -s https://codecov.io/bash -- [2024-03-21T05:51:33.952Z] [2024-03-21T05:51:34.211Z] [2024-03-21T05:51:34.211Z] _____ _ [2024-03-21T05:51:34.211Z] / ____| | | [2024-03-21T05:51:34.211Z] | | ___ __| | ___ ___ _____ __ [2024-03-21T05:51:34.211Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2024-03-21T05:51:34.211Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2024-03-21T05:51:34.211Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2024-03-21T05:51:34.211Z] Bash-1.0.6 [2024-03-21T05:51:34.211Z] [2024-03-21T05:51:34.211Z] [2024-03-21T05:51:34.211Z] ==> git version 2.25.1 found [2024-03-21T05:51:34.211Z] ==> 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-03-21T05:51:34.211Z] Release-Date: 2020-01-08 [2024-03-21T05:51:34.211Z] 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-03-21T05:51:34.211Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2024-03-21T05:51:34.211Z] ==> Jenkins CI detected. [2024-03-21T05:51:34.211Z] current dir:  /w/workspace/xfoundry_device-modbus-go_PR-546 [2024-03-21T05:51:34.211Z] project root: . [2024-03-21T05:51:34.211Z] --> token set from env [2024-03-21T05:51:34.211Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2024-03-21T05:51:34.211Z] ==> Running gcov in . (disable via -X gcov) [2024-03-21T05:51:34.211Z] ==> Python coveragepy not found [2024-03-21T05:51:34.211Z] ==> Searching for coverage reports in: [2024-03-21T05:51:34.211Z] + . [2024-03-21T05:51:34.211Z] -> Found 1 reports [2024-03-21T05:51:34.211Z] ==> Detecting git/mercurial file structure [2024-03-21T05:51:34.211Z] ==> Reading reports [2024-03-21T05:51:34.211Z] + ./coverage.out bytes=24334 [2024-03-21T05:51:34.211Z] ==> Appending adjustments [2024-03-21T05:51:34.211Z] https://docs.codecov.io/docs/fixing-reports [2024-03-21T05:51:34.505Z] + Found adjustments [2024-03-21T05:51:34.506Z] ==> Gzipping contents [2024-03-21T05:51:34.506Z] 4.0K /tmp/codecov.kZYfmj.gz [2024-03-21T05:51:34.506Z] ==> Uploading reports [2024-03-21T05:51:34.506Z] url: https://codecov.io [2024-03-21T05:51:34.506Z] query: branch=PR-546&commit=3f7c613b0aa0c8785abd02e1ee31bb9de316262e&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-546%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=546&job=&cmd_args= [2024-03-21T05:51:34.506Z] -> Pinging Codecov [2024-03-21T05:51:34.506Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-546&commit=3f7c613b0aa0c8785abd02e1ee31bb9de316262e&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-546%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=546&job=&cmd_args= [2024-03-21T05:51:34.506Z] -> Uploading to [2024-03-21T05:51:34.506Z] https://storage.googleapis.com/codecov/v4/raw/2024-03-21/55DBCA73C666E3227836607328DD7E49/3f7c613b0aa0c8785abd02e1ee31bb9de316262e/732f331f-14bb-4a71-be92-e09861af8a78.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240321%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20240321T055134Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=b8b02669f39d42967d1d3d375e205904b9d64fc9749551f868431f306bdb7da7 [2024-03-21T05:51:34.506Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-03-21T05:51:34.506Z] Dload Upload Total Spent Left Speed [2024-03-21T05:51:34.786Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3806 0 0 100 3806 0 13544 --:--:-- --:--:-- --:--:-- 13544 [2024-03-21T05:51:34.786Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/3f7c613b0aa0c8785abd02e1ee31bb9de316262e [Pipeline] } [2024-03-21T05:51:34.817Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2024-03-21T05:51:36.759Z] + [ -d /w/workspace/xfoundry_device-modbus-go_PR-546/archives ] [2024-03-21T05:51:36.759Z] + ls -al /w/workspace/xfoundry_device-modbus-go_PR-546/archives [2024-03-21T05:51:36.759Z] total 16 [2024-03-21T05:51:36.759Z] drwxr-xr-x 3 root root 4096 Mar 21 05:42 . [2024-03-21T05:51:36.759Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 21 05:42 .. [2024-03-21T05:51:36.759Z] drwxr-xr-x 2 root root 4096 Mar 21 05:42 cost [2024-03-21T05:51:36.759Z] -rw-r--r-- 1 root root 88 Mar 21 05:42 cost.csv [2024-03-21T05:51:36.759Z] + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-546/archives [2024-03-21T05:51:36.759Z] + ls -al /w/workspace/xfoundry_device-modbus-go_PR-546/archives [2024-03-21T05:51:36.759Z] total 16 [2024-03-21T05:51:36.759Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 21 05:42 . [2024-03-21T05:51:36.759Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 21 05:42 .. [2024-03-21T05:51:36.759Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 21 05:42 cost [2024-03-21T05:51:36.759Z] -rw-r--r-- 1 jenkins jenkins 88 Mar 21 05:42 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-03-21T05:51:37.179Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-03-21T05:51:38.105Z] ---> package-listing.sh [2024-03-21T05:51:38.105Z] ++ facter osfamily [2024-03-21T05:51:38.105Z] ++ tr '[:upper:]' '[:lower:]' [2024-03-21T05:51:38.364Z] + OS_FAMILY=debian [2024-03-21T05:51:38.364Z] + workspace=/w/workspace/xfoundry_device-modbus-go_PR-546 [2024-03-21T05:51:38.364Z] + START_PACKAGES=/tmp/packages_start.txt [2024-03-21T05:51:38.364Z] + END_PACKAGES=/tmp/packages_end.txt [2024-03-21T05:51:38.364Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-03-21T05:51:38.364Z] + PACKAGES=/tmp/packages_start.txt [2024-03-21T05:51:38.364Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-546 ']' [2024-03-21T05:51:38.364Z] + PACKAGES=/tmp/packages_end.txt [2024-03-21T05:51:38.364Z] + case "${OS_FAMILY}" in [2024-03-21T05:51:38.364Z] + dpkg -l [2024-03-21T05:51:38.364Z] + grep '^ii' [2024-03-21T05:51:38.364Z] + '[' -f /tmp/packages_start.txt ']' [2024-03-21T05:51:38.364Z] + '[' -f /tmp/packages_end.txt ']' [2024-03-21T05:51:38.364Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-03-21T05:51:38.364Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-546 ']' [2024-03-21T05:51:38.364Z] + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-546/archives/ [2024-03-21T05:51:38.364Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-546/archives/ [Pipeline] echo [2024-03-21T05:51:38.402Z] 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-546/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-03-21T05:51:38.693Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-21T05:51:39.319Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-03-21T05:51:39.319Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-03-21T05:51:39.476Z] prd-ubuntu20.04-docker-8c-8g-531 does not seem to be running inside a container [2024-03-21T05:51:39.502Z] $ 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-546/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-546 -v /w/workspace/xfoundry_device-modbus-go_PR-546:/w/workspace/xfoundry_device-modbus-go_PR-546:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-546@tmp:/w/workspace/xfoundry_device-modbus-go_PR-546@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-03-21T05:51:39.717Z] $ docker top d98045d7683f1d3385500167838a5f0b06bb7c9a0a7bf1e3d0b7d5ab2cf68e02 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-03-21T05:51:40.129Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-03-21T05:51:40.440Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-03-21T05:51:40.753Z] + ls /var/log/sa-host [2024-03-21T05:51:40.753Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-03-21T05:51:40.975Z] provisioning config files... [2024-03-21T05:51:40.984Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-546@tmp/config10041089053572528120tmp [Pipeline] { [Pipeline] echo [2024-03-21T05:51:41.051Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-03-21T05:51:41.360Z] ---> create-netrc.sh [Pipeline] } [2024-03-21T05:51:41.393Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-03-21T05:51:41.805Z] ---> python-tools-install.sh [Pipeline] echo [2024-03-21T05:51:41.838Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-03-21T05:51:42.146Z] ---> sudo-logs.sh [2024-03-21T05:51:42.146Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-03-21T05:51:42.247Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-03-21T05:51:42.556Z] ---> job-cost.sh [2024-03-21T05:51:42.556Z] lf-activate-venv: SKIPPING [2024-03-21T05:51:42.556Z] DEBUG: total: 0.2199999988079071 [2024-03-21T05:51:42.556Z] INFO: Retrieving Stack Cost... [2024-03-21T05:51:42.814Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-03-21T05:51:43.382Z] INFO: Archiving Costs [Pipeline] echo [2024-03-21T05:51:43.422Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-03-21T05:51:43.737Z] ---> logs-deploy.sh [2024-03-21T05:51:43.737Z] lf-activate-venv: SKIPPING [2024-03-21T05:51:43.737Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-546/1 [2024-03-21T05:51:43.737Z] INFO: archiving workspace using pattern(s): [2024-03-21T05:51:44.673Z] Archives upload complete. [2024-03-21T05:51:44.673Z] INFO: archiving logs to Nexus