Pull request #546 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 3f7c613b0aa0c8785abd02e1ee31bb9de316262e+78c106f1b1d485d6b9e2c5cc4debe4f465169507 (5d9ca5a2429e4026aaad46f804486d4105605fd4) Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh2753418820181885769.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh7631078460583927658.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-546/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-546/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh16022788505127239527.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-546/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh9891121355765049257.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 33739fb647ab338ef2ce3bfc8312bfbcef468f88 # timeout=10 Commit message: "Merge pull request #447 from ernestojeda/fix-release-changelog" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh2505714615488195309.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-546/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-546/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh11219865653504554829.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-modbus-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-modbus-go-settings PROJECT: device-modbus-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-modbus DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-531 in /w/workspace/xfoundry_device-modbus-go_PR-546 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-modbus-go.git > git init /w/workspace/xfoundry_device-modbus-go_PR-546 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/546/head:refs/remotes/origin/PR-546 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 78c106f1b1d485d6b9e2c5cc4debe4f465169507 into PR head commit 3f7c613b0aa0c8785abd02e1ee31bb9de316262e Merge succeeded, producing 3f7c613b0aa0c8785abd02e1ee31bb9de316262e Checking out Revision 3f7c613b0aa0c8785abd02e1ee31bb9de316262e (PR-546) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 > git config core.sparsecheckout # timeout=10 > git checkout -f 3f7c613b0aa0c8785abd02e1ee31bb9de316262e # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 78c106f1b1d485d6b9e2c5cc4debe4f465169507 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 3f7c613b0aa0c8785abd02e1ee31bb9de316262e # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 05:39:14 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 05:39:14 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 05:39:14 ========================================================= 05:39:14 EdgeX Global Pipelines Version Info 05:39:14 ========================================================= [Pipeline] libraryResource [Pipeline] sh 05:39:15 ------------------- 05:39:15 stable info: 05:39:15 ------------------- 05:39:15 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 05:39:15 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 05:39:15 Message: update stable to v1.0.258 05:39:15 ------------------- 05:39:15 experimental info: 05:39:15 ------------------- 05:39:15 Commited By: **** collab-it+edgex@linuxfoundation.org 05:39:15 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 05:39:15 Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 05:39:16 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 05:39:16 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 05:39:16 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 05:39:16 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 05:39:16 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 05:39:16 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 05:39:16 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 05:39:16 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 05:39:16 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 05:39:16 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 05:39:16 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 05:39:16 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo 05:39:17 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 05:39:17 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 05:39:17 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 05:39:17 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 05:39:17 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 05:39:17 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 05:39:17 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 05:39:17 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 05:39:17 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 05:39:17 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 05:39:17 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 05:39:17 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 05:39:17 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 05:39:17 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 05:39:17 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 05:39:17 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-546 [Pipeline] echo 05:39:17 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-546 [Pipeline] echo 05:39:17 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-546 [Pipeline] echo 05:39:17 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 3f7c613b0aa0c8785abd02e1ee31bb9de316262e [Pipeline] echo 05:39:18 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 3f7c613 [Pipeline] echo 05:39:18 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:39:18 provisioning config files... 05:39:18 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-546@tmp/config8418613004249407964tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:39:18 ---> ****-login.sh 05:39:18 nexus3.edgexfoundry.org:10001 05:39:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:39:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:39:19 Configure a credential helper to remove this warning. See 05:39:19 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:39:19 05:39:19 Login Succeeded 05:39:19 nexus3.edgexfoundry.org:10002 05:39:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:39:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:39:19 Configure a credential helper to remove this warning. See 05:39:19 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:39:19 05:39:19 Login Succeeded 05:39:19 nexus3.edgexfoundry.org:10003 05:39:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:39:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:39:19 Configure a credential helper to remove this warning. See 05:39:19 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:39:19 05:39:19 Login Succeeded 05:39:19 nexus3.edgexfoundry.org:10004 05:39:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:39:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:39:19 Configure a credential helper to remove this warning. See 05:39:19 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:39:19 05:39:19 Login Succeeded 05:39:19 ****.io 05:39:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:39:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:39:19 Configure a credential helper to remove this warning. See 05:39:19 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:39:19 05:39:19 Login Succeeded 05:39:19 ---> ****-login.sh ends [Pipeline] } 05:39:19 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 05:39:20 + git rev-list -1 --merges 3f7c613b0aa0c8785abd02e1ee31bb9de316262e~1..3f7c613b0aa0c8785abd02e1ee31bb9de316262e [Pipeline] echo 05:39:20 -----------> git rev-list -1 --merges 3f7c613b0aa0c8785abd02e1ee31bb9de316262e~1..3f7c613b0aa0c8785abd02e1ee31bb9de316262e 3f7c613b0aa0c8785abd02e1ee31bb9de316262e [false] [Pipeline] sh 05:39:20 + git log --format=format:%s -1 3f7c613b0aa0c8785abd02e1ee31bb9de316262e [Pipeline] echo 05:39:20 ========================================================= 05:39:20 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 05:39:20 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:39:21 + git log --format=format:%s -1 3f7c613b0aa0c8785abd02e1ee31bb9de316262e [Pipeline] echo 05:39:21 [semverPrep] GIT_COMMIT: 3f7c613b0aa0c8785abd02e1ee31bb9de316262e, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo 05:39:21 [semverPrep] This is not a build commit. [Pipeline] sh 05:39:21 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:39:21 + grep -v github /etc/ssh/ssh_known_hosts 05:39:21 + [ -e /tmp/ssh_known_hosts ] 05:39:21 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 05:39:21 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 05:39:21 + sudo tee -a /etc/ssh/ssh_known_hosts 05:39:21 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:39:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:39:22 05:39:22 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:39:22 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:39:22 0.1.4: Pulling from edgex-devops/py-git-semver 05:39:22 b85a868b505f: Pulling fs layer 05:39:22 e2be974225ed: Pulling fs layer 05:39:22 339a4e72a1f5: Pulling fs layer 05:39:22 988bab9f4d93: Pulling fs layer 05:39:22 1469e6f7b9e6: Pulling fs layer 05:39:22 eaf3925da568: Pulling fs layer 05:39:22 bab4dde63d76: Pulling fs layer 05:39:22 bde34c3a00c8: Pulling fs layer 05:39:22 b352a97aabf1: Pulling fs layer 05:39:22 4872d77fe225: Pulling fs layer 05:39:22 5851b861e8e6: Pulling fs layer 05:39:22 bab4dde63d76: Waiting 05:39:22 bde34c3a00c8: Waiting 05:39:22 b352a97aabf1: Waiting 05:39:22 4872d77fe225: Waiting 05:39:22 5851b861e8e6: Waiting 05:39:22 1469e6f7b9e6: Waiting 05:39:22 eaf3925da568: Waiting 05:39:22 988bab9f4d93: Waiting 05:39:22 e2be974225ed: Verifying Checksum 05:39:22 e2be974225ed: Download complete 05:39:22 988bab9f4d93: Download complete 05:39:22 1469e6f7b9e6: Verifying Checksum 05:39:22 1469e6f7b9e6: Download complete 05:39:22 eaf3925da568: Verifying Checksum 05:39:22 eaf3925da568: Download complete 05:39:22 339a4e72a1f5: Verifying Checksum 05:39:22 339a4e72a1f5: Download complete 05:39:22 bde34c3a00c8: Verifying Checksum 05:39:22 bde34c3a00c8: Download complete 05:39:22 b352a97aabf1: Download complete 05:39:22 4872d77fe225: Download complete 05:39:22 5851b861e8e6: Verifying Checksum 05:39:22 5851b861e8e6: Download complete 05:39:23 b85a868b505f: Download complete 05:39:23 bab4dde63d76: Verifying Checksum 05:39:23 bab4dde63d76: Download complete 05:39:24 b85a868b505f: Pull complete 05:39:24 e2be974225ed: Pull complete 05:39:24 339a4e72a1f5: Pull complete 05:39:24 988bab9f4d93: Pull complete 05:39:25 1469e6f7b9e6: Pull complete 05:39:25 eaf3925da568: Pull complete 05:39:27 bab4dde63d76: Pull complete 05:39:27 bde34c3a00c8: Pull complete 05:39:27 b352a97aabf1: Pull complete 05:39:27 4872d77fe225: Pull complete 05:39:27 5851b861e8e6: Pull complete 05:39:27 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 05:39:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:39:27 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:39:27 prd-ubuntu20.04-docker-8c-8g-531 does not seem to be running inside a container 05:39:27 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-546 -v /w/workspace/xfoundry_device-modbus-go_PR-546:/w/workspace/xfoundry_device-modbus-go_PR-546:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-546@tmp:/w/workspace/xfoundry_device-modbus-go_PR-546@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 05:39:31 $ docker top f44c690f15f39af6519666cd5cefdcb8ea52c4f88fd9568f18941505344e8463 -eo pid,comm 05:39:31 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). 05:39:31 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:39:31 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:39:31 [ssh-agent] Looking for ssh-agent implementation... 05:39:31 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:39:31 $ docker exec f44c690f15f39af6519666cd5cefdcb8ea52c4f88fd9568f18941505344e8463 ssh-agent 05:39:31 SSH_AUTH_SOCK=/tmp/ssh-24nd1tsExK7W/agent.31 05:39:31 SSH_AGENT_PID=37 05:39:31 Running ssh-add (command line suppressed) 05:39:31 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-546@tmp/private_key_14434631900725977472.key (/w/workspace/xfoundry_device-modbus-go_PR-546@tmp/private_key_14434631900725977472.key) 05:39:31 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:39:31 + git tag --points-at HEAD [Pipeline] } 05:39:32 $ docker exec --env ******** --env ******** f44c690f15f39af6519666cd5cefdcb8ea52c4f88fd9568f18941505344e8463 ssh-agent -k 05:39:32 unset SSH_AUTH_SOCK; 05:39:32 unset SSH_AGENT_PID; 05:39:32 echo Agent pid 37 killed; 05:39:32 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 05:39:32 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:39:32 [ssh-agent] Looking for ssh-agent implementation... 05:39:32 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:39:32 $ docker exec f44c690f15f39af6519666cd5cefdcb8ea52c4f88fd9568f18941505344e8463 ssh-agent 05:39:32 SSH_AUTH_SOCK=/tmp/ssh-js6VMCP8cSRV/agent.70 05:39:32 SSH_AGENT_PID=76 05:39:32 Running ssh-add (command line suppressed) 05:39:32 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-546@tmp/private_key_17546372657474228333.key (/w/workspace/xfoundry_device-modbus-go_PR-546@tmp/private_key_17546372657474228333.key) 05:39:32 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:39:32 + git semver init 05:39:33 2024-03-21 05:39:33,068 [run_init] DEBUG init version:0.0.0 force:False 05:39:33 2024-03-21 05:39:33,073 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-modbus-go_PR-546/.semver 05:39:33 2024-03-21 05:39:33,074 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/xfoundry_device-modbus-go_PR-546/.semver 05:39:33 2024-03-21 05:39:33,074 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/xfoundry_device-modbus-go_PR-546/.semver'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-546, universal_newlines=False, shell=None, istream=None) 05:39:34 2024-03-21 05:39:34,229 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-modbus-go_PR-546/.git/info/exclude 05:39:34 2024-03-21 05:39:34,230 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-modbus-go_PR-546/.semver/PR-546 with force:False 05:39:34 2024-03-21 05:39:34,230 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-modbus-go_PR-546/.semver/PR-546 05:39:34 2024-03-21 05:39:34,234 [execute] INFO git cat-file --batch-check 05:39:34 2024-03-21 05:39:34,235 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-546/.semver, universal_newlines=False, shell=None, istream=) 05:39:34 2024-03-21 05:39:34,241 [execute] INFO git cat-file --batch 05:39:34 2024-03-21 05:39:34,242 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-546/.semver, universal_newlines=False, shell=None, istream=) 05:39:34 2024-03-21 05:39:34,247 [read_version] DEBUG read version from /w/workspace/xfoundry_device-modbus-go_PR-546/.semver/PR-546 05:39:34 0.0.0 [Pipeline] } 05:39:34 $ docker exec --env ******** --env ******** f44c690f15f39af6519666cd5cefdcb8ea52c4f88fd9568f18941505344e8463 ssh-agent -k 05:39:34 unset SSH_AUTH_SOCK; 05:39:34 unset SSH_AGENT_PID; 05:39:34 echo Agent pid 76 killed; 05:39:34 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:39:35 + git semver [Pipeline] } 05:39:35 $ docker stop --time=1 f44c690f15f39af6519666cd5cefdcb8ea52c4f88fd9568f18941505344e8463 05:39:36 $ docker rm -f --volumes f44c690f15f39af6519666cd5cefdcb8ea52c4f88fd9568f18941505344e8463 [Pipeline] // withDockerContainer [Pipeline] sh 05:39:37 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 05:39:37 Stashed 1 file(s) [Pipeline] echo 05:39:37 [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 05:39:38 provisioning config files... 05:39:38 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-546@tmp/config15634840566847926388tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:39:38 ---> ****-login.sh 05:39:38 nexus3.edgexfoundry.org:10001 05:39:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:39:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:39:38 Configure a credential helper to remove this warning. See 05:39:38 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:39:38 05:39:38 Login Succeeded 05:39:38 nexus3.edgexfoundry.org:10002 05:39:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:39:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:39:38 Configure a credential helper to remove this warning. See 05:39:38 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:39:38 05:39:38 Login Succeeded 05:39:38 nexus3.edgexfoundry.org:10003 05:39:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:39:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:39:38 Configure a credential helper to remove this warning. See 05:39:38 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:39:38 05:39:38 Login Succeeded 05:39:38 nexus3.edgexfoundry.org:10004 05:39:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:39:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:39:38 Configure a credential helper to remove this warning. See 05:39:38 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:39:38 05:39:38 Login Succeeded 05:39:38 ****.io 05:39:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:39:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:39:39 Configure a credential helper to remove this warning. See 05:39:39 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:39:39 05:39:39 Login Succeeded 05:39:39 ---> ****-login.sh ends [Pipeline] } 05:39:39 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:39:39 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 05:39:39 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 05:39:39 ========================================================= 05:39:39 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 05:39:39 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:39:39 + 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 . 05:39:39 Sending build context to Docker daemon 17.36MB 05:39:39 Step 1/10 : ARG BASE=golang:1.21-alpine3.18 05:39:39 Step 2/10 : FROM ${BASE} AS builder 05:39:39 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 05:39:39 7264a8db6415: Pulling fs layer 05:39:39 c4d48a809fc2: Pulling fs layer 05:39:39 4f1c88b9dad5: Pulling fs layer 05:39:39 ad3a456e5733: Pulling fs layer 05:39:39 69c7f0334f64: Pulling fs layer 05:39:39 1f1c1a5573a3: Pulling fs layer 05:39:39 ce7588e14bc9: Pulling fs layer 05:39:39 b5e4710f87ac: Pulling fs layer 05:39:39 ad3a456e5733: Waiting 05:39:39 69c7f0334f64: Waiting 05:39:39 1f1c1a5573a3: Waiting 05:39:39 ce7588e14bc9: Waiting 05:39:39 b5e4710f87ac: Waiting 05:39:40 c4d48a809fc2: Verifying Checksum 05:39:40 c4d48a809fc2: Download complete 05:39:40 ad3a456e5733: Verifying Checksum 05:39:40 ad3a456e5733: Download complete 05:39:40 69c7f0334f64: Download complete 05:39:40 7264a8db6415: Download complete 05:39:40 1f1c1a5573a3: Verifying Checksum 05:39:40 1f1c1a5573a3: Download complete 05:39:40 7264a8db6415: Pull complete 05:39:40 b5e4710f87ac: Verifying Checksum 05:39:40 b5e4710f87ac: Download complete 05:39:40 c4d48a809fc2: Pull complete 05:39:40 4f1c88b9dad5: Verifying Checksum 05:39:40 4f1c88b9dad5: Download complete 05:39:40 ce7588e14bc9: Verifying Checksum 05:39:40 ce7588e14bc9: Download complete 05:39:43 4f1c88b9dad5: Pull complete 05:39:43 ad3a456e5733: Pull complete 05:39:43 69c7f0334f64: Pull complete 05:39:43 1f1c1a5573a3: Pull complete 05:39:46 ce7588e14bc9: Pull complete 05:39:46 b5e4710f87ac: Pull complete 05:39:46 Digest: sha256:f80dd7bb8fdf010369d5adb4058a62695265b22e897ca6aac7b42af84fdce50e 05:39:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 05:39:46 ---> 88b5674ff536 05:39:46 Step 3/10 : ARG ADD_BUILD_TAGS="" 05:39:50 ---> Running in 8b29a246e0e2 05:39:50 Removing intermediate container 8b29a246e0e2 05:39:50 ---> 79e4ea4af4b9 05:39:50 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:39:50 ---> Running in 589d1538eb22 05:39:51 Removing intermediate container 589d1538eb22 05:39:51 ---> 695808e7ef1e 05:39:51 Step 5/10 : RUN apk add --update --no-cache make git openssh 05:39:51 ---> Running in 9f5a1d9fe785 05:39:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 05:39:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 05:39:51 (1/8) Installing openssh-keygen (9.3_p2-r1) 05:39:51 (2/8) Installing libedit (20221030.3.1-r1) 05:39:51 (3/8) Installing openssh-client-common (9.3_p2-r1) 05:39:51 (4/8) Installing openssh-client-default (9.3_p2-r1) 05:39:51 (5/8) Installing openssh-sftp-server (9.3_p2-r1) 05:39:51 (6/8) Installing openssh-server-common (9.3_p2-r1) 05:39:51 (7/8) Installing openssh-server (9.3_p2-r1) 05:39:51 (8/8) Installing openssh (9.3_p2-r1) 05:39:51 Executing busybox-1.36.1-r5.trigger 05:39:51 OK: 270 MiB in 60 packages 05:39:52 Removing intermediate container 9f5a1d9fe785 05:39:52 ---> 216ab3a9277d 05:39:52 Step 6/10 : WORKDIR /device-modbus-go 05:39:52 ---> Running in b9701fa8e3dc 05:39:52 Removing intermediate container b9701fa8e3dc 05:39:52 ---> ce20c9dd13cb 05:39:52 Step 7/10 : COPY go.mod vendor* ./ 05:39:52 ---> 8ad3a22d8166 05:39:52 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:39:52 ---> Running in 3cd8401d1d49 05:39:52 Still waiting to schedule task 05:39:52 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 05:41:00 Removing intermediate container 3cd8401d1d49 05:41:00 ---> 792ed1ba55e8 05:41:00 Step 9/10 : COPY . . 05:41:00 ---> a2717ea412a0 05:41:00 Step 10/10 : RUN ${MAKE} 05:41:00 ---> Running in 22696499b2be 05:41:00 noop 05:41:00 Removing intermediate container 22696499b2be 05:41:00 ---> adcee7a3212e 05:41:00 Successfully built adcee7a3212e 05:41:00 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:41:00 + docker inspect -f . ci-base-image-x86_64 05:41:00 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:41:00 prd-ubuntu20.04-docker-8c-8g-531 does not seem to be running inside a container 05:41:01 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-546 -v /w/workspace/xfoundry_device-modbus-go_PR-546:/w/workspace/xfoundry_device-modbus-go_PR-546:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-546@tmp:/w/workspace/xfoundry_device-modbus-go_PR-546@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 05:41:01 $ docker top f47490f0d30ea28d5dc1623f8d7bf79621f90ddaffc7f1ce96501ffcbe32fca9 -eo pid,comm [Pipeline] { [Pipeline] sh 05:41:01 + go version 05:41:01 go version go1.21.0 linux/amd64 [Pipeline] } 05:41:01 $ docker stop --time=1 f47490f0d30ea28d5dc1623f8d7bf79621f90ddaffc7f1ce96501ffcbe32fca9 05:41:03 $ docker rm -f --volumes f47490f0d30ea28d5dc1623f8d7bf79621f90ddaffc7f1ce96501ffcbe32fca9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:41:03 + docker inspect -f . ci-base-image-x86_64 05:41:03 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:41:04 prd-ubuntu20.04-docker-8c-8g-531 does not seem to be running inside a container 05:41:04 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/xfoundry_device-modbus-go_PR-546 -v /w/workspace/xfoundry_device-modbus-go_PR-546:/w/workspace/xfoundry_device-modbus-go_PR-546:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-546@tmp:/w/workspace/xfoundry_device-modbus-go_PR-546@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 05:41:04 $ docker top 1b47615043a95ca3f8e5733047ca9a9d851b9ff7ee591ce13aa01060e6d9c763 -eo pid,comm [Pipeline] { [Pipeline] sh 05:41:04 + git config --global --add safe.directory /w/workspace/xfoundry_device-modbus-go_PR-546 [Pipeline] fileExists [Pipeline] sh 05:41:05 + make test 05:41:05 go test ./... -coverprofile=coverage.out 05:41:06 ? github.com/edgexfoundry/device-modbus-go [no test files] 05:41:22 Running on prd-ubuntu20.04-docker-arm64-4c-16g-532 in /w/workspace/xfoundry_device-modbus-go_PR-546 [Pipeline] { [Pipeline] ws 05:41:22 Running in /w/workspace/device-modbus-go/1 [Pipeline] { [Pipeline] checkout 05:41:24 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 05:41:24 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.015s coverage: 47.9% of statements 05:41:25 Selected Git installation does not exist. Using Default 05:41:25 The recommended git tool is: NONE 05:41:29 using credential edgex-jenkins-ssh 05:41:30 Cloning the remote Git repository 05:41:30 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 05:41:30 > git init /w/workspace/device-modbus-go/1 # timeout=10 05:41:30 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 05:41:30 > git --version # timeout=10 05:41:30 > git --version # 'git version 2.25.1' 05:41:30 using GIT_SSH to set credentials SSH Credentials for GitHub 05:41:30 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 05:41:32 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 05:41:32 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 05:41:33 Merging remotes/origin/main commit 78c106f1b1d485d6b9e2c5cc4debe4f465169507 into PR head commit 3f7c613b0aa0c8785abd02e1ee31bb9de316262e 05:41:33 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 05:41:33 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 05:41:33 using GIT_SSH to set credentials SSH Credentials for GitHub 05:41:33 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/546/head:refs/remotes/origin/PR-546 +refs/heads/main:refs/remotes/origin/main # timeout=10 05:41:34 > git config core.sparsecheckout # timeout=10 05:41:34 > git checkout -f 3f7c613b0aa0c8785abd02e1ee31bb9de316262e # timeout=10 05:41:34 > git remote # timeout=10 05:41:34 > git config --get remote.origin.url # timeout=10 05:41:34 using GIT_SSH to set credentials SSH Credentials for GitHub 05:41:34 Merge succeeded, producing 3f7c613b0aa0c8785abd02e1ee31bb9de316262e 05:41:34 Checking out Revision 3f7c613b0aa0c8785abd02e1ee31bb9de316262e (PR-546) 05:41:34 go vet ./... 05:41:34 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" 05:41:34 > git --version # timeout=10 05:41:34 > git --version # 'git version 2.25.1' 05:41:34 fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 05:41:34 > git merge 78c106f1b1d485d6b9e2c5cc4debe4f465169507 # timeout=10 05:41:34 > git rev-parse HEAD^{commit} # timeout=10 05:41:34 > git config core.sparsecheckout # timeout=10 05:41:34 > git checkout -f 3f7c613b0aa0c8785abd02e1ee31bb9de316262e # timeout=10 05:41:38 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:41:38 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 05:41:38 ./bin/test-attribution-txt.sh 05:41:38 An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add 05:41:38 An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add 05:41:38 An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add 05:41:38 An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add 05:41:38 An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add 05:41:38 An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add 05:41:38 An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add 05:41:38 An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add 05:41:38 An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add 05:41:38 An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add 05:41:38 An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add 05:41:38 An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add 05:41:38 An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add 05:41:38 An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add 05:41:38 An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add 05:41:38 An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add 05:41:38 An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add 05:41:38 An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add 05:41:38 An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add 05:41:38 An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add 05:41:38 An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add 05:41:38 An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add 05:41:38 An attribution for github.com/josharian/intern is missing from Attribution.txt, please add 05:41:38 An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add 05:41:38 An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add 05:41:38 An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add 05:41:38 An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add 05:41:38 An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add 05:41:38 An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add 05:41:38 An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add 05:41:38 An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add 05:41:38 An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add 05:41:38 An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add 05:41:38 An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add 05:41:38 An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add 05:41:38 An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add 05:41:38 An attribution for github.com/openziti/identity is missing from Attribution.txt, please add [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { 05:41:38 An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add 05:41:38 An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add 05:41:38 An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add 05:41:38 An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add 05:41:38 An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add 05:41:38 An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add 05:41:38 An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add 05:41:38 An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add 05:41:38 An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add 05:41:38 An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add 05:41:38 An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add 05:41:38 An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add 05:41:38 An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add 05:41:38 An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add 05:41:38 An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add 05:41:38 An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add 05:41:38 An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add 05:41:38 An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add 05:41:38 An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add 05:41:38 An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add 05:41:38 An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add 05:41:38 An attribution for golang.org/x/term is missing from Attribution.txt, please add 05:41:38 An attribution for google.golang.org/appengine is missing from Attribution.txt, please add 05:41:38 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add 05:41:38 An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] sh [Pipeline] echo 05:41:39 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 05:41:39 $ docker stop --time=1 1b47615043a95ca3f8e5733047ca9a9d851b9ff7ee591ce13aa01060e6d9c763 05:41:39 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 05:41:39 % Total % Received % Xferd Average Speed Time Time Time Current 05:41:39 Dload Upload Total Spent Left Speed 05:41:39 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 192k 0 --:--:-- --:--:-- --:--:-- 192k 05:41:44 $ docker rm -f --volumes 1b47615043a95ca3f8e5733047ca9a9d851b9ff7ee591ce13aa01060e6d9c763 [Pipeline] // withDockerContainer [Pipeline] sh [Pipeline] sh 05:41:44 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:41:44 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json 05:41:44 Stashed 1 file(s) [Pipeline] } [Pipeline] sh [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) 05:41:45 + sudo tee /etc/docker/daemon.new 05:41:45 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 05:41:45 { 05:41:45 "registry-mirrors": [ 05:41:45 "https://nexus3.edgexfoundry.org:10001" 05:41:45 ], 05:41:45 "bip": "10.250.0.254/24", 05:41:45 "hosts": [ 05:41:45 "tcp://0.0.0.0:5555", 05:41:45 "unix:///var/run/docker.sock" 05:41:45 ], 05:41:45 "mtu": 1458, 05:41:45 "selinux-enabled": true, 05:41:45 "seccomp-profile": "/etc/docker/seccomp.json" 05:41:45 } [Pipeline] sh [Pipeline] sh 05:41:45 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 05:41:45 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:41:46 + sudo service docker restart 05:41:46 + ls -al . 05:41:46 total 260 05:41:46 drwxrwxr-x 9 jenkins jenkins 4096 Mar 21 05:41 . 05:41:46 drwxrwxr-x 4 jenkins jenkins 4096 Mar 21 05:39 .. 05:41:46 -rw-rw-r-- 1 jenkins jenkins 140 Mar 21 05:39 .dockerignore 05:41:46 drwxrwxr-x 8 jenkins jenkins 4096 Mar 21 05:41 .git 05:41:46 drwxrwxr-x 3 jenkins jenkins 4096 Mar 21 05:39 .github 05:41:46 -rw-rw-r-- 1 jenkins jenkins 266 Mar 21 05:39 .gitignore 05:41:46 -rw-rw-r-- 1 jenkins jenkins 41 Mar 21 05:39 .golangci.yml 05:41:46 drwxr-xr-x 3 jenkins jenkins 4096 Mar 21 05:39 .semver 05:41:46 -rw-rw-r-- 1 jenkins jenkins 11101 Mar 21 05:39 Attribution.txt 05:41:46 -rw-rw-r-- 1 jenkins jenkins 16388 Mar 21 05:39 CHANGELOG.md 05:41:46 -rw-rw-r-- 1 jenkins jenkins 1474 Mar 21 05:39 Dockerfile 05:41:46 -rw-rw-r-- 1 jenkins jenkins 677 Mar 21 05:39 GOVERNANCE.md 05:41:46 -rw-rw-r-- 1 jenkins jenkins 658 Mar 21 05:39 Jenkinsfile 05:41:46 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 21 05:39 LICENSE 05:41:46 -rw-rw-r-- 1 jenkins jenkins 1942 Mar 21 05:39 Makefile 05:41:46 -rw-rw-r-- 1 jenkins jenkins 622 Mar 21 05:39 OWNERS.md 05:41:46 -rw-rw-r-- 1 jenkins jenkins 4463 Mar 21 05:39 README.md 05:41:46 -rw-rw-r-- 1 jenkins jenkins 5 Mar 21 05:39 VERSION 05:41:46 drwxrwxr-x 2 jenkins jenkins 4096 Mar 21 05:39 bin 05:41:46 drwxrwxr-x 3 jenkins jenkins 4096 Mar 21 05:39 cmd 05:41:46 -rw-r--r-- 1 jenkins jenkins 24334 Mar 21 05:41 coverage.out 05:41:46 -rw-rw-r-- 1 jenkins jenkins 7289 Mar 21 05:39 go.mod 05:41:46 -rw-rw-r-- 1 jenkins jenkins 101859 Mar 21 05:39 go.sum 05:41:46 drwxrwxr-x 3 jenkins jenkins 4096 Mar 21 05:39 internal 05:41:46 drwxrwxr-x 2 jenkins jenkins 4096 Mar 21 05:39 simulator 05:41:46 -rw-rw-r-- 1 jenkins jenkins 229 Mar 21 05:39 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:41:46 + docker build -t device-modbus -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=3f7c613b0aa0c8785abd02e1ee31bb9de316262e --label arch=amd64 --label version=0.0.0 . 05:41:46 Sending build context to Docker daemon 17.38MB 05:41:46 Step 1/23 : ARG BASE=golang:1.21-alpine3.18 05:41:46 Step 2/23 : FROM ${BASE} AS builder 05:41:46 ---> adcee7a3212e 05:41:46 Step 3/23 : ARG ADD_BUILD_TAGS="" 05:41:47 ---> Running in a66d2e8daafd 05:41:47 Removing intermediate container a66d2e8daafd 05:41:47 ---> 7ee3558be84c 05:41:47 Step 4/23 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:41:47 ---> Running in 684c5e6521b3 05:41:47 Removing intermediate container 684c5e6521b3 05:41:47 ---> 4a1f1082f5a9 05:41:47 Step 5/23 : RUN apk add --update --no-cache make git openssh 05:41:47 ---> Running in 7e0d446a000d 05:41:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 05:41:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 05:41:47 OK: 270 MiB in 60 packages 05:41:48 Removing intermediate container 7e0d446a000d 05:41:48 ---> 0b1741b1c037 05:41:48 Step 6/23 : WORKDIR /device-modbus-go 05:41:48 ---> Running in 0045d7d323df 05:41:48 Removing intermediate container 0045d7d323df 05:41:48 ---> 7a49b7951be7 05:41:48 Step 7/23 : COPY go.mod vendor* ./ 05:41:48 ---> e4ced16cf835 05:41:48 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:41:48 ---> Running in 8fc0281e9de8 05:41:49 Removing intermediate container 8fc0281e9de8 05:41:49 ---> 355208db88ec 05:41:49 Step 9/23 : COPY . . 05:41:49 ---> 79ef4bf8fa6d 05:41:49 Step 10/23 : RUN ${MAKE} 05:41:49 ---> Running in d18f0d6a6a09 05:41:50 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-modbus-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.12" -trimpath -mod=readonly -o cmd/device-modbus ./cmd [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:42:04 provisioning config files... 05:42:04 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/1@tmp/config7727671778626402611tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:42:04 ---> ****-login.sh 05:42:04 nexus3.edgexfoundry.org:10001 05:42:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:42:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:42:05 Configure a credential helper to remove this warning. See 05:42:05 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:42:05 05:42:05 Login Succeeded 05:42:05 nexus3.edgexfoundry.org:10002 05:42:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:42:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:42:05 Configure a credential helper to remove this warning. See 05:42:05 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:42:05 05:42:05 Login Succeeded 05:42:05 nexus3.edgexfoundry.org:10003 05:42:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:42:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:42:06 Configure a credential helper to remove this warning. See 05:42:06 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:42:06 05:42:06 Login Succeeded 05:42:06 nexus3.edgexfoundry.org:10004 05:42:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:42:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:42:06 Configure a credential helper to remove this warning. See 05:42:06 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:42:06 05:42:06 Login Succeeded 05:42:06 ****.io 05:42:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:42:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:42:06 Configure a credential helper to remove this warning. See 05:42:06 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:42:06 05:42:06 Login Succeeded 05:42:06 ---> ****-login.sh ends [Pipeline] } 05:42:06 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:42:07 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 05:42:07 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 05:42:07 ========================================================= 05:42:07 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 05:42:07 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:42:07 + 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 . 05:42:08 Sending build context to Docker daemon 8.807MB 05:42:08 Step 1/10 : ARG BASE=golang:1.21-alpine3.18 05:42:08 Step 2/10 : FROM ${BASE} AS builder 05:42:08 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 05:42:08 9fda8d8052c6: Pulling fs layer 05:42:08 5d54e960e981: Pulling fs layer 05:42:08 c4a7e357bf2a: Pulling fs layer 05:42:08 f0e02332f6b5: Pulling fs layer 05:42:08 872ee5b61b7b: Pulling fs layer 05:42:08 0c6a40ed1a82: Pulling fs layer 05:42:08 94ae7d8d031c: Pulling fs layer 05:42:08 872ee5b61b7b: Waiting 05:42:08 0c6a40ed1a82: Waiting 05:42:08 94ae7d8d031c: Waiting 05:42:08 f0e02332f6b5: Waiting 05:42:08 5d54e960e981: Verifying Checksum 05:42:08 5d54e960e981: Download complete 05:42:08 f0e02332f6b5: Verifying Checksum 05:42:08 f0e02332f6b5: Download complete 05:42:08 872ee5b61b7b: Verifying Checksum 05:42:08 872ee5b61b7b: Download complete 05:42:08 9fda8d8052c6: Verifying Checksum 05:42:08 9fda8d8052c6: Download complete 05:42:09 94ae7d8d031c: Verifying Checksum 05:42:09 94ae7d8d031c: Download complete 05:42:09 9fda8d8052c6: Pull complete 05:42:10 5d54e960e981: Pull complete 05:42:10 c4a7e357bf2a: Verifying Checksum 05:42:10 c4a7e357bf2a: Download complete 05:42:11 0c6a40ed1a82: Verifying Checksum 05:42:11 0c6a40ed1a82: Download complete 05:42:22 Removing intermediate container d18f0d6a6a09 05:42:22 ---> 9cb4f62ec2b8 05:42:22 Step 11/23 : FROM alpine:3.18 05:42:22 3.18: Pulling from library/alpine 05:42:22 619be1103602: Pulling fs layer 05:42:22 619be1103602: Verifying Checksum 05:42:22 619be1103602: Download complete 05:42:22 619be1103602: Pull complete 05:42:22 Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 05:42:22 Status: Downloaded newer image for alpine:3.18 05:42:22 ---> d3782b16ccc9 05:42:22 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 05:42:22 ---> Running in 1d63a97b3771 05:42:22 Removing intermediate container 1d63a97b3771 05:42:22 ---> 21b2aba4ee2d 05:42:22 Step 13/23 : RUN apk add --update --no-cache dumb-init 05:42:22 ---> Running in 2c4cc00c4223 05:42:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 05:42:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 05:42:22 (1/1) Installing dumb-init (1.2.5-r2) 05:42:22 Executing busybox-1.36.1-r5.trigger 05:42:22 OK: 7 MiB in 16 packages 05:42:22 Removing intermediate container 2c4cc00c4223 05:42:22 ---> c07f1f8bdc49 05:42:22 Step 14/23 : RUN apk --no-cache upgrade 05:42:22 ---> Running in 1782fbca25ae 05:42:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 05:42:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 05:42:23 (1/1) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) 05:42:23 OK: 7 MiB in 16 packages 05:42:23 Removing intermediate container 1782fbca25ae 05:42:23 ---> c3970eb117ba 05:42:23 Step 15/23 : COPY --from=builder /device-modbus-go/cmd / 05:42:23 c4a7e357bf2a: Pull complete 05:42:23 f0e02332f6b5: Pull complete 05:42:23 872ee5b61b7b: Pull complete 05:42:24 ---> 7cd7a370c08a 05:42:24 Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / 05:42:24 ---> 6b35b9dc723f 05:42:24 Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / 05:42:24 ---> 54ea4dc53241 05:42:24 Step 18/23 : EXPOSE 59901 05:42:24 ---> Running in 6de6660e49a7 05:42:24 Removing intermediate container 6de6660e49a7 05:42:24 ---> b17adb995601 05:42:24 Step 19/23 : ENTRYPOINT ["/device-modbus"] 05:42:24 ---> Running in 3eb4f8e10fa6 05:42:24 Removing intermediate container 3eb4f8e10fa6 05:42:24 ---> 4667f12056e8 05:42:24 Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 05:42:24 ---> Running in ba0cdeee4c19 05:42:24 Removing intermediate container ba0cdeee4c19 05:42:24 ---> 4d8273d7820f 05:42:24 Step 21/23 : LABEL arch=amd64 05:42:24 ---> Running in 60b3b766c8b7 05:42:25 Removing intermediate container 60b3b766c8b7 05:42:25 ---> 8bef5abef819 05:42:25 Step 22/23 : LABEL git_sha=3f7c613b0aa0c8785abd02e1ee31bb9de316262e 05:42:25 ---> Running in 96afdef4ee4a 05:42:25 Removing intermediate container 96afdef4ee4a 05:42:25 ---> 9cf55fe63bba 05:42:25 Step 23/23 : LABEL version=0.0.0 05:42:25 ---> Running in 11c687b984b3 05:42:25 Removing intermediate container 11c687b984b3 05:42:25 ---> 3f2f4f6553db 05:42:25 [Warning] One or more build-args [ARCH] were not consumed 05:42:25 Successfully built 3f2f4f6553db 05:42:25 Successfully tagged device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:42:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:42:26 05:42:26 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:42:26 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:42:26 latest: Pulling from edgex-lftools-log-publisher 05:42:26 5eb5b503b376: Pulling fs layer 05:42:26 5c69ac0246d0: Pulling fs layer 05:42:26 ec43610c2a17: Pulling fs layer 05:42:26 3a2ae6a8a46f: Pulling fs layer 05:42:26 33b1e0a273af: Pulling fs layer 05:42:26 5d3b04190fa2: Pulling fs layer 05:42:26 2f39f015ded8: Pulling fs layer 05:42:26 5d3b04190fa2: Waiting 05:42:26 3a2ae6a8a46f: Waiting 05:42:26 2f39f015ded8: Waiting 05:42:26 33b1e0a273af: Waiting 05:42:26 5c69ac0246d0: Download complete 05:42:26 3a2ae6a8a46f: Verifying Checksum 05:42:26 3a2ae6a8a46f: Download complete 05:42:26 33b1e0a273af: Verifying Checksum 05:42:26 33b1e0a273af: Download complete 05:42:26 5d3b04190fa2: Verifying Checksum 05:42:26 5d3b04190fa2: Download complete 05:42:26 ec43610c2a17: Verifying Checksum 05:42:26 ec43610c2a17: Download complete 05:42:26 5eb5b503b376: Verifying Checksum 05:42:26 5eb5b503b376: Download complete 05:42:27 2f39f015ded8: Download complete 05:42:28 5eb5b503b376: Pull complete 05:42:28 5c69ac0246d0: Pull complete 05:42:28 ec43610c2a17: Pull complete 05:42:28 3a2ae6a8a46f: Pull complete 05:42:29 33b1e0a273af: Pull complete 05:42:29 5d3b04190fa2: Pull complete 05:42:32 0c6a40ed1a82: Pull complete 05:42:33 94ae7d8d031c: Pull complete 05:42:33 Digest: sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 05:42:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 05:42:33 ---> 86de565de09d 05:42:33 Step 3/10 : ARG ADD_BUILD_TAGS="" 05:42:34 2f39f015ded8: Pull complete 05:42:34 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 05:42:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:42:34 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:42:34 prd-ubuntu20.04-docker-8c-8g-531 does not seem to be running inside a container 05:42:34 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/xfoundry_device-modbus-go_PR-546 -v /w/workspace/xfoundry_device-modbus-go_PR-546:/w/workspace/xfoundry_device-modbus-go_PR-546:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-546@tmp:/w/workspace/xfoundry_device-modbus-go_PR-546@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 05:42:35 ---> Running in 67695ab95ba2 05:42:35 Removing intermediate container 67695ab95ba2 05:42:35 ---> 1ea7fe1537a7 05:42:35 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:42:35 ---> Running in 3f20edbbbf78 05:42:35 Removing intermediate container 3f20edbbbf78 05:42:35 ---> 75d228197d74 05:42:35 Step 5/10 : RUN apk add --update --no-cache make git openssh 05:42:35 ---> Running in b44d5fce73e2 05:42:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 05:42:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 05:42:38 (1/8) Installing openssh-keygen (9.3_p2-r1) 05:42:38 (2/8) Installing libedit (20221030.3.1-r1) 05:42:38 (3/8) Installing openssh-client-common (9.3_p2-r1) 05:42:38 (4/8) Installing openssh-client-default (9.3_p2-r1) 05:42:38 (5/8) Installing openssh-sftp-server (9.3_p2-r1) 05:42:38 (6/8) Installing openssh-server-common (9.3_p2-r1) 05:42:38 (7/8) Installing openssh-server (9.3_p2-r1) 05:42:38 (8/8) Installing openssh (9.3_p2-r1) 05:42:38 Executing busybox-1.36.1-r5.trigger 05:42:38 OK: 272 MiB in 60 packages 05:42:39 Removing intermediate container b44d5fce73e2 05:42:39 ---> 291f87aab558 05:42:39 Step 6/10 : WORKDIR /device-modbus-go 05:42:39 ---> Running in e92460adba99 05:42:39 Removing intermediate container e92460adba99 05:42:39 ---> d16f40c5c89b 05:42:39 Step 7/10 : COPY go.mod vendor* ./ 05:42:40 $ docker top a38d1df7007fc316b3cfacab121e5d992823f161598e709a6b53a4c2a9c96994 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:42:40 ---> acf7b20fa72b 05:42:40 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:42:40 ---> Running in adfb6219a5bf 05:42:40 ---> job-cost.sh 05:42:40 lf-activate-venv: SKIPPING 05:42:40 INFO: No Stack... 05:42:40 INFO: Retrieving Pricing Info for: v3-standard-8 05:42:41 INFO: Archiving Costs [Pipeline] sh 05:42:41 + + cut -d,cat -f6 /w/workspace/xfoundry_device-modbus-go_PR-546/archives/cost.csv 05:42:41 [Pipeline] lock 05:42:41 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-546-1-stack-cost] 05:42:41 Resource [jenkins-edgexfoundry-device-modbus-go-PR-546-1-stack-cost] did not exist. Created. 05:42:41 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-546-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:42:42 + echo total: 0.2199999988079071 [Pipeline] stash 05:42:42 Stashed 1 file(s) [Pipeline] } 05:42:42 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-546-1-stack-cost] [Pipeline] // lock [Pipeline] } 05:42:42 $ docker stop --time=1 a38d1df7007fc316b3cfacab121e5d992823f161598e709a6b53a4c2a9c96994 05:42:43 $ docker rm -f --volumes a38d1df7007fc316b3cfacab121e5d992823f161598e709a6b53a4c2a9c96994 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 05:44:32 Removing intermediate container adfb6219a5bf 05:44:32 ---> 47d576d9b87d 05:44:32 Step 9/10 : COPY . . 05:44:33 ---> 0796c05176e3 05:44:33 Step 10/10 : RUN ${MAKE} 05:44:33 ---> Running in 231ca5995703 05:44:34 noop 05:44:35 Removing intermediate container 231ca5995703 05:44:35 ---> b507ac0b81d1 05:44:35 Successfully built b507ac0b81d1 05:44:35 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:44:35 + docker inspect -f . ci-base-image-arm64 05:44:35 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:44:35 prd-ubuntu20.04-docker-arm64-4c-16g-532 does not seem to be running inside a container 05:44:35 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 05:44:37 $ docker top 308587611efb63029dd0c86551ce1e427186e0861ceab0fe5f747394661a66a9 -eo pid,comm [Pipeline] { [Pipeline] sh 05:44:38 + go version 05:44:38 go version go1.21.0 linux/arm64 [Pipeline] } 05:44:38 $ docker stop --time=1 308587611efb63029dd0c86551ce1e427186e0861ceab0fe5f747394661a66a9 05:44:39 $ docker rm -f --volumes 308587611efb63029dd0c86551ce1e427186e0861ceab0fe5f747394661a66a9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:44:40 + docker inspect -f . ci-base-image-arm64 05:44:40 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:44:40 prd-ubuntu20.04-docker-arm64-4c-16g-532 does not seem to be running inside a container 05:44:40 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 05:44:41 $ docker top 96de82b49a5186526b06585bcc2ef00e083c97a70a6f320d8a55799b9773ad7e -eo pid,comm [Pipeline] { [Pipeline] sh 05:44:42 + git config --global --add safe.directory /w/workspace/device-modbus-go/1 [Pipeline] fileExists [Pipeline] sh 05:44:42 + make test 05:44:42 go test ./... -coverprofile=coverage.out 05:44:48 ? github.com/edgexfoundry/device-modbus-go [no test files] 05:47:09 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 05:47:09 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.058s coverage: 47.9% of statements 05:47:10 WARNING: Linting skipped (not on x86_64 or linter not installed) 05:47:10 go vet ./... 05:47:49 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:47:49 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 05:47:49 ./bin/test-attribution-txt.sh 05:47:49 An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add 05:47:49 An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add 05:47:49 An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add 05:47:49 An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add 05:47:49 An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add 05:47:49 An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add 05:47:49 An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add 05:47:49 An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add 05:47:49 An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add 05:47:49 An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add 05:47:49 An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add 05:47:49 An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add 05:47:49 An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add 05:47:49 An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add 05:47:49 An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add 05:47:49 An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add 05:47:49 An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add 05:47:49 An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add 05:47:49 An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add 05:47:49 An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add 05:47:49 An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add 05:47:49 An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add 05:47:49 An attribution for github.com/josharian/intern is missing from Attribution.txt, please add 05:47:49 An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add 05:47:49 An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add 05:47:49 An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add 05:47:49 An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add 05:47:49 An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add 05:47:49 An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add 05:47:49 An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add 05:47:49 An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add 05:47:49 An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add 05:47:49 An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add 05:47:49 An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add 05:47:49 An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add 05:47:49 An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add 05:47:49 An attribution for github.com/openziti/identity is missing from Attribution.txt, please add 05:47:49 An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add 05:47:49 An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add 05:47:49 An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add 05:47:49 An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add 05:47:49 An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add 05:47:49 An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add 05:47:49 An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add 05:47:49 An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add 05:47:49 An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add 05:47:49 An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add 05:47:49 An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add 05:47:49 An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add 05:47:49 An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add 05:47:49 An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add 05:47:49 An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add 05:47:49 An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add 05:47:49 An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add 05:47:49 An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add 05:47:49 An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add 05:47:49 An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add 05:47:49 An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add 05:47:49 An attribution for golang.org/x/term is missing from Attribution.txt, please add 05:47:49 An attribution for google.golang.org/appengine is missing from Attribution.txt, please add 05:47:49 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add 05:47:49 An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo 05:47:49 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 05:47:49 $ docker stop --time=1 96de82b49a5186526b06585bcc2ef00e083c97a70a6f320d8a55799b9773ad7e 05:47:51 $ docker rm -f --volumes 96de82b49a5186526b06585bcc2ef00e083c97a70a6f320d8a55799b9773ad7e [Pipeline] // withDockerContainer [Pipeline] sh 05:47:52 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:47:52 Warning: overwriting stash ‘coverage-report’ 05:47:52 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 05:47:53 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:47:53 + ls -al . 05:47:53 total 256 05:47:53 drwxrwxr-x 8 jenkins jenkins 4096 Mar 21 05:44 . 05:47:53 drwxrwxr-x 4 jenkins jenkins 4096 Mar 21 05:41 .. 05:47:53 -rw-rw-r-- 1 jenkins jenkins 140 Mar 21 05:41 .dockerignore 05:47:53 drwxrwxr-x 8 jenkins jenkins 4096 Mar 21 05:41 .git 05:47:53 drwxrwxr-x 3 jenkins jenkins 4096 Mar 21 05:41 .github 05:47:53 -rw-rw-r-- 1 jenkins jenkins 266 Mar 21 05:41 .gitignore 05:47:53 -rw-rw-r-- 1 jenkins jenkins 41 Mar 21 05:41 .golangci.yml 05:47:53 -rw-rw-r-- 1 jenkins jenkins 11101 Mar 21 05:41 Attribution.txt 05:47:53 -rw-rw-r-- 1 jenkins jenkins 16388 Mar 21 05:41 CHANGELOG.md 05:47:53 -rw-rw-r-- 1 jenkins jenkins 1474 Mar 21 05:41 Dockerfile 05:47:53 -rw-rw-r-- 1 jenkins jenkins 677 Mar 21 05:41 GOVERNANCE.md 05:47:53 -rw-rw-r-- 1 jenkins jenkins 658 Mar 21 05:41 Jenkinsfile 05:47:53 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 21 05:41 LICENSE 05:47:53 -rw-rw-r-- 1 jenkins jenkins 1942 Mar 21 05:41 Makefile 05:47:53 -rw-rw-r-- 1 jenkins jenkins 622 Mar 21 05:41 OWNERS.md 05:47:53 -rw-rw-r-- 1 jenkins jenkins 4463 Mar 21 05:41 README.md 05:47:53 -rw-rw-r-- 1 jenkins jenkins 5 Mar 21 05:39 VERSION 05:47:53 drwxrwxr-x 2 jenkins jenkins 4096 Mar 21 05:41 bin 05:47:53 drwxrwxr-x 3 jenkins jenkins 4096 Mar 21 05:41 cmd 05:47:53 -rw-r--r-- 1 jenkins jenkins 24334 Mar 21 05:47 coverage.out 05:47:53 -rw-rw-r-- 1 jenkins jenkins 7289 Mar 21 05:41 go.mod 05:47:53 -rw-rw-r-- 1 jenkins jenkins 101859 Mar 21 05:41 go.sum 05:47:53 drwxrwxr-x 3 jenkins jenkins 4096 Mar 21 05:41 internal 05:47:53 drwxrwxr-x 2 jenkins jenkins 4096 Mar 21 05:41 simulator 05:47:53 -rw-rw-r-- 1 jenkins jenkins 229 Mar 21 05:41 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:47:54 + docker build -t device-modbus-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=3f7c613b0aa0c8785abd02e1ee31bb9de316262e --label arch=arm64 --label version=0.0.0 . 05:47:54 Sending build context to Docker daemon 8.832MB 05:47:54 Step 1/23 : ARG BASE=golang:1.21-alpine3.18 05:47:54 Step 2/23 : FROM ${BASE} AS builder 05:47:54 ---> b507ac0b81d1 05:47:54 Step 3/23 : ARG ADD_BUILD_TAGS="" 05:47:54 ---> Running in 2def755c9eb5 05:47:55 Removing intermediate container 2def755c9eb5 05:47:55 ---> 6adf12caf7c2 05:47:55 Step 4/23 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:47:55 ---> Running in d0e6a5b0296e 05:47:55 Removing intermediate container d0e6a5b0296e 05:47:55 ---> 40df6f7af0c8 05:47:55 Step 5/23 : RUN apk add --update --no-cache make git openssh 05:47:55 ---> Running in 5a627f15dec9 05:47:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 05:47:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 05:47:57 OK: 272 MiB in 60 packages 05:47:58 Removing intermediate container 5a627f15dec9 05:47:58 ---> f8648684f0a9 05:47:58 Step 6/23 : WORKDIR /device-modbus-go 05:47:58 ---> Running in cebe7a36440a 05:47:58 Removing intermediate container cebe7a36440a 05:47:58 ---> 14e1bf49c188 05:47:58 Step 7/23 : COPY go.mod vendor* ./ 05:47:59 ---> 849f43c9bdd2 05:47:59 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:47:59 ---> Running in 6fc8fa9b25cf 05:48:01 Removing intermediate container 6fc8fa9b25cf 05:48:01 ---> b98e0df0eb0f 05:48:01 Step 9/23 : COPY . . 05:48:02 ---> b53996355785 05:48:02 Step 10/23 : RUN ${MAKE} 05:48:02 ---> Running in f7928a7e4a17 05:48:03 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-modbus-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.12" -trimpath -mod=readonly -o cmd/device-modbus ./cmd 05:50:54 Removing intermediate container f7928a7e4a17 05:50:54 ---> 667d6eb25e53 05:50:54 Step 11/23 : FROM alpine:3.18 05:50:54 3.18: Pulling from library/alpine 05:50:54 c6b39de5b339: Pulling fs layer 05:50:54 c6b39de5b339: Download complete 05:50:54 c6b39de5b339: Pull complete 05:50:54 Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 05:50:54 Status: Downloaded newer image for alpine:3.18 05:50:54 ---> 33abbf032149 05:50:54 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 05:50:54 ---> Running in 7a3ad802a3b4 05:50:54 Removing intermediate container 7a3ad802a3b4 05:50:54 ---> 9ebcb76f6c3c 05:50:54 Step 13/23 : RUN apk add --update --no-cache dumb-init 05:50:54 ---> Running in eb01f4739c3e 05:50:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 05:50:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 05:50:54 (1/1) Installing dumb-init (1.2.5-r2) 05:50:54 Executing busybox-1.36.1-r5.trigger 05:50:54 OK: 8 MiB in 16 packages 05:50:54 Removing intermediate container eb01f4739c3e 05:50:54 ---> f087fb98eb61 05:50:54 Step 14/23 : RUN apk --no-cache upgrade 05:50:54 ---> Running in ace2f24f9d6d 05:50:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 05:50:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 05:50:54 (1/1) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) 05:50:54 OK: 8 MiB in 16 packages 05:50:54 Removing intermediate container ace2f24f9d6d 05:50:54 ---> 8d92cd7d9a9a 05:50:54 Step 15/23 : COPY --from=builder /device-modbus-go/cmd / 05:50:54 ---> 4bee6f7734c9 05:50:54 Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / 05:50:54 ---> de066af9fc44 05:50:54 Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / 05:50:54 ---> 2d72e987fa85 05:50:54 Step 18/23 : EXPOSE 59901 05:50:54 ---> Running in 2769cc9504cf 05:50:54 Removing intermediate container 2769cc9504cf 05:50:54 ---> a7d637f11cdb 05:50:54 Step 19/23 : ENTRYPOINT ["/device-modbus"] 05:50:54 ---> Running in f3eec722ec5c 05:50:54 Removing intermediate container f3eec722ec5c 05:50:54 ---> a282fa20d87e 05:50:54 Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 05:50:54 ---> Running in a3eeb0519f2a 05:50:54 Removing intermediate container a3eeb0519f2a 05:50:54 ---> 0d0e9d314fc3 05:50:54 Step 21/23 : LABEL arch=arm64 05:50:54 ---> Running in 027d7d62b7a1 05:50:54 Removing intermediate container 027d7d62b7a1 05:50:54 ---> 3a2b8e80bdcb 05:50:54 Step 22/23 : LABEL git_sha=3f7c613b0aa0c8785abd02e1ee31bb9de316262e 05:50:54 ---> Running in 0ad87ed8c6bd 05:50:54 Removing intermediate container 0ad87ed8c6bd 05:50:54 ---> 165da2d331b4 05:50:54 Step 23/23 : LABEL version=0.0.0 05:50:54 ---> Running in 572fe89c95f3 05:50:54 Removing intermediate container 572fe89c95f3 05:50:54 ---> 7a236d7f2a35 05:50:54 [Warning] One or more build-args [ARCH] were not consumed 05:50:54 Successfully built 7a236d7f2a35 05:50:54 Successfully tagged device-modbus-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:50:55 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:50:55 05:50:55 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:50:56 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:50:56 arm64: Pulling from edgex-lftools-log-publisher 05:50:56 8998bd30e6a1: Pulling fs layer 05:50:56 04944245beec: Pulling fs layer 05:50:56 699f458cf7ca: Pulling fs layer 05:50:56 765212b225bb: Pulling fs layer 05:50:56 f23df028b6ca: Pulling fs layer 05:50:56 d65c8cfc05b1: Pulling fs layer 05:50:56 2437ff75d9bd: Pulling fs layer 05:50:56 765212b225bb: Waiting 05:50:56 f23df028b6ca: Waiting 05:50:56 d65c8cfc05b1: Waiting 05:50:56 2437ff75d9bd: Waiting 05:50:56 04944245beec: Verifying Checksum 05:50:56 04944245beec: Download complete 05:50:56 765212b225bb: Download complete 05:50:56 f23df028b6ca: Download complete 05:50:56 d65c8cfc05b1: Verifying Checksum 05:50:56 d65c8cfc05b1: Download complete 05:50:56 699f458cf7ca: Verifying Checksum 05:50:56 699f458cf7ca: Download complete 05:50:56 8998bd30e6a1: Verifying Checksum 05:50:56 8998bd30e6a1: Download complete 05:50:59 2437ff75d9bd: Verifying Checksum 05:50:59 2437ff75d9bd: Download complete 05:51:01 8998bd30e6a1: Pull complete 05:51:02 04944245beec: Pull complete 05:51:03 699f458cf7ca: Pull complete 05:51:03 765212b225bb: Pull complete 05:51:04 f23df028b6ca: Pull complete 05:51:04 d65c8cfc05b1: Pull complete 05:51:22 2437ff75d9bd: Pull complete 05:51:22 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 05:51:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:51:22 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:51:23 prd-ubuntu20.04-docker-arm64-4c-16g-532 does not seem to be running inside a container 05:51:23 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 05:51:26 $ docker top 2c30a863e7733dd856e02ee443c9453bb7c90478e9774be73a598b027c30be0f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:51:27 ---> job-cost.sh 05:51:27 lf-activate-venv: SKIPPING 05:51:27 INFO: No Stack... 05:51:27 INFO: Retrieving Pricing Info for: v3-standard-4 05:51:28 INFO: Archiving Costs [Pipeline] sh 05:51:29 + cut -d, -f6 05:51:29 + cat /w/workspace/device-modbus-go/1/archives/cost.csv [Pipeline] lock 05:51:29 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-546-1-stack-cost] 05:51:29 Resource [jenkins-edgexfoundry-device-modbus-go-PR-546-1-stack-cost] did not exist. Created. 05:51:29 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-546-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:51:30 /w/workspace/device-modbus-go/1@tmp/durable-2a2bbe97/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 05:51:30 + echo total: 0.10999999940395355 [Pipeline] stash 05:51:30 Warning: overwriting stash ‘stack-cost’ 05:51:30 Stashed 1 file(s) [Pipeline] } 05:51:30 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-546-1-stack-cost] [Pipeline] // lock [Pipeline] } 05:51:30 $ docker stop --time=1 2c30a863e7733dd856e02ee443c9453bb7c90478e9774be73a598b027c30be0f 05:51:32 $ docker rm -f --volumes 2c30a863e7733dd856e02ee443c9453bb7c90478e9774be73a598b027c30be0f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 05:51:33 provisioning config files... 05:51:33 copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-546@tmp/config12543501761798425023tmp [Pipeline] { [Pipeline] sh 05:51:33 + set +x 05:51:33 + + curlbash -s -s https://codecov.io/bash -- 05:51:33 05:51:34 05:51:34 _____ _ 05:51:34 / ____| | | 05:51:34 | | ___ __| | ___ ___ _____ __ 05:51:34 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 05:51:34 | |___| (_) | (_| | __/ (_| (_) \ V / 05:51:34 \_____\___/ \__,_|\___|\___\___/ \_/ 05:51:34 Bash-1.0.6 05:51:34 05:51:34 05:51:34 ==> git version 2.25.1 found 05:51:34 ==> 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 05:51:34 Release-Date: 2020-01-08 05:51:34 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 05:51:34 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 05:51:34 ==> Jenkins CI detected. 05:51:34 current dir:  /w/workspace/xfoundry_device-modbus-go_PR-546 05:51:34 project root: . 05:51:34 --> token set from env 05:51:34 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 05:51:34 ==> Running gcov in . (disable via -X gcov) 05:51:34 ==> Python coveragepy not found 05:51:34 ==> Searching for coverage reports in: 05:51:34 + . 05:51:34 -> Found 1 reports 05:51:34 ==> Detecting git/mercurial file structure 05:51:34 ==> Reading reports 05:51:34 + ./coverage.out bytes=24334 05:51:34 ==> Appending adjustments 05:51:34 https://docs.codecov.io/docs/fixing-reports 05:51:34 + Found adjustments 05:51:34 ==> Gzipping contents 05:51:34 4.0K /tmp/codecov.kZYfmj.gz 05:51:34 ==> Uploading reports 05:51:34 url: https://codecov.io 05:51:34 query: branch=PR-546&commit=3f7c613b0aa0c8785abd02e1ee31bb9de316262e&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-546%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=546&job=&cmd_args= 05:51:34 -> Pinging Codecov 05:51:34 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-546&commit=3f7c613b0aa0c8785abd02e1ee31bb9de316262e&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-546%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=546&job=&cmd_args= 05:51:34 -> Uploading to 05:51:34 https://storage.googleapis.com/codecov/v4/raw/2024-03-21/55DBCA73C666E3227836607328DD7E49/3f7c613b0aa0c8785abd02e1ee31bb9de316262e/732f331f-14bb-4a71-be92-e09861af8a78.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240321%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20240321T055134Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=b8b02669f39d42967d1d3d375e205904b9d64fc9749551f868431f306bdb7da7 05:51:34 % Total % Received % Xferd Average Speed Time Time Time Current 05:51:34 Dload Upload Total Spent Left Speed 05:51:34 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3806 0 0 100 3806 0 13544 --:--:-- --:--:-- --:--:-- 13544 05:51:34 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/3f7c613b0aa0c8785abd02e1ee31bb9de316262e [Pipeline] } 05:51:34 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 05:51:36 + [ -d /w/workspace/xfoundry_device-modbus-go_PR-546/archives ] 05:51:36 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-546/archives 05:51:36 total 16 05:51:36 drwxr-xr-x 3 root root 4096 Mar 21 05:42 . 05:51:36 drwxrwxr-x 10 jenkins jenkins 4096 Mar 21 05:42 .. 05:51:36 drwxr-xr-x 2 root root 4096 Mar 21 05:42 cost 05:51:36 -rw-r--r-- 1 root root 88 Mar 21 05:42 cost.csv 05:51:36 + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-546/archives 05:51:36 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-546/archives 05:51:36 total 16 05:51:36 drwxr-xr-x 3 jenkins jenkins 4096 Mar 21 05:42 . 05:51:36 drwxrwxr-x 10 jenkins jenkins 4096 Mar 21 05:42 .. 05:51:36 drwxr-xr-x 2 jenkins jenkins 4096 Mar 21 05:42 cost 05:51:36 -rw-r--r-- 1 jenkins jenkins 88 Mar 21 05:42 cost.csv [Pipeline] libraryResource [Pipeline] sh 05:51:37 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 05:51:38 ---> package-listing.sh 05:51:38 ++ facter osfamily 05:51:38 ++ tr '[:upper:]' '[:lower:]' 05:51:38 + OS_FAMILY=debian 05:51:38 + workspace=/w/workspace/xfoundry_device-modbus-go_PR-546 05:51:38 + START_PACKAGES=/tmp/packages_start.txt 05:51:38 + END_PACKAGES=/tmp/packages_end.txt 05:51:38 + DIFF_PACKAGES=/tmp/packages_diff.txt 05:51:38 + PACKAGES=/tmp/packages_start.txt 05:51:38 + '[' /w/workspace/xfoundry_device-modbus-go_PR-546 ']' 05:51:38 + PACKAGES=/tmp/packages_end.txt 05:51:38 + case "${OS_FAMILY}" in 05:51:38 + dpkg -l 05:51:38 + grep '^ii' 05:51:38 + '[' -f /tmp/packages_start.txt ']' 05:51:38 + '[' -f /tmp/packages_end.txt ']' 05:51:38 + diff /tmp/packages_start.txt /tmp/packages_end.txt 05:51:38 + '[' /w/workspace/xfoundry_device-modbus-go_PR-546 ']' 05:51:38 + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-546/archives/ 05:51:38 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-546/archives/ [Pipeline] echo 05:51:38 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/xfoundry_device-modbus-go_PR-546/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 05:51:38 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:51:39 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:51:39 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:51:39 prd-ubuntu20.04-docker-8c-8g-531 does not seem to be running inside a container 05:51:39 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/xfoundry_device-modbus-go_PR-546/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/xfoundry_device-modbus-go_PR-546 -v /w/workspace/xfoundry_device-modbus-go_PR-546:/w/workspace/xfoundry_device-modbus-go_PR-546:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-546@tmp:/w/workspace/xfoundry_device-modbus-go_PR-546@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 05:51:39 $ docker top d98045d7683f1d3385500167838a5f0b06bb7c9a0a7bf1e3d0b7d5ab2cf68e02 -eo pid,comm [Pipeline] { [Pipeline] sh 05:51:40 + touch /tmp/pre-build-complete [Pipeline] sh 05:51:40 + mkdir -p /var/log/sysstat [Pipeline] sh 05:51:40 + ls /var/log/sa-host 05:51:40 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:51:40 provisioning config files... 05:51:40 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-546@tmp/config10041089053572528120tmp [Pipeline] { [Pipeline] echo 05:51:41 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 05:51:41 ---> create-netrc.sh [Pipeline] } 05:51:41 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 05:51:41 ---> python-tools-install.sh [Pipeline] echo 05:51:41 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 05:51:42 ---> sudo-logs.sh 05:51:42 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 05:51:42 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 05:51:42 ---> job-cost.sh 05:51:42 lf-activate-venv: SKIPPING 05:51:42 DEBUG: total: 0.2199999988079071 05:51:42 INFO: Retrieving Stack Cost... 05:51:42 INFO: Retrieving Pricing Info for: v3-standard-8 05:51:43 INFO: Archiving Costs [Pipeline] echo 05:51:43 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 05:51:43 ---> logs-deploy.sh 05:51:43 lf-activate-venv: SKIPPING 05:51:43 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-546/1 05:51:43 INFO: archiving workspace using pattern(s): 05:51:44 Archives upload complete. 05:51:44 INFO: archiving logs to Nexus