Pull request #534 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 8bc1d7f3487aff46b6287b0ab0b3d3f87c51e251+f075d1275b3de083ffef18a345f0eb35bf0251a5 (307655dcf8938dd304a27d4f1e975a83d61626a8) 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-ssh3004343878205139020.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-ssh14634910743320531581.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-534/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-534/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10386114780809312231.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-534/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh572357937841549019.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-ssh17621193465187431530.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-534/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-534/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh13918466106226219537.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 ‘prd-centos7-blackbox-4c-2g-25217’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-centos7-blackbox-4c-2g-25218’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-8c-8g-25337’ is offline Running on prd-ubuntu20.04-docker-8c-8g-25338 in /w/workspace/xfoundry_device-modbus-go_PR-534 [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-534 # 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/534/head:refs/remotes/origin/PR-534 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit f075d1275b3de083ffef18a345f0eb35bf0251a5 into PR head commit 8bc1d7f3487aff46b6287b0ab0b3d3f87c51e251 Merge succeeded, producing 8bc1d7f3487aff46b6287b0ab0b3d3f87c51e251 Checking out Revision 8bc1d7f3487aff46b6287b0ab0b3d3f87c51e251 (PR-534) Commit message: "build(deps): Bump golang.org/x/crypto from 0.14.0 to 0.17.0" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { > git config core.sparsecheckout # timeout=10 > git checkout -f 8bc1d7f3487aff46b6287b0ab0b3d3f87c51e251 # 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 f075d1275b3de083ffef18a345f0eb35bf0251a5 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 8bc1d7f3487aff46b6287b0ab0b3d3f87c51e251 # timeout=10 [Pipeline] timeout 23:34:33 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 23:34:33 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 23:34:34 ========================================================= 23:34:34 EdgeX Global Pipelines Version Info 23:34:34 ========================================================= [Pipeline] libraryResource [Pipeline] sh 23:34:34 ------------------- 23:34:34 stable info: 23:34:34 ------------------- 23:34:34 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 23:34:34 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 23:34:34 Message: update stable to v1.0.258 23:34:35 ------------------- 23:34:35 experimental info: 23:34:35 ------------------- 23:34:35 Commited By: **** collab-it+edgex@linuxfoundation.org 23:34:35 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 23:34:35 Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 23:34:35 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 23:34:35 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 23:34:35 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 23:34:35 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 23:34:35 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 23:34:35 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 23:34:35 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 23:34:35 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 23:34:36 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 23:34:36 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 23:34:36 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 23:34:36 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo 23:34:36 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 23:34:36 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 23:34:36 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 23:34:36 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 23:34:36 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 23:34:36 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 23:34:36 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 23:34:36 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 23:34:36 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 23:34:36 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 23:34:36 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 23:34:37 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 23:34:37 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 23:34:37 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 23:34:37 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 23:34:37 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-534 [Pipeline] echo 23:34:37 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-534 [Pipeline] echo 23:34:37 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-534 [Pipeline] echo 23:34:37 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 8bc1d7f3487aff46b6287b0ab0b3d3f87c51e251 [Pipeline] echo 23:34:37 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 8bc1d7f [Pipeline] echo 23:34:37 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:34:37 provisioning config files... 23:34:37 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-534@tmp/config10409469788030603629tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:34:38 ---> ****-login.sh 23:34:38 nexus3.edgexfoundry.org:10001 23:34:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:34:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 23:34:38 Configure a credential helper to remove this warning. See 23:34:38 https://docs.****.com/engine/reference/commandline/login/#credentials-store 23:34:38 23:34:38 Login Succeeded 23:34:38 nexus3.edgexfoundry.org:10002 23:34:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:34:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 23:34:38 Configure a credential helper to remove this warning. See 23:34:38 https://docs.****.com/engine/reference/commandline/login/#credentials-store 23:34:38 23:34:38 Login Succeeded 23:34:38 nexus3.edgexfoundry.org:10003 23:34:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:34:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 23:34:38 Configure a credential helper to remove this warning. See 23:34:38 https://docs.****.com/engine/reference/commandline/login/#credentials-store 23:34:38 23:34:38 Login Succeeded 23:34:38 nexus3.edgexfoundry.org:10004 23:34:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:34:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 23:34:39 Configure a credential helper to remove this warning. See 23:34:39 https://docs.****.com/engine/reference/commandline/login/#credentials-store 23:34:39 23:34:39 Login Succeeded 23:34:39 ****.io 23:34:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:34:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 23:34:39 Configure a credential helper to remove this warning. See 23:34:39 https://docs.****.com/engine/reference/commandline/login/#credentials-store 23:34:39 23:34:39 Login Succeeded 23:34:39 ---> ****-login.sh ends [Pipeline] } 23:34:39 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 23:34:40 + git rev-list -1 --merges 8bc1d7f3487aff46b6287b0ab0b3d3f87c51e251~1..8bc1d7f3487aff46b6287b0ab0b3d3f87c51e251 [Pipeline] echo 23:34:40 -----------> git rev-list -1 --merges 8bc1d7f3487aff46b6287b0ab0b3d3f87c51e251~1..8bc1d7f3487aff46b6287b0ab0b3d3f87c51e251 8bc1d7f3487aff46b6287b0ab0b3d3f87c51e251 [false] [Pipeline] sh 23:34:40 + git log --format=format:%s -1 8bc1d7f3487aff46b6287b0ab0b3d3f87c51e251 [Pipeline] echo 23:34:40 ========================================================= 23:34:40 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 23:34:40 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:34:40 + git log --format=format:%s -1 8bc1d7f3487aff46b6287b0ab0b3d3f87c51e251 [Pipeline] echo 23:34:40 [semverPrep] GIT_COMMIT: 8bc1d7f3487aff46b6287b0ab0b3d3f87c51e251, Commit Message: build(deps): Bump golang.org/x/crypto from 0.14.0 to 0.17.0 [Pipeline] echo 23:34:41 [semverPrep] This is not a build commit. [Pipeline] sh 23:34:41 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 23:34:41 + grep -v github /etc/ssh/ssh_known_hosts 23:34:41 + [ -e /tmp/ssh_known_hosts ] 23:34:41 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 23:34:41 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 23:34:41 + sudo tee -a /etc/ssh/ssh_known_hosts 23:34:41 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:34:41 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:34:41 23:34:41 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:34:42 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:34:42 0.1.4: Pulling from edgex-devops/py-git-semver 23:34:42 b85a868b505f: Pulling fs layer 23:34:42 e2be974225ed: Pulling fs layer 23:34:42 339a4e72a1f5: Pulling fs layer 23:34:42 988bab9f4d93: Pulling fs layer 23:34:42 1469e6f7b9e6: Pulling fs layer 23:34:42 eaf3925da568: Pulling fs layer 23:34:42 bab4dde63d76: Pulling fs layer 23:34:42 bde34c3a00c8: Pulling fs layer 23:34:42 b352a97aabf1: Pulling fs layer 23:34:42 4872d77fe225: Pulling fs layer 23:34:42 5851b861e8e6: Pulling fs layer 23:34:42 b352a97aabf1: Waiting 23:34:42 4872d77fe225: Waiting 23:34:42 5851b861e8e6: Waiting 23:34:42 bab4dde63d76: Waiting 23:34:42 bde34c3a00c8: Waiting 23:34:42 1469e6f7b9e6: Waiting 23:34:42 e2be974225ed: Verifying Checksum 23:34:42 e2be974225ed: Download complete 23:34:42 988bab9f4d93: Verifying Checksum 23:34:42 988bab9f4d93: Download complete 23:34:42 1469e6f7b9e6: Verifying Checksum 23:34:42 1469e6f7b9e6: Download complete 23:34:42 eaf3925da568: Verifying Checksum 23:34:42 eaf3925da568: Download complete 23:34:42 339a4e72a1f5: Verifying Checksum 23:34:42 339a4e72a1f5: Download complete 23:34:42 bde34c3a00c8: Download complete 23:34:42 b352a97aabf1: Verifying Checksum 23:34:42 b352a97aabf1: Download complete 23:34:42 4872d77fe225: Verifying Checksum 23:34:42 4872d77fe225: Download complete 23:34:42 5851b861e8e6: Verifying Checksum 23:34:42 5851b861e8e6: Download complete 23:34:42 b85a868b505f: Verifying Checksum 23:34:42 b85a868b505f: Download complete 23:34:42 bab4dde63d76: Verifying Checksum 23:34:42 bab4dde63d76: Download complete 23:34:43 b85a868b505f: Pull complete 23:34:44 e2be974225ed: Pull complete 23:34:44 339a4e72a1f5: Pull complete 23:34:44 988bab9f4d93: Pull complete 23:34:44 1469e6f7b9e6: Pull complete 23:34:44 eaf3925da568: Pull complete 23:34:46 bab4dde63d76: Pull complete 23:34:46 bde34c3a00c8: Pull complete 23:34:46 b352a97aabf1: Pull complete 23:34:46 4872d77fe225: Pull complete 23:34:46 5851b861e8e6: Pull complete 23:34:46 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 23:34:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:34:46 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:34:47 prd-ubuntu20.04-docker-8c-8g-25338 does not seem to be running inside a container 23:34:47 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-534 -v /w/workspace/xfoundry_device-modbus-go_PR-534:/w/workspace/xfoundry_device-modbus-go_PR-534:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-534@tmp:/w/workspace/xfoundry_device-modbus-go_PR-534@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 23:34:50 $ docker top 81c8e1da5283faa1a14b2878342406b6a64d6f993d00b996a36767c47d0c0b21 -eo pid,comm 23:34:50 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). 23:34:50 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 23:34:50 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:34:50 [ssh-agent] Looking for ssh-agent implementation... 23:34:50 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:34:50 $ docker exec 81c8e1da5283faa1a14b2878342406b6a64d6f993d00b996a36767c47d0c0b21 ssh-agent 23:34:50 SSH_AUTH_SOCK=/tmp/ssh-szjJ5kIZyuCk/agent.32 23:34:50 SSH_AGENT_PID=38 23:34:50 Running ssh-add (command line suppressed) 23:34:50 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-534@tmp/private_key_14628062702604189477.key (/w/workspace/xfoundry_device-modbus-go_PR-534@tmp/private_key_14628062702604189477.key) 23:34:50 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:34:51 + git tag --points-at HEAD [Pipeline] } 23:34:51 $ docker exec --env ******** --env ******** 81c8e1da5283faa1a14b2878342406b6a64d6f993d00b996a36767c47d0c0b21 ssh-agent -k 23:34:51 unset SSH_AUTH_SOCK; 23:34:51 unset SSH_AGENT_PID; 23:34:51 echo Agent pid 38 killed; 23:34:51 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 23:34:51 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:34:51 [ssh-agent] Looking for ssh-agent implementation... 23:34:51 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:34:51 $ docker exec 81c8e1da5283faa1a14b2878342406b6a64d6f993d00b996a36767c47d0c0b21 ssh-agent 23:34:51 SSH_AUTH_SOCK=/tmp/ssh-TrgSEMuO1qhE/agent.70 23:34:51 SSH_AGENT_PID=76 23:34:51 Running ssh-add (command line suppressed) 23:34:51 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-534@tmp/private_key_15789214106127101122.key (/w/workspace/xfoundry_device-modbus-go_PR-534@tmp/private_key_15789214106127101122.key) 23:34:51 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:34:52 + git semver init 23:34:52 2023-12-18 23:34:52,181 [run_init] DEBUG init version:0.0.0 force:False 23:34:52 2023-12-18 23:34:52,182 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-modbus-go_PR-534/.semver 23:34:52 2023-12-18 23:34:52,182 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/xfoundry_device-modbus-go_PR-534/.semver 23:34:52 2023-12-18 23:34:52,182 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/xfoundry_device-modbus-go_PR-534/.semver'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-534, universal_newlines=False, shell=None, istream=None) 23:34:53 2023-12-18 23:34:53,368 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-modbus-go_PR-534/.git/info/exclude 23:34:53 2023-12-18 23:34:53,369 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-modbus-go_PR-534/.semver/PR-534 with force:False 23:34:53 2023-12-18 23:34:53,369 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-modbus-go_PR-534/.semver/PR-534 23:34:53 2023-12-18 23:34:53,371 [execute] INFO git cat-file --batch-check 23:34:53 2023-12-18 23:34:53,371 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-534/.semver, universal_newlines=False, shell=None, istream=) 23:34:53 2023-12-18 23:34:53,378 [execute] INFO git cat-file --batch 23:34:53 2023-12-18 23:34:53,378 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-534/.semver, universal_newlines=False, shell=None, istream=) 23:34:53 2023-12-18 23:34:53,384 [read_version] DEBUG read version from /w/workspace/xfoundry_device-modbus-go_PR-534/.semver/PR-534 23:34:53 0.0.0 [Pipeline] } 23:34:53 $ docker exec --env ******** --env ******** 81c8e1da5283faa1a14b2878342406b6a64d6f993d00b996a36767c47d0c0b21 ssh-agent -k 23:34:53 unset SSH_AUTH_SOCK; 23:34:53 unset SSH_AGENT_PID; 23:34:53 echo Agent pid 76 killed; 23:34:53 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 23:34:54 + git semver [Pipeline] } 23:34:54 $ docker stop --time=1 81c8e1da5283faa1a14b2878342406b6a64d6f993d00b996a36767c47d0c0b21 23:34:55 $ docker rm -f --volumes 81c8e1da5283faa1a14b2878342406b6a64d6f993d00b996a36767c47d0c0b21 [Pipeline] // withDockerContainer [Pipeline] sh 23:34:56 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 23:34:56 Stashed 1 file(s) [Pipeline] echo 23:34:56 [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 23:34:57 provisioning config files... 23:34:57 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-534@tmp/config14819681026164140663tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:34:58 ---> ****-login.sh 23:34:58 nexus3.edgexfoundry.org:10001 23:34:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:34:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 23:34:58 Configure a credential helper to remove this warning. See 23:34:58 https://docs.****.com/engine/reference/commandline/login/#credentials-store 23:34:58 23:34:58 Login Succeeded 23:34:58 nexus3.edgexfoundry.org:10002 23:34:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:34:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 23:34:58 Configure a credential helper to remove this warning. See 23:34:58 https://docs.****.com/engine/reference/commandline/login/#credentials-store 23:34:58 23:34:58 Login Succeeded 23:34:58 nexus3.edgexfoundry.org:10003 23:34:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:34:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 23:34:58 Configure a credential helper to remove this warning. See 23:34:58 https://docs.****.com/engine/reference/commandline/login/#credentials-store 23:34:58 23:34:58 Login Succeeded 23:34:58 nexus3.edgexfoundry.org:10004 23:34:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:34:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 23:34:58 Configure a credential helper to remove this warning. See 23:34:58 https://docs.****.com/engine/reference/commandline/login/#credentials-store 23:34:58 23:34:58 Login Succeeded 23:34:58 ****.io 23:34:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:34:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 23:34:59 Configure a credential helper to remove this warning. See 23:34:59 https://docs.****.com/engine/reference/commandline/login/#credentials-store 23:34:59 23:34:59 Login Succeeded 23:34:59 ---> ****-login.sh ends [Pipeline] } 23:34:59 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 23:34:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 23:34:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 23:34:59 ========================================================= 23:34:59 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 23:34:59 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:35:00 + 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 . 23:35:00 Sending build context to Docker daemon 17.25MB 23:35:00 Step 1/10 : ARG BASE=golang:1.21-alpine3.18 23:35:00 Step 2/10 : FROM ${BASE} AS builder 23:35:00 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 23:35:00 7264a8db6415: Pulling fs layer 23:35:00 c4d48a809fc2: Pulling fs layer 23:35:00 4f1c88b9dad5: Pulling fs layer 23:35:00 ad3a456e5733: Pulling fs layer 23:35:00 69c7f0334f64: Pulling fs layer 23:35:00 1f1c1a5573a3: Pulling fs layer 23:35:00 ce7588e14bc9: Pulling fs layer 23:35:00 b5e4710f87ac: Pulling fs layer 23:35:00 ad3a456e5733: Waiting 23:35:00 ce7588e14bc9: Waiting 23:35:00 b5e4710f87ac: Waiting 23:35:00 69c7f0334f64: Waiting 23:35:00 1f1c1a5573a3: Waiting 23:35:00 c4d48a809fc2: Download complete 23:35:00 ad3a456e5733: Verifying Checksum 23:35:00 ad3a456e5733: Download complete 23:35:00 69c7f0334f64: Verifying Checksum 23:35:00 69c7f0334f64: Download complete 23:35:00 7264a8db6415: Verifying Checksum 23:35:00 7264a8db6415: Download complete 23:35:00 1f1c1a5573a3: Verifying Checksum 23:35:00 1f1c1a5573a3: Download complete 23:35:00 7264a8db6415: Pull complete 23:35:00 b5e4710f87ac: Verifying Checksum 23:35:00 b5e4710f87ac: Download complete 23:35:00 c4d48a809fc2: Pull complete 23:35:00 4f1c88b9dad5: Verifying Checksum 23:35:00 4f1c88b9dad5: Download complete 23:35:01 ce7588e14bc9: Verifying Checksum 23:35:01 ce7588e14bc9: Download complete 23:35:04 4f1c88b9dad5: Pull complete 23:35:04 ad3a456e5733: Pull complete 23:35:04 69c7f0334f64: Pull complete 23:35:04 1f1c1a5573a3: Pull complete 23:35:06 ce7588e14bc9: Pull complete 23:35:07 b5e4710f87ac: Pull complete 23:35:07 Digest: sha256:f80dd7bb8fdf010369d5adb4058a62695265b22e897ca6aac7b42af84fdce50e 23:35:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 23:35:07 ---> 88b5674ff536 23:35:07 Step 3/10 : ARG ADD_BUILD_TAGS="" 23:35:11 ---> Running in 6c6e35effcc6 23:35:11 Removing intermediate container 6c6e35effcc6 23:35:11 ---> 8edfaf05bc18 23:35:11 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:35:11 ---> Running in 728ea6283fc4 23:35:11 Removing intermediate container 728ea6283fc4 23:35:11 ---> 9f572329e2aa 23:35:11 Step 5/10 : RUN apk add --update --no-cache make git openssh 23:35:11 ---> Running in c7d8eaeee04f 23:35:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 23:35:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 23:35:12 Still waiting to schedule task 23:35:12 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 23:35:12 (1/8) Installing openssh-keygen (9.3_p2-r0) 23:35:12 (2/8) Installing libedit (20221030.3.1-r1) 23:35:12 (3/8) Installing openssh-client-common (9.3_p2-r0) 23:35:12 (4/8) Installing openssh-client-default (9.3_p2-r0) 23:35:12 (5/8) Installing openssh-sftp-server (9.3_p2-r0) 23:35:12 (6/8) Installing openssh-server-common (9.3_p2-r0) 23:35:12 (7/8) Installing openssh-server (9.3_p2-r0) 23:35:12 (8/8) Installing openssh (9.3_p2-r0) 23:35:12 Executing busybox-1.36.1-r5.trigger 23:35:12 OK: 270 MiB in 60 packages 23:35:13 Removing intermediate container c7d8eaeee04f 23:35:13 ---> 90c0db11066a 23:35:13 Step 6/10 : WORKDIR /device-modbus-go 23:35:13 ---> Running in 745384a4bc2a 23:35:13 Removing intermediate container 745384a4bc2a 23:35:13 ---> 0f8ebe23c18f 23:35:13 Step 7/10 : COPY go.mod vendor* ./ 23:35:13 ---> c2026aabace3 23:35:13 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:35:13 ---> Running in 24d2ee8120ac 23:35:52 Removing intermediate container 24d2ee8120ac 23:35:52 ---> e3afab07ac3a 23:35:52 Step 9/10 : COPY . . 23:35:52 ---> 820d3cbdf761 23:35:52 Step 10/10 : RUN ${MAKE} 23:35:52 ---> Running in ca1f514ed391 23:35:52 noop 23:35:52 Removing intermediate container ca1f514ed391 23:35:52 ---> 680fba3789c0 23:35:52 Successfully built 680fba3789c0 23:35:52 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:35:53 + docker inspect -f . ci-base-image-x86_64 23:35:53 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:35:53 prd-ubuntu20.04-docker-8c-8g-25338 does not seem to be running inside a container 23:35:53 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-534 -v /w/workspace/xfoundry_device-modbus-go_PR-534:/w/workspace/xfoundry_device-modbus-go_PR-534:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-534@tmp:/w/workspace/xfoundry_device-modbus-go_PR-534@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 23:35:53 $ docker top 04edd3894aff40b1b709befa9754796922c82cef2da2a17f844b43cce73fb001 -eo pid,comm [Pipeline] { [Pipeline] sh 23:35:54 + go version 23:35:54 go version go1.21.0 linux/amd64 [Pipeline] } 23:35:54 $ docker stop --time=1 04edd3894aff40b1b709befa9754796922c82cef2da2a17f844b43cce73fb001 23:35:55 $ docker rm -f --volumes 04edd3894aff40b1b709befa9754796922c82cef2da2a17f844b43cce73fb001 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:35:56 + docker inspect -f . ci-base-image-x86_64 23:35:56 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:35:56 prd-ubuntu20.04-docker-8c-8g-25338 does not seem to be running inside a container 23:35:56 $ 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-534 -v /w/workspace/xfoundry_device-modbus-go_PR-534:/w/workspace/xfoundry_device-modbus-go_PR-534:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-534@tmp:/w/workspace/xfoundry_device-modbus-go_PR-534@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 23:35:56 $ docker top d41275d91d1d3818498a846144681d7b698ac804b10adf7e623f88c13ba47780 -eo pid,comm [Pipeline] { [Pipeline] sh 23:35:57 + git config --global --add safe.directory /w/workspace/xfoundry_device-modbus-go_PR-534 [Pipeline] fileExists [Pipeline] sh 23:35:57 + make test 23:35:57 go test ./... -coverprofile=coverage.out 23:35:59 ? github.com/edgexfoundry/device-modbus-go [no test files] 23:36:09 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 23:36:09 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.016s coverage: 47.9% of statements 23:36:17 go vet ./... 23:36:19 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 23:36:19 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 23:36:19 ./bin/test-attribution-txt.sh [Pipeline] echo 23:36:19 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 23:36:19 $ docker stop --time=1 d41275d91d1d3818498a846144681d7b698ac804b10adf7e623f88c13ba47780 23:36:23 $ docker rm -f --volumes d41275d91d1d3818498a846144681d7b698ac804b10adf7e623f88c13ba47780 [Pipeline] // withDockerContainer [Pipeline] sh 23:36:23 + sudo chown -R jenkins:jenkins . [Pipeline] stash 23:36:24 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 23:36:24 + sudo chown -R jenkins:jenkins . [Pipeline] sh 23:36:25 + ls -al . 23:36:25 total 192 23:36:25 drwxrwxr-x 9 jenkins jenkins 4096 Dec 18 23:35 . 23:36:25 drwxrwxr-x 4 jenkins jenkins 4096 Dec 18 23:34 .. 23:36:25 -rw-rw-r-- 1 jenkins jenkins 140 Dec 18 23:34 .dockerignore 23:36:25 drwxrwxr-x 8 jenkins jenkins 4096 Dec 18 23:36 .git 23:36:25 drwxrwxr-x 3 jenkins jenkins 4096 Dec 18 23:34 .github 23:36:25 -rw-rw-r-- 1 jenkins jenkins 266 Dec 18 23:34 .gitignore 23:36:25 -rw-rw-r-- 1 jenkins jenkins 41 Dec 18 23:34 .golangci.yml 23:36:25 drwxr-xr-x 3 jenkins jenkins 4096 Dec 18 23:34 .semver 23:36:25 -rw-rw-r-- 1 jenkins jenkins 11101 Dec 18 23:34 Attribution.txt 23:36:25 -rw-rw-r-- 1 jenkins jenkins 16388 Dec 18 23:34 CHANGELOG.md 23:36:25 -rw-rw-r-- 1 jenkins jenkins 1474 Dec 18 23:34 Dockerfile 23:36:25 -rw-rw-r-- 1 jenkins jenkins 677 Dec 18 23:34 GOVERNANCE.md 23:36:25 -rw-rw-r-- 1 jenkins jenkins 658 Dec 18 23:34 Jenkinsfile 23:36:25 -rw-rw-r-- 1 jenkins jenkins 11340 Dec 18 23:34 LICENSE 23:36:25 -rw-rw-r-- 1 jenkins jenkins 1942 Dec 18 23:34 Makefile 23:36:25 -rw-rw-r-- 1 jenkins jenkins 622 Dec 18 23:34 OWNERS.md 23:36:25 -rw-rw-r-- 1 jenkins jenkins 4463 Dec 18 23:34 README.md 23:36:25 -rw-rw-r-- 1 jenkins jenkins 5 Dec 18 23:34 VERSION 23:36:25 drwxrwxr-x 2 jenkins jenkins 4096 Dec 18 23:34 bin 23:36:25 drwxrwxr-x 3 jenkins jenkins 4096 Dec 18 23:34 cmd 23:36:25 -rw-r--r-- 1 jenkins jenkins 24334 Dec 18 23:36 coverage.out 23:36:25 -rw-rw-r-- 1 jenkins jenkins 3937 Dec 18 23:34 go.mod 23:36:25 -rw-rw-r-- 1 jenkins jenkins 35426 Dec 18 23:34 go.sum 23:36:25 drwxrwxr-x 3 jenkins jenkins 4096 Dec 18 23:34 internal 23:36:25 drwxrwxr-x 2 jenkins jenkins 4096 Dec 18 23:34 simulator 23:36:25 -rw-rw-r-- 1 jenkins jenkins 229 Dec 18 23:34 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:36:25 + 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=8bc1d7f3487aff46b6287b0ab0b3d3f87c51e251 --label arch=amd64 --label version=0.0.0 . 23:36:25 Sending build context to Docker daemon 17.27MB 23:36:25 Step 1/23 : ARG BASE=golang:1.21-alpine3.18 23:36:25 Step 2/23 : FROM ${BASE} AS builder 23:36:25 ---> 680fba3789c0 23:36:25 Step 3/23 : ARG ADD_BUILD_TAGS="" 23:36:26 ---> Running in 19b390de911a 23:36:26 Removing intermediate container 19b390de911a 23:36:26 ---> d6092fd8a311 23:36:26 Step 4/23 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:36:26 ---> Running in 909700886b84 23:36:26 Removing intermediate container 909700886b84 23:36:26 ---> 7b6cce4cff49 23:36:26 Step 5/23 : RUN apk add --update --no-cache make git openssh 23:36:26 ---> Running in 8ca3f736da6c 23:36:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 23:36:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 23:36:27 OK: 270 MiB in 60 packages 23:36:27 Removing intermediate container 8ca3f736da6c 23:36:27 ---> 2618921a6951 23:36:27 Step 6/23 : WORKDIR /device-modbus-go 23:36:27 ---> Running in 11ce83bdd17f 23:36:27 Removing intermediate container 11ce83bdd17f 23:36:27 ---> aaf45848e4e2 23:36:27 Step 7/23 : COPY go.mod vendor* ./ 23:36:27 ---> 9108f495ec40 23:36:27 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:36:27 ---> Running in bf4194c00d2f 23:36:28 Removing intermediate container bf4194c00d2f 23:36:28 ---> d98b762696ca 23:36:28 Step 9/23 : COPY . . 23:36:29 ---> f2223386f03c 23:36:29 Step 10/23 : RUN ${MAKE} 23:36:29 ---> Running in 9f39a2e41cc2 23:36:29 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.4" -trimpath -mod=readonly -o cmd/device-modbus ./cmd 23:36:51 Removing intermediate container 9f39a2e41cc2 23:36:51 ---> 38cbd86b8fab 23:36:51 Step 11/23 : FROM alpine:3.18 23:36:51 3.18: Pulling from library/alpine 23:36:51 c926b61bad3b: Pulling fs layer 23:36:51 c926b61bad3b: Verifying Checksum 23:36:51 c926b61bad3b: Download complete 23:36:51 c926b61bad3b: Pull complete 23:36:51 Digest: sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 23:36:51 Status: Downloaded newer image for alpine:3.18 23:36:51 ---> b541f2080109 23:36:51 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 23:36:51 ---> Running in 3531dbb64aaa 23:36:51 Removing intermediate container 3531dbb64aaa 23:36:51 ---> 9140f0bbe979 23:36:51 Step 13/23 : RUN apk add --update --no-cache dumb-init 23:36:51 ---> Running in 5eb8065adf15 23:36:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 23:36:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 23:36:51 (1/1) Installing dumb-init (1.2.5-r2) 23:36:51 Executing busybox-1.36.1-r5.trigger 23:36:51 OK: 7 MiB in 16 packages 23:36:51 Removing intermediate container 5eb8065adf15 23:36:51 ---> 3c9fc5adbf67 23:36:51 Step 14/23 : RUN apk --no-cache upgrade 23:36:51 ---> Running in 6ca3e871e12f 23:36:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 23:36:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 23:36:51 OK: 7 MiB in 16 packages 23:36:52 Removing intermediate container 6ca3e871e12f 23:36:52 ---> b490a039c4d3 23:36:52 Step 15/23 : COPY --from=builder /device-modbus-go/cmd / 23:36:52 ---> 60194999301d 23:36:52 Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / 23:36:52 ---> 8c582d4405fd 23:36:52 Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / 23:36:52 ---> c4d1634d18fc 23:36:52 Step 18/23 : EXPOSE 59901 23:36:52 ---> Running in 0ea5132144a3 23:36:53 Removing intermediate container 0ea5132144a3 23:36:53 ---> d167cf680c8b 23:36:53 Step 19/23 : ENTRYPOINT ["/device-modbus"] 23:36:53 ---> Running in e5678f6db0e8 23:36:53 Removing intermediate container e5678f6db0e8 23:36:53 ---> 1b4472f6c700 23:36:53 Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 23:36:53 ---> Running in f9ed1bf10fa8 23:36:53 Removing intermediate container f9ed1bf10fa8 23:36:53 ---> b647df1434d6 23:36:53 Step 21/23 : LABEL arch=amd64 23:36:53 ---> Running in ea9dbec1d401 23:36:53 Removing intermediate container ea9dbec1d401 23:36:53 ---> 8f1d971b9b16 23:36:53 Step 22/23 : LABEL git_sha=8bc1d7f3487aff46b6287b0ab0b3d3f87c51e251 23:36:53 ---> Running in c6d683350278 23:36:53 Removing intermediate container c6d683350278 23:36:53 ---> c6cea159cee7 23:36:53 Step 23/23 : LABEL version=0.0.0 23:36:53 ---> Running in 684236fd876f 23:36:53 Removing intermediate container 684236fd876f 23:36:53 ---> 72486ebc8f2a 23:36:53 [Warning] One or more build-args [ARCH] were not consumed 23:36:53 Successfully built 72486ebc8f2a 23:36:53 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 23:36:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:36:54 23:36:54 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:36:55 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:36:55 latest: Pulling from edgex-lftools-log-publisher 23:36:55 5eb5b503b376: Pulling fs layer 23:36:55 5c69ac0246d0: Pulling fs layer 23:36:55 ec43610c2a17: Pulling fs layer 23:36:55 3a2ae6a8a46f: Pulling fs layer 23:36:55 33b1e0a273af: Pulling fs layer 23:36:55 5d3b04190fa2: Pulling fs layer 23:36:55 2f39f015ded8: Pulling fs layer 23:36:55 5d3b04190fa2: Waiting 23:36:55 3a2ae6a8a46f: Waiting 23:36:55 2f39f015ded8: Waiting 23:36:55 5c69ac0246d0: Verifying Checksum 23:36:55 5c69ac0246d0: Download complete 23:36:55 3a2ae6a8a46f: Verifying Checksum 23:36:55 3a2ae6a8a46f: Download complete 23:36:55 33b1e0a273af: Verifying Checksum 23:36:55 33b1e0a273af: Download complete 23:36:55 ec43610c2a17: Verifying Checksum 23:36:55 ec43610c2a17: Download complete 23:36:55 5d3b04190fa2: Verifying Checksum 23:36:55 5d3b04190fa2: Download complete 23:36:55 5eb5b503b376: Verifying Checksum 23:36:55 5eb5b503b376: Download complete 23:36:56 2f39f015ded8: Verifying Checksum 23:36:56 2f39f015ded8: Download complete 23:36:56 5eb5b503b376: Pull complete 23:36:56 5c69ac0246d0: Pull complete 23:36:57 ec43610c2a17: Pull complete 23:36:57 3a2ae6a8a46f: Pull complete 23:36:57 33b1e0a273af: Pull complete 23:36:57 5d3b04190fa2: Pull complete 23:37:01 2f39f015ded8: Pull complete 23:37:01 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 23:37:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:37:01 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:37:02 prd-ubuntu20.04-docker-8c-8g-25338 does not seem to be running inside a container 23:37:02 $ 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-534 -v /w/workspace/xfoundry_device-modbus-go_PR-534:/w/workspace/xfoundry_device-modbus-go_PR-534:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-534@tmp:/w/workspace/xfoundry_device-modbus-go_PR-534@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 23:37:06 $ docker top 32e7ffb901cf2ece9f1afd83c8434d1c669270942c6efcde0025c20f246c8238 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:37:07 ---> job-cost.sh 23:37:07 lf-activate-venv: SKIPPING 23:37:07 INFO: No Stack... 23:37:07 INFO: Retrieving Pricing Info for: v3-standard-8 23:37:07 INFO: Archiving Costs [Pipeline] sh 23:37:08 + cat /w/workspace/xfoundry_device-modbus-go_PR-534/archives/cost.csv 23:37:08 + cut -d, -f6 [Pipeline] lock 23:37:08 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-534-1-stack-cost] 23:37:08 Resource [jenkins-edgexfoundry-device-modbus-go-PR-534-1-stack-cost] did not exist. Created. 23:37:08 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-534-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:37:08 + echo total: 0.2199999988079071 [Pipeline] stash 23:37:08 Stashed 1 file(s) [Pipeline] } 23:37:08 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-534-1-stack-cost] [Pipeline] // lock [Pipeline] } 23:37:09 $ docker stop --time=1 32e7ffb901cf2ece9f1afd83c8434d1c669270942c6efcde0025c20f246c8238 23:37:10 $ docker rm -f --volumes 32e7ffb901cf2ece9f1afd83c8434d1c669270942c6efcde0025c20f246c8238 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 23:37:15 Running on prd-ubuntu20.04-docker-arm64-4c-16g-25344 in /w/workspace/xfoundry_device-modbus-go_PR-534 [Pipeline] { [Pipeline] ws 23:37:15 Running in /w/workspace/device-modbus-go/1 [Pipeline] { [Pipeline] checkout 23:37:19 Selected Git installation does not exist. Using Default 23:37:19 The recommended git tool is: NONE 23:37:25 using credential edgex-jenkins-ssh 23:37:25 Cloning the remote Git repository 23:37:25 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 23:37:25 > git init /w/workspace/device-modbus-go/1 # timeout=10 23:37:25 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 23:37:25 > git --version # timeout=10 23:37:25 > git --version # 'git version 2.25.1' 23:37:25 using GIT_SSH to set credentials SSH Credentials for GitHub 23:37:26 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 23:37:28 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 23:37:28 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 23:37:29 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 23:37:29 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 23:37:29 using GIT_SSH to set credentials SSH Credentials for GitHub 23:37:29 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/534/head:refs/remotes/origin/PR-534 +refs/heads/main:refs/remotes/origin/main # timeout=10 23:37:30 Merging remotes/origin/main commit f075d1275b3de083ffef18a345f0eb35bf0251a5 into PR head commit 8bc1d7f3487aff46b6287b0ab0b3d3f87c51e251 23:37:30 Merge succeeded, producing 8bc1d7f3487aff46b6287b0ab0b3d3f87c51e251 23:37:30 Checking out Revision 8bc1d7f3487aff46b6287b0ab0b3d3f87c51e251 (PR-534) 23:37:30 > git config core.sparsecheckout # timeout=10 23:37:30 > git checkout -f 8bc1d7f3487aff46b6287b0ab0b3d3f87c51e251 # timeout=10 23:37:30 > git remote # timeout=10 23:37:30 > git config --get remote.origin.url # timeout=10 23:37:30 using GIT_SSH to set credentials SSH Credentials for GitHub 23:37:30 > git merge f075d1275b3de083ffef18a345f0eb35bf0251a5 # timeout=10 23:37:30 > git rev-parse HEAD^{commit} # timeout=10 23:37:30 > git config core.sparsecheckout # timeout=10 23:37:30 > git checkout -f 8bc1d7f3487aff46b6287b0ab0b3d3f87c51e251 # timeout=10 23:37:30 Commit message: "build(deps): Bump golang.org/x/crypto from 0.14.0 to 0.17.0" 23:37:31 > git --version # timeout=10 23:37:31 > git --version # 'git version 2.25.1' 23:37:31 fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:37:32 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 23:37:32 % Total % Received % Xferd Average Speed Time Time Time Current 23:37:32 Dload Upload Total Spent Left Speed 23:37:32 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12682 100 12682 0 0 42989 0 --:--:-- --:--:-- --:--:-- 42989 [Pipeline] sh 23:37:33 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 23:37:33 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 23:37:33 + sudo tee /etc/docker/daemon.new 23:37:33 { 23:37:33 "registry-mirrors": [ 23:37:33 "https://nexus3.edgexfoundry.org:10001" 23:37:33 ], 23:37:33 "bip": "10.250.0.254/24", 23:37:33 "hosts": [ 23:37:33 "tcp://0.0.0.0:5555", 23:37:33 "unix:///var/run/docker.sock" 23:37:33 ], 23:37:33 "mtu": 1458, 23:37:33 "selinux-enabled": true, 23:37:33 "seccomp-profile": "/etc/docker/seccomp.json" 23:37:33 } [Pipeline] sh 23:37:33 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 23:37:34 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:37:52 provisioning config files... 23:37:52 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/1@tmp/config18259056388808643770tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:37:53 ---> ****-login.sh 23:37:53 nexus3.edgexfoundry.org:10001 23:37:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:37:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 23:37:53 Configure a credential helper to remove this warning. See 23:37:53 https://docs.****.com/engine/reference/commandline/login/#credentials-store 23:37:53 23:37:53 Login Succeeded 23:37:53 nexus3.edgexfoundry.org:10002 23:37:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:37:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 23:37:54 Configure a credential helper to remove this warning. See 23:37:54 https://docs.****.com/engine/reference/commandline/login/#credentials-store 23:37:54 23:37:54 Login Succeeded 23:37:54 nexus3.edgexfoundry.org:10003 23:37:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:37:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 23:37:54 Configure a credential helper to remove this warning. See 23:37:54 https://docs.****.com/engine/reference/commandline/login/#credentials-store 23:37:54 23:37:54 Login Succeeded 23:37:54 nexus3.edgexfoundry.org:10004 23:37:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:37:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 23:37:54 Configure a credential helper to remove this warning. See 23:37:54 https://docs.****.com/engine/reference/commandline/login/#credentials-store 23:37:54 23:37:54 Login Succeeded 23:37:54 ****.io 23:37:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:37:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 23:37:55 Configure a credential helper to remove this warning. See 23:37:55 https://docs.****.com/engine/reference/commandline/login/#credentials-store 23:37:55 23:37:55 Login Succeeded 23:37:55 ---> ****-login.sh ends [Pipeline] } 23:37:55 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 23:37:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 23:37:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 23:37:56 ========================================================= 23:37:56 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 23:37:56 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:37:57 + 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 . 23:37:58 #0 building with "default" instance using docker driver 23:37:58 23:37:58 #1 [internal] load build definition from Dockerfile 23:37:58 #1 transferring dockerfile: 1.51kB 0.0s done 23:37:58 #1 DONE 0.1s 23:37:58 23:37:58 #2 [internal] load .dockerignore 23:37:58 #2 transferring context: 182B done 23:37:58 #2 DONE 0.1s 23:37:58 23:37:58 #3 [internal] load metadata for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 23:37:58 #3 DONE 0.1s 23:37:58 23:37:58 #4 [builder 1/7] FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine@sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 23:37:58 #4 resolve nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine@sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 0.0s done 23:37:58 #4 sha256:86de565de09d5564fc8e683dd5e843d211607dc732ec3413b333e21adf3ea5fe 8.50kB / 8.50kB done 23:37:58 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 0B / 63.99MB 0.1s 23:37:58 #4 sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 1.79kB / 1.79kB done 23:37:58 #4 sha256:5d54e960e981301b0098c80d2e61d694333b5ab480a007a3a8d0fa629662d377 286.30kB / 286.30kB 0.1s done 23:37:58 #4 sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 0B / 3.33MB 0.2s 23:37:59 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 7.34MB / 63.99MB 0.4s 23:37:59 #4 sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 3.33MB / 3.33MB 0.3s done 23:37:59 #4 sha256:f0e02332f6b52e139e0158c3d8d903ddf2c22f866cf8b4937f6ec867389ead7e 156B / 156B 0.2s done 23:37:59 #4 sha256:872ee5b61b7b24ecb4310852b1d24038dd5f0ac59b55905f2e0a51b50880d9a1 440B / 440B 0.2s done 23:37:59 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 1.05MB / 97.63MB 0.4s 23:37:59 #4 extracting sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 23:37:59 #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 0B / 11.40MB 0.4s 23:37:59 #4 ... 23:37:59 23:37:59 #5 [internal] load build context 23:37:59 #5 transferring context: 8.62MB 0.4s done 23:37:59 #5 DONE 0.4s 23:37:59 23:37:59 #4 [builder 1/7] FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine@sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 23:37:59 #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 1.18MB / 11.40MB 0.5s 23:37:59 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 17.25MB / 63.99MB 0.7s 23:37:59 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 7.34MB / 97.63MB 0.7s 23:37:59 #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 6.29MB / 11.40MB 0.7s 23:37:59 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 21.77MB / 63.99MB 0.8s 23:37:59 #4 extracting sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 0.4s done 23:37:59 #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 8.39MB / 11.40MB 0.8s 23:37:59 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 28.31MB / 63.99MB 1.0s 23:37:59 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 16.75MB / 97.63MB 1.0s 23:37:59 #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 11.40MB / 11.40MB 0.9s done 23:37:59 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 31.77MB / 63.99MB 1.1s 23:37:59 #4 extracting sha256:5d54e960e981301b0098c80d2e61d694333b5ab480a007a3a8d0fa629662d377 23:37:59 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 37.75MB / 63.99MB 1.3s 23:37:59 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 26.39MB / 97.63MB 1.3s 23:37:59 #4 extracting sha256:5d54e960e981301b0098c80d2e61d694333b5ab480a007a3a8d0fa629662d377 0.2s done 23:37:59 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 31.46MB / 97.63MB 1.4s 23:38:00 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 48.23MB / 63.99MB 1.6s 23:38:00 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 41.94MB / 97.63MB 1.6s 23:38:00 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 52.43MB / 63.99MB 1.7s 23:38:00 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 48.03MB / 97.63MB 1.7s 23:38:00 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 56.62MB / 63.99MB 1.8s 23:38:00 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 63.99MB / 63.99MB 2.0s 23:38:00 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 62.91MB / 97.63MB 2.0s 23:38:00 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 63.99MB / 63.99MB 2.0s done 23:38:00 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 76.98MB / 97.63MB 2.3s 23:38:00 #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 23:38:00 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 87.03MB / 97.63MB 2.5s 23:38:01 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 97.63MB / 97.63MB 2.8s 23:38:04 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 97.63MB / 97.63MB 5.6s done 23:38:06 #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 5.1s 23:38:11 #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 10.3s 23:38:16 #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 15.4s 23:38:19 #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 18.2s done 23:38:20 #4 extracting sha256:f0e02332f6b52e139e0158c3d8d903ddf2c22f866cf8b4937f6ec867389ead7e done 23:38:20 #4 extracting sha256:872ee5b61b7b24ecb4310852b1d24038dd5f0ac59b55905f2e0a51b50880d9a1 23:38:20 #4 extracting sha256:872ee5b61b7b24ecb4310852b1d24038dd5f0ac59b55905f2e0a51b50880d9a1 done 23:38:20 #4 extracting sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 23:38:26 #4 extracting sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 5.2s 23:38:30 #4 extracting sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 9.3s done 23:38:30 #4 extracting sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 23:38:32 #4 extracting sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 1.9s done 23:38:33 #4 DONE 35.4s 23:38:34 23:38:34 #6 [builder 2/7] RUN apk add --update --no-cache make git openssh 23:38:34 #6 0.785 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 23:38:35 #6 1.125 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 23:38:36 #6 2.172 (1/8) Installing openssh-keygen (9.3_p2-r0) 23:38:36 #6 2.203 (2/8) Installing libedit (20221030.3.1-r1) 23:38:36 #6 2.218 (3/8) Installing openssh-client-common (9.3_p2-r0) 23:38:36 #6 2.285 (4/8) Installing openssh-client-default (9.3_p2-r0) 23:38:36 #6 2.315 (5/8) Installing openssh-sftp-server (9.3_p2-r0) 23:38:36 #6 2.329 (6/8) Installing openssh-server-common (9.3_p2-r0) 23:38:36 #6 2.337 (7/8) Installing openssh-server (9.3_p2-r0) 23:38:36 #6 2.366 (8/8) Installing openssh (9.3_p2-r0) 23:38:36 #6 2.383 Executing busybox-1.36.1-r5.trigger 23:38:36 #6 2.423 OK: 272 MiB in 60 packages 23:38:38 #6 DONE 4.5s 23:38:38 23:38:38 #7 [builder 3/7] WORKDIR /device-modbus-go 23:38:38 #7 DONE 0.1s 23:38:38 23:38:38 #8 [builder 4/7] COPY go.mod vendor* ./ 23:38:38 #8 DONE 0.1s 23:38:38 23:38:38 #9 [builder 5/7] RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:39:05 #9 DONE 24.1s 23:39:05 23:39:05 #10 [builder 6/7] COPY . . 23:39:05 #10 DONE 0.3s 23:39:05 23:39:05 #11 [builder 7/7] RUN echo noop 23:39:05 #11 0.683 noop 23:39:05 #11 DONE 0.8s 23:39:05 23:39:05 #12 exporting to image 23:39:05 #12 exporting layers 23:39:27 #12 exporting layers 22.2s done 23:39:27 #12 writing image sha256:39e6f2254e7a65e505ba6d747028845a51e8dd4a03a580a93479f2d4700bbc61 done 23:39:27 #12 naming to docker.io/library/ci-base-image-arm64 done 23:39:27 #12 DONE 22.3s [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:39:28 + docker inspect -f . ci-base-image-arm64 23:39:28 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:39:28 prd-ubuntu20.04-docker-arm64-4c-16g-25344 does not seem to be running inside a container 23:39:28 $ 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 23:39:30 $ docker top 2332b9b1e8d03428bd3bc96ff69ef64ba56f439d9b3f37b3b4fccb6c1a842a4a -eo pid,comm [Pipeline] { [Pipeline] sh 23:39:31 + go version 23:39:31 go version go1.21.0 linux/arm64 [Pipeline] } 23:39:31 $ docker stop --time=1 2332b9b1e8d03428bd3bc96ff69ef64ba56f439d9b3f37b3b4fccb6c1a842a4a 23:39:34 $ docker rm -f --volumes 2332b9b1e8d03428bd3bc96ff69ef64ba56f439d9b3f37b3b4fccb6c1a842a4a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:39:35 + docker inspect -f . ci-base-image-arm64 23:39:35 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:39:36 prd-ubuntu20.04-docker-arm64-4c-16g-25344 does not seem to be running inside a container 23:39:36 $ 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 23:39:37 $ docker top e0fdbe91a6a8998950f83753e7ccd094255b69b2d75ab79beb020ae5969d3f2d -eo pid,comm [Pipeline] { [Pipeline] sh 23:39:37 + git config --global --add safe.directory /w/workspace/device-modbus-go/1 [Pipeline] fileExists [Pipeline] sh 23:39:38 + make test 23:39:38 go test ./... -coverprofile=coverage.out 23:39:42 ? github.com/edgexfoundry/device-modbus-go [no test files] 23:40:50 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 23:40:50 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.060s coverage: 47.9% of statements 23:40:50 WARNING: Linting skipped (not on x86_64 or linter not installed) 23:40:50 go vet ./... 23:40:57 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 23:40:57 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 23:40:57 ./bin/test-attribution-txt.sh [Pipeline] echo 23:40:57 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 23:40:57 $ docker stop --time=1 e0fdbe91a6a8998950f83753e7ccd094255b69b2d75ab79beb020ae5969d3f2d 23:41:01 $ docker rm -f --volumes e0fdbe91a6a8998950f83753e7ccd094255b69b2d75ab79beb020ae5969d3f2d [Pipeline] // withDockerContainer [Pipeline] sh 23:41:02 + sudo chown -R jenkins:jenkins . [Pipeline] stash 23:41:02 Warning: overwriting stash ‘coverage-report’ 23:41:02 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 23:41:03 + sudo chown -R jenkins:jenkins . [Pipeline] sh 23:41:04 + ls -al . 23:41:04 total 188 23:41:04 drwxrwxr-x 8 jenkins jenkins 4096 Dec 18 23:39 . 23:41:04 drwxrwxr-x 4 jenkins jenkins 4096 Dec 18 23:37 .. 23:41:04 -rw-rw-r-- 1 jenkins jenkins 140 Dec 18 23:37 .dockerignore 23:41:04 drwxrwxr-x 8 jenkins jenkins 4096 Dec 18 23:37 .git 23:41:04 drwxrwxr-x 3 jenkins jenkins 4096 Dec 18 23:37 .github 23:41:04 -rw-rw-r-- 1 jenkins jenkins 266 Dec 18 23:37 .gitignore 23:41:04 -rw-rw-r-- 1 jenkins jenkins 41 Dec 18 23:37 .golangci.yml 23:41:04 -rw-rw-r-- 1 jenkins jenkins 11101 Dec 18 23:37 Attribution.txt 23:41:04 -rw-rw-r-- 1 jenkins jenkins 16388 Dec 18 23:37 CHANGELOG.md 23:41:04 -rw-rw-r-- 1 jenkins jenkins 1474 Dec 18 23:37 Dockerfile 23:41:04 -rw-rw-r-- 1 jenkins jenkins 677 Dec 18 23:37 GOVERNANCE.md 23:41:04 -rw-rw-r-- 1 jenkins jenkins 658 Dec 18 23:37 Jenkinsfile 23:41:04 -rw-rw-r-- 1 jenkins jenkins 11340 Dec 18 23:37 LICENSE 23:41:04 -rw-rw-r-- 1 jenkins jenkins 1942 Dec 18 23:37 Makefile 23:41:04 -rw-rw-r-- 1 jenkins jenkins 622 Dec 18 23:37 OWNERS.md 23:41:04 -rw-rw-r-- 1 jenkins jenkins 4463 Dec 18 23:37 README.md 23:41:04 -rw-rw-r-- 1 jenkins jenkins 5 Dec 18 23:34 VERSION 23:41:04 drwxrwxr-x 2 jenkins jenkins 4096 Dec 18 23:37 bin 23:41:04 drwxrwxr-x 3 jenkins jenkins 4096 Dec 18 23:37 cmd 23:41:04 -rw-r--r-- 1 jenkins jenkins 24334 Dec 18 23:40 coverage.out 23:41:04 -rw-rw-r-- 1 jenkins jenkins 3937 Dec 18 23:37 go.mod 23:41:04 -rw-rw-r-- 1 jenkins jenkins 35426 Dec 18 23:37 go.sum 23:41:04 drwxrwxr-x 3 jenkins jenkins 4096 Dec 18 23:37 internal 23:41:04 drwxrwxr-x 2 jenkins jenkins 4096 Dec 18 23:37 simulator 23:41:04 -rw-rw-r-- 1 jenkins jenkins 229 Dec 18 23:37 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:41:04 + 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=8bc1d7f3487aff46b6287b0ab0b3d3f87c51e251 --label arch=arm64 --label version=0.0.0 . 23:41:05 #0 building with "default" instance using docker driver 23:41:05 23:41:05 #1 [internal] load build definition from Dockerfile 23:41:05 #1 transferring dockerfile: 1.51kB 0.0s done 23:41:05 #1 DONE 0.0s 23:41:05 23:41:05 #2 [internal] load .dockerignore 23:41:05 #2 transferring context: 182B done 23:41:05 #2 DONE 0.0s 23:41:05 23:41:05 #3 [internal] load metadata for docker.io/library/ci-base-image-arm64:latest 23:41:05 #3 DONE 0.0s 23:41:05 23:41:05 #4 [internal] load metadata for docker.io/library/alpine:3.18 23:41:05 #4 DONE 0.3s 23:41:05 23:41:05 #5 [internal] load build context 23:41:05 #5 transferring context: 32.12kB 0.0s done 23:41:05 #5 DONE 0.1s 23:41:05 23:41:05 #6 [stage-1 1/6] FROM docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 23:41:05 #6 resolve docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 0.1s done 23:41:05 #6 sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 1.64kB / 1.64kB done 23:41:05 #6 sha256:d4ade3639c27579321046d78cc44ec978cea8357d56932611984f601d27e30ac 528B / 528B done 23:41:05 #6 sha256:98487ac3d99577fbab06f220381fb052c7145a5dbcfea10ca83256f8f37f4f77 1.49kB / 1.49kB done 23:41:05 #6 sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 1.05MB / 3.33MB 0.1s 23:41:06 #6 ... 23:41:06 23:41:06 #7 [builder 1/7] FROM docker.io/library/ci-base-image-arm64 23:41:06 #7 DONE 0.3s 23:41:06 23:41:06 #6 [stage-1 1/6] FROM docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 23:41:06 #6 sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 3.33MB / 3.33MB 0.1s done 23:41:06 #6 extracting sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 23:41:06 #6 extracting sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 0.4s done 23:41:06 #6 DONE 1.0s 23:41:06 23:41:06 #8 [stage-1 2/6] RUN apk add --update --no-cache dumb-init 23:41:07 #8 0.720 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 23:41:07 #8 1.114 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 23:41:08 #8 ... 23:41:08 23:41:08 #9 [builder 2/7] RUN apk add --update --no-cache make git openssh 23:41:08 #9 0.759 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 23:41:08 #9 1.240 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 23:41:08 #9 2.599 OK: 272 MiB in 60 packages 23:41:08 #9 DONE 2.9s 23:41:09 23:41:09 #10 [builder 3/7] WORKDIR /device-modbus-go 23:41:09 #10 DONE 0.1s 23:41:09 23:41:09 #8 [stage-1 2/6] RUN apk add --update --no-cache dumb-init 23:41:09 #8 2.433 (1/1) Installing dumb-init (1.2.5-r2) 23:41:09 #8 ... 23:41:09 23:41:09 #11 [builder 4/7] COPY go.mod vendor* ./ 23:41:09 #11 DONE 0.2s 23:41:09 23:41:09 #8 [stage-1 2/6] RUN apk add --update --no-cache dumb-init 23:41:09 #8 2.450 Executing busybox-1.36.1-r5.trigger 23:41:09 #8 2.481 OK: 8 MiB in 16 packages 23:41:09 #8 DONE 2.9s 23:41:09 23:41:09 #12 [stage-1 3/6] RUN apk --no-cache upgrade 23:41:10 #12 0.975 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 23:41:10 #12 ... 23:41:10 23:41:10 #13 [builder 5/7] RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:41:10 #13 DONE 1.5s 23:41:10 23:41:10 #14 [builder 6/7] COPY . . 23:41:10 #14 DONE 0.4s 23:41:10 23:41:10 #15 [builder 7/7] RUN make build 23:41:11 #15 0.809 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.4" -trimpath -mod=readonly -o cmd/device-modbus ./cmd 23:41:12 #15 ... 23:41:12 23:41:12 #12 [stage-1 3/6] RUN apk --no-cache upgrade 23:41:12 #12 1.435 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 23:41:12 #12 2.830 OK: 8 MiB in 16 packages 23:41:12 #12 DONE 3.2s 23:41:12 23:41:12 #15 [builder 7/7] RUN make build 23:42:34 #15 DONE 82.3s 23:42:34 23:42:34 #16 [stage-1 4/6] COPY --from=builder /device-modbus-go/cmd / 23:42:34 #16 DONE 0.3s 23:42:34 23:42:34 #17 [stage-1 5/6] COPY --from=builder /device-modbus-go/LICENSE / 23:42:34 #17 DONE 0.1s 23:42:34 23:42:34 #18 [stage-1 6/6] COPY --from=builder /device-modbus-go/Attribution.txt / 23:42:34 #18 DONE 0.1s 23:42:34 23:42:34 #19 exporting to image 23:42:34 #19 exporting layers 23:42:34 #19 exporting layers 0.3s done 23:42:34 #19 writing image sha256:049971883644419b07ba4b04ff62bee9f76ef729cbd084b10d6beedb9addf884 done 23:42:34 #19 naming to docker.io/library/device-modbus-arm64 done 23:42:34 #19 DONE 0.3s [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 23:42:36 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:42:36 23:42:36 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:42:36 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:42:36 arm64: Pulling from edgex-lftools-log-publisher 23:42:36 8998bd30e6a1: Pulling fs layer 23:42:36 04944245beec: Pulling fs layer 23:42:36 699f458cf7ca: Pulling fs layer 23:42:36 765212b225bb: Pulling fs layer 23:42:36 f23df028b6ca: Pulling fs layer 23:42:36 d65c8cfc05b1: Pulling fs layer 23:42:36 2437ff75d9bd: Pulling fs layer 23:42:36 d65c8cfc05b1: Waiting 23:42:36 765212b225bb: Waiting 23:42:36 f23df028b6ca: Waiting 23:42:36 2437ff75d9bd: Waiting 23:42:36 04944245beec: Verifying Checksum 23:42:36 04944245beec: Download complete 23:42:36 765212b225bb: Download complete 23:42:36 f23df028b6ca: Verifying Checksum 23:42:36 f23df028b6ca: Download complete 23:42:36 d65c8cfc05b1: Download complete 23:42:37 699f458cf7ca: Verifying Checksum 23:42:37 699f458cf7ca: Download complete 23:42:37 8998bd30e6a1: Verifying Checksum 23:42:37 8998bd30e6a1: Download complete 23:42:39 2437ff75d9bd: Verifying Checksum 23:42:39 2437ff75d9bd: Download complete 23:42:43 8998bd30e6a1: Pull complete 23:42:44 04944245beec: Pull complete 23:42:46 699f458cf7ca: Pull complete 23:42:46 765212b225bb: Pull complete 23:42:46 f23df028b6ca: Pull complete 23:42:46 d65c8cfc05b1: Pull complete 23:43:13 2437ff75d9bd: Pull complete 23:43:13 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 23:43:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:43:13 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:43:14 prd-ubuntu20.04-docker-arm64-4c-16g-25344 does not seem to be running inside a container 23:43:14 $ 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 23:43:15 $ docker top 289388a96e2bdf5a3723bc531fc5eb4ce78c814a035016c50d67f8142c9a5fcd -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:43:16 ---> job-cost.sh 23:43:16 lf-activate-venv: SKIPPING 23:43:16 INFO: No Stack... 23:43:16 INFO: Retrieving Pricing Info for: v3-standard-8 23:43:17 INFO: Archiving Costs [Pipeline] sh 23:43:17 + cat /w/workspace/device-modbus-go/1/archives/cost.csv 23:43:17 + cut -d, -f6 [Pipeline] lock 23:43:18 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-534-1-stack-cost] 23:43:18 Resource [jenkins-edgexfoundry-device-modbus-go-PR-534-1-stack-cost] did not exist. Created. 23:43:18 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-534-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:43:18 /w/workspace/device-modbus-go/1@tmp/durable-2d908514/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 23:43:18 + echo total: 0.2199999988079071 [Pipeline] stash 23:43:18 Warning: overwriting stash ‘stack-cost’ 23:43:19 Stashed 1 file(s) [Pipeline] } 23:43:19 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-534-1-stack-cost] [Pipeline] // lock [Pipeline] } 23:43:19 $ docker stop --time=1 289388a96e2bdf5a3723bc531fc5eb4ce78c814a035016c50d67f8142c9a5fcd 23:43:20 $ docker rm -f --volumes 289388a96e2bdf5a3723bc531fc5eb4ce78c814a035016c50d67f8142c9a5fcd [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 23:43:22 provisioning config files... 23:43:22 copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-534@tmp/config16409160253182183696tmp [Pipeline] { [Pipeline] sh 23:43:23 + set +x 23:43:23 + curl -s https://codecov.io/bash 23:43:23 + bash -s -- 23:43:23 23:43:23 _____ _ 23:43:23 / ____| | | 23:43:23 | | ___ __| | ___ ___ _____ __ 23:43:23 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 23:43:23 | |___| (_) | (_| | __/ (_| (_) \ V / 23:43:23 \_____\___/ \__,_|\___|\___\___/ \_/ 23:43:23 Bash-1.0.6 23:43:23 23:43:23 23:43:23 ==> git version 2.25.1 found 23:43:23 ==> 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 23:43:23 Release-Date: 2020-01-08 23:43:23 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 23:43:23 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 23:43:23 ==> Jenkins CI detected. 23:43:23 current dir:  /w/workspace/xfoundry_device-modbus-go_PR-534 23:43:23 project root: . 23:43:23 --> token set from env 23:43:23 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 23:43:23 ==> Running gcov in . (disable via -X gcov) 23:43:23 ==> Python coveragepy not found 23:43:23 ==> Searching for coverage reports in: 23:43:23 + . 23:43:23 -> Found 1 reports 23:43:23 ==> Detecting git/mercurial file structure 23:43:23 ==> Reading reports 23:43:23 + ./coverage.out bytes=24334 23:43:23 ==> Appending adjustments 23:43:23 https://docs.codecov.io/docs/fixing-reports 23:43:23 + Found adjustments 23:43:23 ==> Gzipping contents 23:43:23 4.0K /tmp/codecov.fETEba.gz 23:43:23 ==> Uploading reports 23:43:23 url: https://codecov.io 23:43:23 query: branch=PR-534&commit=8bc1d7f3487aff46b6287b0ab0b3d3f87c51e251&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-534%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=534&job=&cmd_args= 23:43:23 -> Pinging Codecov 23:43:23 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-534&commit=8bc1d7f3487aff46b6287b0ab0b3d3f87c51e251&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-534%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=534&job=&cmd_args= 23:43:23 -> Uploading to 23:43:23 https://storage.googleapis.com/codecov/v4/raw/2023-12-18/55DBCA73C666E3227836607328DD7E49/8bc1d7f3487aff46b6287b0ab0b3d3f87c51e251/32705489-4b0a-4393-868c-ead01ad483ad.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231218%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231218T234323Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=85585fd2b4c352f563bf7bd638509d4316310ff2c60a08117f5bed91177e40cf 23:43:23 % Total % Received % Xferd Average Speed Time Time Time Current 23:43:23 Dload Upload Total Spent Left Speed 23:43:23 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3806 0 0 100 3806 0 17620 --:--:-- --:--:-- --:--:-- 17620 23:43:23 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/8bc1d7f3487aff46b6287b0ab0b3d3f87c51e251 [Pipeline] } 23:43:23 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 23:43:27 + [ -d /w/workspace/xfoundry_device-modbus-go_PR-534/archives ] 23:43:27 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-534/archives 23:43:27 total 16 23:43:27 drwxr-xr-x 3 root root 4096 Dec 18 23:37 . 23:43:27 drwxrwxr-x 10 jenkins jenkins 4096 Dec 18 23:37 .. 23:43:27 drwxr-xr-x 2 root root 4096 Dec 18 23:37 cost 23:43:27 -rw-r--r-- 1 root root 88 Dec 18 23:37 cost.csv 23:43:27 + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-534/archives 23:43:27 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-534/archives 23:43:27 total 16 23:43:27 drwxr-xr-x 3 jenkins jenkins 4096 Dec 18 23:37 . 23:43:27 drwxrwxr-x 10 jenkins jenkins 4096 Dec 18 23:37 .. 23:43:27 drwxr-xr-x 2 jenkins jenkins 4096 Dec 18 23:37 cost 23:43:27 -rw-r--r-- 1 jenkins jenkins 88 Dec 18 23:37 cost.csv [Pipeline] libraryResource [Pipeline] sh 23:43:27 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 23:43:28 ---> package-listing.sh 23:43:28 ++ facter osfamily 23:43:28 ++ tr '[:upper:]' '[:lower:]' 23:43:28 + OS_FAMILY=debian 23:43:28 + workspace=/w/workspace/xfoundry_device-modbus-go_PR-534 23:43:28 + START_PACKAGES=/tmp/packages_start.txt 23:43:28 + END_PACKAGES=/tmp/packages_end.txt 23:43:28 + DIFF_PACKAGES=/tmp/packages_diff.txt 23:43:28 + PACKAGES=/tmp/packages_start.txt 23:43:28 + '[' /w/workspace/xfoundry_device-modbus-go_PR-534 ']' 23:43:28 + PACKAGES=/tmp/packages_end.txt 23:43:28 + case "${OS_FAMILY}" in 23:43:28 + dpkg -l 23:43:28 + grep '^ii' 23:43:28 + '[' -f /tmp/packages_start.txt ']' 23:43:28 + '[' -f /tmp/packages_end.txt ']' 23:43:28 + diff /tmp/packages_start.txt /tmp/packages_end.txt 23:43:28 + '[' /w/workspace/xfoundry_device-modbus-go_PR-534 ']' 23:43:28 + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-534/archives/ 23:43:28 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-534/archives/ [Pipeline] echo 23:43:28 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-534/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 23:43:28 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:43:29 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:43:29 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:43:29 prd-ubuntu20.04-docker-8c-8g-25338 does not seem to be running inside a container 23:43:29 $ 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-534/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-534 -v /w/workspace/xfoundry_device-modbus-go_PR-534:/w/workspace/xfoundry_device-modbus-go_PR-534:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-534@tmp:/w/workspace/xfoundry_device-modbus-go_PR-534@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 23:43:30 $ docker top 9d55588164223d37c031a163e44e77ac11e1eb2a6f634be46ea6b91cc7be4306 -eo pid,comm [Pipeline] { [Pipeline] sh 23:43:30 + touch /tmp/pre-build-complete [Pipeline] sh 23:43:30 + mkdir -p /var/log/sysstat [Pipeline] sh 23:43:31 + ls /var/log/sa-host 23:43:31 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:43:31 provisioning config files... 23:43:31 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-534@tmp/config16759377800858549560tmp [Pipeline] { [Pipeline] echo 23:43:31 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 23:43:31 ---> create-netrc.sh [Pipeline] } 23:43:31 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 23:43:32 ---> python-tools-install.sh [Pipeline] echo 23:43:32 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 23:43:32 ---> sudo-logs.sh 23:43:32 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 23:43:32 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 23:43:33 ---> job-cost.sh 23:43:33 lf-activate-venv: SKIPPING 23:43:33 DEBUG: total: 0.2199999988079071 23:43:33 INFO: Retrieving Stack Cost... 23:43:33 INFO: Retrieving Pricing Info for: v3-standard-8 23:43:33 INFO: Archiving Costs [Pipeline] echo 23:43:33 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 23:43:34 ---> logs-deploy.sh 23:43:34 lf-activate-venv: SKIPPING 23:43:34 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-534/1 23:43:34 INFO: archiving workspace using pattern(s): 23:43:35 Archives upload complete. 23:43:35 INFO: archiving logs to Nexus