Pull request #547 event Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 67d534a3da082ab1a91afc75009c44586036319d+6ffd961e50bad5aafcddb961eadc768a2e323cba (8a72b60e774ce026cef262f771f22827be4a5449) 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-ssh623643403008600275.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-ssh8152351952133213595.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-547/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > 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 > 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-547/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh18276408304232871667.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 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-ssh3204907722943208094.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-547/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags 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-547/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh1319402089429763650.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 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 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-modbus-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-modbus-go-settings PROJECT: device-modbus-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-modbus DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-268’ Running on prd-ubuntu20.04-docker-8c-8g-271 in /w/workspace/xfoundry_device-modbus-go_PR-547 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-modbus-go.git > git init /w/workspace/xfoundry_device-modbus-go_PR-547 # 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/547/head:refs/remotes/origin/PR-547 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 6ffd961e50bad5aafcddb961eadc768a2e323cba into PR head commit 67d534a3da082ab1a91afc75009c44586036319d Merge succeeded, producing 67d534a3da082ab1a91afc75009c44586036319d Checking out Revision 67d534a3da082ab1a91afc75009c44586036319d (PR-547) Commit message: "build(deps): Bump golang.org/x/net from 0.21.0 to 0.23.0" First time build. Skipping changelog. > git config core.sparsecheckout # timeout=10 > git checkout -f 67d534a3da082ab1a91afc75009c44586036319d # 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 6ffd961e50bad5aafcddb961eadc768a2e323cba # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 67d534a3da082ab1a91afc75009c44586036319d # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-05-16T09:44:41.637Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-05-16T09:44:41.720Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-05-16T09:44:41.746Z] ========================================================= [2024-05-16T09:44:41.746Z] EdgeX Global Pipelines Version Info [2024-05-16T09:44:41.746Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-05-16T09:44:42.850Z] ------------------- [2024-05-16T09:44:42.850Z] stable info: [2024-05-16T09:44:42.850Z] ------------------- [2024-05-16T09:44:42.850Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2024-05-16T09:44:42.850Z] Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2024-05-16T09:44:42.850Z] Message: update stable to v1.0.258 [2024-05-16T09:44:43.109Z] ------------------- [2024-05-16T09:44:43.109Z] experimental info: [2024-05-16T09:44:43.109Z] ------------------- [2024-05-16T09:44:43.109Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2024-05-16T09:44:43.109Z] Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2024-05-16T09:44:43.109Z] Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-05-16T09:44:43.198Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo [2024-05-16T09:44:43.221Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo [2024-05-16T09:44:43.244Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-05-16T09:44:43.270Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-05-16T09:44:43.296Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-05-16T09:44:43.326Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2024-05-16T09:44:43.356Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-05-16T09:44:43.382Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2024-05-16T09:44:43.409Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-05-16T09:44:43.431Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-05-16T09:44:43.458Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-05-16T09:44:43.484Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo [2024-05-16T09:44:43.513Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-05-16T09:44:43.539Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-05-16T09:44:43.568Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-05-16T09:44:43.590Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2024-05-16T09:44:43.616Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-05-16T09:44:43.642Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-05-16T09:44:43.668Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-05-16T09:44:43.694Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-05-16T09:44:43.722Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2024-05-16T09:44:43.755Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2024-05-16T09:44:43.776Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-05-16T09:44:43.802Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-05-16T09:44:43.827Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-05-16T09:44:43.853Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-05-16T09:44:43.875Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-05-16T09:44:43.899Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-547 [Pipeline] echo [2024-05-16T09:44:43.922Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-547 [Pipeline] echo [2024-05-16T09:44:43.953Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-547 [Pipeline] echo [2024-05-16T09:44:43.982Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 67d534a3da082ab1a91afc75009c44586036319d [Pipeline] echo [2024-05-16T09:44:44.010Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 67d534a [Pipeline] echo [2024-05-16T09:44:44.036Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-05-16T09:44:44.105Z] provisioning config files... [2024-05-16T09:44:44.118Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-547@tmp/config9070321085706414644tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-05-16T09:44:44.449Z] ---> ****-login.sh [2024-05-16T09:44:44.449Z] nexus3.edgexfoundry.org:10001 [2024-05-16T09:44:44.710Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-16T09:44:44.710Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-16T09:44:44.710Z] Configure a credential helper to remove this warning. See [2024-05-16T09:44:44.711Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-16T09:44:44.711Z] [2024-05-16T09:44:44.711Z] Login Succeeded [2024-05-16T09:44:44.711Z] nexus3.edgexfoundry.org:10002 [2024-05-16T09:44:44.711Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-16T09:44:44.711Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-16T09:44:44.711Z] Configure a credential helper to remove this warning. See [2024-05-16T09:44:44.711Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-16T09:44:44.711Z] [2024-05-16T09:44:44.711Z] Login Succeeded [2024-05-16T09:44:44.711Z] nexus3.edgexfoundry.org:10003 [2024-05-16T09:44:44.971Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-16T09:44:44.971Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-16T09:44:44.971Z] Configure a credential helper to remove this warning. See [2024-05-16T09:44:44.971Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-16T09:44:44.971Z] [2024-05-16T09:44:44.971Z] Login Succeeded [2024-05-16T09:44:44.971Z] nexus3.edgexfoundry.org:10004 [2024-05-16T09:44:44.971Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-16T09:44:44.971Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-16T09:44:44.971Z] Configure a credential helper to remove this warning. See [2024-05-16T09:44:44.971Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-16T09:44:44.971Z] [2024-05-16T09:44:44.971Z] Login Succeeded [2024-05-16T09:44:44.971Z] ****.io [2024-05-16T09:44:45.231Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-16T09:44:45.231Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-16T09:44:45.231Z] Configure a credential helper to remove this warning. See [2024-05-16T09:44:45.231Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-16T09:44:45.231Z] [2024-05-16T09:44:45.231Z] Login Succeeded [2024-05-16T09:44:45.231Z] ---> ****-login.sh ends [Pipeline] } [2024-05-16T09:44:45.238Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-05-16T09:44:45.653Z] + git rev-list -1 --merges 67d534a3da082ab1a91afc75009c44586036319d~1..67d534a3da082ab1a91afc75009c44586036319d [Pipeline] echo [2024-05-16T09:44:45.680Z] -----------> git rev-list -1 --merges 67d534a3da082ab1a91afc75009c44586036319d~1..67d534a3da082ab1a91afc75009c44586036319d 67d534a3da082ab1a91afc75009c44586036319d [false] [Pipeline] sh [2024-05-16T09:44:45.970Z] + git log --format=format:%s -1 67d534a3da082ab1a91afc75009c44586036319d [Pipeline] echo [2024-05-16T09:44:45.986Z] ========================================================= [2024-05-16T09:44:45.986Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-05-16T09:44:45.986Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-05-16T09:44:46.329Z] + git log --format=format:%s -1 67d534a3da082ab1a91afc75009c44586036319d [Pipeline] echo [2024-05-16T09:44:46.341Z] [semverPrep] GIT_COMMIT: 67d534a3da082ab1a91afc75009c44586036319d, Commit Message: build(deps): Bump golang.org/x/net from 0.21.0 to 0.23.0 [Pipeline] echo [2024-05-16T09:44:46.361Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-05-16T09:44:46.715Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-05-16T09:44:46.716Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-05-16T09:44:46.716Z] + [ -e /tmp/ssh_known_hosts ] [2024-05-16T09:44:46.716Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-05-16T09:44:46.716Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-05-16T09:44:46.716Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2024-05-16T09:44:46.716Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-16T09:44:47.063Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-05-16T09:44:47.063Z] [2024-05-16T09:44:47.063Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-16T09:44:47.378Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-05-16T09:44:47.378Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-05-16T09:44:47.378Z] b85a868b505f: Pulling fs layer [2024-05-16T09:44:47.378Z] e2be974225ed: Pulling fs layer [2024-05-16T09:44:47.378Z] 339a4e72a1f5: Pulling fs layer [2024-05-16T09:44:47.378Z] 988bab9f4d93: Pulling fs layer [2024-05-16T09:44:47.378Z] 1469e6f7b9e6: Pulling fs layer [2024-05-16T09:44:47.378Z] eaf3925da568: Pulling fs layer [2024-05-16T09:44:47.378Z] bab4dde63d76: Pulling fs layer [2024-05-16T09:44:47.378Z] bde34c3a00c8: Pulling fs layer [2024-05-16T09:44:47.378Z] b352a97aabf1: Pulling fs layer [2024-05-16T09:44:47.378Z] 4872d77fe225: Pulling fs layer [2024-05-16T09:44:47.378Z] 5851b861e8e6: Pulling fs layer [2024-05-16T09:44:47.378Z] eaf3925da568: Waiting [2024-05-16T09:44:47.378Z] bab4dde63d76: Waiting [2024-05-16T09:44:47.378Z] bde34c3a00c8: Waiting [2024-05-16T09:44:47.378Z] 988bab9f4d93: Waiting [2024-05-16T09:44:47.378Z] b352a97aabf1: Waiting [2024-05-16T09:44:47.378Z] 4872d77fe225: Waiting [2024-05-16T09:44:47.378Z] 1469e6f7b9e6: Waiting [2024-05-16T09:44:47.378Z] 5851b861e8e6: Waiting [2024-05-16T09:44:47.378Z] e2be974225ed: Verifying Checksum [2024-05-16T09:44:47.378Z] e2be974225ed: Download complete [2024-05-16T09:44:47.378Z] 988bab9f4d93: Download complete [2024-05-16T09:44:47.378Z] 1469e6f7b9e6: Verifying Checksum [2024-05-16T09:44:47.378Z] eaf3925da568: Verifying Checksum [2024-05-16T09:44:47.378Z] eaf3925da568: Download complete [2024-05-16T09:44:47.649Z] 339a4e72a1f5: Verifying Checksum [2024-05-16T09:44:47.649Z] 339a4e72a1f5: Download complete [2024-05-16T09:44:47.649Z] bde34c3a00c8: Verifying Checksum [2024-05-16T09:44:47.649Z] bde34c3a00c8: Download complete [2024-05-16T09:44:47.649Z] b352a97aabf1: Verifying Checksum [2024-05-16T09:44:47.649Z] b352a97aabf1: Download complete [2024-05-16T09:44:47.649Z] 4872d77fe225: Verifying Checksum [2024-05-16T09:44:47.649Z] 4872d77fe225: Download complete [2024-05-16T09:44:47.649Z] 5851b861e8e6: Download complete [2024-05-16T09:44:47.649Z] b85a868b505f: Verifying Checksum [2024-05-16T09:44:47.649Z] b85a868b505f: Download complete [2024-05-16T09:44:47.911Z] bab4dde63d76: Verifying Checksum [2024-05-16T09:44:47.911Z] bab4dde63d76: Download complete [2024-05-16T09:44:49.292Z] b85a868b505f: Pull complete [2024-05-16T09:44:49.550Z] e2be974225ed: Pull complete [2024-05-16T09:44:50.492Z] 339a4e72a1f5: Pull complete [2024-05-16T09:44:50.753Z] 988bab9f4d93: Pull complete [2024-05-16T09:44:51.322Z] 1469e6f7b9e6: Pull complete [2024-05-16T09:44:51.900Z] eaf3925da568: Pull complete [2024-05-16T09:44:53.812Z] bab4dde63d76: Pull complete [2024-05-16T09:44:54.093Z] bde34c3a00c8: Pull complete [2024-05-16T09:44:54.354Z] b352a97aabf1: Pull complete [2024-05-16T09:44:54.354Z] 4872d77fe225: Pull complete [2024-05-16T09:44:54.354Z] 5851b861e8e6: Pull complete [2024-05-16T09:44:54.354Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-05-16T09:44:54.354Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-05-16T09:44:54.354Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-16T09:44:54.514Z] prd-ubuntu20.04-docker-8c-8g-271 does not seem to be running inside a container [2024-05-16T09:44:54.551Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-547 -v /w/workspace/xfoundry_device-modbus-go_PR-547:/w/workspace/xfoundry_device-modbus-go_PR-547:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-547@tmp:/w/workspace/xfoundry_device-modbus-go_PR-547@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-devops/py-git-semver:0.1.4 cat [2024-05-16T09:44:57.888Z] $ docker top 34e91ba119ebefb6c1432acdd1dc2c57a1c78e7c441c00d2d63281a1dfff50b1 -eo pid,comm [2024-05-16T09:44:57.944Z] 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-05-16T09:44:57.945Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-05-16T09:44:57.999Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-05-16T09:44:57.999Z] [ssh-agent] Looking for ssh-agent implementation... [2024-05-16T09:44:58.110Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-05-16T09:44:58.111Z] $ docker exec 34e91ba119ebefb6c1432acdd1dc2c57a1c78e7c441c00d2d63281a1dfff50b1 ssh-agent [2024-05-16T09:44:58.222Z] SSH_AUTH_SOCK=/tmp/ssh-SjYlUCFPJXTM/agent.32 [2024-05-16T09:44:58.222Z] SSH_AGENT_PID=38 [2024-05-16T09:44:58.230Z] Running ssh-add (command line suppressed) [2024-05-16T09:44:58.328Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-547@tmp/private_key_2580985530006441225.key (/w/workspace/xfoundry_device-modbus-go_PR-547@tmp/private_key_2580985530006441225.key) [2024-05-16T09:44:58.346Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-05-16T09:44:58.648Z] + git tag --points-at HEAD [Pipeline] } [2024-05-16T09:44:58.658Z] $ docker exec --env ******** --env ******** 34e91ba119ebefb6c1432acdd1dc2c57a1c78e7c441c00d2d63281a1dfff50b1 ssh-agent -k [2024-05-16T09:44:58.748Z] unset SSH_AUTH_SOCK; [2024-05-16T09:44:58.749Z] unset SSH_AGENT_PID; [2024-05-16T09:44:58.749Z] echo Agent pid 38 killed; [2024-05-16T09:44:58.761Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-05-16T09:44:58.802Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-05-16T09:44:58.802Z] [ssh-agent] Looking for ssh-agent implementation... [2024-05-16T09:44:58.938Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-05-16T09:44:58.939Z] $ docker exec 34e91ba119ebefb6c1432acdd1dc2c57a1c78e7c441c00d2d63281a1dfff50b1 ssh-agent [2024-05-16T09:44:59.055Z] SSH_AUTH_SOCK=/tmp/ssh-PfMKM02nFykA/agent.71 [2024-05-16T09:44:59.055Z] SSH_AGENT_PID=78 [2024-05-16T09:44:59.061Z] Running ssh-add (command line suppressed) [2024-05-16T09:44:59.155Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-547@tmp/private_key_1637228122436922026.key (/w/workspace/xfoundry_device-modbus-go_PR-547@tmp/private_key_1637228122436922026.key) [2024-05-16T09:44:59.172Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-05-16T09:44:59.469Z] + git semver init [2024-05-16T09:44:59.729Z] 2024-05-16 09:44:59,663 [run_init] DEBUG init version:0.0.0 force:False [2024-05-16T09:44:59.729Z] 2024-05-16 09:44:59,664 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-modbus-go_PR-547/.semver [2024-05-16T09:44:59.729Z] 2024-05-16 09:44:59,664 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/xfoundry_device-modbus-go_PR-547/.semver [2024-05-16T09:44:59.729Z] 2024-05-16 09:44:59,665 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/xfoundry_device-modbus-go_PR-547/.semver'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-547, universal_newlines=False, shell=None, istream=None) [2024-05-16T09:45:01.117Z] 2024-05-16 09:45:01,003 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-modbus-go_PR-547/.git/info/exclude [2024-05-16T09:45:01.117Z] 2024-05-16 09:45:01,004 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-modbus-go_PR-547/.semver/PR-547 with force:False [2024-05-16T09:45:01.117Z] 2024-05-16 09:45:01,004 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-modbus-go_PR-547/.semver/PR-547 [2024-05-16T09:45:01.117Z] 2024-05-16 09:45:01,009 [execute] INFO git cat-file --batch-check [2024-05-16T09:45:01.117Z] 2024-05-16 09:45:01,010 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-547/.semver, universal_newlines=False, shell=None, istream=) [2024-05-16T09:45:01.117Z] 2024-05-16 09:45:01,017 [execute] INFO git cat-file --batch [2024-05-16T09:45:01.117Z] 2024-05-16 09:45:01,018 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-547/.semver, universal_newlines=False, shell=None, istream=) [2024-05-16T09:45:01.117Z] 2024-05-16 09:45:01,024 [read_version] DEBUG read version from /w/workspace/xfoundry_device-modbus-go_PR-547/.semver/PR-547 [2024-05-16T09:45:01.117Z] 0.0.0 [Pipeline] } [2024-05-16T09:45:01.125Z] $ docker exec --env ******** --env ******** 34e91ba119ebefb6c1432acdd1dc2c57a1c78e7c441c00d2d63281a1dfff50b1 ssh-agent -k [2024-05-16T09:45:01.225Z] unset SSH_AUTH_SOCK; [2024-05-16T09:45:01.225Z] unset SSH_AGENT_PID; [2024-05-16T09:45:01.225Z] echo Agent pid 78 killed; [2024-05-16T09:45:01.247Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-05-16T09:45:01.585Z] + git semver [Pipeline] } [2024-05-16T09:45:01.857Z] $ docker stop --time=1 34e91ba119ebefb6c1432acdd1dc2c57a1c78e7c441c00d2d63281a1dfff50b1 [2024-05-16T09:45:03.172Z] $ docker rm -f --volumes 34e91ba119ebefb6c1432acdd1dc2c57a1c78e7c441c00d2d63281a1dfff50b1 [Pipeline] // withDockerContainer [Pipeline] sh [2024-05-16T09:45:03.512Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-05-16T09:45:03.838Z] Stashed 1 file(s) [Pipeline] echo [2024-05-16T09:45:03.842Z] [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-05-16T09:45:04.042Z] provisioning config files... [2024-05-16T09:45:04.053Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-547@tmp/config1668512042576187463tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-05-16T09:45:04.367Z] ---> ****-login.sh [2024-05-16T09:45:04.367Z] nexus3.edgexfoundry.org:10001 [2024-05-16T09:45:04.367Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-16T09:45:04.367Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-16T09:45:04.367Z] Configure a credential helper to remove this warning. See [2024-05-16T09:45:04.367Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-16T09:45:04.367Z] [2024-05-16T09:45:04.367Z] Login Succeeded [2024-05-16T09:45:04.367Z] nexus3.edgexfoundry.org:10002 [2024-05-16T09:45:04.367Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-16T09:45:04.367Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-16T09:45:04.367Z] Configure a credential helper to remove this warning. See [2024-05-16T09:45:04.367Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-16T09:45:04.367Z] [2024-05-16T09:45:04.367Z] Login Succeeded [2024-05-16T09:45:04.367Z] nexus3.edgexfoundry.org:10003 [2024-05-16T09:45:04.626Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-16T09:45:04.626Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-16T09:45:04.626Z] Configure a credential helper to remove this warning. See [2024-05-16T09:45:04.627Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-16T09:45:04.627Z] [2024-05-16T09:45:04.627Z] Login Succeeded [2024-05-16T09:45:04.627Z] nexus3.edgexfoundry.org:10004 [2024-05-16T09:45:04.627Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-16T09:45:04.627Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-16T09:45:04.627Z] Configure a credential helper to remove this warning. See [2024-05-16T09:45:04.627Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-16T09:45:04.627Z] [2024-05-16T09:45:04.627Z] Login Succeeded [2024-05-16T09:45:04.627Z] ****.io [2024-05-16T09:45:04.885Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-16T09:45:04.885Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-16T09:45:04.885Z] Configure a credential helper to remove this warning. See [2024-05-16T09:45:04.885Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-16T09:45:04.885Z] [2024-05-16T09:45:04.885Z] Login Succeeded [2024-05-16T09:45:04.885Z] ---> ****-login.sh ends [Pipeline] } [2024-05-16T09:45:04.892Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-05-16T09:45:04.987Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-05-16T09:45:05.007Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-05-16T09:45:05.021Z] ========================================================= [2024-05-16T09:45:05.021Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2024-05-16T09:45:05.021Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-16T09:45:05.367Z] + 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-05-16T09:45:05.367Z] Sending build context to Docker daemon 20.92MB [2024-05-16T09:45:05.367Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2024-05-16T09:45:05.367Z] Step 2/10 : FROM ${BASE} AS builder [2024-05-16T09:45:05.627Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2024-05-16T09:45:05.627Z] 619be1103602: Pulling fs layer [2024-05-16T09:45:05.627Z] 7862e08f4a3e: Pulling fs layer [2024-05-16T09:45:05.627Z] 5df492c9dc93: Pulling fs layer [2024-05-16T09:45:05.627Z] 7629e6793208: Pulling fs layer [2024-05-16T09:45:05.627Z] 4f4fb700ef54: Pulling fs layer [2024-05-16T09:45:05.627Z] fb5054dd5b73: Pulling fs layer [2024-05-16T09:45:05.627Z] eeca6798cff9: Pulling fs layer [2024-05-16T09:45:05.627Z] eeca6798cff9: Waiting [2024-05-16T09:45:05.627Z] fb5054dd5b73: Waiting [2024-05-16T09:45:05.627Z] 7629e6793208: Waiting [2024-05-16T09:45:05.627Z] aa269ceb94a6: Pulling fs layer [2024-05-16T09:45:05.627Z] ada007ff1a6a: Pulling fs layer [2024-05-16T09:45:05.627Z] aa269ceb94a6: Waiting [2024-05-16T09:45:05.627Z] 7862e08f4a3e: Verifying Checksum [2024-05-16T09:45:05.627Z] 7862e08f4a3e: Download complete [2024-05-16T09:45:05.627Z] 7629e6793208: Download complete [2024-05-16T09:45:05.627Z] 4f4fb700ef54: Verifying Checksum [2024-05-16T09:45:05.627Z] 4f4fb700ef54: Download complete [2024-05-16T09:45:05.627Z] fb5054dd5b73: Verifying Checksum [2024-05-16T09:45:05.627Z] fb5054dd5b73: Download complete [2024-05-16T09:45:05.627Z] 619be1103602: Verifying Checksum [2024-05-16T09:45:05.627Z] 619be1103602: Download complete [2024-05-16T09:45:05.627Z] eeca6798cff9: Verifying Checksum [2024-05-16T09:45:05.627Z] eeca6798cff9: Download complete [2024-05-16T09:45:05.884Z] 619be1103602: Pull complete [2024-05-16T09:45:05.884Z] ada007ff1a6a: Verifying Checksum [2024-05-16T09:45:05.884Z] ada007ff1a6a: Download complete [2024-05-16T09:45:05.884Z] 7862e08f4a3e: Pull complete [2024-05-16T09:45:06.142Z] 5df492c9dc93: Verifying Checksum [2024-05-16T09:45:06.142Z] 5df492c9dc93: Download complete [2024-05-16T09:45:06.401Z] aa269ceb94a6: Verifying Checksum [2024-05-16T09:45:06.401Z] aa269ceb94a6: Download complete [2024-05-16T09:45:10.586Z] 5df492c9dc93: Pull complete [2024-05-16T09:45:10.586Z] 7629e6793208: Pull complete [2024-05-16T09:45:10.847Z] 4f4fb700ef54: Pull complete [2024-05-16T09:45:11.107Z] fb5054dd5b73: Pull complete [2024-05-16T09:45:11.365Z] eeca6798cff9: Pull complete [2024-05-16T09:45:13.898Z] aa269ceb94a6: Pull complete [2024-05-16T09:45:14.465Z] ada007ff1a6a: Pull complete [2024-05-16T09:45:14.465Z] Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 [2024-05-16T09:45:14.465Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2024-05-16T09:45:14.465Z] ---> f489d0715acc [2024-05-16T09:45:14.465Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2024-05-16T09:45:18.979Z] Still waiting to schedule task [2024-05-16T09:45:18.979Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-269’ is offline [2024-05-16T09:45:21.071Z] ---> Running in b401a567c4f3 [2024-05-16T09:45:21.071Z] Removing intermediate container b401a567c4f3 [2024-05-16T09:45:21.071Z] ---> 66c9f2260bf1 [2024-05-16T09:45:21.071Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-05-16T09:45:21.071Z] ---> Running in 36227ef79fa3 [2024-05-16T09:45:21.071Z] Removing intermediate container 36227ef79fa3 [2024-05-16T09:45:21.071Z] ---> bf6fd7b1036f [2024-05-16T09:45:21.071Z] Step 5/10 : RUN apk add --update --no-cache make git openssh [2024-05-16T09:45:21.071Z] ---> Running in 249bde4c9b2c [2024-05-16T09:45:21.071Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-05-16T09:45:21.071Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-05-16T09:45:21.071Z] (1/8) Installing openssh-keygen (9.3_p2-r1) [2024-05-16T09:45:21.071Z] (2/8) Installing libedit (20221030.3.1-r1) [2024-05-16T09:45:21.071Z] (3/8) Installing openssh-client-common (9.3_p2-r1) [2024-05-16T09:45:21.071Z] (4/8) Installing openssh-client-default (9.3_p2-r1) [2024-05-16T09:45:21.071Z] (5/8) Installing openssh-sftp-server (9.3_p2-r1) [2024-05-16T09:45:21.071Z] (6/8) Installing openssh-server-common (9.3_p2-r1) [2024-05-16T09:45:21.071Z] (7/8) Installing openssh-server (9.3_p2-r1) [2024-05-16T09:45:21.071Z] (8/8) Installing openssh (9.3_p2-r1) [2024-05-16T09:45:21.071Z] Executing busybox-1.36.1-r5.trigger [2024-05-16T09:45:21.071Z] OK: 270 MiB in 60 packages [2024-05-16T09:45:21.329Z] Removing intermediate container 249bde4c9b2c [2024-05-16T09:45:21.329Z] ---> 86e661659627 [2024-05-16T09:45:21.329Z] Step 6/10 : WORKDIR /device-modbus-go [2024-05-16T09:45:21.588Z] ---> Running in f6d872c935ce [2024-05-16T09:45:21.588Z] Removing intermediate container f6d872c935ce [2024-05-16T09:45:21.588Z] ---> e9ccf1f726f3 [2024-05-16T09:45:21.588Z] Step 7/10 : COPY go.mod vendor* ./ [2024-05-16T09:45:21.588Z] ---> 0ab02df5cbdc [2024-05-16T09:45:21.588Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-05-16T09:45:21.588Z] ---> Running in 2c30e023f753 [2024-05-16T09:46:17.857Z] Removing intermediate container 2c30e023f753 [2024-05-16T09:46:17.857Z] ---> 9999af54cf17 [2024-05-16T09:46:17.857Z] Step 9/10 : COPY . . [2024-05-16T09:46:17.857Z] ---> 55750fed7730 [2024-05-16T09:46:17.857Z] Step 10/10 : RUN ${MAKE} [2024-05-16T09:46:17.857Z] ---> Running in d90a3212bb57 [2024-05-16T09:46:17.857Z] noop [2024-05-16T09:46:17.857Z] Removing intermediate container d90a3212bb57 [2024-05-16T09:46:17.857Z] ---> fc49fd66320b [2024-05-16T09:46:17.857Z] Successfully built fc49fd66320b [2024-05-16T09:46:17.857Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-16T09:46:18.264Z] + docker inspect -f . ci-base-image-x86_64 [2024-05-16T09:46:18.264Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-16T09:46:18.335Z] prd-ubuntu20.04-docker-8c-8g-271 does not seem to be running inside a container [2024-05-16T09:46:18.361Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-547 -v /w/workspace/xfoundry_device-modbus-go_PR-547:/w/workspace/xfoundry_device-modbus-go_PR-547:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-547@tmp:/w/workspace/xfoundry_device-modbus-go_PR-547@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-05-16T09:46:18.693Z] $ docker top a6b3d235bda54c2343ddd7c6401a733619906ca79b28f9a361c10cb2981b927e -eo pid,comm [Pipeline] { [Pipeline] sh [2024-05-16T09:46:19.043Z] + go version [2024-05-16T09:46:19.043Z] go version go1.21.9 linux/amd64 [Pipeline] } [2024-05-16T09:46:19.050Z] $ docker stop --time=1 a6b3d235bda54c2343ddd7c6401a733619906ca79b28f9a361c10cb2981b927e [2024-05-16T09:46:20.299Z] $ docker rm -f --volumes a6b3d235bda54c2343ddd7c6401a733619906ca79b28f9a361c10cb2981b927e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-16T09:46:20.733Z] + docker inspect -f . ci-base-image-x86_64 [2024-05-16T09:46:20.733Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-16T09:46:20.806Z] prd-ubuntu20.04-docker-8c-8g-271 does not seem to be running inside a container [2024-05-16T09:46:20.835Z] $ 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-547 -v /w/workspace/xfoundry_device-modbus-go_PR-547:/w/workspace/xfoundry_device-modbus-go_PR-547:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-547@tmp:/w/workspace/xfoundry_device-modbus-go_PR-547@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-05-16T09:46:21.121Z] $ docker top 2885de3a67b0a0e68f06637107355486160fc233141a924e7bd5e0ccecf10c91 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-05-16T09:46:21.475Z] + git config --global --add safe.directory /w/workspace/xfoundry_device-modbus-go_PR-547 [Pipeline] fileExists [Pipeline] sh [2024-05-16T09:46:21.773Z] + make test [2024-05-16T09:46:21.773Z] go test ./... -coverprofile=coverage.out [2024-05-16T09:46:23.671Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2024-05-16T09:46:41.766Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2024-05-16T09:46:41.766Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.017s coverage: 47.9% of statements [2024-05-16T09:46:49.874Z] go vet ./... [2024-05-16T09:46:55.131Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-05-16T09:46:55.131Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-05-16T09:46:55.131Z] ./bin/test-attribution-txt.sh [2024-05-16T09:46:55.131Z] An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add [2024-05-16T09:46:55.131Z] An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add [2024-05-16T09:46:55.131Z] An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add [2024-05-16T09:46:55.131Z] An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add [2024-05-16T09:46:55.131Z] An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add [2024-05-16T09:46:55.131Z] An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add [2024-05-16T09:46:55.131Z] An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add [2024-05-16T09:46:55.131Z] An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add [2024-05-16T09:46:55.131Z] An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add [2024-05-16T09:46:55.131Z] An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add [2024-05-16T09:46:55.131Z] An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add [2024-05-16T09:46:55.131Z] An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add [2024-05-16T09:46:55.131Z] An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add [2024-05-16T09:46:55.131Z] An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add [2024-05-16T09:46:55.131Z] An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add [2024-05-16T09:46:55.131Z] An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add [2024-05-16T09:46:55.131Z] An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add [2024-05-16T09:46:55.131Z] An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add [2024-05-16T09:46:55.131Z] An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add [2024-05-16T09:46:55.131Z] An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add [2024-05-16T09:46:55.131Z] An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add [2024-05-16T09:46:55.131Z] An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add [2024-05-16T09:46:55.390Z] An attribution for github.com/josharian/intern is missing from Attribution.txt, please add [2024-05-16T09:46:55.390Z] An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add [2024-05-16T09:46:55.390Z] An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add [2024-05-16T09:46:55.390Z] An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add [2024-05-16T09:46:55.390Z] An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add [2024-05-16T09:46:55.390Z] An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add [2024-05-16T09:46:55.390Z] An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add [2024-05-16T09:46:55.390Z] An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add [2024-05-16T09:46:55.390Z] An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add [2024-05-16T09:46:55.390Z] An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add [2024-05-16T09:46:55.390Z] An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add [2024-05-16T09:46:55.390Z] An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add [2024-05-16T09:46:55.390Z] An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add [2024-05-16T09:46:55.390Z] An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add [2024-05-16T09:46:55.390Z] An attribution for github.com/openziti/identity is missing from Attribution.txt, please add [2024-05-16T09:46:55.390Z] An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add [2024-05-16T09:46:55.390Z] An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add [2024-05-16T09:46:55.390Z] An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add [2024-05-16T09:46:55.390Z] An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add [2024-05-16T09:46:55.390Z] An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add [2024-05-16T09:46:55.390Z] An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add [2024-05-16T09:46:55.390Z] An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add [2024-05-16T09:46:55.390Z] An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add [2024-05-16T09:46:55.390Z] An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add [2024-05-16T09:46:55.390Z] An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add [2024-05-16T09:46:55.390Z] An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add [2024-05-16T09:46:55.390Z] An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add [2024-05-16T09:46:55.390Z] An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add [2024-05-16T09:46:55.390Z] An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add [2024-05-16T09:46:55.390Z] An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add [2024-05-16T09:46:55.390Z] An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add [2024-05-16T09:46:55.390Z] An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add [2024-05-16T09:46:55.390Z] An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add [2024-05-16T09:46:55.390Z] An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add [2024-05-16T09:46:55.390Z] An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add [2024-05-16T09:46:55.390Z] An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add [2024-05-16T09:46:55.390Z] An attribution for golang.org/x/term is missing from Attribution.txt, please add [2024-05-16T09:46:55.391Z] An attribution for google.golang.org/appengine is missing from Attribution.txt, please add [2024-05-16T09:46:55.391Z] An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [2024-05-16T09:46:55.391Z] An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo [2024-05-16T09:46:55.405Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-05-16T09:46:55.417Z] $ docker stop --time=1 2885de3a67b0a0e68f06637107355486160fc233141a924e7bd5e0ccecf10c91 [2024-05-16T09:47:02.215Z] $ docker rm -f --volumes 2885de3a67b0a0e68f06637107355486160fc233141a924e7bd5e0ccecf10c91 [Pipeline] // withDockerContainer [Pipeline] sh [2024-05-16T09:47:02.752Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-05-16T09:47:02.817Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2024-05-16T09:47:03.247Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-05-16T09:47:03.532Z] + ls -al . [2024-05-16T09:47:03.532Z] total 264 [2024-05-16T09:47:03.532Z] drwxrwxr-x 9 jenkins jenkins 4096 May 16 09:46 . [2024-05-16T09:47:03.532Z] drwxrwxr-x 4 jenkins jenkins 4096 May 16 09:44 .. [2024-05-16T09:47:03.532Z] -rw-rw-r-- 1 jenkins jenkins 140 May 16 09:44 .dockerignore [2024-05-16T09:47:03.533Z] drwxrwxr-x 8 jenkins jenkins 4096 May 16 09:46 .git [2024-05-16T09:47:03.533Z] drwxrwxr-x 3 jenkins jenkins 4096 May 16 09:44 .github [2024-05-16T09:47:03.533Z] -rw-rw-r-- 1 jenkins jenkins 266 May 16 09:44 .gitignore [2024-05-16T09:47:03.533Z] -rw-rw-r-- 1 jenkins jenkins 41 May 16 09:44 .golangci.yml [2024-05-16T09:47:03.533Z] drwxr-xr-x 3 jenkins jenkins 4096 May 16 09:45 .semver [2024-05-16T09:47:03.533Z] -rw-rw-r-- 1 jenkins jenkins 11101 May 16 09:44 Attribution.txt [2024-05-16T09:47:03.533Z] -rw-rw-r-- 1 jenkins jenkins 16388 May 16 09:44 CHANGELOG.md [2024-05-16T09:47:03.533Z] -rw-rw-r-- 1 jenkins jenkins 1474 May 16 09:44 Dockerfile [2024-05-16T09:47:03.533Z] -rw-rw-r-- 1 jenkins jenkins 677 May 16 09:44 GOVERNANCE.md [2024-05-16T09:47:03.533Z] -rw-rw-r-- 1 jenkins jenkins 658 May 16 09:44 Jenkinsfile [2024-05-16T09:47:03.533Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 16 09:44 LICENSE [2024-05-16T09:47:03.533Z] -rw-rw-r-- 1 jenkins jenkins 1942 May 16 09:44 Makefile [2024-05-16T09:47:03.533Z] -rw-rw-r-- 1 jenkins jenkins 622 May 16 09:44 OWNERS.md [2024-05-16T09:47:03.533Z] -rw-rw-r-- 1 jenkins jenkins 4463 May 16 09:44 README.md [2024-05-16T09:47:03.533Z] -rw-rw-r-- 1 jenkins jenkins 5 May 16 09:45 VERSION [2024-05-16T09:47:03.533Z] drwxrwxr-x 2 jenkins jenkins 4096 May 16 09:44 bin [2024-05-16T09:47:03.533Z] drwxrwxr-x 3 jenkins jenkins 4096 May 16 09:44 cmd [2024-05-16T09:47:03.533Z] -rw-r--r-- 1 jenkins jenkins 24601 May 16 09:46 coverage.out [2024-05-16T09:47:03.533Z] -rw-rw-r-- 1 jenkins jenkins 7289 May 16 09:44 go.mod [2024-05-16T09:47:03.533Z] -rw-rw-r-- 1 jenkins jenkins 101939 May 16 09:44 go.sum [2024-05-16T09:47:03.533Z] drwxrwxr-x 3 jenkins jenkins 4096 May 16 09:44 internal [2024-05-16T09:47:03.533Z] drwxrwxr-x 2 jenkins jenkins 4096 May 16 09:44 simulator [2024-05-16T09:47:03.533Z] -rw-rw-r-- 1 jenkins jenkins 229 May 16 09:44 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-16T09:47:03.851Z] + 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=67d534a3da082ab1a91afc75009c44586036319d --label arch=amd64 --label version=0.0.0 . [2024-05-16T09:47:03.852Z] Sending build context to Docker daemon 20.95MB [2024-05-16T09:47:03.852Z] Step 1/23 : ARG BASE=golang:1.21-alpine3.18 [2024-05-16T09:47:03.852Z] Step 2/23 : FROM ${BASE} AS builder [2024-05-16T09:47:03.852Z] ---> fc49fd66320b [2024-05-16T09:47:03.852Z] Step 3/23 : ARG ADD_BUILD_TAGS="" [2024-05-16T09:47:04.110Z] ---> Running in b5dc90c4bb8e [2024-05-16T09:47:04.368Z] Removing intermediate container b5dc90c4bb8e [2024-05-16T09:47:04.368Z] ---> cf6e6f4d3d66 [2024-05-16T09:47:04.368Z] Step 4/23 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-05-16T09:47:04.368Z] ---> Running in 24d0dc5bac24 [2024-05-16T09:47:04.368Z] Removing intermediate container 24d0dc5bac24 [2024-05-16T09:47:04.368Z] ---> 7f201d18f752 [2024-05-16T09:47:04.368Z] Step 5/23 : RUN apk add --update --no-cache make git openssh [2024-05-16T09:47:04.368Z] ---> Running in 61535c25df31 [2024-05-16T09:47:04.628Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-05-16T09:47:04.628Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-05-16T09:47:04.887Z] OK: 270 MiB in 60 packages [2024-05-16T09:47:05.147Z] Removing intermediate container 61535c25df31 [2024-05-16T09:47:05.147Z] ---> 5fd90a56f0c9 [2024-05-16T09:47:05.147Z] Step 6/23 : WORKDIR /device-modbus-go [2024-05-16T09:47:05.147Z] ---> Running in 58453a5b8ceb [2024-05-16T09:47:05.406Z] Removing intermediate container 58453a5b8ceb [2024-05-16T09:47:05.406Z] ---> 70655124c580 [2024-05-16T09:47:05.406Z] Step 7/23 : COPY go.mod vendor* ./ [2024-05-16T09:47:05.406Z] ---> 0816576cdf8a [2024-05-16T09:47:05.406Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-05-16T09:47:05.406Z] ---> Running in 10ff8affa193 [2024-05-16T09:47:06.359Z] Removing intermediate container 10ff8affa193 [2024-05-16T09:47:06.359Z] ---> 0c10bf8bc6d6 [2024-05-16T09:47:06.359Z] Step 9/23 : COPY . . [2024-05-16T09:47:06.621Z] ---> d291a65f55cf [2024-05-16T09:47:06.621Z] Step 10/23 : RUN ${MAKE} [2024-05-16T09:47:06.880Z] ---> Running in 3739aaf8f601 [2024-05-16T09:47:07.138Z] 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.13" -trimpath -mod=readonly -o cmd/device-modbus ./cmd [2024-05-16T09:47:45.847Z] Removing intermediate container 3739aaf8f601 [2024-05-16T09:47:45.847Z] ---> 51f188c04b82 [2024-05-16T09:47:45.847Z] Step 11/23 : FROM alpine:3.18 [2024-05-16T09:47:45.847Z] 3.18: Pulling from library/alpine [2024-05-16T09:47:45.847Z] 619be1103602: Already exists [2024-05-16T09:47:45.847Z] Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 [2024-05-16T09:47:45.847Z] Status: Downloaded newer image for alpine:3.18 [2024-05-16T09:47:45.847Z] ---> d3782b16ccc9 [2024-05-16T09:47:45.847Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2024-05-16T09:47:45.847Z] ---> Running in ac63b697e25d [2024-05-16T09:47:45.847Z] Removing intermediate container ac63b697e25d [2024-05-16T09:47:45.847Z] ---> 96c831c07b49 [2024-05-16T09:47:45.847Z] Step 13/23 : RUN apk add --update --no-cache dumb-init [2024-05-16T09:47:45.847Z] ---> Running in 392129ca1c48 [2024-05-16T09:47:45.847Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-05-16T09:47:45.847Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-05-16T09:47:45.847Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-05-16T09:47:45.847Z] Executing busybox-1.36.1-r5.trigger [2024-05-16T09:47:45.847Z] OK: 7 MiB in 16 packages [2024-05-16T09:47:45.847Z] Removing intermediate container 392129ca1c48 [2024-05-16T09:47:45.847Z] ---> 6f7db2e9dd24 [2024-05-16T09:47:45.847Z] Step 14/23 : RUN apk --no-cache upgrade [2024-05-16T09:47:45.847Z] ---> Running in 67575e2e213c [2024-05-16T09:47:45.847Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-05-16T09:47:45.847Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-05-16T09:47:45.847Z] Upgrading critical system libraries and apk-tools: [2024-05-16T09:47:45.847Z] (1/1) Upgrading apk-tools (2.14.0-r2 -> 2.14.4-r0) [2024-05-16T09:47:45.847Z] Executing busybox-1.36.1-r5.trigger [2024-05-16T09:47:45.847Z] Continuing the upgrade transaction with new apk-tools: [2024-05-16T09:47:45.847Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-05-16T09:47:45.847Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-05-16T09:47:45.847Z] (1/3) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) [2024-05-16T09:47:45.847Z] (2/3) Upgrading libcrypto3 (3.1.4-r5 -> 3.1.4-r6) [2024-05-16T09:47:45.847Z] (3/3) Upgrading libssl3 (3.1.4-r5 -> 3.1.4-r6) [2024-05-16T09:47:45.847Z] OK: 7 MiB in 16 packages [2024-05-16T09:47:45.847Z] Removing intermediate container 67575e2e213c [2024-05-16T09:47:45.847Z] ---> 3f8e401f749b [2024-05-16T09:47:45.847Z] Step 15/23 : COPY --from=builder /device-modbus-go/cmd / [2024-05-16T09:47:47.756Z] ---> 4923aca9d130 [2024-05-16T09:47:47.756Z] Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / [2024-05-16T09:47:47.756Z] ---> 3107b6a18056 [2024-05-16T09:47:47.756Z] Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / [2024-05-16T09:47:47.756Z] ---> c3fa9c399dd4 [2024-05-16T09:47:47.756Z] Step 18/23 : EXPOSE 59901 [2024-05-16T09:47:47.756Z] ---> Running in dc68cf9a06d2 [2024-05-16T09:47:47.756Z] Removing intermediate container dc68cf9a06d2 [2024-05-16T09:47:47.756Z] ---> d035efdf8b0a [2024-05-16T09:47:47.756Z] Step 19/23 : ENTRYPOINT ["/device-modbus"] [2024-05-16T09:47:47.756Z] ---> Running in 59f3e8006d4b [2024-05-16T09:47:48.015Z] Removing intermediate container 59f3e8006d4b [2024-05-16T09:47:48.015Z] ---> 4ce085197961 [2024-05-16T09:47:48.015Z] Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2024-05-16T09:47:48.015Z] ---> Running in bbaee2ade9fd [2024-05-16T09:47:48.015Z] Removing intermediate container bbaee2ade9fd [2024-05-16T09:47:48.015Z] ---> 1253a2db01a1 [2024-05-16T09:47:48.015Z] Step 21/23 : LABEL arch=amd64 [2024-05-16T09:47:48.015Z] ---> Running in 1dbad1d528b8 [2024-05-16T09:47:48.015Z] Removing intermediate container 1dbad1d528b8 [2024-05-16T09:47:48.015Z] ---> eb71397316f3 [2024-05-16T09:47:48.015Z] Step 22/23 : LABEL git_sha=67d534a3da082ab1a91afc75009c44586036319d [2024-05-16T09:47:48.015Z] ---> Running in e928404ac0da [2024-05-16T09:47:48.273Z] Removing intermediate container e928404ac0da [2024-05-16T09:47:48.273Z] ---> 8996c9b75db0 [2024-05-16T09:47:48.273Z] Step 23/23 : LABEL version=0.0.0 [2024-05-16T09:47:48.273Z] ---> Running in 564633caa521 [2024-05-16T09:47:48.273Z] Removing intermediate container 564633caa521 [2024-05-16T09:47:48.273Z] ---> af440a63b350 [2024-05-16T09:47:48.273Z] [Warning] One or more build-args [ARCH] were not consumed [2024-05-16T09:47:48.273Z] Successfully built af440a63b350 [2024-05-16T09:47:48.273Z] Successfully tagged device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-16T09:47:48.744Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-05-16T09:47:48.744Z] [2024-05-16T09:47:48.744Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-16T09:47:49.049Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-05-16T09:47:49.049Z] latest: Pulling from edgex-lftools-log-publisher [2024-05-16T09:47:49.049Z] 5eb5b503b376: Pulling fs layer [2024-05-16T09:47:49.049Z] 5c69ac0246d0: Pulling fs layer [2024-05-16T09:47:49.049Z] ec43610c2a17: Pulling fs layer [2024-05-16T09:47:49.050Z] 3a2ae6a8a46f: Pulling fs layer [2024-05-16T09:47:49.050Z] 33b1e0a273af: Pulling fs layer [2024-05-16T09:47:49.050Z] 5d3b04190fa2: Pulling fs layer [2024-05-16T09:47:49.050Z] 2f39f015ded8: Pulling fs layer [2024-05-16T09:47:49.050Z] 33b1e0a273af: Waiting [2024-05-16T09:47:49.050Z] 5d3b04190fa2: Waiting [2024-05-16T09:47:49.050Z] 2f39f015ded8: Waiting [2024-05-16T09:47:49.050Z] 3a2ae6a8a46f: Waiting [2024-05-16T09:47:49.050Z] 5c69ac0246d0: Download complete [2024-05-16T09:47:49.050Z] 3a2ae6a8a46f: Download complete [2024-05-16T09:47:49.050Z] 33b1e0a273af: Verifying Checksum [2024-05-16T09:47:49.050Z] 33b1e0a273af: Download complete [2024-05-16T09:47:49.050Z] 5d3b04190fa2: Verifying Checksum [2024-05-16T09:47:49.050Z] 5d3b04190fa2: Download complete [2024-05-16T09:47:49.050Z] ec43610c2a17: Verifying Checksum [2024-05-16T09:47:49.050Z] ec43610c2a17: Download complete [2024-05-16T09:47:49.308Z] 5eb5b503b376: Verifying Checksum [2024-05-16T09:47:49.308Z] 5eb5b503b376: Download complete [2024-05-16T09:47:49.875Z] 2f39f015ded8: Download complete [2024-05-16T09:47:50.440Z] 5eb5b503b376: Pull complete [2024-05-16T09:47:50.699Z] 5c69ac0246d0: Pull complete [2024-05-16T09:47:50.958Z] ec43610c2a17: Pull complete [2024-05-16T09:47:51.217Z] 3a2ae6a8a46f: Pull complete [2024-05-16T09:47:51.475Z] 33b1e0a273af: Pull complete [2024-05-16T09:47:51.475Z] 5d3b04190fa2: Pull complete [2024-05-16T09:47:52.205Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-273 in /w/workspace/xfoundry_device-modbus-go_PR-547 [Pipeline] { [Pipeline] ws [2024-05-16T09:47:52.221Z] Running in /w/workspace/device-modbus-go/4 [Pipeline] { [Pipeline] checkout [2024-05-16T09:47:52.256Z] The recommended git tool is: git [2024-05-16T09:47:55.656Z] 2f39f015ded8: Pull complete [2024-05-16T09:47:55.656Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-05-16T09:47:55.656Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-05-16T09:47:55.656Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-16T09:47:55.752Z] prd-ubuntu20.04-docker-8c-8g-271 does not seem to be running inside a container [2024-05-16T09:47:55.777Z] $ 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-547 -v /w/workspace/xfoundry_device-modbus-go_PR-547:/w/workspace/xfoundry_device-modbus-go_PR-547:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-547@tmp:/w/workspace/xfoundry_device-modbus-go_PR-547@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-05-16T09:47:56.923Z] using credential edgex-jenkins-ssh [2024-05-16T09:47:56.947Z] Cloning the remote Git repository [2024-05-16T09:47:57.004Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2024-05-16T09:47:57.112Z] > git init /w/workspace/device-modbus-go/4 # timeout=10 [2024-05-16T09:47:57.273Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2024-05-16T09:47:57.274Z] > git --version # timeout=10 [2024-05-16T09:47:57.302Z] > git --version # 'git version 2.25.1' [2024-05-16T09:47:57.305Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-05-16T09:47:57.466Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-05-16T09:47:59.682Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2024-05-16T09:47:59.715Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-05-16T09:48:00.724Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2024-05-16T09:48:00.771Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2024-05-16T09:48:00.772Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-05-16T09:48:00.796Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/547/head:refs/remotes/origin/PR-547 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2024-05-16T09:48:01.322Z] Merging remotes/origin/main commit 6ffd961e50bad5aafcddb961eadc768a2e323cba into PR head commit 67d534a3da082ab1a91afc75009c44586036319d [2024-05-16T09:48:01.643Z] Merge succeeded, producing 67d534a3da082ab1a91afc75009c44586036319d [2024-05-16T09:48:01.643Z] Checking out Revision 67d534a3da082ab1a91afc75009c44586036319d (PR-547) [2024-05-16T09:48:02.235Z] Commit message: "build(deps): Bump golang.org/x/net from 0.21.0 to 0.23.0" [2024-05-16T09:48:01.344Z] > git config core.sparsecheckout # timeout=10 [2024-05-16T09:48:01.439Z] > git checkout -f 67d534a3da082ab1a91afc75009c44586036319d # timeout=10 [2024-05-16T09:48:01.523Z] > git remote # timeout=10 [2024-05-16T09:48:01.545Z] > git config --get remote.origin.url # timeout=10 [2024-05-16T09:48:01.582Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-05-16T09:48:01.600Z] > git merge 6ffd961e50bad5aafcddb961eadc768a2e323cba # timeout=10 [2024-05-16T09:48:01.627Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-05-16T09:48:01.653Z] > git config core.sparsecheckout # timeout=10 [2024-05-16T09:48:01.673Z] > git checkout -f 67d534a3da082ab1a91afc75009c44586036319d # timeout=10 [2024-05-16T09:48:02.940Z] $ docker top 098da2d567272897f2db7c78473a04d25612c29f60a61f34a2405a57fc9c2a46 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-05-16T09:48:03.322Z] ---> job-cost.sh [2024-05-16T09:48:03.322Z] lf-activate-venv: SKIPPING [2024-05-16T09:48:03.322Z] INFO: No Stack... [2024-05-16T09:48:03.890Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-05-16T09:48:04.150Z] INFO: Archiving Costs [Pipeline] sh [2024-05-16T09:48:04.440Z] + cat /w/workspace/xfoundry_device-modbus-go_PR-547/archives/cost.csv [2024-05-16T09:48:04.440Z] + cut -d, -f6 [Pipeline] lock [2024-05-16T09:48:04.451Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-modbus-go-PR-547-4-stack-cost] [2024-05-16T09:48:04.461Z] Resource [jenkins-edgexfoundry-device-modbus-go-PR-547-4-stack-cost] did not exist. Created. [2024-05-16T09:48:04.467Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-modbus-go-PR-547-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-05-16T09:48:04.776Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-05-16T09:48:04.815Z] Stashed 1 file(s) [Pipeline] } [2024-05-16T09:48:04.823Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-modbus-go-PR-547-4-stack-cost] [Pipeline] // lock [Pipeline] } [2024-05-16T09:48:04.844Z] $ docker stop --time=1 098da2d567272897f2db7c78473a04d25612c29f60a61f34a2405a57fc9c2a46 [2024-05-16T09:48:05.978Z] $ docker rm -f --volumes 098da2d567272897f2db7c78473a04d25612c29f60a61f34a2405a57fc9c2a46 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-05-16T09:48:07.133Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-05-16T09:48:07.133Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-05-16T09:48:07.133Z] Dload Upload Total Spent Left Speed [2024-05-16T09:48:07.133Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 245k 0 --:--:-- --:--:-- --:--:-- 245k [Pipeline] sh [2024-05-16T09:48:07.473Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-05-16T09:48:07.813Z] + sudo tee /etc/docker/daemon.new [2024-05-16T09:48:07.813Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2024-05-16T09:48:07.813Z] { [2024-05-16T09:48:07.813Z] "registry-mirrors": [ [2024-05-16T09:48:07.813Z] "https://nexus3.edgexfoundry.org:10001" [2024-05-16T09:48:07.813Z] ], [2024-05-16T09:48:07.813Z] "bip": "10.250.0.254/24", [2024-05-16T09:48:07.813Z] "hosts": [ [2024-05-16T09:48:07.813Z] "tcp://0.0.0.0:5555", [2024-05-16T09:48:07.813Z] "unix:///var/run/docker.sock" [2024-05-16T09:48:07.813Z] ], [2024-05-16T09:48:07.813Z] "mtu": 1458, [2024-05-16T09:48:07.813Z] "selinux-enabled": true, [2024-05-16T09:48:07.813Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-05-16T09:48:07.813Z] } [Pipeline] sh [2024-05-16T09:48:08.139Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-05-16T09:48:08.465Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-05-16T09:48:26.715Z] provisioning config files... [2024-05-16T09:48:26.746Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/4@tmp/config3407110859132137138tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-05-16T09:48:27.180Z] ---> ****-login.sh [2024-05-16T09:48:27.180Z] nexus3.edgexfoundry.org:10001 [2024-05-16T09:48:27.452Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-16T09:48:27.720Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-16T09:48:27.720Z] Configure a credential helper to remove this warning. See [2024-05-16T09:48:27.720Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-16T09:48:27.720Z] [2024-05-16T09:48:27.720Z] Login Succeeded [2024-05-16T09:48:27.720Z] nexus3.edgexfoundry.org:10002 [2024-05-16T09:48:27.991Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-16T09:48:28.261Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-16T09:48:28.261Z] Configure a credential helper to remove this warning. See [2024-05-16T09:48:28.261Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-16T09:48:28.261Z] [2024-05-16T09:48:28.261Z] Login Succeeded [2024-05-16T09:48:28.261Z] nexus3.edgexfoundry.org:10003 [2024-05-16T09:48:28.528Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-16T09:48:28.528Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-16T09:48:28.528Z] Configure a credential helper to remove this warning. See [2024-05-16T09:48:28.528Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-16T09:48:28.528Z] [2024-05-16T09:48:28.528Z] Login Succeeded [2024-05-16T09:48:28.528Z] nexus3.edgexfoundry.org:10004 [2024-05-16T09:48:28.798Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-16T09:48:28.799Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-16T09:48:28.799Z] Configure a credential helper to remove this warning. See [2024-05-16T09:48:28.799Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-16T09:48:28.799Z] [2024-05-16T09:48:28.799Z] Login Succeeded [2024-05-16T09:48:28.799Z] ****.io [2024-05-16T09:48:29.072Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-16T09:48:29.340Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-16T09:48:29.340Z] Configure a credential helper to remove this warning. See [2024-05-16T09:48:29.340Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-16T09:48:29.340Z] [2024-05-16T09:48:29.340Z] Login Succeeded [2024-05-16T09:48:29.340Z] ---> ****-login.sh ends [Pipeline] } [2024-05-16T09:48:29.354Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-05-16T09:48:29.682Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-05-16T09:48:29.706Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-05-16T09:48:29.721Z] ========================================================= [2024-05-16T09:48:29.721Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2024-05-16T09:48:29.721Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-16T09:48:30.123Z] + 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-05-16T09:48:30.717Z] Sending build context to Docker daemon 10.59MB [2024-05-16T09:48:30.717Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2024-05-16T09:48:30.717Z] Step 2/10 : FROM ${BASE} AS builder [2024-05-16T09:48:30.717Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-05-16T09:48:30.717Z] c6b39de5b339: Pulling fs layer [2024-05-16T09:48:30.717Z] a69c41024577: Pulling fs layer [2024-05-16T09:48:30.717Z] d6de4b400683: Pulling fs layer [2024-05-16T09:48:30.717Z] 35cb2a7552d0: Pulling fs layer [2024-05-16T09:48:30.717Z] 4f4fb700ef54: Pulling fs layer [2024-05-16T09:48:30.717Z] 464afbd9ba4c: Pulling fs layer [2024-05-16T09:48:30.717Z] 00f215d4a9da: Pulling fs layer [2024-05-16T09:48:30.717Z] d496ad576159: Pulling fs layer [2024-05-16T09:48:30.717Z] 464afbd9ba4c: Waiting [2024-05-16T09:48:30.717Z] 35cb2a7552d0: Waiting [2024-05-16T09:48:30.717Z] 00f215d4a9da: Waiting [2024-05-16T09:48:30.717Z] d496ad576159: Waiting [2024-05-16T09:48:30.717Z] 4f4fb700ef54: Waiting [2024-05-16T09:48:30.717Z] a69c41024577: Verifying Checksum [2024-05-16T09:48:30.717Z] a69c41024577: Download complete [2024-05-16T09:48:30.717Z] 35cb2a7552d0: Verifying Checksum [2024-05-16T09:48:30.717Z] 35cb2a7552d0: Download complete [2024-05-16T09:48:30.717Z] 4f4fb700ef54: Verifying Checksum [2024-05-16T09:48:30.717Z] 4f4fb700ef54: Download complete [2024-05-16T09:48:30.717Z] 464afbd9ba4c: Verifying Checksum [2024-05-16T09:48:30.717Z] 464afbd9ba4c: Download complete [2024-05-16T09:48:30.987Z] c6b39de5b339: Verifying Checksum [2024-05-16T09:48:30.987Z] c6b39de5b339: Download complete [2024-05-16T09:48:31.264Z] d496ad576159: Verifying Checksum [2024-05-16T09:48:31.264Z] d496ad576159: Download complete [2024-05-16T09:48:31.858Z] c6b39de5b339: Pull complete [2024-05-16T09:48:32.454Z] a69c41024577: Pull complete [2024-05-16T09:48:32.724Z] d6de4b400683: Download complete [2024-05-16T09:48:34.147Z] 00f215d4a9da: Verifying Checksum [2024-05-16T09:48:34.147Z] 00f215d4a9da: Download complete [2024-05-16T09:48:46.477Z] d6de4b400683: Pull complete [2024-05-16T09:48:46.477Z] 35cb2a7552d0: Pull complete [2024-05-16T09:48:46.477Z] 4f4fb700ef54: Pull complete [2024-05-16T09:48:46.744Z] 464afbd9ba4c: Pull complete [2024-05-16T09:48:56.833Z] 00f215d4a9da: Pull complete [2024-05-16T09:48:57.416Z] d496ad576159: Pull complete [2024-05-16T09:48:57.416Z] Digest: sha256:94db8a0955b4c8a8fb4ef40f1d66dd6a37c55842a5f6085bb7a69a85e2cfc316 [2024-05-16T09:48:57.416Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2024-05-16T09:48:57.416Z] ---> f246e2811388 [2024-05-16T09:48:57.416Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2024-05-16T09:48:59.353Z] ---> Running in db371d80f7c2 [2024-05-16T09:48:59.353Z] Removing intermediate container db371d80f7c2 [2024-05-16T09:48:59.353Z] ---> 85939c8e805e [2024-05-16T09:48:59.353Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-05-16T09:48:59.629Z] ---> Running in 716a6b5630c0 [2024-05-16T09:48:59.899Z] Removing intermediate container 716a6b5630c0 [2024-05-16T09:48:59.899Z] ---> 411e8177a052 [2024-05-16T09:48:59.899Z] Step 5/10 : RUN apk add --update --no-cache make git openssh [2024-05-16T09:48:59.900Z] ---> Running in 92b6ab0e301b [2024-05-16T09:49:01.311Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-05-16T09:49:01.583Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-05-16T09:49:02.562Z] (1/8) Installing openssh-keygen (9.3_p2-r1) [2024-05-16T09:49:02.562Z] (2/8) Installing libedit (20221030.3.1-r1) [2024-05-16T09:49:02.562Z] (3/8) Installing openssh-client-common (9.3_p2-r1) [2024-05-16T09:49:02.562Z] (4/8) Installing openssh-client-default (9.3_p2-r1) [2024-05-16T09:49:02.562Z] (5/8) Installing openssh-sftp-server (9.3_p2-r1) [2024-05-16T09:49:02.562Z] (6/8) Installing openssh-server-common (9.3_p2-r1) [2024-05-16T09:49:02.562Z] (7/8) Installing openssh-server (9.3_p2-r1) [2024-05-16T09:49:02.839Z] (8/8) Installing openssh (9.3_p2-r1) [2024-05-16T09:49:02.839Z] Executing busybox-1.36.1-r5.trigger [2024-05-16T09:49:02.839Z] OK: 272 MiB in 60 packages [2024-05-16T09:49:03.815Z] Removing intermediate container 92b6ab0e301b [2024-05-16T09:49:03.815Z] ---> 966d3b89c54c [2024-05-16T09:49:03.815Z] Step 6/10 : WORKDIR /device-modbus-go [2024-05-16T09:49:04.085Z] ---> Running in 69c2b12d281c [2024-05-16T09:49:04.355Z] Removing intermediate container 69c2b12d281c [2024-05-16T09:49:04.355Z] ---> 32754cab3ad1 [2024-05-16T09:49:04.355Z] Step 7/10 : COPY go.mod vendor* ./ [2024-05-16T09:49:04.943Z] ---> 93f1774c8626 [2024-05-16T09:49:04.943Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-05-16T09:49:04.943Z] ---> Running in 7b8e57aeb63b [2024-05-16T09:50:56.624Z] Removing intermediate container 7b8e57aeb63b [2024-05-16T09:50:56.624Z] ---> ec7ee6fef6c2 [2024-05-16T09:50:56.624Z] Step 9/10 : COPY . . [2024-05-16T09:50:56.624Z] ---> de348832f544 [2024-05-16T09:50:56.624Z] Step 10/10 : RUN ${MAKE} [2024-05-16T09:50:56.624Z] ---> Running in 7d4fea763947 [2024-05-16T09:50:56.624Z] noop [2024-05-16T09:50:56.624Z] Removing intermediate container 7d4fea763947 [2024-05-16T09:50:56.624Z] ---> 275ba360e095 [2024-05-16T09:50:56.624Z] Successfully built 275ba360e095 [2024-05-16T09:50:56.624Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-16T09:50:56.984Z] + docker inspect -f . ci-base-image-arm64 [2024-05-16T09:50:56.984Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-16T09:50:57.187Z] prd-ubuntu20.04-docker-arm64-4c-16g-273 does not seem to be running inside a container [2024-05-16T09:50:57.254Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/4 -v /w/workspace/device-modbus-go/4:/w/workspace/device-modbus-go/4:rw,z -v /w/workspace/device-modbus-go/4@tmp:/w/workspace/device-modbus-go/4@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-05-16T09:50:58.412Z] $ docker top de548a85908eda7934b5a3e2123961642ae436d3598b2d7bc0aac893e775fbc6 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-05-16T09:50:59.225Z] + go version [2024-05-16T09:50:59.225Z] go version go1.21.9 linux/arm64 [Pipeline] } [2024-05-16T09:50:59.247Z] $ docker stop --time=1 de548a85908eda7934b5a3e2123961642ae436d3598b2d7bc0aac893e775fbc6 [2024-05-16T09:51:00.860Z] $ docker rm -f --volumes de548a85908eda7934b5a3e2123961642ae436d3598b2d7bc0aac893e775fbc6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-16T09:51:01.441Z] + docker inspect -f . ci-base-image-arm64 [2024-05-16T09:51:01.441Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-16T09:51:01.618Z] prd-ubuntu20.04-docker-arm64-4c-16g-273 does not seem to be running inside a container [2024-05-16T09:51:01.694Z] $ 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/4 -v /w/workspace/device-modbus-go/4:/w/workspace/device-modbus-go/4:rw,z -v /w/workspace/device-modbus-go/4@tmp:/w/workspace/device-modbus-go/4@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-05-16T09:51:02.839Z] $ docker top 64ea2717b77de62a98bcca38df707b531f01214c5b681d773366cbe9bba92f44 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-05-16T09:51:03.362Z] + git config --global --add safe.directory /w/workspace/device-modbus-go/4 [Pipeline] fileExists [Pipeline] sh [2024-05-16T09:51:03.702Z] + make test [2024-05-16T09:51:03.702Z] go test ./... -coverprofile=coverage.out [2024-05-16T09:51:10.338Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2024-05-16T09:54:32.112Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2024-05-16T09:54:32.694Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.079s coverage: 47.9% of statements [2024-05-16T09:54:33.650Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2024-05-16T09:54:33.650Z] go vet ./... [2024-05-16T09:55:20.484Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-05-16T09:55:20.484Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-05-16T09:55:20.484Z] ./bin/test-attribution-txt.sh [2024-05-16T09:55:20.484Z] An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add [2024-05-16T09:55:20.484Z] An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add [2024-05-16T09:55:20.484Z] An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add [2024-05-16T09:55:20.484Z] An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add [2024-05-16T09:55:20.484Z] An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add [2024-05-16T09:55:20.484Z] An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add [2024-05-16T09:55:20.484Z] An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add [2024-05-16T09:55:20.484Z] An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add [2024-05-16T09:55:20.484Z] An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add [2024-05-16T09:55:20.484Z] An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add [2024-05-16T09:55:20.484Z] An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add [2024-05-16T09:55:20.484Z] An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add [2024-05-16T09:55:20.484Z] An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add [2024-05-16T09:55:20.484Z] An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add [2024-05-16T09:55:20.484Z] An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add [2024-05-16T09:55:20.484Z] An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add [2024-05-16T09:55:20.484Z] An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add [2024-05-16T09:55:20.484Z] An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add [2024-05-16T09:55:20.484Z] An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add [2024-05-16T09:55:20.484Z] An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add [2024-05-16T09:55:20.485Z] An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add [2024-05-16T09:55:20.485Z] An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add [2024-05-16T09:55:20.485Z] An attribution for github.com/josharian/intern is missing from Attribution.txt, please add [2024-05-16T09:55:20.485Z] An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add [2024-05-16T09:55:20.485Z] An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add [2024-05-16T09:55:20.485Z] An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add [2024-05-16T09:55:20.485Z] An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add [2024-05-16T09:55:20.485Z] An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add [2024-05-16T09:55:20.485Z] An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add [2024-05-16T09:55:20.485Z] An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add [2024-05-16T09:55:20.485Z] An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add [2024-05-16T09:55:20.485Z] An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add [2024-05-16T09:55:20.485Z] An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add [2024-05-16T09:55:20.485Z] An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add [2024-05-16T09:55:20.485Z] An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add [2024-05-16T09:55:20.485Z] An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add [2024-05-16T09:55:20.485Z] An attribution for github.com/openziti/identity is missing from Attribution.txt, please add [2024-05-16T09:55:20.485Z] An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add [2024-05-16T09:55:20.485Z] An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add [2024-05-16T09:55:20.485Z] An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add [2024-05-16T09:55:20.485Z] An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add [2024-05-16T09:55:20.485Z] An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add [2024-05-16T09:55:20.485Z] An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add [2024-05-16T09:55:20.485Z] An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add [2024-05-16T09:55:20.485Z] An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add [2024-05-16T09:55:20.485Z] An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add [2024-05-16T09:55:20.485Z] An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add [2024-05-16T09:55:20.485Z] An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add [2024-05-16T09:55:20.485Z] An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add [2024-05-16T09:55:20.485Z] An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add [2024-05-16T09:55:20.485Z] An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add [2024-05-16T09:55:20.485Z] An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add [2024-05-16T09:55:20.485Z] An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add [2024-05-16T09:55:20.485Z] An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add [2024-05-16T09:55:20.485Z] An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add [2024-05-16T09:55:20.485Z] An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add [2024-05-16T09:55:20.485Z] An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add [2024-05-16T09:55:20.485Z] An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add [2024-05-16T09:55:20.485Z] An attribution for golang.org/x/term is missing from Attribution.txt, please add [2024-05-16T09:55:20.485Z] An attribution for google.golang.org/appengine is missing from Attribution.txt, please add [2024-05-16T09:55:20.485Z] An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [2024-05-16T09:55:20.485Z] An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo [2024-05-16T09:55:20.506Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-05-16T09:55:20.533Z] $ docker stop --time=1 64ea2717b77de62a98bcca38df707b531f01214c5b681d773366cbe9bba92f44 [2024-05-16T09:55:22.469Z] $ docker rm -f --volumes 64ea2717b77de62a98bcca38df707b531f01214c5b681d773366cbe9bba92f44 [Pipeline] // withDockerContainer [Pipeline] sh [2024-05-16T09:55:23.985Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-05-16T09:55:24.014Z] Warning: overwriting stash ‘coverage-report’ [2024-05-16T09:55:24.450Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-05-16T09:55:24.855Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-05-16T09:55:25.183Z] + ls -al . [2024-05-16T09:55:25.183Z] total 260 [2024-05-16T09:55:25.183Z] drwxrwxr-x 8 jenkins jenkins 4096 May 16 09:51 . [2024-05-16T09:55:25.183Z] drwxrwxr-x 4 jenkins jenkins 4096 May 16 09:47 .. [2024-05-16T09:55:25.183Z] -rw-rw-r-- 1 jenkins jenkins 140 May 16 09:48 .dockerignore [2024-05-16T09:55:25.183Z] drwxrwxr-x 8 jenkins jenkins 4096 May 16 09:48 .git [2024-05-16T09:55:25.183Z] drwxrwxr-x 3 jenkins jenkins 4096 May 16 09:48 .github [2024-05-16T09:55:25.183Z] -rw-rw-r-- 1 jenkins jenkins 266 May 16 09:48 .gitignore [2024-05-16T09:55:25.183Z] -rw-rw-r-- 1 jenkins jenkins 41 May 16 09:48 .golangci.yml [2024-05-16T09:55:25.183Z] -rw-rw-r-- 1 jenkins jenkins 11101 May 16 09:48 Attribution.txt [2024-05-16T09:55:25.183Z] -rw-rw-r-- 1 jenkins jenkins 16388 May 16 09:48 CHANGELOG.md [2024-05-16T09:55:25.183Z] -rw-rw-r-- 1 jenkins jenkins 1474 May 16 09:48 Dockerfile [2024-05-16T09:55:25.183Z] -rw-rw-r-- 1 jenkins jenkins 677 May 16 09:48 GOVERNANCE.md [2024-05-16T09:55:25.184Z] -rw-rw-r-- 1 jenkins jenkins 658 May 16 09:48 Jenkinsfile [2024-05-16T09:55:25.184Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 16 09:48 LICENSE [2024-05-16T09:55:25.184Z] -rw-rw-r-- 1 jenkins jenkins 1942 May 16 09:48 Makefile [2024-05-16T09:55:25.184Z] -rw-rw-r-- 1 jenkins jenkins 622 May 16 09:48 OWNERS.md [2024-05-16T09:55:25.184Z] -rw-rw-r-- 1 jenkins jenkins 4463 May 16 09:48 README.md [2024-05-16T09:55:25.184Z] -rw-rw-r-- 1 jenkins jenkins 5 May 16 09:45 VERSION [2024-05-16T09:55:25.184Z] drwxrwxr-x 2 jenkins jenkins 4096 May 16 09:48 bin [2024-05-16T09:55:25.184Z] drwxrwxr-x 3 jenkins jenkins 4096 May 16 09:48 cmd [2024-05-16T09:55:25.184Z] -rw-r--r-- 1 jenkins jenkins 24601 May 16 09:54 coverage.out [2024-05-16T09:55:25.184Z] -rw-rw-r-- 1 jenkins jenkins 7289 May 16 09:48 go.mod [2024-05-16T09:55:25.184Z] -rw-rw-r-- 1 jenkins jenkins 101939 May 16 09:48 go.sum [2024-05-16T09:55:25.184Z] drwxrwxr-x 3 jenkins jenkins 4096 May 16 09:48 internal [2024-05-16T09:55:25.184Z] drwxrwxr-x 2 jenkins jenkins 4096 May 16 09:48 simulator [2024-05-16T09:55:25.184Z] -rw-rw-r-- 1 jenkins jenkins 229 May 16 09:48 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-16T09:55:25.541Z] + 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=67d534a3da082ab1a91afc75009c44586036319d --label arch=arm64 --label version=0.0.0 . [2024-05-16T09:55:25.812Z] Sending build context to Docker daemon 10.62MB [2024-05-16T09:55:26.078Z] Step 1/23 : ARG BASE=golang:1.21-alpine3.18 [2024-05-16T09:55:26.078Z] Step 2/23 : FROM ${BASE} AS builder [2024-05-16T09:55:26.078Z] ---> 275ba360e095 [2024-05-16T09:55:26.078Z] Step 3/23 : ARG ADD_BUILD_TAGS="" [2024-05-16T09:55:26.078Z] ---> Running in ff3e0bc598e6 [2024-05-16T09:55:26.345Z] Removing intermediate container ff3e0bc598e6 [2024-05-16T09:55:26.345Z] ---> 5b2dc2731832 [2024-05-16T09:55:26.345Z] Step 4/23 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-05-16T09:55:26.345Z] ---> Running in 42d3c463c49e [2024-05-16T09:55:26.632Z] Removing intermediate container 42d3c463c49e [2024-05-16T09:55:26.632Z] ---> 76fedf900c16 [2024-05-16T09:55:26.632Z] Step 5/23 : RUN apk add --update --no-cache make git openssh [2024-05-16T09:55:26.909Z] ---> Running in 909e1d5daa2c [2024-05-16T09:55:27.877Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-05-16T09:55:28.142Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-05-16T09:55:29.227Z] OK: 272 MiB in 60 packages [2024-05-16T09:55:30.229Z] Removing intermediate container 909e1d5daa2c [2024-05-16T09:55:30.229Z] ---> 7dc7380dab42 [2024-05-16T09:55:30.229Z] Step 6/23 : WORKDIR /device-modbus-go [2024-05-16T09:55:30.229Z] ---> Running in b284e2ef99d1 [2024-05-16T09:55:30.505Z] Removing intermediate container b284e2ef99d1 [2024-05-16T09:55:30.505Z] ---> 1f96d3c1e4d2 [2024-05-16T09:55:30.505Z] Step 7/23 : COPY go.mod vendor* ./ [2024-05-16T09:55:31.111Z] ---> bed4fe295831 [2024-05-16T09:55:31.111Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-05-16T09:55:31.418Z] ---> Running in 7b27198c7c0c [2024-05-16T09:55:34.034Z] Removing intermediate container 7b27198c7c0c [2024-05-16T09:55:34.034Z] ---> 1504c1e55b57 [2024-05-16T09:55:34.034Z] Step 9/23 : COPY . . [2024-05-16T09:55:34.993Z] ---> 058f6d2c30b0 [2024-05-16T09:55:34.993Z] Step 10/23 : RUN ${MAKE} [2024-05-16T09:55:34.993Z] ---> Running in d75682a947f9 [2024-05-16T09:55:35.965Z] 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.13" -trimpath -mod=readonly -o cmd/device-modbus ./cmd [2024-05-16T09:59:12.759Z] Removing intermediate container d75682a947f9 [2024-05-16T09:59:12.759Z] ---> 73627ed0f753 [2024-05-16T09:59:12.759Z] Step 11/23 : FROM alpine:3.18 [2024-05-16T09:59:12.759Z] 3.18: Pulling from library/alpine [2024-05-16T09:59:12.759Z] c6b39de5b339: Already exists [2024-05-16T09:59:12.759Z] Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 [2024-05-16T09:59:12.759Z] Status: Downloaded newer image for alpine:3.18 [2024-05-16T09:59:12.759Z] ---> 33abbf032149 [2024-05-16T09:59:12.759Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2024-05-16T09:59:12.759Z] ---> Running in e06cad632745 [2024-05-16T09:59:12.759Z] Removing intermediate container e06cad632745 [2024-05-16T09:59:12.759Z] ---> 07fc8173733c [2024-05-16T09:59:12.759Z] Step 13/23 : RUN apk add --update --no-cache dumb-init [2024-05-16T09:59:12.759Z] ---> Running in f46c45b74dca [2024-05-16T09:59:12.759Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-05-16T09:59:12.759Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-05-16T09:59:12.759Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-05-16T09:59:12.759Z] Executing busybox-1.36.1-r5.trigger [2024-05-16T09:59:12.759Z] OK: 8 MiB in 16 packages [2024-05-16T09:59:12.759Z] Removing intermediate container f46c45b74dca [2024-05-16T09:59:12.759Z] ---> 14e7b4b27fbc [2024-05-16T09:59:12.759Z] Step 14/23 : RUN apk --no-cache upgrade [2024-05-16T09:59:12.759Z] ---> Running in a7481aca6a56 [2024-05-16T09:59:12.759Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-05-16T09:59:12.759Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-05-16T09:59:12.759Z] Upgrading critical system libraries and apk-tools: [2024-05-16T09:59:12.759Z] (1/1) Upgrading apk-tools (2.14.0-r2 -> 2.14.4-r0) [2024-05-16T09:59:12.759Z] Executing busybox-1.36.1-r5.trigger [2024-05-16T09:59:12.759Z] Continuing the upgrade transaction with new apk-tools: [2024-05-16T09:59:12.759Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-05-16T09:59:12.759Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-05-16T09:59:12.759Z] (1/3) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) [2024-05-16T09:59:12.759Z] (2/3) Upgrading libcrypto3 (3.1.4-r5 -> 3.1.4-r6) [2024-05-16T09:59:12.759Z] (3/3) Upgrading libssl3 (3.1.4-r5 -> 3.1.4-r6) [2024-05-16T09:59:12.759Z] OK: 8 MiB in 16 packages [2024-05-16T09:59:12.759Z] Removing intermediate container a7481aca6a56 [2024-05-16T09:59:12.759Z] ---> b0e25aa508f5 [2024-05-16T09:59:12.759Z] Step 15/23 : COPY --from=builder /device-modbus-go/cmd / [2024-05-16T09:59:13.711Z] ---> 38e5d1cb2c9a [2024-05-16T09:59:13.711Z] Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / [2024-05-16T09:59:13.975Z] ---> 920212478f7e [2024-05-16T09:59:13.975Z] Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / [2024-05-16T09:59:14.553Z] ---> 951a5a39768e [2024-05-16T09:59:14.553Z] Step 18/23 : EXPOSE 59901 [2024-05-16T09:59:14.553Z] ---> Running in 2470eec54ad5 [2024-05-16T09:59:14.817Z] Removing intermediate container 2470eec54ad5 [2024-05-16T09:59:14.817Z] ---> af67758d5a79 [2024-05-16T09:59:14.817Z] Step 19/23 : ENTRYPOINT ["/device-modbus"] [2024-05-16T09:59:14.817Z] ---> Running in eec9c247d854 [2024-05-16T09:59:15.082Z] Removing intermediate container eec9c247d854 [2024-05-16T09:59:15.082Z] ---> 99220924b0b6 [2024-05-16T09:59:15.082Z] Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2024-05-16T09:59:15.082Z] ---> Running in 5dbb7def670b [2024-05-16T09:59:15.348Z] Removing intermediate container 5dbb7def670b [2024-05-16T09:59:15.348Z] ---> 999a7339831d [2024-05-16T09:59:15.348Z] Step 21/23 : LABEL arch=arm64 [2024-05-16T09:59:15.613Z] ---> Running in 9dd2bda64fa8 [2024-05-16T09:59:15.878Z] Removing intermediate container 9dd2bda64fa8 [2024-05-16T09:59:15.878Z] ---> 24460bddc76a [2024-05-16T09:59:15.878Z] Step 22/23 : LABEL git_sha=67d534a3da082ab1a91afc75009c44586036319d [2024-05-16T09:59:15.878Z] ---> Running in 6fb0035551d4 [2024-05-16T09:59:16.143Z] Removing intermediate container 6fb0035551d4 [2024-05-16T09:59:16.143Z] ---> f8210125fec0 [2024-05-16T09:59:16.143Z] Step 23/23 : LABEL version=0.0.0 [2024-05-16T09:59:16.143Z] ---> Running in 71fb2e0013eb [2024-05-16T09:59:16.406Z] Removing intermediate container 71fb2e0013eb [2024-05-16T09:59:16.406Z] ---> c76fa8bdb8c1 [2024-05-16T09:59:16.406Z] [Warning] One or more build-args [ARCH] were not consumed [2024-05-16T09:59:16.406Z] Successfully built c76fa8bdb8c1 [2024-05-16T09:59:16.407Z] Successfully tagged device-modbus-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-16T09:59:16.859Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-05-16T09:59:16.859Z] [2024-05-16T09:59:16.859Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-16T09:59:17.185Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-05-16T09:59:17.185Z] arm64: Pulling from edgex-lftools-log-publisher [2024-05-16T09:59:17.185Z] 8998bd30e6a1: Pulling fs layer [2024-05-16T09:59:17.185Z] 04944245beec: Pulling fs layer [2024-05-16T09:59:17.185Z] 699f458cf7ca: Pulling fs layer [2024-05-16T09:59:17.185Z] 765212b225bb: Pulling fs layer [2024-05-16T09:59:17.185Z] f23df028b6ca: Pulling fs layer [2024-05-16T09:59:17.185Z] d65c8cfc05b1: Pulling fs layer [2024-05-16T09:59:17.185Z] 2437ff75d9bd: Pulling fs layer [2024-05-16T09:59:17.185Z] 765212b225bb: Waiting [2024-05-16T09:59:17.185Z] f23df028b6ca: Waiting [2024-05-16T09:59:17.185Z] d65c8cfc05b1: Waiting [2024-05-16T09:59:17.185Z] 2437ff75d9bd: Waiting [2024-05-16T09:59:17.453Z] 04944245beec: Verifying Checksum [2024-05-16T09:59:17.453Z] 04944245beec: Download complete [2024-05-16T09:59:17.453Z] 765212b225bb: Verifying Checksum [2024-05-16T09:59:17.453Z] 765212b225bb: Download complete [2024-05-16T09:59:17.453Z] f23df028b6ca: Verifying Checksum [2024-05-16T09:59:17.453Z] f23df028b6ca: Download complete [2024-05-16T09:59:17.453Z] d65c8cfc05b1: Verifying Checksum [2024-05-16T09:59:17.453Z] d65c8cfc05b1: Download complete [2024-05-16T09:59:17.718Z] 699f458cf7ca: Verifying Checksum [2024-05-16T09:59:17.718Z] 699f458cf7ca: Download complete [2024-05-16T09:59:17.982Z] 8998bd30e6a1: Verifying Checksum [2024-05-16T09:59:17.982Z] 8998bd30e6a1: Download complete [2024-05-16T09:59:20.549Z] 2437ff75d9bd: Verifying Checksum [2024-05-16T09:59:20.549Z] 2437ff75d9bd: Download complete [2024-05-16T09:59:22.481Z] 8998bd30e6a1: Pull complete [2024-05-16T09:59:23.060Z] 04944245beec: Pull complete [2024-05-16T09:59:24.458Z] 699f458cf7ca: Pull complete [2024-05-16T09:59:24.723Z] 765212b225bb: Pull complete [2024-05-16T09:59:25.304Z] f23df028b6ca: Pull complete [2024-05-16T09:59:25.569Z] d65c8cfc05b1: Pull complete [2024-05-16T09:59:43.747Z] 2437ff75d9bd: Pull complete [2024-05-16T09:59:43.747Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-05-16T09:59:43.747Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-05-16T09:59:43.747Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-16T09:59:43.940Z] prd-ubuntu20.04-docker-arm64-4c-16g-273 does not seem to be running inside a container [2024-05-16T09:59:44.002Z] $ 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/4 -v /w/workspace/device-modbus-go/4:/w/workspace/device-modbus-go/4:rw,z -v /w/workspace/device-modbus-go/4@tmp:/w/workspace/device-modbus-go/4@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-05-16T09:59:46.640Z] $ docker top b89aea80f0e9abfc581e0e777b33a92672f328d07d06171fa16afc4ee44b0768 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-05-16T09:59:47.467Z] ---> job-cost.sh [2024-05-16T09:59:47.467Z] lf-activate-venv: SKIPPING [2024-05-16T09:59:47.467Z] INFO: No Stack... [2024-05-16T09:59:47.730Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-05-16T09:59:48.681Z] INFO: Archiving Costs [Pipeline] sh [2024-05-16T09:59:49.306Z] + cat /w/workspace/device-modbus-go/4/archives/cost.csv [2024-05-16T09:59:49.306Z] + cut -d, -f6 [Pipeline] lock [2024-05-16T09:59:49.355Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-modbus-go-PR-547-4-stack-cost] [2024-05-16T09:59:49.366Z] Resource [jenkins-edgexfoundry-device-modbus-go-PR-547-4-stack-cost] did not exist. Created. [2024-05-16T09:59:49.373Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-modbus-go-PR-547-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-05-16T09:59:50.024Z] /w/workspace/device-modbus-go/4@tmp/durable-5ff94aa0/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-05-16T09:59:50.347Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-05-16T09:59:50.372Z] Warning: overwriting stash ‘stack-cost’ [2024-05-16T09:59:50.417Z] Stashed 1 file(s) [Pipeline] } [2024-05-16T09:59:50.425Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-modbus-go-PR-547-4-stack-cost] [Pipeline] // lock [Pipeline] } [2024-05-16T09:59:50.458Z] $ docker stop --time=1 b89aea80f0e9abfc581e0e777b33a92672f328d07d06171fa16afc4ee44b0768 [2024-05-16T09:59:51.925Z] $ docker rm -f --volumes b89aea80f0e9abfc581e0e777b33a92672f328d07d06171fa16afc4ee44b0768 [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-05-16T09:59:52.386Z] provisioning config files... [2024-05-16T09:59:52.393Z] copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-547@tmp/config1551962637154537010tmp [Pipeline] { [Pipeline] sh [2024-05-16T09:59:52.680Z] + set +x [2024-05-16T09:59:52.680Z] + + bash -s -- [2024-05-16T09:59:52.680Z] curl -s https://codecov.io/bash [2024-05-16T09:59:52.680Z] [2024-05-16T09:59:52.680Z] _____ _ [2024-05-16T09:59:52.680Z] / ____| | | [2024-05-16T09:59:52.680Z] | | ___ __| | ___ ___ _____ __ [2024-05-16T09:59:52.680Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2024-05-16T09:59:52.680Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2024-05-16T09:59:52.680Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2024-05-16T09:59:52.680Z] Bash-1.0.6 [2024-05-16T09:59:52.680Z] [2024-05-16T09:59:52.680Z] [2024-05-16T09:59:52.680Z] ==> git version 2.25.1 found [2024-05-16T09:59:52.680Z] ==> 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-05-16T09:59:52.680Z] Release-Date: 2020-01-08 [2024-05-16T09:59:52.680Z] 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-05-16T09:59:52.680Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2024-05-16T09:59:52.680Z] ==> Jenkins CI detected. [2024-05-16T09:59:52.680Z] current dir:  /w/workspace/xfoundry_device-modbus-go_PR-547 [2024-05-16T09:59:52.680Z] project root: . [2024-05-16T09:59:52.680Z] --> token set from env [2024-05-16T09:59:52.680Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2024-05-16T09:59:52.680Z] ==> Running gcov in . (disable via -X gcov) [2024-05-16T09:59:52.680Z] ==> Python coveragepy not found [2024-05-16T09:59:52.680Z] ==> Searching for coverage reports in: [2024-05-16T09:59:52.680Z] + . [2024-05-16T09:59:52.680Z] -> Found 1 reports [2024-05-16T09:59:52.680Z] ==> Detecting git/mercurial file structure [2024-05-16T09:59:52.680Z] ==> Reading reports [2024-05-16T09:59:52.680Z] + ./coverage.out bytes=24601 [2024-05-16T09:59:52.680Z] ==> Appending adjustments [2024-05-16T09:59:52.680Z] https://docs.codecov.io/docs/fixing-reports [2024-05-16T09:59:52.937Z] + Found adjustments [2024-05-16T09:59:52.937Z] ==> Gzipping contents [2024-05-16T09:59:52.937Z] 4.0K /tmp/codecov.y5cGbp.gz [2024-05-16T09:59:52.937Z] ==> Uploading reports [2024-05-16T09:59:52.937Z] url: https://codecov.io [2024-05-16T09:59:52.937Z] query: branch=PR-547&commit=67d534a3da082ab1a91afc75009c44586036319d&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-547%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=547&job=&cmd_args= [2024-05-16T09:59:52.937Z] -> Pinging Codecov [2024-05-16T09:59:52.937Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-547&commit=67d534a3da082ab1a91afc75009c44586036319d&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-547%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=547&job=&cmd_args= [2024-05-16T09:59:52.937Z] -> Uploading to [2024-05-16T09:59:52.937Z] https://storage.googleapis.com/codecov/v4/raw/2024-05-16/55DBCA73C666E3227836607328DD7E49/67d534a3da082ab1a91afc75009c44586036319d/1f9365d8-32f9-412d-94e6-517f50dcc59f.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1E5YTIQF4NUDJHIPRXCW6SWPNHIWXR6YCTGFLBKZTWXKPGHK3U3FMCQWA%2F20240516%2Fus-west2%2Fs3%2Faws4_request&X-Amz-Date=20240516T095952Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=b05731cdd5b5800ee25a18adb4569f8cbd595a7936d8f7714a64f0649e8f8f89 [2024-05-16T09:59:52.937Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-05-16T09:59:52.937Z] Dload Upload Total Spent Left Speed [2024-05-16T09:59:53.197Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3843 0 0 100 3843 0 15558 --:--:-- --:--:-- --:--:-- 15558 [2024-05-16T09:59:53.197Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/67d534a3da082ab1a91afc75009c44586036319d [Pipeline] } [2024-05-16T09:59:53.203Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2024-05-16T09:59:54.042Z] + [ -d /w/workspace/xfoundry_device-modbus-go_PR-547/archives ] [2024-05-16T09:59:54.043Z] + ls -al /w/workspace/xfoundry_device-modbus-go_PR-547/archives [2024-05-16T09:59:54.043Z] total 16 [2024-05-16T09:59:54.043Z] drwxr-xr-x 3 root root 4096 May 16 09:48 . [2024-05-16T09:59:54.043Z] drwxrwxr-x 10 jenkins jenkins 4096 May 16 09:48 .. [2024-05-16T09:59:54.043Z] drwxr-xr-x 2 root root 4096 May 16 09:48 cost [2024-05-16T09:59:54.043Z] -rw-r--r-- 1 root root 88 May 16 09:48 cost.csv [2024-05-16T09:59:54.043Z] + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-547/archives [2024-05-16T09:59:54.043Z] + ls -al /w/workspace/xfoundry_device-modbus-go_PR-547/archives [2024-05-16T09:59:54.043Z] total 16 [2024-05-16T09:59:54.043Z] drwxr-xr-x 3 jenkins jenkins 4096 May 16 09:48 . [2024-05-16T09:59:54.043Z] drwxrwxr-x 10 jenkins jenkins 4096 May 16 09:48 .. [2024-05-16T09:59:54.043Z] drwxr-xr-x 2 jenkins jenkins 4096 May 16 09:48 cost [2024-05-16T09:59:54.043Z] -rw-r--r-- 1 jenkins jenkins 88 May 16 09:48 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-05-16T09:59:54.331Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-05-16T09:59:55.189Z] ---> package-listing.sh [2024-05-16T09:59:55.189Z] ++ facter osfamily [2024-05-16T09:59:55.189Z] ++ tr '[:upper:]' '[:lower:]' [2024-05-16T09:59:55.447Z] + OS_FAMILY=debian [2024-05-16T09:59:55.447Z] + workspace=/w/workspace/xfoundry_device-modbus-go_PR-547 [2024-05-16T09:59:55.447Z] + START_PACKAGES=/tmp/packages_start.txt [2024-05-16T09:59:55.447Z] + END_PACKAGES=/tmp/packages_end.txt [2024-05-16T09:59:55.447Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-05-16T09:59:55.447Z] + PACKAGES=/tmp/packages_start.txt [2024-05-16T09:59:55.447Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-547 ']' [2024-05-16T09:59:55.447Z] + PACKAGES=/tmp/packages_end.txt [2024-05-16T09:59:55.447Z] + case "${OS_FAMILY}" in [2024-05-16T09:59:55.447Z] + dpkg -l [2024-05-16T09:59:55.447Z] + grep '^ii' [2024-05-16T09:59:55.447Z] + '[' -f /tmp/packages_start.txt ']' [2024-05-16T09:59:55.447Z] + '[' -f /tmp/packages_end.txt ']' [2024-05-16T09:59:55.447Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-05-16T09:59:55.447Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-547 ']' [2024-05-16T09:59:55.447Z] + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-547/archives/ [2024-05-16T09:59:55.447Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-547/archives/ [Pipeline] echo [2024-05-16T09:59:55.458Z] 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-547/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-05-16T09:59:55.736Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-16T09:59:56.309Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-05-16T09:59:56.309Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-16T09:59:56.390Z] prd-ubuntu20.04-docker-8c-8g-271 does not seem to be running inside a container [2024-05-16T09:59:56.419Z] $ 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-547/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-547 -v /w/workspace/xfoundry_device-modbus-go_PR-547:/w/workspace/xfoundry_device-modbus-go_PR-547:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-547@tmp:/w/workspace/xfoundry_device-modbus-go_PR-547@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-05-16T09:59:56.666Z] $ docker top 075f5fd161c2dd174350a14844a49bbf54e43ad90a54c0e9ca58b35e4b5fb3e0 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-05-16T09:59:57.033Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-05-16T09:59:57.322Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-05-16T09:59:57.605Z] + ls /var/log/sa-host [2024-05-16T09:59:57.605Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-05-16T09:59:57.682Z] provisioning config files... [2024-05-16T09:59:57.690Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-547@tmp/config11776562190737982506tmp [Pipeline] { [Pipeline] echo [2024-05-16T09:59:57.708Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-05-16T09:59:58.001Z] ---> create-netrc.sh [Pipeline] } [2024-05-16T09:59:58.008Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-05-16T09:59:58.339Z] ---> python-tools-install.sh [Pipeline] echo [2024-05-16T09:59:58.349Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-05-16T09:59:58.629Z] ---> sudo-logs.sh [2024-05-16T09:59:58.629Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-05-16T09:59:58.658Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-05-16T09:59:58.941Z] ---> job-cost.sh [2024-05-16T09:59:58.941Z] lf-activate-venv: SKIPPING [2024-05-16T09:59:58.941Z] DEBUG: total: 0.2199999988079071 [2024-05-16T09:59:58.941Z] INFO: Retrieving Stack Cost... [2024-05-16T09:59:59.201Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-05-16T09:59:59.769Z] INFO: Archiving Costs [Pipeline] echo [2024-05-16T09:59:59.779Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-05-16T10:00:00.064Z] ---> logs-deploy.sh [2024-05-16T10:00:00.064Z] lf-activate-venv: SKIPPING [2024-05-16T10:00:00.064Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-547/4 [2024-05-16T10:00:00.064Z] INFO: archiving workspace using pattern(s): [2024-05-16T10:00:01.002Z] Archives upload complete. [2024-05-16T10:00:01.271Z] INFO: archiving logs to Nexus [2024-05-16T10:00:01.849Z] ---> uname -a: [2024-05-16T10:00:01.849Z] Linux prd-ubuntu20-04-docker-8c-8g-271 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux [2024-05-16T10:00:01.849Z] [2024-05-16T10:00:01.849Z]